Operating System - HP-UX
1833759 Members
2310 Online
110063 Solutions
New Discussion

Printer disabled by scheduler

 
Adele Smith
New Member

Printer disabled by scheduler

Can anybody offer some advice on the following error outputed by the lpstat ???t command:

Disabled by scheduler: ERROR: Printer interface script returned non-zero exit status.

I have checked the log file that results from starting the scheduler in verbose mode in /var/adm/lp with no luck. There are no errors, the printer just disables itself a few seconds after being enabled.

Any help would be appreciated.

Thank you
4 REPLIES 4
Robin Wakefield
Honored Contributor

Re: Printer disabled by scheduler

Hi Adele,

If you search through the /var/spool/lp/interface/{printername} file, it should indicate the conditions under which a non-zero exit is returned.

Rgds, Robin
Michael Tully
Honored Contributor

Re: Printer disabled by scheduler

This is a testing performed by GBIT - Pls ignore. IE 4.0
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: Printer disabled by scheduler

hmmm! Who is using my sign in ???
Anyone for a Mutiny ?
Roger Baptiste
Honored Contributor

Re: Printer disabled by scheduler

Adele,

Check the printer spool files under
/var/spool/lp/ .
The printer can get disabled if it
is not able to process the data/control spool
files of the printer which are pending in
the queue.
Every time a file is printed, two files- control and data are created in the spool directory corresponding to the request.
IF the control file has an error, the
printer will get disabled while trying to
process that request.

To confirm this, cancel the requests
of the printer. clear the /var/spool/lp/ directory.
Reenable the printer and send test printouts.

I have run into this problem, when a cranky
application software used to send errenous
characters in the print request.

HTH
raj
Take it easy.