System Administration

lp -o options choosing PCL Font to print

 
Bob Fohl
Contributor

lp -o options choosing PCL Font to print

I want to print an ascii text file using the font "Bold New Courier".
What is the -o option used to choose a specific font to use.
The printer font listing is:
Font # = I039 ; Font ID = ROMAN-8 ; Name of Typeface = Courier.
3 REPLIES 3
Jordan Bean
Honored Contributor

Re: lp -o options choosing PCL Font to print

That depends on the interface script used. Print something with `lp -ooptions`. If the interface script is PCL[45], it will print a couple pages of options. I do not know about the JetAdmin enhancements. Look at the interface script (/etc/lp/interface/) to see what it does. If it happens to be the basic PCL[45] model, then you're limited to the fonts installed in the printer and -o'bold type4099' may work.
Jordan Bean
Honored Contributor

Re: lp -o options choosing PCL Font to print

-o'bold type4099' is Courier Bold for a HP LaserJet 4050.
James_18
Valued Contributor

Re: lp -o options choosing PCL Font to print

Jordan's answer seems pretty good. You might also check this -
http://www.hp.com/cposupport/networking/support_doc/bpj05156.html