This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 198987 - Remote printing error
Remote printing error
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: cups (Show other bugs)
6
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks: FC6Target
  Show dependency treegraph
 
Reported: 2006-07-15 07:18 EDT by Anne
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 1.2.2-1.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-27 09:12:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Traffic report between laptop and box with printer attached (19.23 KB, application/octet-stream)
2006-07-17 09:06 EDT, Anne
no flags Details

  None (edit)
Description Anne 2006-07-15 07:18:27 EDT
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
Comment 1 Tim Waugh 2006-07-17 06:11:58 EDT
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!
Comment 2 Anne 2006-07-17 09:06:51 EDT
Created attachment 132544 [details]
Traffic report between laptop and box with printer attached
Comment 3 Tim Waugh 2006-07-17 13:06:14 EDT
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'. :-(
Comment 4 Tim Waugh 2006-07-18 10:51:13 EDT
Think I've found the fix.  Awaiting upstream maintainer's opinion on my analysis.
Comment 5 Tim Waugh 2006-07-24 07:41:53 EDT
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.
Comment 6 Anne 2006-07-25 16:42:11 EDT
Update installed onto FC6test1, and can confirm that I have just printed a
document across the LAN.  Problem appears to be solved, thanks.

Note You need to log in before you can comment on or make changes to this bug.