1834604 Members
3918 Online
110069 Solutions
New Discussion

printer banner

 
Catherine Forget
Frequent Advisor

printer banner

Hi, I just created a remote printer with sam on my C3750 with HP-UX 11i, but we get a banner for every print job we send. How can I get rid of it?

Thanks
3 REPLIES 3
Dave Hutton
Honored Contributor

Re: printer banner

A. Clay Stephenson
Acclaimed Contributor

Re: printer banner

Either invoke the jone as lp -onb or modify the interface file so that no banner is the default.

cd /var/spool/lp/interface
vi yourprintername and locate the string
BSDh=""
change it to
BSDh="-h"
and save the file.

You might also change the case statement to
accept a -ob option that would now set the BSDh value to "" to enable a banner (now that no banner is the default).


If it ain't broke, I can fix that.
Jeff Schussele
Honored Contributor

Re: printer banner

Hi,

Use the -onb parm on command line - like

lp -onb file_to_print

OR

lp -oBSDh file_to_print

The banner/nobanner is one of the *few* command line switches acted upon for remote printers.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!