LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-17-2009, 08:14 PM   #1
kirbybrown
LQ Newbie
 
Registered: Aug 2009
Location: Austin, TX
Distribution: Easy Peasy 1.0 (Ubuntu 8.10 kernel)
Posts: 3

Rep: Reputation: 0
Gnome/CUPS communication errors - PIXMA ip1700 stops @ "processing"


Hi all. I have a printer problem that I've found variations on on this and other sites, but haven't been able to resolve it via those suggestions.

Problem: I am able to add my Canon PIXMA iP1700 printer via the GNOME autodetect interface on Easy Peasy 1.0 (Ubuntu 8.10) and configure it accordingly (I'm using the Canon iP2200 driver as recommended by CUPS.org for getting this printer up and running, which I was able to do previously in Ubuntu-eee). I am unable to do so through CUPS, since it doesn't recognize a USB URI. When added through the GNOME interface, the printer will appear in CUPS as a USB device, but if I attempt to modify the printer in CUPS, the option of USB URI is strangely absent.

When I attempt to print a test page via CUPS, it hangs on "processing". In GNOME, I receive the following error message: "Processing - No %%BoundingBox: comment in header!" followed by "Printer iP1700 may not be connected."

Below are some command line returns as well as the troubleshooting txt from the GNOME interface. I'm running Easy Peasy 1.0 (Ubuntu 8.10 based, kernal 2.6.27-8-eeepc). As a disclaimer, I'm a relative newbie to Linux and appreciate your patience.

lpstat -v
device for iP1700: usb://Canon/iP1700
device for PDF: cups-pdf:/

lpinfo -v
file cups-pdf:/
network http
network ipp
network lpd
network smb

lsusb
Bus 005 Device 004: ID 04f2:b071 Chicony Electronics Co., Ltd
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 04a9:10b4 Canon, Inc.
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Troubleshooting Returns via GNOME interface:
Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dest': <cups.Dest iP1700>,
'cups_instance': None,
'cups_queue': 'iP1700',
'cups_queue_listed': True}
Page 3 (Check printer sanity):
{'cups_device_uri_scheme': u'usb',
'cups_printer_dict': {'device-uri': u'usb://Canon/iP1700',
'printer-info': u'Canon iP1700',
'printer-is-shared': True,
'printer-location': u'ASUS-laptop',
'printer-make-and-model': u'Canon iP2200 Ver.2.60',
'printer-state': 4,
'printer-state-message': u'No %%BoundingBox: comment in header!',
'printer-state-reasons': [u'connecting-to-device'],
'printer-type': 36876,
'printer-uri-supported': u'ipp://localhost:631/printers/iP1700'},
'cups_printer_remote': False,
'is_cups_class': False}
Page 4 (Check PPD sanity):
{'cups_printer_ppd_defaults': {u'General': {u'ColorModel': u'rgb',
u'InputSlot': u'asf',
u'MediaType': u'plain',
u'PageRegion': u'Letter',
u'PageSize': u'Letter',
u'Resolution': u'600'}},
'cups_printer_ppd_valid': True,
'missing_pkgs_and_exes': ([], [])}
Page 5 (Local or remote?):
{'printer_is_remote': False}
Page 6 (Printer state reasons):
{'printer-state-message': u'No %%BoundingBox: comment in header!',
'printer-state-reasons': [u'connecting-to-device']}
Page 7 (Error log checkpoint):
{'cups_server_settings': {'DefaultAuthType': 'Basic',
'Include': '/etc/cups/cups.d/browse.conf',
'SystemGroup': 'lpadmin',
'_debug_logging': '1',
'_remote_admin': '0',
'_remote_any': '0',
'_remote_printers': '1',
'_share_printers': '1',
'_user_cancel_any': '1'},
'error_log_checkpoint': 586762L}
Page 8 (Print test page):
{'test_page_job_status': [(True,
28,
'iP1700',
'Test Page',
'Processing',
{'attributes-charset': u'utf-8',
'attributes-natural-language': u'en-us',
'document-format': u'application/postscript',
'job-hold-until': u'no-hold',
'job-id': 28,
'job-k-octets': 150,
'job-media-sheets-completed': 0,
'job-more-info': u'ipp://localhost:631/jobs/28',
'job-name': u'Test Page',
'job-originating-host-name': u'localhost',
'job-originating-user-name': u'katndawg',
'job-printer-state-message': u'No %%BoundingBox: comment in header!',
'job-printer-state-reasons': [u'connecting-to-device'],
'job-printer-up-time': 1250267828,
'job-printer-uri': u'ipp://ASUS-laptop:631/printers/iP1700',
'job-priority': 50,
'job-sheets': [u'none', u'none'],
'job-state': 5,
'job-state-reasons': u'job-printing',
'job-uri': u'ipp://localhost:631/jobs/28',
'job-uuid': u'urn:uuid:24c239a5-ce05-3ed4-4d11-b57c520ad5d6',
'printer-uri': u'ipp://localhost/printers/iP1700',
'time-at-completed': None,
'time-at-creation': 1250267438,
'time-at-processing': 1250267438})],
'test_page_successful': False}
Page 9 (Error log fetch):
{'error_log': ['D [14/Aug/2009:11:36:53 -0500] cupsdCloseClient: 10',
'D [14/Aug/2009:11:36:53 -0500] cupsdAcceptClient: 10 from localhost (Domain)',
'D [14/Aug/2009:11:36:53 -0500] cupsdReadClient: 10 POST / HTTP/1.1',
'D [14/Aug/2009:11:36:53 -0500] cupsdAuthorize: No authentication data provided.',
'D [14/Aug/2009:11:36:53 -0500] Get-Jobs ipp://localhost/jobs/',
'D [14/Aug/2009:11:36:53 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)',
'D [14/Aug/2009:11:36:53 -0500] cupsdCloseClient: 10',
'D [14/Aug/2009:11:36:53 -0500] cupsdAcceptClient: 10 from localhost (Domain)',
'D [14/Aug/2009:11:36:53 -0500] cupsdReadClient: 10 POST / HTTP/1.1',
'D [14/Aug/2009:11:36:53 -0500] cupsdAuthorize: No authentication data provided.',
'D [14/Aug/2009:11:36:53 -0500] Create-Printer-Subscription /',
'D [14/Aug/2009:11:36:53 -0500] cupsdCreateSubscription(con=0x98b2330(10), uri="/")',
'D [14/Aug/2009:11:36:53 -0500] pullmethod="ippget"',
'D [14/Aug/2009:11:36:53 -0500] notify-lease-duration=86400',
'D [14/Aug/2009:11:36:53 -0500] notify-time-interval=0',
'D [14/Aug/2009:11:36:53 -0500] cupsdAddSubscription(mask=17800, dest=(nil)(), job=(nil)(0), uri="(null)")',
'D [14/Aug/2009:11:36:53 -0500] Added subscription 74 for server',
'I [14/Aug/2009:11:36:53 -0500] Saving subscriptions.conf...',
'D [14/Aug/2009:11:36:53 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)',
'D [14/Aug/2009:11:36:53 -0500] cupsdCloseClient: 10',
'D [14/Aug/2009:11:36:54 -0500] cupsdAcceptClient: 10 from localhost (Domain)',
'D [14/Aug/2009:11:36:54 -0500] cupsdReadClient: 10 POST / HTTP/1.1',
'D [14/Aug/2009:11:36:54 -0500] cupsdAuthorize: No authentication data provided.',
'D [14/Aug/2009:11:36:54 -0500] Get-Notifications /',
'D [14/Aug/2009:11:36:54 -0500] cupsdIsAuthorized: requesting-user-name="katndawg"',
'D [14/Aug/2009:11:36:54 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)',
'D [14/Aug/2009:11:36:54 -0500] cupsdCloseClient: 10',
'D [14/Aug/2009:11:37:08 -0500] cupsdAcceptClient: 10 from localhost (Domain)',
'D [14/Aug/2009:11:37:08 -0500] cupsdReadClient: 10 POST / HTTP/1.1',
'D [14/Aug/2009:11:37:08 -0500] cupsdAuthorize: No authentication data provided.',
'D [14/Aug/2009:11:37:08 -0500] Get-Job-Attributes ipp://localhost/jobs/28',
'D [14/Aug/2009:11:37:08 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)',
'D [14/Aug/2009:11:37:08 -0500] cupsdCloseClient: 10',
'D [14/Aug/2009:11:37:08 -0500] cupsdAcceptClient: 10 from localhost (Domain)',
'D [14/Aug/2009:11:37:08 -0500] cupsdReadClient: 10 POST / HTTP/1.1',
'D [14/Aug/2009:11:37:08 -0500] cupsdAuthorize: No authentication data provided.',
'D [14/Aug/2009:11:37:08 -0500] Cancel-Subscription /',
'D [14/Aug/2009:11:37:08 -0500] cupsdIsAuthorized: requesting-user-name="katndawg"',
'I [14/Aug/2009:11:37:08 -0500] Saving subscriptions.conf...',
'D [14/Aug/2009:11:37:08 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)',
'D [14/Aug/2009:11:37:08 -0500] cupsdCloseClient: 10',
'D [14/Aug/2009:11:37:08 -0500] cupsdAcceptClient: 10 from localhost (Domain)',
'D [14/Aug/2009:11:37:08 -0500] cupsdCloseClient: 9',
'D [14/Aug/2009:11:37:08 -0500] cupsdReadClient: 10 GET /admin/log/error_log HTTP/1.1',
'D [14/Aug/2009:11:37:08 -0500] cupsdAuthorize: No authentication data provided.']}

Thanks in advance,
Kirby

Last edited by kirbybrown; 08-17-2009 at 08:25 PM. Reason: More specific information
 
Old 08-18-2009, 12:27 AM   #2
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
I've never been able to get Canon printers working. However, given that your printer is an inkjet printer (or, I'm assuming it is), then try installing printconf. Then, as root (or sudo or whatever the hell Ubuntu has for superuser), run the command "printconf" (without quotes), and hopefully it will set up your printer. To further adjust it, go to http://localhost:631

The link for printconf I gave above also mentions that the packages foo2zjs and/or pnm2ppa could help. I've never heard of these packages before, but it may also be worth trying.

(later..) I did a search, and found that the iP2200 driver sometimes works. Further information at OpenPrinting. Once you get the driver, you can set it up using http://localhost:631 (where it asks for the ppd file). I would try printconf first, and then if necessary, use the iP2200 driver.

Last edited by mark_alfred; 08-18-2009 at 12:39 AM.
 
Old 08-18-2009, 07:04 PM   #3
kirbybrown
LQ Newbie
 
Registered: Aug 2009
Location: Austin, TX
Distribution: Easy Peasy 1.0 (Ubuntu 8.10 kernel)
Posts: 3

Original Poster
Rep: Reputation: 0
Hey Mark,

I ran printconf and received the following message:

Printer on usb:/dev/usb/lp0 was not automatically configurable by Debian. Please submit the following information to foomatic-db@packages.debian.org:
<autodetect>
<usb>
<commandset>BJL,HAPS,BSCCe</commandset>
<description>Canon iP1700</description>
<manufacturer>Canon</manufacturer>
<model>iP1700</model>
</usb>
</autodetect>

Usage: cups {reload|restart|start|status|stop}
invoke-rc.d: initscript cups, action "force-reload" failed.

Any idea what this means? Also, the problem when I visit localhost631 and attempt to modify the printer by setting up the iP2200 driver is that the USB-CanoniP1700 URI doesn't show up. The only options that appear in the drop down menu of the second screen are:

CUPS-PDF (Virtual PDF Printer)
Internet Printing Protocol (http)
Internet Printing Protocol (ipp)
LPD/LPR Host or Printer
Unknown (Unknown Network Device (smb))

This must have something to do with being able to add the printer through the GNOME interface and configure it using the iP2200 filter, but CUPS not identifying the printer as a USB device???

I'm at a loss ... but hopeful.
 
Old 08-18-2009, 10:55 PM   #4
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
I found a description of a successful installation on Slackware. For step 3, instead of "rpm2tgz *.rpm", run "alien *.rpm", and then install the resulting deb packages.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GNOME USB / CUPS conflict - printing halts at "processing" kirbybrown Linux - Newbie 0 08-14-2009 11:40 AM
Hardy won't startup, stops with a "fail" and I have to "ctrl+alt+del" to boot. brjoon1021 Ubuntu 10 12-15-2008 06:29 PM
Slackware 12.0 - Installing Canon Pixma iP1700 Road_map LinuxAnswers Discussion 2 04-26-2008 07:48 AM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
"NIM thread blocked" & "Deadman Switch (DMS) close to trigger" errors sosborne Linux - Networking 1 06-28-2006 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration