0:root@SERVER:/ # uname
AIX
0:root@SERVER:/ # oslevel
6.1.0.0
0:root@SERVER:/ # switch.prt -d
#printsubsystem
AIX
0:root@SERVER:/ # lpstat -oQUEUENAME
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
QUEUENA QUEUE READY
QUEUENAME:
QUEUENAME: Windows LPD Server
QUEUENAME: Printer \\192.168.2.34\QUEUENAME
QUEUENAME:
QUEUENAME: Owner Status Jobname Job-Id Size Pages Priority
QUEUENAME: ----------------------------------------------------------------------------
QUEUENAME: A22adm (10. Waiting 02bT7zBL.A22 1703 3374 0 1
0:root@SERVER:/ # cancel 1703 QUEUENAME
0:root@SERVER:/ #
0:root@SERVER:/ # lpstat -oQUEUENAME
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
QUEUENA QUEUE READY
QUEUENAME:
QUEUENAME: Windows LPD Server
QUEUENAME: Printer \\192.168.2.34\QUEUENAME
QUEUENAME:
QUEUENAME: Owner Status Jobname Job-Id Size Pages Priority
QUEUENAME: ----------------------------------------------------------------------------
QUEUENAME: A22adm (10. Waiting 02bT7zBL.A22 1703 3374 0 1
0:root@SERVER:/ #
나는 또한 다음을 시도했습니다.
stopsrc -g spooler
startsrc -g spooler
그리고
disable QUEUENAME
enable QUEUENAME
그리고
/usr/bin/enq -P 'QUEUENAME' -x '1703'
그리고 smitty로 인쇄 작업을 삭제하려고 시도했지만 운이 없었습니다..
도움이 필요하세요?
답변1
lpstat -o
인쇄 작업 번호의 모든 숫자가 표시되지 않을 수 있습니다.
전체 정보 표시:
qchk -L -P PrintQ