Operating System - HP-UX
1822501 Members
2594 Online
109642 Solutions
New Discussion юеВ

How do I turn the banner page off on an HP LaserJet 8150?

 
MAD_2
Super Advisor

How do I turn the banner page off on an HP LaserJet 8150?

I am using a network HP LaserJet 8150 for my RP5470 (using HP-UX 11; JetDirect version E.10.18). Right now my problem is that it keeps printing a banner page for every job our agents print from their application and just about everything else that is queued through our HP.

I already telnet into the printer and used the advanced commands setting "banner: 0" but that did not work. I think the banner is driven by a function in "/opt/hpn/sh/net_ljx000" however I am not sure where I can set it so that there will be no banner anymore. Can I get some hints?

Another clue I found in one of the forums was to turn to the model script in /usr/lib/lp/model and look for function calls to do_banner(). However, in this case I am not sure of what model to modify (there are various in there and I can't seem to find the driver/model used by the HP laserjet I am using; the model for Laserjet 8150 is not present. Thanks for any help...
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
20 REPLIES 20
T G Manikandan
Honored Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Hello,

YOu can use
lp command with -onb to disable the banner printing.
Also you can edit the interface script to set the nobanner=yes to disable printing.


Thanks
Bill McNAMARA_1
Honored Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

when you print use the option -onb

Check this link for example on how to switch it off permanently:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4ff135067c18d6118ff40090279cd0f9,00.html

Later,
Bill
It works for me (tm)
Nick Wickens
Respected Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Run up jetadmin and go into the configuration settings for that printer. There is an option to turn banners on or off.
Hats ? We don't need no stinkin' hats !!
Steve Steel
Honored Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Hi

If yu are using jetadmin then add /opt/hpnp/man to the MANPATH and you have a manpage for the scripts.


You can do it with jetadmin or

cd /etc/lp/interface/model.orig

vi printer

change

banner="yes" to banner="no" in


# Silent run page adjustment
# override startpg if jrpg not 0
if [ "$jrpg" -ne 0 ]
then
startpg=$jrpg
listopt="no"
banner="yes"
fi


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
MAD_2
Super Advisor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Bill, I am reviewing the link your provided, it looks very informative. I am going to try a couple of things mentioned there!

Nick, I think I use JetDirect (is that the same as jetadmin?) I did not see an option in JetDirect to turn the banner off.

Oh, and I am looking for a permanent solution guys. I am sorry I did not make that clear first, it's not the command driven lp printing that is giving me the headaches but application driven print jobs. Thanks!
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
Nick Wickens
Respected Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Hi Adam

There is a similar thread running at the moment to which I suggested this -

Run up jetadmin (mines in /opt/hpnp//bin/jetadmin) select option 1 to change configuration, then option 5 to modify existing spooler queues.
Enter the printer name and then select option 4 for additional printer changes. Option 1 is then the banner option
Hats ? We don't need no stinkin' hats !!
Nick Wickens
Respected Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Oh perhaps I should mention that jetadmin is available as a free download from HP. a quick search on the forum for jetadmin should reveal the download page.
Hats ? We don't need no stinkin' hats !!
MAD_2
Super Advisor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Well, I've gone here and so far no success following all of the clues given there, still getting a banner page:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4ff135067c18d6118ff40090279cd0f9,00.html

So far I switched the BANNER="yes" to BANNER="no" in the following locations:

1. /etc/lp/interface/model.orig/
2. /opt/hpnpl/sh/net_ljx000
3. Went to /etc/lp/interface, looked for PRINTERCFG. This points to a file named /opt/hpnpl/admin/printers/ and looked for BANNER under printer_defaults. I set BANNER="no", save this file and exit.

Nothing seemed to work in my case. I am missing something? Any other locations?
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
MAD_2
Super Advisor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Any other suggestions?
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
Olav Baadsvik
Esteemed Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?


Hi,

Set BANNER=""

Regards
Olav
Nick Wickens
Respected Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

I do recall some HP laserjets having a banner on/off configuration selectable from the panel on the printer but this is really clutching at straws now.

Did you try Jetadmin ?
Hats ? We don't need no stinkin' hats !!
MAD_2
Super Advisor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Sorry, I have not tried Jetadmin.

From what I remember, Jetadmin has been superseded, what I have is JetDirect, which I think is what replaces jetadmin. However, I see nothing in JetDirect's menu driven application how to turn the banner off for the current printer (by the way, there is only this one network printer used by our HP)
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
MANOJ SRIVASTAVA
Honored Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Hi ADAM


login as root
jetadmin
option 1 ----> Configuration Super Usrr Only
Option 5 ----> Modify Existing Sppoler Queue
option 4 ----> Turn abnner on and off


Manoj Srivastava
Sandip Ghosh
Honored Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Hi Adam,

Do the following:
#hpnp
Select for Spooler Administration
First remove the particular queue
Then recreate the queue with the IP add
Give the queue name in option 1
Then go to option 5
Set banner=off
Press q for quit
Then press 0 for set the print queue.

Hopefully it will solve your problem

Sandip
Good Luck!!!
Sandip Ghosh
Honored Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Hi again,

Sorry, it would be hppi instead of hpnp

Sandip
Good Luck!!!
Pete Randall
Outstanding Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

If nothing else seems to work, maybe you could try setting up a global alias in /etc/profile like: alias lp="lp -o nb"

For What It's Worth,
Pete

Pete
MAD_2
Super Advisor

Re: How do I turn the banner page off on an HP LaserJet 8150?

OK everyone, thanks for your active participation and all of your suggestions. After dealing with this for hours, finally I called HP. This is how my problem was resolved:

1. Went into /etc/lp/interface/model.orig
2. vi the printer file (we only had one thankfully)
3. Change from BANNER="yes" to BANNER="" (I had used BANNER="no" and that's why it was not working).

Now there are no banners at all!
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
Sanjay_6
Honored Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Hi,

Try this,

SAM --> Printers and Plotters --> LP Spooler --> Printers and Plotters --> Actions --> Add Network-Based Printer/Plotter --> Add Printer/Plotter Connected to HP JetDirect --> 1) Spooler Administration (super-user only) --> 3) Modify existing spooler queue(s) --> "Give the name of the printer" Enter the lp destination name (q - quit): --> 3) Additional printer changes . . . --> 3) Banner Page [ON]

This should be on by default. If you press "3" this turns to off. Then type "q" to exit and then "0" to make the change effective.

Return to the main screen and then exit. Give a test printout.

Hope this helps.

Regds
MAD_2
Super Advisor

Re: How do I turn the banner page off on an HP LaserJet 8150?

By the way, jetadmin has been replaced with jetdirect. The path to run jetdirect is /opt/hpnpl/admin/hppi and I could not find a menu there to make this change possible.

Another suggestion I was getting was to delete and then add the printer to the local spooler, a step I am glad I did not have to deal with.
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
Sanjay_6
Honored Contributor

Re: How do I turn the banner page off on an HP LaserJet 8150?

Hi,

I don't know what you are using, but the above solution suggested by me works for "JetDirect Printer Installer for UNIX Version E.10.18" and the executable for this is located at /opt/hpnpl/admin/hppi.

You can execute /opt/hpnpl/admin/hppi and then choose option "1" Spooler Administration (super-user only) or you can go through "SAM" as suggested above.

Hope this helps.

Regds