- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Banner Pages with lp
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 07:21 AM
02-12-2002 07:21 AM
Banner Pages with lp
Silly question probably, but I've just installed a printer and it prints a banner page every time I print something.
Anyone know how to unset the banner page option?
Cheers,
Simon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 07:23 AM
02-12-2002 07:23 AM
Re: Banner Pages with lp
If your printer name is 'pr1', then check for the file called - /etc/lp/interface/pr1.
Edit this file with 'vi' and search for 'banner' command. Put a '#' sign in those lines in order to avoid banner command.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 07:26 AM
02-12-2002 07:26 AM
Re: Banner Pages with lp
Not so silly a question but the answer is that it depends. Typically it's simply lp -dmyprinter -onb myfile. The -onb is no banner BUT this can vary from interface to interface. You need to cd to /var/spool/lp/interface and look for your particular printer. In this example the interface file would be 'myprinter'. THis is almost always simply a script so lloking for the no banner option is easy.
It this is a network printer, sometimes you need to telnet to the printer directly and turn off the banner there as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 07:27 AM
02-12-2002 07:27 AM
Re: Banner Pages with lp
You can also control this through jetadmin, when you configure a printer there is an option to turn of the banner page.
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 07:30 AM
02-12-2002 07:30 AM
Re: Banner Pages with lp
Try the "-o nb" option with the lp command.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 07:33 AM
02-12-2002 07:33 AM
Re: Banner Pages with lp
This is how I normally remove the banner
cd /etc/lp/interface
vi
find banner="yes" and remove yes
Regards,
Hilary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 07:34 AM
02-12-2002 07:34 AM
Re: Banner Pages with lp
In /etc/lp/interface or model.orig under it
you have a scrip[t on the printer name.
Find banner="yes"
Make
banner=""
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 07:36 AM
02-12-2002 07:36 AM
Re: Banner Pages with lp
lp -onb
(option no banner)
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 12:54 PM
02-12-2002 12:54 PM
Re: Banner Pages with lp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 08:17 AM
02-18-2002 08:17 AM
Re: Banner Pages with lp
Thanks for all your replys, however I've still not been able to remove the banner. I installed the printer onto the parallel port on an xterm using the envisex adminitstation utility in SAM after installing netstation. So the file in /etc/lp/interface/ is a 'Network Peripheral Model Script'. I then installed the printer as remote on other machines so the scrtipts in their /etc/lp/interface/ directories describes itself as a remote printer script. I cannot seem to find any entries for a banner command in either file.
Lp -onb does work however but I do need it to be default.
Any more ideas?
Many thanks,
Simon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 08:35 AM
02-18-2002 08:35 AM
Re: Banner Pages with lp
try this,
Go to /etc/lp/interface.
Edit the printer file and look for the keywork PRINTERCFG. This should point to a file say, /opt/hpnp/admin/printer/11.cfg
edit 11.cfg and look for BANNER under printer_defaults. Set BANNER="no", save this file and exit. Try the printing once again.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 02:48 AM
02-19-2002 02:48 AM
Re: Banner Pages with lp
I found why I wasn't finding the banner="yes" line. The script I was looking at in /etc/lp/interface was calling another script of the same name in /etc/lp/interface/model.orig. This is where the banner="yes" was hiding. A quick edit and all is well.
Thanks to everyone for you help,
Simon.