1819794 Members
3061 Online
109607 Solutions
New Discussion юеВ

banner page

 
SOLVED
Go to solution
Jean Wang
New Member

banner page

Hello ,
i wanted to stop the banner page from printing.
i have modified banner page as 0 in the below dir .but it did not help.can you please assist.
thanks
/usr/spool/lp/interface/model.orig
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: banner page

You didn't bother to identify the printer so it's difficult to be specific but you probably need to disable the banner page on the printer itself also. If this is a Laserjet, you can do this from the printer's configuration menu.
If it ain't broke, I can fix that.
Pete Randall
Outstanding Contributor

Re: banner page

The first option is to try adding "-o nob" to your lp statement. If that doesn't work, how are your printers defined? If they're defined as "remote" printers, it might not be possible to defeat the banner page. If they're defined as network attached printers via HPPI (JetAdmin's new version), then there is an option to suppress the banner in the definition:

addqueue -h $IP -q $PRNTR -b off

Finally, many of the laserjets can be set up to defeat the banner page themselves.


Pete

Pete
Bill Hassell
Honored Contributor
Solution

Re: banner page

There are two possible banner pages for JetDirect printers: in the model.orig directory, you'll find the printer scripts, one for each printer queue. This is a fancy page printed in front of each job with some graphics and a quick rerference box in the bottom right corner. However, you do not turn off the banner page with 0 (you said "modified banner page as 0), but should be set to "". Around line 60 or so, you'll see these values:

TEOJ="on"
BANNER="yes"
SPACECHAR="_-"

Change BANNER="" and now the banner page will now be off. You can make the same change by running hppi, choosing option 1, then 3, pick the printer and choose item 4 (advanced options). There you can toggle the banner page on and off. The tests within the script look for a zero-length string, not 0 or no or NO.

Now if the banner page prints at the end of the job and contains just a few lines of ASCII right in the center of the page. This is actually known as a separator page and does not come from HP-UX but comes from the JetDirect card itself. To configure the JetDirect card to turn off the banner page use telnet to the printer's IP address and type / to show the current settings. To turn the banner off, use the command:

banner:no

Then type / to see the settings. Type quit to save the changes. If this is a newer JetDirect card, there wil be a web page available from the card itself where all the options can be set with a GUI.


Bill Hassell, sysadmin
Fred Martin_1
Valued Contributor

Re: banner page

I have several different printer styles and each one has a different way of handling banners in the interface scripts. For some I was able to force the value of a variable at the top of the script, like:

do_banner="no"

And with some I just brute force commented out the whole paragraph that prints the banner:

# # print banner if requested
# if [ "$doBAN" = "yes" ]
# then
# ... etc
# ....

One thing I did do - I created local custom model scripts based on the ones provided by HP, and I left theirs alone.

So, when I add a printer now, I choose one of the models that I created:

our-hp4000
our-hp4050
our-dumb-lp
our-oki3410

That way I don't feel so bad about hacking them up...
fmartin@applicatorssales.com
Jean Wang
New Member

Re: banner page

Hello,
Thank You all. It worked.
Thanks again