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
 
Are you upset because it says no login name found...or that you cannot cancel the
print job?
---------------------------------

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. (which is when you defined the printer originally...the default with AIXshort...)


------------------------------
To cancel print jobs, enter:
enq -x <job number>
--------------------
or
For example, to cancel job number 123 on whichever printer the job is on, type:

qcan -x 123

For example, to cancel all jobs queued on printer lp0, type:
qcan -X -Plp0
------------------------
stopsrc -cg spooler
ps -ef | grep qd
kill anything that is a fork or qdaemon( pio or qdaemon etc)
kill -9 pid (process id)

cd /etc
cp /etc/qconfig /etc/qconfig.orig

Remove all files in :
/var/spool/qdaemon/
/var/spool/lpd/qdir/
/var/spool/lpd/stat/
/var/spool/lpd/pio/ (only msg files need to be removed )
/etc/qconfig.bin (remove file...it gets regenerated when it
starts up...DO NOT REMOVE qconfig though)

/var/spool/lpd/pio/@local (only msg files need to be removed.
These files are in 4.x version)
startsrc -g spooler to restart the printer daemons again. If a printer is down
enable the printer with either the qadm -U quename or enable lp2 .
 
I think I found the problem or at least part of it. There is not a /var/spool/lpd/pio directory. Is there a way to recreat this file?

Mis
 
correct directories etc get created when you load
bos.rte.printers
and printers.rte

If something were not set up correctly, it may be easier to delete the printer definition you have and recreate it...there are several documents on remote printing?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top