Oto log:
Kod: Zaznacz cały
Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dest': <cups.Dest DESKJET_840C (default)>,
'cups_instance': None,
'cups_queue': 'DESKJET_840C',
'cups_queue_listed': True}
Page 3 (Check printer sanity):
{'cups_device_uri_scheme': u'hp',
'cups_printer_dict': {'device-uri': u'hp:/par/DESKJET_840C?device=/dev/parport0',
'printer-info': u'DESKJET_840C',
'printer-is-shared': True,
'printer-location': u'ubuntu',
'printer-make-and-model': u'HP DeskJet 840C Foomatic/hpijs, hpijs 2.8.2',
'printer-state': 3,
'printer-state-message': u'No %%Pages: comment in header!',
'printer-state-reasons': [u'connecting-to-device'],
'printer-type': 135180,
'printer-uri-supported': u'ipp://localhost:631/printers/DESKJET_840C'},
'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:/par/DESKJET_840C?device=/dev/parport0\x1b[0m',
'',
'\x1b[01mDevice Parameters (dynamic data):\x1b[0m',
'\x1b[01m Parameter Value(s) \x1b[0m',
' ---------------------------- ----------------------------------------------------------',
' back-end hp ',
' cups-printer DESKJET_840C ',
' cups-uri hp:/par/DESKJET_840C?device=/dev/parport0 ',
' dev-file /dev/parport0 ',
' device-state -1 ',
' device-uri hp:/par/DESKJET_840C?device=/dev/parport0 ',
' deviceid ',
' error-state 101 ',
' host ',
' is-hp True ',
' panel 0 ',
' panel-line1 ',
' panel-line2 ',
' port 1 ',
' serial ',
' status-code 5002 ',
' status-desc ',
'\x1b[01m',
'Model Parameters (static data):\x1b[0m',
'\x1b[01m Parameter Value(s) \x1b[0m',
' ---------------------------- ----------------------------------------------------------',
' align-type 2 ',
' clean-type 1 ',
' color-cal-type 0 ',
' copy-type 0 ',
' embedded-server-type 0 ',
' fax-type 0 ',
' fw-download 0 ',
' icon DESKJET_840C.png ',
' io-mfp-mode 6 ',
' io-mode 1 ',
' io-support 1 ',
' job-storage 0 ',
' linefeed-cal-type 0 ',
' model DESKJET_840C ',
' model-ui HP Deskjet 840c ',
' model1 Deskjet 840c ',
' panel-check-type 0 ',
' pcard-type 0 ',
' plugin 0 ',
' power-settings 0 ',
' pq-diag-type 0 ',
' r-type 0 ',
' r0-agent1-kind 3 ',
' r0-agent1-sku 15 (C6615DN) ',
' r0-agent1-type 1 ',
' r0-agent2-kind 3 ',
' r0-agent2-sku 17 (C6625AN) ',
' r0-agent2-type 2 ',
' scan-style 0 ',
' scan-type 0 ',
' status-battery-check 0 ',
' status-dynamic-counters 0 ',
' status-type 1 ',
' support-released 1 ',
' support-type 2 ',
' support-ver 0.9.5 ',
" tech-class ['DJ8xx'] ",
" tech-subclass ['Normal'] ",
' tech-type 2 ',
' usb-pid 0604 ',
' usb-vid 03f0 ',
'',
'Done.',
''],
['\x1b[31;01merror: Unable to communicate with device (code=12): hp:/par/DESKJET_840C?device=/dev/parport0\x1b[0m',
'\x1b[31;01merror: Error opening device (Device not found).\x1b[0m',
'']),
'is_cups_class': False}
Page 4 (Check PPD sanity):
{'cups_printer_ppd_defaults': {u'General': {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:HEWLETT-PACKARD;MDL:DESKJET 840C;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard DeskJet 840C;SERN:CN0AB1N1HVKV;VSTATUS:$HB0$FC0,ff,DN,IDLE,CUT;VP:0800,FL,B0;',
'device-info': u'HP DESKJET 840C LPT parport0 HPLIP',
'device-make-and-model': u'HP DESKJET 840C'}}
Page 7 (Printer state reasons):
{'printer-state-message': u'No %%Pages: comment in header!',
'printer-state-reasons': [u'connecting-to-device']}
Page 8 (Error log checkpoint):
{'cups_server_settings': {'DefaultAuthType': 'Basic',
'SystemGroup': 'lpadmin',
'_debug_logging': '0',
'_remote_admin': '0',
'_remote_any': '0',
'_remote_printers': '0',
'_share_printers': '0',
'_user_cancel_any': '0'},
'error_log_checkpoint': 2948L}
Page 9 (Print test page):
{'test_page_attempted': True,
'test_page_completions': [(28,
u'Job stopped due to filter errors; please consult the error_log file for details.')],
'test_page_job_id': [28],
'test_page_job_status': [(True,
27,
'DESKJET_840C',
'(stdin)',
'Zatrzymana',
{'attributes-charset': u'utf-8',
'attributes-natural-language': u'pl-pl',
'copies': 1,
'document-format': u'application/postscript',
'finishings': 3,
'job-hold-until': u'no-hold',
'job-id': 27,
'job-k-octets': 1025,
'job-media-sheets-completed': 0,
'job-more-info': u'ipp://localhost:631/jobs/27',
'job-name': u'(stdin)',
'job-originating-host-name': u'localhost',
'job-originating-user-name': u'sonia',
'job-preserved': True,
'job-printer-state-message': u'No %%Pages: comment in header!',
'job-printer-state-reasons': [u'connecting-to-device'],
'job-printer-up-time': 1225906413,
'job-printer-uri': u'ipp://ubuntu:631/printers/DESKJET_840C',
'job-priority': 50,
'job-sheets': [u'none', u'none'],
'job-state': 6,
'job-state-reasons': u'job-stopped',
'job-uri': u'ipp://localhost:631/jobs/27',
'job-uuid': u'urn:uuid:b25d6359-5e25-316e-7f27-c6cf6d83d231',
'media': u'A4',
'number-up': 1,
'printer-uri': u'ipp://localhost/printers/DESKJET_840C',
'time-at-completed': None,
'time-at-creation': 1225906312,
'time-at-processing': 1225906312}),
(True,
28,
'DESKJET_840C',
'Test Page',
'Zatrzymana',
{'attributes-charset': u'utf-8',
'attributes-natural-language': u'pl-pl',
'document-format': u'application/postscript',
'job-hold-until': u'no-hold',
'job-id': 28,
'job-k-octets': 17,
'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'sonia',
'job-preserved': True,
'job-printer-state-message': u'No %%Pages: comment in header!',
'job-printer-state-reasons': [u'connecting-to-device'],
'job-printer-up-time': 1225906413,
'job-printer-uri': u'ipp://ubuntu:631/printers/DESKJET_840C',
'job-priority': 50,
'job-sheets': [u'none', u'none'],
'job-state': 6,
'job-state-reasons': u'job-stopped',
'job-uri': u'ipp://localhost:631/jobs/28',
'job-uuid': u'urn:uuid:a20771e1-a7f7-3283-4d91-0f29b61f3416',
'printer-uri': u'ipp://localhost/printers/DESKJET_840C',
'time-at-completed': None,
'time-at-creation': 1225906365,
'time-at-processing': 1225906365})],
'test_page_successful': True}
Page 10 (Error log fetch):
{'error_log': ['E [05/Nov/2008:18:32:45 +0100] PID 12747 (/usr/lib/cups/filter/pdftopdf) stopped with status 127!',
'E [05/Nov/2008:18:32:45 +0100] [Job 28] pdftops filter exited with status 1!',
'E [05/Nov/2008:18:32:45 +0100] [Job 28] Empty print file!',
'E [05/Nov/2008:18:32:45 +0100] PID 12750 (/usr/lib/cups/filter/cpdftocps) stopped with status 1!',
'E [05/Nov/2008:18:32:45 +0100] [Job 28] No %%BoundingBox: comment in header!',
'E [05/Nov/2008:18:32:45 +0100] [Job 28] No %%Pages: comment in header!',
'E [05/Nov/2008:18:32:45 +0100] PID 12745 (/usr/lib/cups/filter/pstopdf) stopped with status 1!',
'E [05/Nov/2008:18:33:15 +0100] [Job 28] Job stopped due to filter errors.']}