Operating System - HP-UX
1829930 Members
2276 Online
109998 Solutions
New Discussion

printing with different fonts

 
SOLVED
Go to solution
Bryan D. Quinn
Respected Contributor

printing with different fonts

Is it possible to print with different fonts from hpux? We have a line printer and we have a request to print to it with a different font than the default. We are runnig 11.0. Does anybody know if this is possible and if so, how to go about doing it.

Thanks,
-Bryan
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: printing with different fonts

In general the answer is yes. If your line printer is a band printer then to change fonts, you actually changed the print band --- so in that case no. If yours is a matrix line printer (and most are these days) then you need to study the printer manual and find out what the command seqi\uences are. You then put these in your /var/spool/lp/interfaces/myprinter file and it becomes a new -o option for the lp command OR you setup a completely new queue (printer) for the same physical printer and initially send the desired sequences to the printer and then no -o options would be needed. You also need to make certain that the interface files reset the printer to the default mode so that subsequent print jobs behave as expected. More than 99% of all lp interface files are shell scripts so you should find everything you need by editing a few of the existing files for ideas.
If it ain't broke, I can fix that.
Bryan D. Quinn
Respected Contributor

Re: printing with different fonts

Great. Thanks for the information Clay. That is exactly what I need.

Thanks a million for sharing your invaluable knowledge, it's always a pleasure to read your posts!

-Bryan
John Flanagan
Regular Advisor

Re: printing with different fonts

I found a useful document on a microsoft site called 'Ultimate Printer Maunal' when I had to do a similar job a few years ago.

It contains the escape codes you will need.

John.