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 ' copies=1 multiple-document-handling=separate-documents-collated-copies orientation-requested=3' '/tmp/kde-anne/kdeprint_xd8NgsUT' : execution failed with message: client-error-bad-request 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 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: 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 upstream: http://cups.org/str.php?L1717 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: https://www.redhat.com/archives/fedora-test-list/2006-July/msg00555.html 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.