The output of different commands are as follows:
- Code: Select all
[root@localhost bin]# systemctl status cups.path cups.service cups.socket -a -n250
● cups.path - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/cups.path; enabled)
Active: active (running) since Fri 2016-02-05 18:06:58 IST; 7min ago
● cups.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
Active: active (running) since Fri 2016-02-05 18:07:24 IST; 7min ago
Docs: man:cupsd(8)
Main PID: 1556 (cupsd)
Status: "Scheduler is running..."
CGroup: /system.slice/cups.service
├─1556 /usr/sbin/cupsd -l
└─3339 hp:/usb/HP_LaserJet_1020?serial=JL1CQE6 23 cardio geany job #2 1 InputSlot=Auto number-up...
Feb 05 18:13:43 localhost.localdomain hp[3339]: io/hpmud/musb.c 1142: unable to open hp:/usb/HP_LaserJet_1020?serial=JL1CQE6
Feb 05 18:13:43 localhost.localdomain hp[3339]: prnt/backend/hp.c 809: INFO: open device failed stat=12: hp:/usb/HP_LaserJet_1020?serial=JL1CQE6; will retry in 30 seconds...
Feb 05 18:14:13 localhost.localdomain hp[3339]: io/hpmud/musb.c 1142: unable to open hp:/usb/HP_LaserJet_1020?serial=JL1CQE6
Feb 05 18:14:13 localhost.localdomain hp[3339]: prnt/backend/hp.c 809: INFO: open device failed stat=12: hp:/usb/HP_LaserJet_1020?serial=JL1CQE6; will retry in 30 seconds...
● cups.socket - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/cups.socket; enabled)
Active: active (running) since Fri 2016-02-05 18:06:58 IST; 7min ago
Listen: /var/run/cups/cups.sock (Stream)
- Code: Select all
[root@localhost bin]# journalctl -ab|grep -i cups
Feb 05 18:07:24 localhost.localdomain colord[1698]: Device added: cups-HP_LaserJet_1020
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: ● cups.service - CUPS Scheduler
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: Docs: man:cupsd(8)
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: Main PID: 1556 (cupsd)
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: CGroup: /system.slice/cups.service
Feb 05 18:07:29 localhost.localdomain udev-configure-printer[1896]: └─1556 /usr/sbin/cupsd -l
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: ● cups.service - CUPS Scheduler
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: Docs: man:cupsd(8)
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: Main PID: 1556 (cupsd)
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: CGroup: /system.slice/cups.service
Feb 05 18:14:20 localhost.localdomain udev-configure-printer[3384]: ├─1556 /usr/sbin/cupsd -l
- Code: Select all
[root@localhost bin]# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v2.0.4
# Written by cupsd on 2016-02-05 18:07
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HP_LaserJet_1020>
UUID urn:uuid:2a91702d-77fe-3448-7098-c5b651616479
Info HP_LaserJet_1020
Location rnoffice
MakeModel HP LaserJet 1020, hpcups 3.14.6, requires proprietary plugin
DeviceURI hp:/usb/HP_LaserJet_1020?serial=JL1CQE6
State Idle
StateTime 1454643545
Type 36892
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer Laserjet>
UUID urn:uuid:7c35d6fc-9af9-3754-5158-e47214bcea5d
Info HP LaserJet Professional M1213nf MFP
Location NPIA01FD3
DeviceURI ipp://NPIA01FD3.local:631/printers/Laserjet
State Idle
StateTime 1454675844
Type 6
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Option cups-browsed true
</Printer>
<Printer Samsung_ML_1660_Series>
UUID urn:uuid:da9fdca3-264d-3e71-6e4b-84eb7b6bd72c
Info scx-3401 @ Dr’s iMac
Location Drs-iMac-3
DeviceURI ipps://Drs-iMac-3.local:631/printers/Samsung_ML_1660_Series
State Idle
StateTime 1454675845
Type 6
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Option cups-browsed true
</Printer>
[root@localhost bin]#
I am interested in only the first of the 3 printers listed in this file. Other 2 are probably on the network and I actually want them not to be included in my list of printers when I try to print some document from an application. Can they be interfering with my local printer? How can I prevent them to be not seen and how to make my own printer (first one listed in above file) to work reliably?
The root is member of lp and lpadmin groups, while the user is member of lp group. Is anything else needed?
The message in the cups web interface (
http://localhost:631) is: Idle - "ready to print"