Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to change font size?

Status
Not open for further replies.

dbase77

Technical User
Apr 23, 2002
591
IE
Hi,

I setup HP network printer using hpnpl package from HP site. How do I go about changing the font size as when I print some report it went off the margin. I tried on other unix system and it print just fine. Anybody like to share their experience in printing? by the way, I'm printing as landscape.

Thank you in advance.

regards,
feroz
 
Hi, I use the postprint command to adjust font size and make the default portrait toggle to landscape for our HP printers:

/usr/lib/lp/postscript/postprint -pland -s8 <filename> | lp -d <printername>

where <filename> is an ascii file. This may not be the best solution but it works. The -s8 is what makes it go to 8-point. I think the default is 10. See the man page on it.
 
Hi,

Thank you for replying. I'm printing from third party application. The only option I have is to set like &quot; lp -d printername&quot;. I wonder if I can surpress so that it will fit into A4 paper landscape.

regards,
feroz
 
What type of printer it is? try with,

#lp -d printername -olandscape -oc filename...

This command will print in compress mode...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top