читать дальше »
Отладочные сообщения рассширеные
Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dest': <cups.Dest HP_LaserJet_Professional_M1212nf_MFP (default)>,
'cups_instance': None,
'cups_queue': 'HP_LaserJet_Professional_M1212nf_MFP',
'cups_queue_listed': True}
Page 3 (Check printer sanity):
{'cups_device_uri_scheme': u'hp',
'cups_printer_dict': {'device-uri': u'hp:/net/HP_LaserJet_Professional_M1212nf_MFP?zc=NPIC1E37E',
'printer-info': u'HP_LaserJet_Professional_M1212nf_MFP',
'printer-is-shared': True,
'printer-location': u'',
'printer-make-and-model': u'HP LaserJet Professional m1212nf MFP, hpcups 3.11.5, requires proprietary plugin',
'printer-state': 3,
'printer-state-message': u'ready to print',
'printer-state-reasons': [u'none'],
'printer-type': 167948,
'printer-uri-supported': u'ipp://localhost:631/printers/HP_LaserJet_Professional_M1212nf_MFP'},
'cups_printer_remote': False,
'hplip_output': (['',
'\x1b[01mHP Linux Imaging and Printing System (ver. 3.11.5)\x1b[0m',
'\x1b[01mDevice Information Utility ver. 5.2\x1b[0m',
'',
'Copyright (c) 2001-9 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:/net/HP_LaserJet_Professional_M1212nf_MFP?zc=NPIC1E37E\x1b[0m',
'',
'\x1b[01mDevice Parameters (dynamic data):\x1b[0m',
'\x1b[01m Parameter Value(s) \x1b[0m',
' ---------------------------- ----------------------------------------------------------',
' agent1-ack False ',
' agent1-desc Black toner cartridge ',
' agent1-dvc 0 ',
' agent1-health 0 ',
' agent1-health-desc Good/OK ',
' agent1-hp-ink False ',
' agent1-id 0 ',
' agent1-kind 4 ',
' agent1-known False ',
' agent1-level 100 ',
' agent1-level-trigger 0 ',
' agent1-sku CE285A ',
' agent1-type 1 ',
' agent1-virgin False ',
' back-end hp ',
" cups-printers ['HP_LaserJet_Professional_M1212nf_MFP'] ",
' cups-uri hp:/net/HP_LaserJet_Professional_M1212nf_MFP?zc=NPIC1E37E ',
' dev-file ',
' device-state 1 ',
' device-uri hp:/net/HP_LaserJet_Professional_M1212nf_MFP?zc=NPIC1E37E ',
' deviceid MFG:Hewlett-Packard;MDL:HP LaserJet Professional M1212nf ',
' MFP;CMD:ZJS,HBS,PJL,ACL,HTTP;CLS:PRINTER;DES:HP LaserJet ',
' Professional M1212nf MFP;FWVER:20100601; ',
' duplexer 0 ',
' error-state 0 ',
' fax-uri hpfax:/net/HP_LaserJet_Professional_M1212nf_MFP?zc=NPIC1E3',
' 7E ',
' host NPIC1E37E ',
' in-tray1 1 ',
' in-tray2 1 ',
' is-hp True ',
' media-path 1 ',
' panel 0 ',
' panel-line1 ',
' panel-line2 ',
' photo-tray 0 ',
' port 1 ',
' r 0 ',
' revision 254 ',
' rg 000 ',
' rr 000000 ',
' rs 000000000 ',
' scan-uri hpaio:/net/HP_LaserJet_Professional_M1212nf_MFP?zc=NPIC1E3',
' 7E ',
' serial CNG9BDB1TB ',
' status-code 1000 ',
' status-desc Idle ',
' supply-door 1 ',
' top-door 1 ',
'\x1b[01m',
'Model Parameters (static data):\x1b[0m',
'\x1b[01m Parameter Value(s) \x1b[0m',
' ---------------------------- ----------------------------------------------------------',
' align-type 0 ',
' clean-type 0 ',
' color-cal-type 0 ',
' copy-type 0 ',
' embedded-server-type 0 ',
' fax-type 5 ',
' fw-download False ',
' icon hp_laserjet_3050.png ',
' io-mfp-mode 1 ',
' io-mode 1 ',
' io-support 6 ',
' job-storage 0 ',
' linefeed-cal-type 0 ',
' model HP_LaserJet_Professional_M1212nf_MFP ',
' model-ui HP LaserJet Professional m1212nf MFP ',
' model1 HP LaserJet Professional M1212nf Multifunction Printer ',
' monitor-type 0 ',
' panel-check-type 0 ',
' pcard-type 0 ',
' plugin 1 ',
' plugin-reason 65 ',
' power-settings 0 ',
' pq-diag-type 0 ',
' r-type 0 ',
' r0-agent1-kind 4 ',
' r0-agent1-sku CE285A ',
' r0-agent1-type 1 ',
' scan-src 3 ',
' scan-style 1 ',
' scan-type 8 ',
' status-battery-check 0 ',
' status-dynamic-counters 0 ',
' status-type 8 ',
' support-released True ',
' support-subtype 2202411 ',
' support-type 2 ',
' support-ver 3.10.4 ',
" tech-class ['LJZjsMono'] ",
" tech-subclass ['NoAutoDuplex'] ",
' tech-type 3 ',
' usb-pid 1322 ',
' usb-vid 1008 ',
' wifi-config 0 ',
'\x1b[01m',
'Status History (most recent first):\x1b[0m',
'\x1b[01m Date/Time Code Status Description User Job ID \x1b[0m',
' -------------------- ----- ---------------------------------------- -------- --------',
' 09/03/11 17:08:06 1000 Idle second 0 ',
' 09/03/11 17:07:50 501 Print job has completed second 13 ',
' 09/03/11 17:07:40 500 Started a print job second 13 ',
' 09/03/11 17:07:19 703 Printer is accepting jobs second 0 ',
' 09/03/11 17:07:15 702 Printer is rejecting jobs second 0 ',
' 09/03/11 17:06:43 501 Print job has completed second 12 ',
' 09/03/11 17:06:30 500 Started a print job second 12 ',
' 09/03/11 17:06:29 1000 Idle second 0 ',
'',
'',
'Done.',
''],
['\x1b[35;01mwarning: No display found.\x1b[0m',
'\x1b[31;01merror: hp-info -u/--gui requires Qt4 GUI support. Entering interactive mode.\x1b[0m',
''],
0),
'is_cups_class': False,
'local_cups_queue_attributes': {'auth-info-required': u'none',
'charset-configured': u'utf-8',
'charset-supported': [u'us-ascii', u'utf-8'],
'color-supported': True,
'compression-supported': [u'none', u'gzip'],
'copies-default': 1,
'copies-supported': (1, 9999),
'cups-version': u'1.4.8',
'device-uri': u'hp:/net/HP_LaserJet_Professional_M1212nf_MFP?zc=NPIC1E37E',
'document-format-default': u'application/octet-stream',
'document-format-supported': [u'application/octet-stream',
u'application/pdf',
u'application/postscript',
u'application/vnd.cups-banner',
u'application/vnd.cups-pdf',
u'application/vnd.cups-postscript',
u'application/vnd.cups-raster',
u'application/vnd.cups-raw',
u'application/vnd.hp-hpgl',
u'application/x-cshell',
u'application/x-csource',
u'application/x-perl',
u'application/x-shell',
u'image/gif',
u'image/jpeg',
u'image/png',
u'image/tiff',
u'image/x-bitmap',
u'image/x-photocd',
u'image/x-portable-anymap',
u'image/x-portable-bitmap',
u'image/x-portable-graymap',
u'image/x-portable-pixmap',
u'image/x-sgi-rgb',
u'image/x-sun-raster',
u'image/x-xbitmap',
u'image/x-xpixmap',
u'text/css',
u'text/html',
u'text/plain'],
'finishings-default': 3,
'finishings-supported': [3],
'generated-natural-language-supported': [u'ru-ru'],
'ipp-versions-supported': [u'1.0',
u'1.1',
u'2.0',
u'2.1'],
'ippget-event-life': 15,
'job-creation-attributes-supported': [u'copies',
u'finishings',
u'ipp-attribute-fidelity',
u'job-hold-until',
u'job-name',
u'job-priority',
u'job-sheets',
u'media',
u'media-col',
u'multiple-document-handling',
u'number-up',
u'output-bin',
u'output-mode',
u'orientation-requested',
u'page-ranges',
u'print-quality',
u'printer-resolution',
u'sides'],
'job-hold-until-default': u'no-hold',
'job-hold-until-supported': [u'no-hold',
u'indefinite',
u'day-time',
u'evening',
u'night',
u'second-shift',
u'third-shift',
u'weekend'],
'job-k-limit': 0,
'job-page-limit': 0,
'job-priority-default': 50,
'job-priority-supported': [100],
'job-quota-period': 0,
'job-settable-attributes-supported': [u'copies',
u'finishings',
u'job-hold-until',
u'job-name',