I have two desktop PCs and a netbook, all running up-to-date versions of 13.1 and KDE 4.11.5.
One PC is connected to an HP printer by USB cable and works fine. The other PC and the netbook are connected to a separate HP printer by WiFi. Every time I reboot them, I have to go to Yast>system>services manager where I find that cups and cupsd daemons are shown as enabled/inactive. The printer won’t print until I set them to active.
Is there a way to make them automatically active after booting?
BTW, for most users CUPS uses socket-activation, so it is normal to show as enabled and inactive until a print job invokes it. (However, it is possible to disable socket-activation and have cupsd listening actively if preferred.)
Hello Deano, thanks for your reply. Requesting a print doesn’t seem to activate the daemons. Anyway, here are the results of your code:
After rebooting, I get:
code
XXXXXXX:~> systemctl status cups
cups.service - CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
Active: inactive (dead)
XXXXXXX:~> cat /usr/lib/systemd/system/cups.service
[Unit]
Description=CUPS Printing Service
code
XXXXXXX:~> systemctl status cups
cups.service - CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
Active: active (running) since Sat 2014-05-17 09:01:51 BST; 52s ago
Main PID: 7032 (cupsd)
CGroup: /system.slice/cups.service
└─7032 /usr/sbin/cupsd -f
XXXXXXX:~> cat /usr/lib/systemd/system/cups.service
[Unit]
Description=CUPS Printing Service
Your output confirms that you have systemd configured to provide socket-activation (which dies work for most). I’m curious to know how others with network printers get on.
I didn’t have this problem with 12.3. Is it perhaps a systemd thing? Sorry, don’t seem to have got the hang of this code thing!
Actually, there was a bug discussed here (and there have been updates to the CUPS package that supposedly resolved the issue). For the record, I disabled socket-activation, (by disabling cups.socket) and editing cups.service to look like
On 2014-05-17 11:06, deano ferrari wrote:
>
>> Sorry, don’t seem to have got the hang of this code thing!
> The advanced editor has the ‘#’ symbol which creates the
> Code:
> --------------------
> [/CO…] tags (or you can type them manually as I often do).
>