===== AIX printing ===== List all printers by name # lsallq Printer status (fast command) # enq -sAW root@aix[/var/spool/mqueue] > enq -A -L -W Queue;Dev;Status;Job;Name;From;To;Submitted;Rnk;Pri;Blks;Cp;PP;%;Files; ------------------------------------------------------------------------ mon-2_ps;@mon-2;READY; mon-2_ps: JetDirect lpd: no jobs queued on the port Auto itprint_ps;@mwhost-062;DOWN; ;;QUEUED;665;/pao//aaa/arc//CPT00306169.P00.prt;oratest;oratest;03/20/18 14:34:50;1;15;87;1;;;/var/spool/qdaemon/tRIBMua;# ;;QUEUED;666;/pao//aaa/arc//CPT00306170.P00.prt;oratest;oratest;03/20/18 14:34:51;2;15;83;1;;;/var/spool/qdaemon/tZ2F7ma;# ;;QUEUED;667;/pao//aaa/arc//CPT00306171.P00.prt;oratest;oratest;03/20/18 14:34:53;3;15;83;1;;;/var/spool/qdaemon/teCe7ma;# Delete all print job on a specific queue root@aix[/var/spool/mqueue] > enq -X -P itprint_ps enq: (WARNING): Cancel all not supported on remote queues. Delete one print job root@aix[/var/spool/mqueue] > enq -x 667 root@aix[/var/spool/mqueue] > enq -L -W Queue;Dev;Status;Job;Name;From;To;Submitted;Rnk;Pri;Blks;Cp;PP;%;Files; ------------------------------------------------------------------------ mon-2_ps;@mon-2;READY; mon-2_ps: JetDirect lpd: no jobs queued on the port Auto To check the status of all jobs in all queues, type: root@aix[/var/spool/mqueue] > qchk -A The lsallq command lists the names of all configured queues contained in the /etc/qconfig (columns) # lsallq -c http://jlbicquelet.free.fr/aix/peripheriques/imprimantes_sous_aix.php ==== Additionnal infos ==== Print jobs are located into text files into **/var/spool/lpd/qdir/**