Operating System - HP-UX
1848764 Members
5021 Online
104036 Solutions
New Discussion

Don't print banner page! Part ...

 

Don't print banner page! Part ...

Hi, all! Somebody know nice way don't to print banner page. I know not nice way - remark this procedure in driver of printer. But i want to know how and where use keys "-nb" and "-yb".
For any case I attached file of driver. Please see and take me recommendations.
Thanx in advance. Oleg
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: Don't print banner page! Part ...

Oleg,

I set an alias:

alias lp="lp -o nb"


You could do it in /etc/profile so it would be system wide.


Pete


Pete
Mark Grant
Honored Contributor

Re: Don't print banner page! Part ...

Trouble with the alias is that any applications that use lp won't have logged in and cron printing could also become an issue

I think changing the interface file is perfectly acceptable. It's much better than creating a wrapper script around "lp" for example.
Never preceed any demonstration with anything more predictive than "watch this"
Keith Bevan_1
Trusted Contributor

Re: Don't print banner page! Part ...

Oleg,

A different slant on the nb obtion is to use the BSD settings -oBSDh .

It certainly works with remote printers even if they are/are not setup as BSD devices.

I use lp -ddevice -oBSDh

Hope this helps !

Keith
You are either part of the solution or part of the problem
RolandH
Honored Contributor

Re: Don't print banner page! Part ...

Hi Oleg,


start the programm jetadmin. Then configuration(1)-> Modify(5) and choose the printer queue. Then switch off the banner for that printer permanent.

HTH
Roland
Sometimes you lose and sometimes the others win