Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error trying to cancel print jobs

Status
Not open for further replies.

highhearts

Technical User
Aug 7, 2001
3
US
Getting a message of no login name found. I have done the following steps to no avail

stopsrc -g spooler
ps -eaf | grep qdaemon to be sure stopped
removed all in /var/spool/qdaemon and /var/spool/lpd/qdir.
Removed qconfig.bin and reran lpstat
startsrc -g spooler.

Can anyone else offer suggestions please?

Thanks,
Mis
 
Is this a remote printer or a local printer?
Sounds like it was not set up correctly from the start?

0781-111
No login name found
This problem often occurs during the process of trying to cancel jobs to remote system, especially with Windows/NT servers when using AIXSHORT for stat filter. Be sure to use bsdshort and bsdlong.

Canceling remote jobs

The cancel commands qadm, enq -X, and others will only cancel local jobs. If you are
root, you can cancel jobs on a remote system with the rembak command:

/usr/lib/lpd/rembak -S rhost -P rqueue -x -# 123 -u userid@host

You must know the following:

-S the hostname that the actual printer is on.
-P the queue name on the above host.
-x
-# the job number as shown on the system that it was submitted from remotely.
-u the userid@host of the account that submitted the job

This will allow you to kill any job that is in a queue - if it was submitted from a
remote queue. You only need to be root on a system that has line printer
access on the system

----------------------
qcan and enq X only work with local............

Hope it helps
where you want to cancel the job.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top