By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,110 Members | 990 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,110 IT Pros & Developers. It's quick & easy.

Unix/Neoware/Linux Print Problem

P: 4
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
Share this Question
Share on Google+
4 Replies


Motoma
Expert 2.5K+
P: 3,235
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

P: 4
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
P: 37
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

P: 4
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

Post your reply

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