Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Tue, 9 May 2006 17:24:59 +0200 (CEST)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Tuesday 2006-05-09 at 11:11 +0200, Johannes Meixner wrote:
On May 9 01:49 Carlos E. R. wrote (shortened):
I was going to suggest "lpq" and then "lprm JOBNUMBER".
However, I find that although the job disappears from the queue (lpq shows
nothing), 90% of the times my printer continues printing, and I have to
"kill -9" as root the "parallel" job that is printing to the parallel
port.
I don't know why, but it has been so for ages.
The "parallel" process is the CUPS backend which keeps running.
The backend must keep running so that the filter could send a
termination sequence to the printer to reset it.
Regarding filter and backend in general, see
http://en.opensuse.org/SDB:CUPS_in_a_Nutshell
"The Filter" versus "The Backends".
Yes. So far, I knew, more or less.
The problem is how to interrupt a printing job and leave the printer...
in a clean state so that it is ready to print the next job.
...
is still waiting for 10000000 bytes which it will interpret and
print as graphics.
I.e. the tricky part is how to tell a printer which is in graphics
printing mode to switch back to its normal mode. This is very
model specific and generic printer drivers don't support it.
And don't rely on that even model specific drivers support it
in any case.
Ah!
You ask for more details?
You get more details ;-)
Here we are (from a mail on the gimp-print-devel mailing list):
Ah.... :-o (mouth hanging open, then clanking shut. You got me flummoxed :-)
Ok, then... what about an option somewhere in "cancel" or wherever to also
kill (or whateveris needed) the backend, at the user's risk? In me case, I
know I have got to go to the printer and tell it to eject the current
page, that readies it.
Another idea. There is a "reset" line in the parallel cable going to the
printer. If it works, you notice it by the printer "resetting" when the
computer is powered up - in fact, if I boot W98 with my printer on, it
resets two or three times, as windows goes by it different boot processes.
Touching that line after emptying the buffer might work for some printers:
it could be a configuration option enabled somewhere (admin decision).
- --
Cheers,
Carlos Robinson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFEYLRMtTMYHG2NR9URAr0XAJ9N53XzpMBKoefUiGPk3p19NwEXTACgh8RW
HisRJdQLOotXyjzdMGziFCw=
=rFI3
-----END PGP SIGNATURE-----
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- Follow-Ups:
- Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- From: Johannes Meixner
- Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- References:
- [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- From: pelibali
- Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- From: Russbucket
- Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- From: Johannes Meixner
- Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- From: Carlos E. R.
- Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- From: Johannes Meixner
- [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- Prev by Date: Re: [SLE] any install-time option for installing multiple languages?
- Next by Date: Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- Previous by thread: Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- Next by thread: Re: [SLE] Cleaning cups queue through ssh [SUSE 8.2]
- Index(es):