Red Hat Bugzilla – Bug 198987
Remote printing error
Last modified: 2007-11-30 17:11:37 EST
Description of problem:
Attempting to print to a remote box's printer produces the report
A print error occurred. Error message received from system:
cupsdoprint -P 'Printer' -J 'printcap' -H 'borg.mylan.net:631' -U 'anne' -o '
orientation-requested=3' '/tmp/kde-anne/kdeprint_xd8NgsUT' : execution failed
Sending from CLI, using lpr -H borg.mylan.net:631 /home/anne/filename.txt produces
lpr: Bad Request
Version-Release number of selected component (if applicable):
Server - cups-1.1.23-15.4
Client - cups-libs-1.2.1-18
Steps to Reproduce:
Additional info: FC6t1, updated to the 14/07/06
I'd like to see exactly what gets sent over the network, so please run this command:
tcpdump -s 0 -U -w traffic.pcap host borg.mylan.net
in one terminal, and then run the 'lpr -H ...' command in another. When the lpr
command has finished, press control-C in the tcpdump terminal.
Please attach here the traffic.pcap file you end up with. Thanks!
Created attachment 132544 [details]
Traffic report between laptop and box with printer attached
Thanks! This seems to be the same as an issue that has already been reported
I have added your (very useful!) TCP capture file to that report. It seems to
be that the 'Expect' header has completely confused the older CUPS server and
rather than ignore it, it gives 'bad request'. :-(
Think I've found the fix. Awaiting upstream maintainer's opinion on my analysis.
Please try this test update, 1.2.2-1.1:
You should be able to fetch it using "yum update 'cups*'".
I hope it will solve the problem.
Update installed onto FC6test1, and can confirm that I have just printed a
document across the LAN. Problem appears to be solved, thanks.