This widget could not be displayed.
Operating System - HP-UX
1845517 Members
3797 Online
110244 Solutions
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
New Discussion
This widget could not be displayed.
This widget could not be displayed.

Disable banner with HPDPS

 
Jason Hill
New Member

Disable banner with HPDPS

Hi,

I have a laser jet 4si printer connected to an HP-UX 11i system. HPDPS is used to send jobs to the printer. Approx 20+ other unix servers (various os's) have remote BSD style printers defined pointing at the HP-UX 11i box. Everything works great apart from I cannot disable the banner page. When I print using pdpr or lp the banner appears. When I print using lp and the -onb option the banner does not appear. I need to disable the banner by default so that when users print from the HP-UX 11i box or all the other servers no banner appears. I do not want to alias the ls command. I cannot edit the model/interface script because there isn't one, this is HPDPS. I have tried messing around with the pdset command, e.g., changing the value of job-sheets-supported to none (the default was job-set-start) but it didn't help. Can anyone offer guidance for disabling the banner?
2 REPLIES 2
Michael Steele_2
Honored Contributor

Re: Disable banner with HPDPS

First try: lp -onb

If this fails try:

Create an initial-value-job for Spooler1:

pdcreate -c initial-value-job -x "job-sheets=none" Spooler1:no_banner_IVJ

Disable logical printer logptr and assign the initial-value-job to it:

pddisable logptr

pdset -c printer -x "printer-initial-value-job=no_banner_IVJ" logptr

Re-enable the printer:
pdenable logptr
Support Fatherhood - Stop Family Law
Jason Hill
New Member

Re: Disable banner with HPDPS

Thanks for the info, but it did not help. These are the commands I used:

# pdcreate -c initial-value-job -x "job-sheets=none" spooler01:no_banner_IVJ
# pddisable laser
# pdset -c printer -x "printer-initial-value-job=no_banner_IVJ" laser
# pdenable laser

Now when I try to print I get:

# ls|lp
lp: HPDPS error (The value none that was specified or defaulted for attribute job-sheets is not supported by the logical printer or by any of its associated physical pr??~.Proot@hp11i:/>

I removed the initial value job so I could continue to print:

# pddisable laser
# pdset -c printer -x "printer-initial-value-job-=no_banner_IVJ" laser
# pdenable laser

# ls|lp
request id is laser-71 (-1065113605 filesstandard input)

I've no idea why I get negative numbers reported by lp but not concerned with that for now.

Anyone got more ideas?