Operating System - HP-UX
1833847 Members
2258 Online
110063 Solutions
New Discussion

Re: disable printer header

 
SOLVED
Go to solution
Vijaya Kumar_3
Respected Contributor

disable printer header

Anybody having idea, how can i diable header page in the printer.... i heard something in a script on /etc/lp/interface

thanks
vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
5 REPLIES 5
doug mielke
Respected Contributor

Re: disable printer header

can turn banners off in /etc/lp/interface/printername, but also in the printer setup.
i.e. Jetadmin or hppi setup page, (can modify existing) additional parameters, banner page =off.
some printrer modelss are on by default, some off
Helen French
Honored Contributor

Re: disable printer header

If you are talking about banner page, you can use the -o option with lp:

# lp -o nb -d printer_name

OR you can edit the printer interface file in /etc/lp/interface and change banner options to "no".
Life is a promise, fulfill it!
Vijaya Kumar_3
Respected Contributor

Re: disable printer header

Thanks guys...

somebody post me an example /etc/lp/interface file with banner OFF

Thanks

Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Bruno Ganino
Honored Contributor
Solution

Re: disable printer header

Vijay, i have found this documentation for turn off the LP banner page...

Depending on the type of spooler script, do either:
a) Edit your /var/spool/lp/interface/"printer name" file, and disable
the banner page. Note that if you are using the JetAdmin tool, the
script will instead be /var/spool/lp/interface/model.orig/"printer
name" The most commonly used means of diabling the banner page is
changing the BANNER variable's value from "yes" to "no"
b) Newer interface files (in /var/spool/lp/interface/*) may call
/usr/sbin/rlp; if your model script does this then insert the
following line before the /usr/sbin/rlp statement:

BSDh="-h"

The model script would now look something like:
...
shift; shift; shift; shift; shift
# Added the no banner option here
BSDh="-h"
/usr/sbin/rlp -I$requestid $BSDC $BSDJ $BSDT $BSDi $BSD1 $BSD2
...

I HOPE HELPED YOU
Bruno
Torino (Turin) +2H
Vijaya Kumar_3
Respected Contributor

Re: disable printer header

Thanks a lot
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com