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 .