Operating System - HP-UX
1753602 Members
6431 Online
108796 Solutions
New Discussion юеВ

Re: can't disable stapler on a Laser Jet 8150 printer

 
Alexandre Arents
Occasional Advisor

can't disable stapler on a Laser Jet 8150 printer


Hello,

We have a Laser Jet 8150 with a stacker/stapler plugged to it. We just want to use the large stacker without stapling our documents.

In order to do that:

-first of all we turn off the stapler by default from the printer panel, but it has no effect

-On our windows client we disable staple using the properties of the driver and it works.

-On our HPUX 11.00 server It seems that the stapler is handled by the staple option in the net_lj8150 interface script.

Something like that: lp -dmyprinter -o staple doc.

So, when we do not use the -o staple option the documents are also stapled...

by defaut in the interface script the staple variable is set to "def" and it turn to "yes" only when we specify the staple option.

thanks,
Alexandre

2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: can't disable stapler on a Laser Jet 8150 printer

You need to send the printer the proper escape code sequenece, probably built right into the print job.

The escape codes for this are in the printer documentation.

As to how to make it work with lp, can't help there because we use a third party spooler that makes escape codes bound to a print queue.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alexandre Arents
Occasional Advisor

Re: can't disable stapler on a Laser Jet 8150 printer


I found the good docid:
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000076808194

I added the folowing lines in the interface script to disable stapling by default:

if [ "$staple" = "def" ]
then
echo "@PJL SET FINISH=NONE"
fi

Thanks Steven