New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't print to a network printer from Ubuntu 11.10 #3974

Closed
michaelrsweet opened this Issue Nov 5, 2011 · 4 comments

Comments

Projects
None yet
1 participant
@michaelrsweet
Copy link
Collaborator

michaelrsweet commented Nov 5, 2011

Version: 1.5.0
CUPS.org User: TaffyDownUnder

Hi,
detailed description can be found here:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/883585?comments=all

Attempting to print to a printer connected to a remote device by USB doesn't work.

Cups Error-log contains:
D [18/Oct/2011:22:59:28 -0400] [Job 30] Getting supported attributes...
D [18/Oct/2011:22:59:28 -0400] [Job 30] Get-Printer-Attributes: server-error-internal-error (Unknown)
D [18/Oct/2011:22:59:28 -0400] [Job 30] Get-Printer-Attributes returned server-error-internal-error.
E [18/Oct/2011:22:59:28 -0400] [Job 30] Unable to get printer status.

This affects several printers. All worked in previous Ubuntu version 11.04.

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Nov 7, 2011

CUPS.org User: mike

The referenced bug lacks any information that could be used to diagnose this issue.

What is the configuration of your network, the print queue on the Ubuntu system - device URI (lpstat -v), printer driver - and the network device that has the printer connected to it?

Also, we'll need a copy of your /var/log/cups/error_log file...

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Nov 8, 2011

CUPS.org User: hiaslboy

Hi!

snippet of printer.conf:

UUID urn:uuid:fc8ddc9d-8429-3c1d-40db-9483a41b9866
AuthInfoRequired none
Info HP4100
Location Wg29
MakeModel HP LaserJet 4100 Series v.3010.107 Postscript (recommended)
DeviceURI http://192.168.6.66/ipp/
State Stopped
StateMessage Unable to get print job status.
StateTime 1320710774
Reason paused
Type 8425684
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job

I du get the error on many systems having in common, that they use IPP and the error:

D [08/Nov/2011:01:06:14 +0100] [Job 251] Validate-Job IPP/1.1
D [08/Nov/2011:01:06:14 +0100] [Job 251] printer-uri="http://192.168.6.66:80/ipp/"
D [08/Nov/2011:01:06:14 +0100] [Job 251] requesting-user-name="matthias"
D [08/Nov/2011:01:06:14 +0100] [Job 251] job-name="Bestellliste"
D [08/Nov/2011:01:06:14 +0100] [Job 251] document-format="application/octet-stream"
D [08/Nov/2011:01:06:14 +0100] [Job 251] Validate-Job: successful-ok (successful-ok)
D [08/Nov/2011:01:06:14 +0100] [Job 251] Print-Job IPP/1.1
D [08/Nov/2011:01:06:14 +0100] [Job 251] printer-uri="http://192.168.6.66:80/ipp/"
D [08/Nov/2011:01:06:14 +0100] [Job 251] requesting-user-name="matthias"
D [08/Nov/2011:01:06:14 +0100] [Job 251] job-name="Bestellliste"
D [08/Nov/2011:01:06:14 +0100] [Job 251] document-format="application/octet-stream"
D [08/Nov/2011:01:06:14 +0100] [Job 251] Sending file using HTTP/1.1 chunking...
D [08/Nov/2011:01:06:14 +0100] [Job 251] update_reasons(attr=1(none), s="(null)")
D [08/Nov/2011:01:06:14 +0100] [Job 251] op=' ', new_reasons=0, state_reasons=0
D [08/Nov/2011:01:06:14 +0100] [Job 251] Get-Printer-Attributes: successful-ok (successful-ok)
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] update_reasons(attr=1(none), s="(null)")
D [08/Nov/2011:01:06:14 +0100] [Job 251] op=' ', new_reasons=0, state_reasons=0
D [08/Nov/2011:01:06:14 +0100] [Job 251] Get-Printer-Attributes: successful-ok (successful-ok)
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] Before page loop - %%Page: 1 1
D [08/Nov/2011:01:06:14 +0100] [Job 251] Copying page 1...
D [08/Nov/2011:01:06:14 +0100] [Job 251] PAGE: 1 1
D [08/Nov/2011:01:06:14 +0100] [Job 251] pagew = 568.3, pagel = 817.7
D [08/Nov/2011:01:06:14 +0100] [Job 251] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
D [08/Nov/2011:01:06:14 +0100] [Job 251] PageLeft = 13.4, PageRight = 581.8
D [08/Nov/2011:01:06:14 +0100] [Job 251] PageTop = 829.7, PageBottom = 12.1
D [08/Nov/2011:01:06:14 +0100] [Job 251] PageWidth = 595.0, PageLength = 842.0
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] update_reasons(attr=1(none), s="(null)")
D [08/Nov/2011:01:06:14 +0100] [Job 251] op=' ', new_reasons=0, state_reasons=0
D [08/Nov/2011:01:06:14 +0100] [Job 251] Get-Printer-Attributes: successful-ok (successful-ok)
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] update_reasons(attr=1(none), s="(null)")
D [08/Nov/2011:01:06:14 +0100] [Job 251] op=' ', new_reasons=0, state_reasons=0
D [08/Nov/2011:01:06:14 +0100] [Job 251] Get-Printer-Attributes: successful-ok (successful-ok)
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] Wrote 1 pages...
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 16384 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] update_reasons(attr=1(none), s="(null)")
D [08/Nov/2011:01:06:14 +0100] [Job 251] op=' ', new_reasons=0, state_reasons=0
D [08/Nov/2011:01:06:14 +0100] [Job 251] Get-Printer-Attributes: successful-ok (successful-ok)
D [08/Nov/2011:01:06:14 +0100] [Job 251] Read 4925 bytes...
D [08/Nov/2011:01:06:14 +0100] [Job 251] Print-Job: successful-ok (successful-ok)
D [08/Nov/2011:01:06:14 +0100] [Job 251] Print file accepted - job ID 2.
D [08/Nov/2011:01:06:14 +0100] [Job 251] Set job-printer-state-message to "Print file accepted - job ID 2.", current level=INFO
D [08/Nov/2011:01:06:14 +0100] [Job 251] Waiting for job to complete.
D [08/Nov/2011:01:06:14 +0100] [Job 251] Set job-printer-state-message to "Waiting for job to complete.", current level=INFO
D [08/Nov/2011:01:06:14 +0100] [Job 251] Get-Job-Attributes: server-error-internal-error (Unbekannt)
D [08/Nov/2011:01:06:14 +0100] [Job 251] Set job-printer-state-message to "Unable to get print job status.", current level=ERROR
D [08/Nov/2011:01:06:14 +0100] [Job 251] update_reasons(attr=1(none), s="(null)")
D [08/Nov/2011:01:06:14 +0100] [Job 251] op=' ', new_reasons=0, state_reasons=0
D [08/Nov/2011:01:06:14 +0100] [Job 251] Get-Printer-Attributes: successful-ok (successful-ok)
D [08/Nov/2011:01:06:14 +0100] [Job 251] Backend returned status 4 (stop printer)
D [08/Nov/2011:01:06:14 +0100] [Job 251] Printer stopped due to backend errors; please consult the error_log file for details.
D [08/Nov/2011:01:06:14 +0100] [Job 251] End of messages
D [08/Nov/2011:01:06:14 +0100] [Job 251] printer-state=5(stopped)
D [08/Nov/2011:01:06:14 +0100] [Job 251] printer-state-message="Unable to get print job status."
D [08/Nov/2011:01:06:14 +0100] [Job 251] printer-state-reasons=paused
E [08/Nov/2011:01:11:21 +0100] [Job 251] Stopping unresponsive job!

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Nov 12, 2011

CUPS.org User: TaffyDownUnder

Seems that the issue is not just limited to network printers see:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/883585
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/877958

I've switched from ipp to smb and can now print see:
http://planetlotus.org/profiles/ben-poole_94582

@michaelrsweet

This comment has been minimized.

Copy link
Collaborator Author

michaelrsweet commented Jan 30, 2012

CUPS.org User: mike

This particular HP printer does not implement IPP very well and is not something we can support. Use socket instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment