Operating System - HP-UX
1820268 Members
2921 Online
109622 Solutions
New Discussion юеВ

How change HP Printer Font size

 
SOLVED
Go to solution
kzhang_1
Occasional Advisor

How change HP Printer Font size

Hi,
I used /opt/hpnpl/bin/hppi add a HP LaserJet 4200 printer to my HP-UX 11.23 system. It works fine.
But now I need to change the default Font size from 10 (looks like) to 8, which command or parameter should I change.
Thanks

Kevin
4 REPLIES 4
Peter Godron
Honored Contributor
Solution

Re: How change HP Printer Font size

Kev in,
somebody with a similar problem:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1004609

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
A. Clay Stephenson
Acclaimed Contributor

Re: How change HP Printer Font size

The general answer to your question can be found by doing something like this:

ls | lp -dmyprinter -o options

When the "-o options" argument is supplied to almost any Laserjet interface file, the output will include a page that lists all the available options or directs you to a man page with those options listed.

You then typically modify the file /var/spool/lp/interface/model.orig/myprinter and change the defaults to whatever you desire. In your case, the variable is probably "pitch".
If it ain't broke, I can fix that.
DCE
Honored Contributor

Re: How change HP Printer Font size


you need to modify the printer configuation file

The printer configuration files are located in:
/etc/lp/interface/model.orig

Edit the file named for your printer - The file is quite long

Look for a line pitch=
to change the default size
kzhang_1
Occasional Advisor

Re: How change HP Printer Font size

Many Thanks Peter Godron,A. Clay Stephenson
and DCE:

File
/etc/lp/interface/model.orig/myprintqueue is the one I need to edit. And the pitch is the one I need change.

Points assignd to you GURUs.

Thanks