## In this scenario the print queue name/printer name is AV169. This is for SAP printing. Check whether the print queue name/printer name is exist or not and it is pingable or not. If everything is fine, then proceed with the 3 steps below
1) root@sap03_R3P / # disable AV169
** This command will disable the printer for a while
2) root@sap03_R3P / # qcan -x 23 -P AV169
** Look for the first print queue ID that is listed. In this case the first print queue ID is 23
root@pxipvsap03_R3P / # lpstat -oAV169
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
AV169 hp@AV RUNNING 23 000IJXSj.R3P r3padm 0 100 16 1 1
QUEUED 191 000J5NyL.R3P r3padm 107 1 2
QUEUED 332 000JUXwn.R3P r3padm 21 1 3
** Enter the command above to remove that print queue. After that, enter command : lpstat -oAV169 | more . If that print queue is still exist repeat the above command until that print queue is remove and disappear from the list. Then, enter again command lpstat -oAV169 | more for confirmation.
3) root@sap03_R3P / # enable AV169
** To enable again the printer, type the above command.
Follow the below steps for how to :)
$ /usr/sbin/ping AV169
PING AV169.domain1.local: (10.xx.xx.xxx): 56 data bytes
64 bytes from 10.xx.xx.xxx: icmp_seq=0 ttl=58 time=2 ms
64 bytes from 10.xx.xx.xxx: icmp_seq=1 ttl=58 time=2 ms
64 bytes from 10.xx.xx.xxx: icmp_seq=2 ttl=58 time=2 ms
----AV169.domain1.local PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2/2/2 ms
$ nslookup AV169
Server: pxdces01.domain1.local
Address: 10.xx.xx.xxx
Name: AV169.domain1.local
Address: 10.xx.xx.xxx
$ grep -i AV169 /etc/qconfig
AV169:
device = hp@AV169
hp@AV169:
file = /var/spool/lpd/pio/@local/dev/hp@AV169#hpJetDirect#9100
backend = /usr/lib/lpd/pio/etc/piojetd AV169 9100
$ lpstat -oAV169
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
AV169 hp@AV RUNNING 23 000IJXSj.R3P r3padm 0 100 16 1 1
QUEUED 191 000J5NyL.R3P r3padm 107 1 2
QUEUED 332 000JUXwn.R3P r3padm 21 1 3
QUEUED 341 000JbHe5.R3P r3padm 11 1 4
QUEUED 439 000Lo5Td.R3P r3padm 14 1 5
QUEUED 444 000LuxhR.R3P r3padm 9 1 6
QUEUED 451 000M1QLh.R3P r3padm 11 1 7
QUEUED 619 000O4KQ5.R3P r3padm 45 1 8
QUEUED 623 000O5QcD.R3P r3padm 52 1 9
QUEUED 626 000O6FlJ.R3P r3padm 227 1 10
QUEUED 936 000P5qiX.R3P r3padm 15 1 11
QUEUED 17 000PNitd.R3P r3padm 9 1 12
QUEUED 139 000PPvHt.R3P r3padm 358 1 13
QUEUED 203 000PttcP.R3P r3padm 11 1 14
QUEUED 205 000PurI1.R3P r3padm 40 1 15
QUEUED 206 000PuilV.R3P r3padm 146 1 16
QUEUED 596 000QwNaT.R3P r3padm 81 1 17
QUEUED 74 000S8lJh.R3P r3padm 70 1 18
QUEUED 76 000S92Mj.R3P r3padm 12 2 19
QUEUED 77 000S9AtF.R3P r3padm 27 3 20
QUEUED 80 000S9izJ.R3P r3padm 39 2 21
QUEUED 106 000SCCQb.R3P r3padm 39 2 22
QUEUED 198 000SPfpB.R3P r3padm 40 2 23
QUEUED 366 000Snb4z.R3P r3padm 108 1 24
QUEUED 371 000SoYkb.R3P r3padm 90 1 25
QUEUED 590 000TLYcT.R3P r3padm 14 1 26
QUEUED 598 000TMeob.R3P r3padm 38 1 27
QUEUED 698 000TbEPJ.R3P r3padm 8 1 28
QUEUED 731 000TfuEr.R3P r3padm 8 1 29
QUEUED 767 000Tkzdx.R3P r3padm 8 1 30
QUEUED 11 000UMWor.R3P r3padm 17 1 31
QUEUED 68 000UV3Kr.R3P r3padm 17 1 32
QUEUED 813 000WGUnh.R3P r3padm 11 1 33
QUEUED 815 000WGuNF.R3P r3padm 11 1 34
QUEUED 827 000WIhBx.R3P r3padm 342 1 35
QUEUED 862 000WNe4X.R3P r3padm 276 1 36
QUEUED 907 000WU6in.R3P r3padm 16 1 37
QUEUED 171 000X7yoT.R3P r3padm 14 1 38
QUEUED 288 000XPiT3.R3P r3padm 14 1 39
QUEUED 359 000XbGWP.R3P r3padm 14 1 40
$ lpstat -pAV169 | wc -l
42
root@sap03_R3P / # disable AV169
root@sap03_R3P / # qcan -x 23 -P AV169
root@sap03_R3P / # lpstat -oAV169 | more
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
AV169 hp@AV DOWN
QUEUED 23 000IJXSj.R3P r3padm 16 1 1
QUEUED 191 000J5NyL.R3P r3padm 107 1 2
root@sap03_R3P / # qcan -x 23 -P AV169
root@sap03_R3P / # lpstat -oAV169 | more
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
AV169 hp@AV DOWN
QUEUED 191 000J5NyL.R3P r3padm 107 1 1
QUEUED 332 000JUXwn.R3P r3padm 21 1 2
root@sap03_R3P / # enable AV169
root@sap03_R3P / # lpstat -pAV169 | wc -l
41
root@sap03_R3P / # lpstat -pAV169 | wc -l
38
root@sap03_R3P / # lpstat -pAV169 | wc -l
36
root@sap03_R3P / # lpstat -pAV169 | wc -l
34
root@sap03_R3P / # lpstat -pAV169 | wc -l
32
root@sap03_R3P / # lpstat -pAV169 | wc -l
30
root@sap03_R3P / # lpstat -pAV169 | wc -l
25
Second monitor no display after latest update - KDE-neon
-
After latest update as of Oct 3, 2023, my second monitor was undetected
with latest kernel (6.2.0-33-generic). If I boot with previous kernel, it
can be...
1 year ago