hatmancan
February 4th, 2009, 12:03 AM
ok i ran a diagnostics from some program
here is what i get back
can someone figure this out for me????
thanks in advance
hat
Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dest': <cups.Dest hp-LaserJet-1000>,
'cups_instance': None,
'cups_queue': 'hp-LaserJet-1000',
'cups_queue_listed': True}
Page 3 (Check printer sanity):
{'cups_device_uri_scheme': u'hp',
'cups_printer_dict': {'device-uri': u'hp:/usb/hp_LaserJet_1000?serial=0',
'printer-info': u'Hewlett-Packard hp LaserJet 1000',
'printer-is-shared': True,
'printer-location': u'dave-desktop',
'printer-make-and-model': u'HP LaserJet 1000 Foomatic/foo2zjs (recommended)',
'printer-state': 3,
'printer-state-message': u'',
'printer-state-reasons': [u'none'],
'printer-type': 36868,
'printer-uri-supported': u'ipp://localhost:631/printers/hp-LaserJet-1000'},
'cups_printer_remote': False,
'hplip_output': (['',
'\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/hp_LaserJet_1000?serial=0\x1b[0m',
'',
'\x1b[01mDevice Parameters (dynamic data):\x1b[0m',
'\x1b[01m Parameter Value(s) \x1b[0m',
' ---------------------------- ----------------------------------------------------------',
' back-end hp ',
' cups-printer hp-LaserJet-1000 ',
' cups-uri hp:/usb/hp_LaserJet_1000?serial=0 ',
' dev-file ',
' device-state 1 ',
' device-uri hp:/usb/hp_LaserJet_1000?serial=0 ',
' deviceid MFG:Hewlett-Packard;MDL:hp LaserJet ',
' 1000;CMD:ZJS;CLS:PRINTER;DES:hp LaserJet 1000; ',
' duplexer 0 ',
' error-state 0 ',
' host ',
' 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 ',
' serial 0 ',
' 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 0 ',
' fw-download 1 ',
' icon default_printer.png ',
' io-mfp-mode 1 ',
' io-mode 1 ',
' io-support 2 ',
' job-storage 0 ',
' linefeed-cal-type 0 ',
' model hp_LaserJet_1000 ',
' model-ui HP LaserJet 1000 ',
' model1 LaserJet 1000 ',
' panel-check-type 0 ',
' pcard-type 0 ',
' plugin 1 ',
' power-settings 0 ',
' pq-diag-type 0 ',
' r-type 0 ',
' scan-style 0 ',
' scan-type 0 ',
' status-battery-check 0 ',
' status-dynamic-counters 0 ',
' status-type 8 ',
' support-released 1 ',
' support-type 2 ',
' support-ver 2.7.12 ',
" tech-class ['LJZjsMono'] ",
" tech-subclass ['Normal'] ",
' tech-type 3 ',
' usb-pid 0517 ',
' usb-vid 03f0 ',
'\x1b[01m',
'Status History (most recent first):\x1b[0m',
'\x1b[01m Date/Time Code Status Description User Job ID \x1b[0m',
' -------------------- ----- ---------------------------------------- -------- --------',
' 02/03/09 18:59:19 1000 Idle. dave 0 ',
' 02/03/09 18:57:52 501 Print job has completed. dave 10 ',
' 02/03/09 18:57:23 500 Started a print job. dave 10 ',
' 02/03/09 18:56:32 1000 Idle. dave 0 ',
' 02/03/09 18:55:00 703 Printer is accepting jobs. dave 0 ',
' 02/03/09 18:54:58 702 Printer is rejecting jobs. dave 0 ',
' 02/03/09 18:54:37 501 Print job has completed. dave 9 ',
' 02/03/09 18:54:29 5021 Device is busy. dave 0 ',
' 02/03/09 18:53:46 500 Started a print job. dave 9 ',
' 02/03/09 18:53:46 1000 Idle. dave 0 ',
'',
'',
'Done.',
''],
['']),
'is_cups_class': False}
Page 4 (Check PPD sanity):
{'cups_printer_ppd_defaults': {u'General': {u'Copies': u'1',
u'InputSlot': u'Auto',
u'MediaType': u'Standard',
u'PageRegion': u'Letter',
u'PageSize': u'Letter',
u'Quality': u'normal'},
u'Miscellaneous': {u'Nup': u'1up',
u'NupOrient': u'port'}},
'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:hp LaserJet 1000;CLS:PRINTER;DES:hp LaserJet 1000;SN:0;',
'device-info': u'HP LaserJet 1000 USB 0 HPLIP',
'device-make-and-model': u'HP LaserJet 1000'}}
Page 7 (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': 388L}
Page 8 (Print test page):
{'test_page_attempted': True,
'test_page_job_id': [11],
'test_page_job_status': [(True,
11,
'hp-LaserJet-1000',
'Test Page',
'Processing',
{'attributes-charset': u'utf-8',
'attributes-natural-language': u'en-ca',
'document-format': u'application/postscript',
'job-hold-until': u'no-hold',
'job-id': 11,
'job-k-octets': 17,
'job-media-sheets-completed': 1,
'job-more-info': u'ipp://localhost:631/jobs/11',
'job-name': u'Test Page',
'job-originating-host-name': u'localhost',
'job-originating-user-name': u'dave',
'job-printer-state-message': u'',
'job-printer-state-reasons': [u'none'],
'job-printer-up-time': 1233702000,
'job-printer-uri': u'ipp://dave-desktop:631/printers/hp-LaserJet-1000',
'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/11',
'job-uuid': u'urn:uuid:38ca7ca0-abf8-3db1-5ad9-f1e2d6ec5aa4',
'printer-uri': u'ipp://localhost/printers/hp-LaserJet-1000',
'time-at-completed': None,
'time-at-creation': 1233701973,
'time-at-processing': 1233701973})],
'test_page_successful': False}
Page 9 (Error log fetch):
{'error_log': []}
bpalone
February 4th, 2009, 04:08 AM
It looks like you have everything there, but your printer isn't identified to the system. Here is what my printer def looked like from the CUPS browser interface:
Description: DeskJet_1220C
Location: bill-desktop
Printer Driver: HP Deskjet 1220c Foomatic/hpijs, hpijs 2.8.2
Printer State: idle, accepting jobs, published.
Device URI: hp:/usb/DeskJet_1220C?serial=SG0BH130ZQOK
(This was from before I networked everything.)
Notice the serial=XXXXXXXXXXXXXX at the end of the URI:. That is how it is identified to the system. I can't remember how to get that info, or if the CUPS interface got it after or while I modified the printer. Try going through the modify printer and see if that gets it to see the printer properly. Then do a test page. You are close, but close only counts in horse shoes and and grenades. I may have to dig out one of my books and find setting up CUPS to get you there if this doesn't get it.
Don't give up. I fought quite a while when I moved to network printing, but I got it figured out.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.