Tim:
> Or are you just using one machine, and talking about Gnome
desktop
> behaviour differences?
Dario Lesca:
Yes, in this tread I talk about this scenario.
On one machine (workstation/server) if I print a document from Gnome
Desktop and the usb printer is off, when I power on it, I must go to
control panel and restart the printer, even if into cups
printers.conf I have set for this printer 'ErrorPolicy retry-job'
I'm in unfamiliar problem resolving territory, here, but I'll have a
bash at it, though I'm running Mate instead of Gnome. It's a bit
surprising why command-line printing should be different that GUI
printing, in this regards.
I occasionally have the same problem, and had to do the same thing (go
into a config control and restart the printer), but not always.
Perhaps there's a time period involved where it auto-restarts? My
situation is made a bit easier by my printer being permanently on, and
it's stand-by mode (that it goes into when left idle) doesn't make the
printed appear to be powered off. It's things like power failure
recovery, or pulling out network leads, that provokes a problem that
needs manual intervention.
What's an example command line to start printing that successfully
wakes up a sleeping printer? How are you printing in command line?
I wonder if you should be looking for another error policy, related to
resume or restart printer, rather than the job?
How have you made this ErrorPolicy change to the config file?
Exactly where did you put it?
Exactly what command did you put?
There can be a time delay parameter, and it may need to be different.
There may be a global option, it may be doable with each printer.
You may want to mention whether it makes any difference to having to
restart the printer queue if the printer was on, then went to sleep
because it was left idle, and it self-switched-off, versus you switched
it off yourself.
Also, does manually switching on the printer before you attempt to
print make any difference? Perhaps switching it on a good minute
before.
--
[tim@localhost ~]$ uname -rsvp
Linux 4.12.14-300.fc26.x86_64 #1 SMP Wed Sep 20 16:28:07 UTC 2017 x86_64
Boilerplate: All mail to my mailbox is automatically deleted.
There is no point trying to privately email me, I only get to see
the messages posted to the mailing list.
Error: unable to decode remainder of message.
.