473,507 Members | 11,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unix/Neoware/Linux Print Problem

4 New Member
Hi all,

My problem is that I have generated a text file on unix which I want to print on a neoware(Neolinux) box.

The problem is that the line length is 2 big so when I print it the text is wrapped around.In windows we have the option of reducing font and printing.Is there any such option available on Unix..?


The files to be printed will be placed on a Neoware machine ( a thin linux client ) which does not support any Unix print command except lpr (doesnt support a2ps/ensript/lp..)---> what I am looking for is a solution wherein I can either reduce the file font before hand on the unix machine and then send it to the Neoware for printing, or send the file to Neoware and print with a different font over there (though I tried all the lpr options on neoware..they arent working including page-left/landscape/lpi/cpi..etc)


Is there no way of reformatting the text on Unix, like decreasing file font and saving it in a new file? Or how to install a2ps command on neoware..?


Could someone suggest the best way for it..??
Oct 1 '07 #1
4 2436
Motoma
3,237 Recognized Expert Specialist
The font, style, and general appearance of the text as it is printed is a result of the tool you use to print it with. The same way that notepad and wordpad will print the same text file differently, if you wish to have Linux print a text file in a different way, you will need to print it from a more flexible program. I am not familiar with lpr, but there are a number of text editing programs with interfaces ranging from the command line to a full X11 interface--each with its own capabilities for printing.

Hi all,

My problem is that I have generated a text file on unix which I want to print on a neoware(Neolinux) box.

The problem is that the line length is 2 big so when I print it the text is wrapped around.In windows we have the option of reducing font and printing.Is there any such option available on Unix..?


The files to be printed will be placed on a Neoware machine ( a thin linux client ) which does not support any Unix print command except lpr (doesnt support a2ps/ensript/lp..)---> what I am looking for is a solution wherein I can either reduce the file font before hand on the unix machine and then send it to the Neoware for printing, or send the file to Neoware and print with a different font over there (though I tried all the lpr options on neoware..they arent working including page-left/landscape/lpi/cpi..etc)


Is there no way of reformatting the text on Unix, like decreasing file font and saving it in a new file? Or how to install a2ps command on neoware..?


Could someone suggest the best way for it..??
Oct 2 '07 #2
foal11
4 New Member
Hi,
Thanks for the reply..

C the problem is that when I print the file on neoware,the file has already been generated on unix so I cant recreate the file again.All I have to do is print it.The text size as printed by default from Unix is 2 big.So either I format it from the source ,i.e Unix or print it with a smaller font,eg a2ps but that command is not available in Neolinux.

So keeping in mind the above constraints,what would be the best way forward..?




The font, style, and general appearance of the text as it is printed is a result of the tool you use to print it with. The same way that notepad and wordpad will print the same text file differently, if you wish to have Linux print a text file in a different way, you will need to print it from a more flexible program. I am not familiar with lpr, but there are a number of text editing programs with interfaces ranging from the command line to a full X11 interface--each with its own capabilities for printing.
Oct 6 '07 #3
WhiteRider
37 New Member
Or how to install a2ps command on neoware..?
I am a bit unclear on something. Why are you using the very basic commands on the thin client? When the file is transferred from the Unix machine to NeoWare why don't you use the server supplied OS (whatever it may be) to change the file and print it?

It doesn't look like your using the thin client right...
Oct 7 '07 #4
foal11
4 New Member
The option will only be available on NeoLinux and not from the server OS , i.e Suse Linux.

The automated process willl be called from the thin client


I am a bit unclear on something. Why are you using the very basic commands on the thin client? When the file is transferred from the Unix machine to NeoWare why don't you use the server supplied OS (whatever it may be) to change the file and print it?

It doesn't look like your using the thin client right...
Mar 3 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

18
5626
by: Sharon | last post by:
is microsoft going to develop .Net for Unix? or at lest CLR for Unix? 10x
9
2186
by: fidlee | last post by:
I dont know if this is the right place to ask this question. i got this book "The C Odyssey. Unix - The Open, Boundless C" It is a 1992 edition book The book speaks of all the unix specific...
4
2349
by: Michael | last post by:
Hi, I'm having difficulty finding any previous discussion on this -- I keep finding people either having problems calling os.exec(lepev), or with using python's exec statement. Neither of...
4
10611
by: Ignoramus6539 | last post by:
There were some strange requests to my server asking for config.php file (which I do not have in the requested location). I did some investigation. Seems to be a virus written in perl,...
21
3050
by: Paul Edwards | last post by:
I would like to port PDPCLIB: http://sourceforge.net/projects/pdos/ my public domain C runtime library for DOS, OS/2, Win32, MVS to Unix now. I am a bit perplexed as to how to do this. ...
3
4001
by: iamsiju | last post by:
Hi, I am facing a problem with the Perl Telnet Object. My Telnet Object hangs just after issueing reboot command on the remote host. Please help me who faced this problem !!! Thanks in...
2
1587
by: foal11 | last post by:
Hi all, My problem is that I have generated a text file on unix which I want to print on a neoware(Neolinux) box. The problem is that the line length is 2 big so when I print it the text is...
2
2390
by: Mirko Vogt | last post by:
Hey, it seems that the socket-module behaves differently on unix / windows when a timeout is set. Here an example: # test.py import socket...
0
965
by: Mirko Vogt | last post by:
Gabriel Genellina wrote: Hey, this is strange. Linux: $ python --version Python 2.5.2 $ Windows:
0
7110
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.