Operating System - HP-UX
1753936 Members
9657 Online
108811 Solutions
New Discussion юеВ

Re: Suppressing banner page printing

 
Pinkesh Sachdev
New Member

Suppressing banner page printing

Hi

I would like to know a way to suppress the printing of the banner page whenever
one prints using lp. I have used the following with no results.
lp -oBSDh filename
lp -onb filename
lp -o nb filename
lp -o nobanner filename

I got the BSDh and nb options by looking at the printer specific file in
/etc/lp/interface/ Here is the relevant part of that file:
----
# remove the BSD from the option.

eval ii='`echo $i | sed -e "s/\BSD//g"`'
case "$i" in
nb) # Suppress the printing of the banner page.
BSDh="-h"
;;
BSDh) # Suppress the printing of the banner page.
BSDh=-$ii
;;
esac
----

Info:
uname output:
HP-UX B.10.20 A 9000/777
Printer:
HP LaserJet 5M

The banner page currently being printed gives a summary list of options in
which "yb" and "nb" appear. Also there is no man page for net_lj4x on my
system (the banner page asks to do man net_lj4x for details on options).

thanks,
Pinkesh
2 REPLIES 2
Carlos Riera
Frequent Advisor

Re: Suppressing banner page printing

I supose you are using HP Network Printer interface (HPNP).

if so, you can supress it running jetadmin.

Also, on /etc/lp/interface/model.ori/yourprinter you can search for
do_pcl_banner, on the way you tried to do.
Chris Anoruo_1
Frequent Advisor

Re: Suppressing banner page printing

You can use Jetadmin to modify and suppress the banner printout, or go through
the specific printer file in /etc/lp/interface/model.orig and modify the print
banner="yes" line to read banner="".

I hope this helps

Cheers