1830149 Members
18371 Online
109999 Solutions
New Discussion

Printer setup

 

Printer setup

I have an hp printers installed on one of my HP 9000 server. and users having problem to print to this printer. When I go to Jetadmin menue and try the option 2 Diagnostics then select 2-Examine spooler operations and give the printer naem it came back and saying " hp_laser_5M needs to be empty, Clear the queue, then restart this operation" How do I clear the Queue.
no personal quote
5 REPLIES 5
Steve Steel
Honored Contributor

Re: Printer setup

Hi


1)You can use cancel to remove the request

2)You can use lpalt to print the request on another printer


see man lpalt
lp(1) lp(1)

NAME
lp, lpalt, cancel - print/alter/cancel requests on an LP printer or
plotter

SYNOPSIS
lp [-c] [-ddest] [-m] [-nnumber] [-ooption] [-ppriority] [-s]
[-ttitle] [-w] [file ...]

lpalt id [-ddest] [-i] [-m] [-nnumber] [-ooption] [-ppriority] [-s]
[-ttitle] [-w]

cancel [id ...] [printer ...] [-a] [-e] [-i] [-uuser]


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
steven Burgess_2
Honored Contributor

Re: Printer setup

Hi

Have a look at

lpstat -a ( shows queues )

Try moving requests to another device

You must stop the scheduler -

/usr/sbin/lpshut

lpmove

restart the scheduler

/usr/sbin/lpsched

Steve
take your time and think things through
MANOJ SRIVASTAVA
Honored Contributor

Re: Printer setup

Hi Raghuram

lpstat -t will display the que for all the printers , you can just do a cancel for the request id and the queue will go. Also you may need to do a lpshut and lpsched after the request is made . If you can power cycle the printer to flush its memory.


Manoj Srivastava
BFA6
Respected Contributor

Re: Printer setup

Hi,

cancel -e Will cancel all the prints queued to that printer.

Hilary
Sanjay_6
Honored Contributor

Re: Printer setup

Hi,

Do a "lpstat -t" and check the output for print jobs in the queue. Delete those jobs if required using "cancel". Then try your diagnostics.

Hope this helps.

Regds