PDA

View Full Version : [ubuntu] 8.10 - shared printer problems



abo999
April 22nd, 2009, 11:12 AM
I have my printer shared with my wife's Windows XP laptop. She is connected to the router by wifi. When she tries to print Ubuntu shows the document entering the queue. The printer starts to print maybe a line or so and then hangs. The document shows as 'processing' in the Ubuntu print queue but goes no further than this.

The job can be cancelled in the queue but I need to power cycle the printer to clear the job from it. I've tried the troubleshooting tool in Ubuntu which couldn't rectify, but gave the output below. Could you guys please have a look and see what could be the problem, thanks.


Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dest': <cups.Dest PSC-2350-series (default)>,
'cups_instance': None,
'cups_queue': 'PSC-2350-series',
'cups_queue_listed': True}
Page 3 (Check printer sanity):
{'cups_device_uri_scheme': u'hp',
'cups_printer_dict': {'device-uri': u'hp:/usb/PSC_2350_series?serial=MY61HF23DWKJ',
'printer-info': u'HP PSC 2350 series',
'printer-is-shared': True,
'printer-location': u'neal-laptop',
'printer-make-and-model': u'HP PSC 2350 series Foomatic/hpijs, hpijs 2.8.7',
'printer-state': 4,
'printer-state-message': u'',
'printer-state-reasons': [u'none'],
'printer-type': 36892,
'printer-uri-supported': u'ipp://localhost:631/printers/PSC-2350-series'},
'cups_printer_remote': False,
'hplip_output': (['',
'\x1b[01mHP Linux Imaging and Printing System (ver. 2.8.7)\x1b[0m',
'\x1b[01mSystem Tray Status Service ver. 0.1\x1b[0m',
'',
'Copyright (c) 2001-8 Hewlett-Packard Development Company, LP',
'This software comes with ABSOLUTELY NO WARRANTY.',
'This is free software, and you are welcome to distribute it',
'under certain conditions. See COPYING file for more details.',
'',
'',
'\x1b[01mHP Linux Imaging and Printing System (ver. 2.8.7)\x1b[0m',
'\x1b[01mDevice Information Utility ver. 4.1\x1b[0m',
'',
'Copyright (c) 2001-8 Hewlett-Packard Development Company, LP',
'This software comes with ABSOLUTELY NO WARRANTY.',
'This is free software, and you are welcome to distribute it',
'under certain conditions. See COPYING file for more details.',
'',
'',
'\x1b[01mhp:/usb/PSC_2350_series?serial=MY61HF23DWKJ\x1b[0m',
'',
'\x1b[01mDevice Parameters (dynamic data):\x1b[0m',
'\x1b[01m Parameter Value(s) \x1b[0m',
' ---------------------------- ----------------------------------------------------------',
' agent1-ack False ',
' agent1-desc Tri-color cartridge ',
' agent1-dvc 0 ',
' agent1-health 0 ',
' agent1-health-desc Good/OK ',
' agent1-hp-ink False ',
' agent1-id 0 ',
' agent1-kind 3 ',
' agent1-known False ',
' agent1-level 0 ',
' agent1-level-trigger 0 ',
' agent1-sku 93 (C9362WN)/95 (C8766WN) ',
' agent1-type 2 ',
' agent1-virgin False ',
' agent2-ack False ',
' agent2-desc Photo cartridge ',
' agent2-dvc 0 ',
' agent2-health 0 ',
' agent2-health-desc Good/OK ',
' agent2-hp-ink False ',
' agent2-id 0 ',
' agent2-kind 3 ',
' agent2-known False ',
' agent2-level 0 ',
' agent2-level-trigger 0 ',
' agent2-sku 99 (C9369WN) ',
' agent2-type 3 ',
' agent2-virgin False ',
' back-end hp ',
' cups-printer PSC-2350-series ',
' cups-uri hp:/usb/PSC_2350_series?serial=MY61HF23DWKJ ',
' dev-file ',
' device-state 1 ',
' device-uri hp:/usb/PSC_2350_series?serial=MY61HF23DWKJ ',
' deviceid MFG:HP;MDL:PSC 2350 ',
' series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1',
' ;CLS:PRINTER;DES:5740;SN:MY61HF23DWKJ;S:038000C484 0F102102',
' 2c3900000c2880000;J: ;Z:0102,05013ec7014dc7,0600; ',
' duplexer 0 ',
' error-state 105 ',
' host ',
' in-tray1 True ',
' in-tray2 False ',
' is-hp True ',
' media-path 3 ',
' panel 0 ',
' panel-line1 ',
' panel-line2 ',
' photo-tray 0 ',
' port 1 ',
' r 0 ',
' revision 3 ',
' rg 000 ',
' rr 000000 ',
' rs 000000000 ',
' scan-uri hpaio:/usb/PSC_2350_series?serial=MY61HF23DWKJ ',
' serial MY61HF23DWKJ ',
' status-code 1002 ',
' status-desc Print job is continuing. ',
' supply-door 0 ',
' top-door 1 ',
'\x1b[01m',
'Model Parameters (static data):\x1b[0m',
'\x1b[01m Parameter Value(s) \x1b[0m',
' ---------------------------- ----------------------------------------------------------',
' align-type 1 ',
' clean-type 1 ',
' color-cal-type 3 ',
' copy-type 0 ',
' embedded-server-type 0 ',
' fax-type 0 ',
' fw-download 0 ',
' icon psc_2300_series.png ',
' io-mfp-mode 6 ',
' io-mode 1 ',
' io-support 2 ',
' job-storage 0 ',
' linefeed-cal-type 0 ',
' model PSC_2350_series ',
' model-ui HP PSC 2350 series ',
' model1 PSC 2350 ',
' model2 PSC 2353 ',
' model3 PSC 2355 ',
' model4 PSC 2355p ',
' model5 PSC 2355v ',
' model6 PSC 2355xi ',
' panel-check-type 1 ',
' pcard-type 1 ',
' plugin 0 ',
' power-settings 0 ',
' pq-diag-type 0 ',
' r-type 1 ',
' r0-agent1-kind 3 ',
' r0-agent1-sku 92 (C9361WN)/94 (C8765WN) ',
' r0-agent1-type 1 ',
' r0-agent2-kind 3 ',
' r0-agent2-sku 93 (C9362WN)/95 (C8766WN) ',
' r0-agent2-type 2 ',
' r0-agent3-kind 3 ',
' r0-agent3-sku 99 (C9369WN) ',
' r0-agent3-type 3 ',
' r1-agent1-kind 3 ',
' r1-agent1-sku 92 (C9361WN)/94 (C8765WN) ',
' r1-agent1-type 1 ',
' r1-agent2-kind 3 ',
' r1-agent2-sku 93 (C9362WN)/95 (C8766WN) ',
' r1-agent2-type 2 ',
' r1-agent3-kind 3 ',
' r1-agent3-sku 99 (C9369WN) ',
' r1-agent3-type 3 ',
' r2-agent1-kind 3 ',
' r2-agent1-sku 92 (C9361WN)/94 (C8765WN) ',
' r2-agent1-type 1 ',
' r2-agent2-kind 3 ',
' r2-agent2-sku 93 (C9362WN)/95 (C8766WN) ',
' r2-agent2-type 2 ',
' r2-agent3-kind 3 ',
' r2-agent3-sku 99 (C9369WN) ',
' r2-agent3-type 3 ',
' r3-agent1-kind 3 ',
' r3-agent1-sku 92 (C9361WN)/94 (C8765WN) ',
' r3-agent1-type 1 ',
' r3-agent2-kind 3 ',
' r3-agent2-sku 93 (C9362WN)/95 (C8766WN) ',
' r3-agent2-type 2 ',
' r3-agent3-kind 3 ',
' r3-agent3-sku 99 (C9369WN) ',
' r3-agent3-type 3 ',
' r4-agent1-kind 3 ',
' r4-agent1-sku 337 (C9361EN)/338 (C8765EN) ',
' r4-agent1-type 1 ',
' r4-agent2-kind 3 ',
' r4-agent2-sku 342 (C9362EN)/343 (C8766EN) ',
' r4-agent2-type 2 ',
' r4-agent3-kind 3 ',
' r4-agent3-sku 348 (C9369EN) ',
' r4-agent3-type 3 ',
' r5-agent1-kind 3 ',
' r5-agent1-sku 132 (C9361HN)/131 (C8765HN) ',
' r5-agent1-type 1 ',
' r5-agent2-kind 3 ',
' r5-agent2-sku 136 (C9362HN)/135 (C8766HN) ',
' r5-agent2-type 2 ',
' r5-agent3-kind 3 ',
' r5-agent3-sku 138 (C9369HN) ',
' r5-agent3-type 3 ',
' r6-agent1-kind 3 ',
' r6-agent1-sku 132 (C9361HN)/131 (C8765HN) ',
' r6-agent1-type 1 ',
' r6-agent2-kind 3 ',
' r6-agent2-sku 136 (C9362HN)/135 (C8766HN) ',
' r6-agent2-type 2 ',
' r6-agent3-kind 3 ',
' r6-agent3-sku 138 (C9369HN) ',
' r6-agent3-type 3 ',
' r7-agent1-kind 3 ',
' r7-agent1-sku 850 (C9361ZN)/852 (C8765ZN) ',
' r7-agent1-type 1 ',
' r7-agent2-kind 3 ',
' r7-agent2-sku 854 (C9362ZN)/855 (C8766ZN) ',
' r7-agent2-type 2 ',
' r7-agent3-kind 3 ',
' r7-agent3-sku 858 (C9369ZN) ',
' r7-agent3-type 3 ',
' scan-style 1 ',
' scan-type 1 ',
' status-battery-check 0 ',
' status-dynamic-counters 1 ',
' status-type 2 ',
' support-released 1 ',
' support-type 2 ',
' support-ver 0.9.5 ',
" tech-class ['DJGenericVIP'] ",
" tech-subclass ['Normal'] ",
' tech-type 2 ',
' usb-pid 4911 ',
' usb-vid 03f0 ',
'',
'Done.',
''],
['']),
'is_cups_class': False}
Page 4 (Check PPD sanity):
{'cups_printer_ppd_defaults': {u'General': {u'DryTime': u'Zero',
u'Duplex': u'None',
u'InputSlot': u'Default',
u'PageRegion': u'A4',
u'PageSize': u'A4',
u'PrintoutMode': u'Normal'},
u'PrintoutMode': {u'Quality': u'FromPrintoutMode'}},
'cups_printer_ppd_valid': True,
'missing_pkgs_and_exes': ([], [])}
Page 5 (Local or remote?):
{'printer_is_remote': False}
Page 6 (Choose device):
{'cups_device_dict': {'device-class': u'direct',
'device-id': u'MFG:HP;MDL:PSC 2350 series;CLS:PRINTER;DES:PSC 2350 series;SN:MY61HF23DWKJ;',
'device-info': u'HP PSC 2350 series USB MY61HF23DWKJ HPLIP',
'device-make-and-model': u'HP PSC 2350 series'}}
Page 7 (Error log checkpoint):
{'cups_server_settings': {'DefaultAuthType': 'Basic',
'MaxLogSize': '0',
'SystemGroup': 'lpadmin',
'_debug_logging': '1',
'_remote_admin': '0',
'_remote_any': '1',
'_remote_printers': '1',
'_share_printers': '1',
'_user_cancel_any': '0'},
'error_log_checkpoint': 35460L,
'error_log_debug_logging_set': True}
Page 8 (Print test page):
{'test_page_job_status': [(True,
18,
'PSC-2350-series',
'Test Page',
'Processing',
{'attributes-charset': u'utf-8',
'attributes-natural-language': u'en-gb',
'document-format': u'application/octet-stream',
'job-hold-until': u'no-hold',
'job-id': 18,
'job-k-octets': 1214,
'job-media-sheets-completed': 1,
'job-more-info': u'ipp://localhost:631/jobs/18',
'job-name': u'Test Page',
'job-originating-host-name': u'192.168.0.6',
'job-originating-user-name': u'Reporting',
'job-printer-state-message': u'',
'job-printer-state-reasons': [u'none'],
'job-printer-up-time': 1240394064,
'job-printer-uri': u'ipp://neal-laptop:631/printers/PSC-2350-series',
'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/18',
'job-uuid': u'urn:uuid:917cfd2d-bc46-3105-66ba-f73389a199e6',
'printer-uri': u'http://192.168.0.2:631/printers/PSC-2350-series',
'time-at-completed': None,
'time-at-creation': 1240394011,
'time-at-processing': 1240394011})],
'test_page_successful': False}
Page 9 (Error log fetch):
{'error_log': ['D [22/Apr/2009:10:54:07 +0100] cupsdAcceptClient: 19 from localhost (Domain)',
'D [22/Apr/2009:10:54:07 +0100] cupsdCloseClient: 21',
'D [22/Apr/2009:10:54:07 +0100] cupsdReadClient: 19 POST / HTTP/1.1',
'D [22/Apr/2009:10:54:07 +0100] cupsdAuthorize: No authentication data provided.',
'D [22/Apr/2009:10:54:07 +0100] Get-Jobs ipp://localhost/jobs/',
'D [22/Apr/2009:10:54:07 +0100] cupsdProcessIPPRequest: 19 status_code=0 (successful-ok)',
'D [22/Apr/2009:10:54:07 +0100] cupsdAcceptClient: 21 from localhost (Domain)',
'D [22/Apr/2009:10:54:07 +0100] cupsdCloseClient: 19',
'D [22/Apr/2009:10:54:07 +0100] cupsdReadClient: 21 POST / HTTP/1.1',
'D [22/Apr/2009:10:54:07 +0100] cupsdAuthorize: No authentication data provided.',
'D [22/Apr/2009:10:54:07 +0100] Create-Printer-Subscription /',
'D [22/Apr/2009:10:54:07 +0100] cupsdCreateSubscription(con=0xb8d53fb0(21), uri="/")',
'D [22/Apr/2009:10:54:07 +0100] pullmethod="ippget"',
'D [22/Apr/2009:10:54:07 +0100] notify-lease-duration=86400',
'D [22/Apr/2009:10:54:07 +0100] notify-time-interval=0',
'D [22/Apr/2009:10:54:07 +0100] cupsdAddSubscription(mask=17800, dest=(nil)(), job=(nil)(0), uri="(null)")',
'D [22/Apr/2009:10:54:07 +0100] Added subscription 19 for server',
'I [22/Apr/2009:10:54:07 +0100] Saving subscriptions.conf...',
'D [22/Apr/2009:10:54:07 +0100] cupsdProcessIPPRequest: 21 status_code=0 (successful-ok)',
'D [22/Apr/2009:10:54:07 +0100] cupsdCloseClient: 21',
'D [22/Apr/2009:10:54:07 +0100] PID 16158 (/usr/lib/cups/daemon/cups-deviced) exited with no errors.',
'D [22/Apr/2009:10:54:08 +0100] cupsdAcceptClient: 19 from localhost (Domain)',
'D [22/Apr/2009:10:54:08 +0100] cupsdReadClient: 19 POST / HTTP/1.1',
'D [22/Apr/2009:10:54:08 +0100] cupsdAuthorize: No authentication data provided.',
'D [22/Apr/2009:10:54:08 +0100] Get-Notifications /',
'D [22/Apr/2009:10:54:08 +0100] cupsdIsAuthorized: requesting-user-name="neal"',
'D [22/Apr/2009:10:54:08 +0100] cupsdProcessIPPRequest: 19 status_code=0 (successful-ok)',
'D [22/Apr/2009:10:54:08 +0100] cupsdCloseClient: 19',
'D [22/Apr/2009:10:54:24 +0100] cupsdAcceptClient: 19 from localhost (Domain)',
'D [22/Apr/2009:10:54:24 +0100] cupsdReadClient: 19 POST / HTTP/1.1',
'D [22/Apr/2009:10:54:24 +0100] cupsdAuthorize: No authentication data provided.',
'D [22/Apr/2009:10:54:24 +0100] Get-Job-Attributes ipp://localhost/jobs/18',
'D [22/Apr/2009:10:54:24 +0100] cupsdProcessIPPRequest: 19 status_code=0 (successful-ok)',
'D [22/Apr/2009:10:54:24 +0100] cupsdCloseClient: 19',
'D [22/Apr/2009:10:54:24 +0100] cupsdAcceptClient: 19 from localhost (Domain)',
'D [22/Apr/2009:10:54:24 +0100] cupsdReadClient: 19 POST / HTTP/1.1',
'D [22/Apr/2009:10:54:24 +0100] cupsdAuthorize: No authentication data provided.',
'D [22/Apr/2009:10:54:24 +0100] Cancel-Subscription /',
'D [22/Apr/2009:10:54:24 +0100] cupsdIsAuthorized: requesting-user-name="neal"',
'I [22/Apr/2009:10:54:24 +0100] Saving subscriptions.conf...',
'D [22/Apr/2009:10:54:24 +0100] cupsdProcessIPPRequest: 19 status_code=0 (successful-ok)',
'D [22/Apr/2009:10:54:24 +0100] cupsdCloseClient: 19',
'D [22/Apr/2009:10:54:24 +0100] cupsdAcceptClient: 19 from localhost (Domain)',
'D [22/Apr/2009:10:54:24 +0100] cupsdReadClient: 19 GET /admin/log/error_log HTTP/1.1',
'D [22/Apr/2009:10:54:24 +0100] cupsdAuthorize: No authentication data provided.'],
'error_log_debug_logging_unset': True}

abo999
April 22nd, 2009, 12:06 PM
Just to add to this, my daughter's Ubuntu laptop (also wifi connected) prints fine.

abo999
April 22nd, 2009, 04:39 PM
NM it was a driver issue on the XP machine...