Operating System - HP-UX
1833695 Members
3478 Online
110062 Solutions
New Discussion

Re: Printing postscript files

 
Victor Munoz
New Member

Printing postscript files

I'm on HP 10.2 Unix. Is it possbile to print a banner with a postscript file using the lp command? If not, is there an alternative solution.
There is always a better way!!
7 REPLIES 7
Gregory Fruth
Esteemed Contributor

Re: Printing postscript files

It depends on the printer's interface script. With HP LaserJet
printers and HP JetAdmin software, the script provides a banner
page automatically. Check the relevant script in the directory

/etc/lp/interface/

or in

/etc/lp/interface/model.orig
Victor Munoz
New Member

Re: Printing postscript files

I looked into the file and I could not find anything about printing the banner automatically.

Could you provide me an sample file that demonstates this?

I would ultimately like to make it an option (printing a banner) on the command line when using lp.
There is always a better way!!
Rich Wright
Trusted Contributor

Re: Printing postscript files

For laserjet scripts "lp -oyb" will cause a banner page to print and "-onb" will supress it.
Victor Munoz
New Member

Re: Printing postscript files

I tried "lp -oyb" with the postscript file but it didn't work. The file printed out without a banner. I looked into the interface printer to see if these options exist. The option "nb" was defined but not option "yb". My problem could be a bad interface script.
There is always a better way!!
Tony Willis_1
Frequent Advisor

Re: Printing postscript files

Inside the dev file you can remove the default banner page by removing the "y" with "".
Do not enter an "n".

Within JetAdmin, HPPI, and WebJetAdmin, it is either yes or no toggle.

If the printer is set to AUTO you can send a postscript Banner Page followed by the data.

My default Banner has logo and user info on it.

Most users see the Banner Page as a waste of paper.

I actually modify the dev file and ADD a new file, i.e. "dumb_nb".

"Not Today,Nice Try, Next Time"
Mike McKinlay
Honored Contributor

Re: Printing postscript files

Just to check ... your printer can handle postscript, right?
"Hope springs eternal."
Victor Munoz
New Member

Re: Printing postscript files

Yes, I can print postscript files. I need to have the option to print a banner with it.
There is always a better way!!