You are not logged in.
Hello All,
I was running Ubuntu Dapper and printing to remote cups server worked fine, both from gnome and kde applications, either directly (cups client connecting to remote cups server) or via local cups server (client --> local server --> remote server).
I installed Xubuntu keeping the home partition to preserve previous kde and gnome settings (and user data of course).
I can't print from xfce applications (e.g. mousepad), while printing from kde and gnome still works.
below is the error_log of the remote cups server, when printing one line of plain text (mousepad editor):
D [27/Aug/2006:18:29:55 +0200] cupsdAcceptClient: 11 from 192.168.1.1:631 (IPv4)
D [27/Aug/2006:18:29:55 +0200] cupsdReadClient: 11 POST /printers/hp_usb_DESKJET_970C HTTP/1.1
D [27/Aug/2006:18:29:55 +0200] cupsdAuthorize: No authentication data provided.
D [27/Aug/2006:18:29:55 +0200] Print-Job ipp://localhost/printers/hp_usb_DESKJET_970C
I [27/Aug/2006:18:29:55 +0200] Print-Job client-error-bad-request: No file!?!
D [27/Aug/2006:18:29:55 +0200] cupsdProcessIPPRequest: 11 status_code=400 (client-error-bad-request)
E [27/Aug/2006:18:29:55 +0200] Bad request line "prova" from 192.168.1.1!
D [27/Aug/2006:18:29:55 +0200] cupsdSendError: 11 code=400 (Bad Request)
D [27/Aug/2006:18:29:55 +0200] cupsdCloseClient: 11
It seems like if mousepad send the text to be printed ("prova") as a "command" to cups server rather than as data to be printed...
I've removed the cupsys package and edited the (missing!?) /etc/cups/client.conf so that the cups client points to the remote cups server, but no luck.
dpkg -l "*cups*" | grep ii
ii cupsys-bsd 1.2.2-0ubuntu0.6.06 Common UNIX Printing System(tm) - BSD comman
ii cupsys-client 1.2.2-0ubuntu0.6.06 Common UNIX Printing System(tm) - client pro
ii gnome-cups-manager 0.31-1.1ubuntu13 CUPS printer admin tool for GNOME
ii libcupsimage2 1.2.2-0ubuntu0.6.06 Common UNIX Printing System(tm) - image libs
ii libcupsys2 1.2.2-0ubuntu0.6.06 Common UNIX Printing System(tm) - libs
ii libgnomecups1.0-1 0.2.2-1ubuntu5.1 GNOME library for CUPS interaction
ii libgnomecupsui1.0-1c2a 0.31-1.1ubuntu13 UI extensions to libgnomecups
Printing System Settings is set to CUPS
Printer Manager correctly shows the printer (in idle state)
Any idea?
Regards,
Gabriele
Offline
Hi All,
the "No file!?!" and "Bad request..." warnings/errors below suggest some pre-processing was missing.
I [27/Aug/2006:18:29:55 +0200] Print-Job client-error-bad-request: No file!?!
D [27/Aug/2006:18:29:55 +0200] cupsdProcessIPPRequest: 11 status_code=400 (client-error-bad-request)
E [27/Aug/2006:18:29:55 +0200] Bad request line "prova" from 192.168.1.1!
"sudo apt-get install a2ps" was the solution ;-)
Maybe I should ask some xubuntu forum why this package isn't installed by default...
Anyway I don't understand why "mousepad" (and perhaps other xfce apps) requires this converter while kde and gnome apps do fine without.
Regards,
Gabriele
Offline
The dependency on a2ps comes from xfprint. This package (as I recall it, not quite sure) provides two functions: shows state of queues (CUPS and other) and xfprint4 which allows you to do "pretty printing", i.e. with headers/footers/line-numbers, formatting specific to (programming) language file is written in etc, see /usr/share/xfce4/doc/C/xfprint.html for details. a2ps handles the low level stuff...
Offline
Hello, 'Pindakoe'.
The dependency on a2ps comes from xfprint. This package (as I recall it, not quite sure) provides two functions: shows state of queues (CUPS and other) and xfprint4 which allows you to do "pretty printing", i.e. with headers/footers/line-numbers, formatting specific to (programming) language file is written in etc, see /usr/share/xfce4/doc/C/xfprint.html for details. a2ps handles the low level stuff...
I assume from the posts in this thread that 'a2ps' is not installed by default with XFCE? (I use CUPS with SuSE Linux.)
I will have to check to see if SuSE 10.X includes 'a2ps' or not. I then can install it if necessary.
Thank you very much, in advance, 'Pindakoe'!
Cordially,
David
--
<http://ddickerson.igc.org/>
Registered Linux User #315892
* * *
"In a world of absurdity, we must
invent reason; we must create
beauty out of nothingness."
-- Elie Wiesel
Offline
The dependency on a2ps comes from xfprint. This package (as I recall it, not quite sure) provides two functions: shows state of queues (CUPS and other) and xfprint4 which allows you to do "pretty printing", i.e. with headers/footers/line-numbers, formatting specific to (programming) language file is written in etc, see /usr/share/xfce4/doc/C/xfprint.html for details. a2ps handles the low level stuff...
Thank you for pointing it out.
bye
Offline
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 540.86 KiB (Peak: 542.14 KiB) ]