Operating System - HP-UX
1833875 Members
3155 Online
110063 Solutions
New Discussion

Re: What font name syntax, where, how.

 
SOLVED
Go to solution
jerry1
Super Advisor

What font name syntax, where, how.

I am trying to change the font size/type of
an ascii file when printing it.
According to the man page on net_lj4x I
should be able to use:

lp -oa -of

But what to use for ?


lp -obold

Does change it to bold characters.


echo "test" | lp -options

States to see the man page.
Man page says to check printer for supported
fonts but the names are in the form with spaces:

Font
CG Times Bold

I have also tried "Font #" listed from PCL font
list printed from printer.

Can someone point me to the font name list to
pass to lp?





2 REPLIES 2
Steve Steel
Honored Contributor
Solution

Re: What font name syntax, where, how.

Hi

Test page of printer should show fonts

You can print ASCII files using any fonts in the printer. To
specify, use the lp option -of.
For example:

lp -ofHelvetica /etc/checklist

-o10 and -o12 are useful

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
jerry1
Super Advisor

Re: What font name syntax, where, how.

I already tried -of10 and -of if
it did not have a space in the name.

I think this will only work with PS files
not ascii files.