unable to print to cups, testprint ok

Bug #254529 reported by friendlyfrank
4
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

can print test pages ok but unable to print documents etc
The printer is on my server and looks fine using localhost:631

the printer did work when installed on the ubuntu 8.04 work station but I was unable to see in printers after reboot,
it appears in remote in the printer admin and test prints ok from there
hope this helps

trouble shooter output below
Page 1 (Choose printer):
{'cups_dest': <cups.Dest object at 0xb524ddc0>,
 'cups_instance': None,
 'cups_queue': 'hp1220c@192.168.1.220',
 'cups_queue_listed': True}
Page 2 (Check printer sanity):
{'cups_device_uri_scheme': u'ipp',
 'cups_printer_dict': {'device-uri': u'ipp://192.168.1.220:631/printers/HP1220c',
                       'printer-info': u'HP1220c',
                       'printer-is-shared': False,
                       'printer-location': u'Utility Room',
                       'printer-make-and-model': u'HP DeskJet 1220C Foomatic/hpijs (recommended) on 192.168.1.220',
                       'printer-state': 3,
                       'printer-state-message': u'',
                       'printer-state-reasons': [u'none'],
                       'printer-type': 19050526,
                       'printer-uri-supported': u'ipp://192.168.1.220:631/printers/HP1220c'},
 'is_cups_class': False,
 'remote_server_name': u'192.168.1.220',
 'remote_server_port': 631}
Page 3 (Printer state reasons):
{'printer-state-message': '', 'printer-state-reasons': 'none'}
Page 4 (Check network printer sanity):
{'remote_server_connect_ipp': True,
 'remote_server_cups': True,
 'remote_server_name_resolves': ['192.168.1.220',
                                 '192.168.1.220',
                                 '192.168.1.220'],
 'remote_server_try_connect': u'192.168.1.220'}
Page 5 (Print test page):
{'test_page_attempted': True,
 'test_page_completions': [(4, u'Job completed.')],
 'test_page_job_id': [4],
 'test_page_job_status': [(4, 'hp1220c@192.168.1.220', 'Test Page')],
 'test_page_successful': True}
Page 6 (Printer state reasons):
{'printer-state-message': '', 'printer-state-reasons': 'none'}

ProblemType: Bug
Architecture: i386
Date: Mon Aug 4 11:33:17 2008
DistroRelease: Ubuntu 8.04
Package: firefox-3.0 3.0.1+build1+nobinonly-0ubuntu0.8.04.3
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-19-generic i686

Tags: apport-bug
Revision history for this message
friendlyfrank (frank-richards) wrote :
Revision history for this message
Nick Ellery (nick.ellery) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at [WWW] https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in cupsys.

Revision history for this message
arno_b (arno.b) wrote :

Please, when you print a document, try to get the cupsys log:
this is a file where CUPSYS writes information about what it is doing. Almost all printing problems can be diagnosed from the error log, so it is the first place to look to start solving problems. To be useful, you must change the logging level:

   1.Select "System" -> "Administration" -> "Printing" in the main menu of your desktop. The printer setup tool system-config-printer will open. Select "Server Settings" in the list on the left. Then check the check box "Save debugging information for troubleshooting" and click "Apply".
   2. In /etc/cups/cupsd.conf, find the line "LogLevel ..."; change it to" LogLevel debug"; save.
   3. 'sudo /etc/init.d/cupsys restart'
   4. Try to print something.
   5. Add /var/log/cups/error_log as an attachment to the bug report.

Set to incomplete until we have the wanted log.

Changed in cupsys:
status: New → Incomplete
Revision history for this message
arno_b (arno.b) wrote :

By the way, which version of ubuntu do you use?

Revision history for this message
friendlyfrank (frank-richards) wrote : Re: [Bug 254529] Re: unable to print to cups, testprint ok

Arnaud Blouin wrote:
> Please, when you print a document, try to get the cupsys log:
> this is a file where CUPSYS writes information about what it is doing. Almost all printing problems can be diagnosed from the error log, so it is the first place to look to start solving problems. To be useful, you must change the logging level:
>
> 1.Select "System" -> "Administration" -> "Printing" in the main menu of your desktop. The printer setup tool system-config-printer will open. Select "Server Settings" in the list on the left. Then check the check box "Save debugging information for troubleshooting" and click "Apply".
> 2. In /etc/cups/cupsd.conf, find the line "LogLevel ..."; change it to" LogLevel debug"; save.
> 3. 'sudo /etc/init.d/cupsys restart'
> 4. Try to print something.
> 5. Add /var/log/cups/error_log as an attachment to the bug report.
>
> Set to incomplete until we have the wanted log.
>
> ** Changed in: cupsys (Ubuntu)
> Status: New => Incomplete
>
>
Have resolved the problem by removing the printer from the server and
reinstalling it and using the webpage:631 reinstalled the driver.

had no problems since, so was a server (debian etch) issue not ubuntu
although the symptoms pointed to the latter

many thanks and apologies for not reporting the fix when done.

Regards Frank

Revision history for this message
arno_b (arno.b) wrote :

Ok, thx. So I am going to close this report but feel free to reopen it if necessary ;)

Changed in cupsys:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.