PDA

View Full Version : Printer Problem HP P1505n in Ubuntu 10.04



srayju
May 27th, 2010, 06:35 AM
HP P1505n Network printer - set up went okay.
But problem while printing.
Error message on screen, and blank output.
I am enclosing the debug report.
Please help.

Problem from ubuntu 10.04 netbook remix.
The same printer worked fine in Ubuntu 9.10,
and still does from Mac OSX.

Thanks,
S Ray
---------------------------------------------------------------------------------
Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Is local server publishing?):
{'local_server_exporting_printers': False}
Page 3 (Choose printer):
{'cups_dest': <cups.Dest HP-LaserJet-p1505n (default)>,
'cups_instance': None,
'cups_queue': 'HP-LaserJet-p1505n',
'cups_queue_listed': True}
Page 4 (Check printer sanity):
{'cups_device_uri_scheme': u'hp',
'cups_printer_dict': {'device-uri': u'hp:/net/HP_LaserJet_P1505n?ip=192.168.0.105',
'printer-info': u'HP LaserJet p1505n',
'printer-is-shared': True,
'printer-location': u'',
'printer-make-and-model': u'HP LaserJet p1505n hpijs pcl3, 3.10.2, requires proprietary plugin',
'printer-state': 3,
'printer-state-message': u'ready to print',
'printer-state-reasons': [u'none'],
'printer-type': 8556572,
'printer-uri-supported': u'ipp://localhost:631/printers/HP-LaserJet-p1505n'},
'cups_printer_remote': False,
'hplip_output': (['',
'\x1b[01mHP Linux Imaging and Printing System (ver. 3.10.2)\x1b[0m',
'\x1b[01mSystem Tray Status Service ver. 2.0\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 Linux Imaging and Printing System (ver. 3.10.2)\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_P1505n?ip=192.168.0.105\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 36A ',
' agent1-type 1 ',
' agent1-virgin False ',
' back-end hp ',
" cups-printers ['HP-LaserJet-p1505n'] ",
' cups-uri hp:/net/HP_LaserJet_P1505n?ip=192.168.0.105 ',
' dev-file ',
' device-state 1 ',
' device-uri hp:/net/HP_LaserJet_P1505n?ip=192.168.0.105 ',
' deviceid MFG:Hewlett-Packard;MDL:HP LaserJet ',
' P1505n;CMD:HBS,PJL,ACL,PCL;CLS:PRINTER;DES:HP LaserJet ',
' P1505n;FWVER:20080505; ',
' duplexer 0 ',
' error-state 0 ',
' host 192.168.0.105 ',
' 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 VNF3G16053 ',
' 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 False ',
' icon HP_LaserJet_1012.png ',
' io-mfp-mode 6 ',
' io-mode 1 ',
' io-support 6 ',
' job-storage 0 ',
' linefeed-cal-type 0 ',
' model HP_LaserJet_P1505n ',
' model-ui HP LaserJet p1505n ',
' model1 HP LaserJet P1505N Printer ',
' monitor-type 0 ',
' panel-check-type 0 ',
' pcard-type 0 ',
' plugin 2 ',
' plugin-reason 4 ',
' power-settings 0 ',
' pq-diag-type 0 ',
' r-type 0 ',
' r0-agent1-kind 4 ',
' r0-agent1-sku 36A ',
' r0-agent1-type 1 ',
' scan-style 0 ',
' scan-type 0 ',
' status-battery-check 0 ',
' status-dynamic-counters 0 ',
' status-type 8 ',
' support-released True ',
' support-subtype 2202411 ',
' support-type 2 ',
' support-ver 2.8.2 ',
" tech-class ['LJm1005', 'LJMono'] ",
" tech-subclass ['Normal'] ",
' tech-type 3 ',
' usb-pid 16663 ',
' usb-vid 1008 ',
' wifi-config 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',
'\x1b[35;01mwarning: No display found.\x1b[0m',
'\x1b[31;01merror: hp-systray requires Qt4 GUI and DBus support. Exiting.\x1b[0m',
'\x1b[35;01mwarning: Unable to connect to dbus. Is hp-systray running?\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.3',
'device-uri': u'hp:/net/HP_LaserJet_P1505n?ip=192.168.0.105',
'document-format-default': u'application/octet-stream',
'document-format-supported': [u'application/octet-stream',
u'application/openofficeps',
u'application/pdf',
u'application/postscript',
u'application/vnd.cups-banner',
u'application/vnd.cups-command',
u'application/vnd.cups-pdf',
u'application/vnd.cups-postscript',
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'image/x-xwindowdump',
u'text/css',
u'text/html',
u'text/plain'],
'finishings-default': 3,
'finishings-supported': [3],
'generated-natural-language-supported': [u'en_US'],
'ipp-versions-supported': [u'1.0',
u'1.1',
u'2.0',
u'2.1'],
'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-priority',
u'media',
u'multiple-document-handling',
u'number-up',
u'orientation-requested',
u'page-ranges',
u'print-quality',
u'printer-resolution',
u'sides'],
'job-sheets-default': (u'none', u'none'),
'job-sheets-supported': [u'none',
u'classified',
u'confidential',
u'secret',
u'standard',
u'topsecret',
u'unclassified'],
'marker-change-time': 0,
'media-col-supported': [u'media-color',
u'media-key',
u'media-size',
u'media-type'],
'media-default': u'iso_a4_210x297mm',
'media-supported': [u'na_letter_8.5x11in',
u'iso_a4_210x297mm',
u'na_index-4x6_4x6in',
u'na_5x7_5x7in',
u'na_index-3x5_3x5in',
u'na_index-5x8_5x8in',
u'iso_a5_148x210mm',
u'iso_a6_105x148mm',
u'jis_b5_182x257mm',
u'adobe_CDDVD80_83.6083x83.6083mm',
u'adobe_CDDVD120_5x5in',
u'na_number-10_4.125x9.5in',
u'iso_c5_162x229mm',
u'iso_c6_114x162mm',
u'iso_dl_110x220mm',
u'iso_b5_176x250mm',
u'na_monarch_3.875x7.5in',
u'na_executive_7.25x10.5in',
u'na_foolscap_8.5x13in',
u'jpn_hagaki_100x148mm',
u'na_legal_8.5x14in',
u'adobe_Oufuku_7.875x5.83333in',
u'roc_16k_7.75x10.75in',
u'na_foolscap_8.5x13in',
u'custom_min_1x4in',
u'custom_max_11x17in'],
'multiple-document-handling-supported': [u'separate-documents-uncollated-copies',
u'separate-documents-collated-copies'],
'multiple-document-jobs-supported': True,
'multiple-operation-time-out': 300,
'natural-language-configured': u'en_US',
'notify-attributes-supported': [u'printer-state-change-time',
u'notify-lease-expiration-time',
u'notify-subscriber-user-name'],
'notify-events-default': [u'job-completed'],
'notify-events-supported': [u'job-completed',
u'job-config-changed',
u'job-created',
u'job-progress',
u'job-state-changed',
u'job-stopped',
u'printer-added',
u'printer-changed',
u'printer-config-changed',
u'printer-deleted',
u'printer-finishings-changed',
u'printer-media-changed',
u'printer-modified',
u'printer-restarted',
u'printer-shutdown',
u'printer-state-changed',
u'printer-stopped',
u'server-audit',
u'server-restarted',
u'server-started',
u'server-stopped'],
'notify-lease-duration-default': 86400,
'notify-lease-duration-supported': (0,
2147483647),
'notify-max-events-supported': [100],
'notify-pull-method-supported': [u'ippget'],
'notify-schemes-supported': [u'dbus',
u'mailto',
u'rss'],
'number-up-default': 1,
'number-up-supported': [1, 2, 4, 6, 9, 16],
'operations-supported': [2,
4,
5,
6,
8,
9,
10,
11,
12,
13,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
34,
35,
37,
38,
16385,
16386,
16387,
16388,
16389,
16390,
16391,
16392,
16393,
16394,
16395,
16396,
16397,
16398,
16399,
16423],
'orientation-requested-default': None,
'orientation-requested-supported': [3,
4,
5,
6],
'page-ranges-supported': True,
'pages-per-minute': 1,
'pdl-override-supported': [u'not-attempted'],
'port-monitor': u'none',
'port-monitor-supported': [u'none'],
'printer-commands': [u'AutoConfigure',
u'Clean',
u'PrintSelfTestPage'],
'printer-current-time': '(IPP_TAG_DATE)',
'printer-error-policy': u'retry-job',
'printer-error-policy-supported': [u'abort-job',
u'retry-current-job',
u'retry-job',
u'stop-printer'],
'printer-info': u'HP LaserJet p1505n',
'printer-is-accepting-jobs': True,
'printer-is-shared': True,
'printer-location': u'',
'printer-make-and-model': u'HP LaserJet p1505n hpijs pcl3, 3.10.2, requires proprietary plugin',
'printer-more-info': u'http://localhost:631/printers/HP-LaserJet-p1505n',
'printer-name': u'HP-LaserJet-p1505n',
'printer-op-policy': u'default',
'printer-op-policy-supported': [u'authenticated',
u'default'],
'printer-settable-attributes-supported': [u'printer-info',
u'printer-location'],
'printer-state': 3,
'printer-state-change-time': 1274935826,
'printer-state-message': u'ready to print',
'printer-state-reasons': [u'none'],
'printer-type': 8556572,
'printer-up-time': 1274935847,
'printer-uri-supported': [u'ipp://localhost:631/printers/HP-LaserJet-p1505n'],
'queued-job-count': 1,
'server-is-sharing-printers': False,
'sides-default': u'one-sided',
'sides-supported': [u'one-sided',
u'two-sided-long-edge',
u'two-sided-short-edge'],
'uri-authentication-supported': [u'requesting-user-name'],
'uri-security-supported': [u'none']}}
Page 5 (Check PPD sanity):
{'cups_printer_ppd_defaults': {u'General': {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 6 (Local or remote?):
{'printer_is_remote': False}
Page 7 (Printer state reasons):
{'printer-state-message': u'ready to print',
'printer-state-reasons': [u'none']}
Page 8 (Error log checkpoint):
{'cups_server_settings': {'BrowseLocalProtocols': 'CUPS dnssd',
'DefaultAuthType': 'Basic',
'MaxLogSize': '0',
'SystemGroup': 'lpadmin',
'_debug_logging': '0',
'_remote_admin': '0',
'_remote_any': '0',
'_remote_printers': '0',
'_share_printers': '0',
'_user_cancel_any': '0'},
'error_log_checkpoint': 77418L,
'error_log_debug_logging_set': True}
Page 9 (Print test page):
{'test_page_job_status': [], 'test_page_successful': False}
Page 10 (Error log fetch):
{'error_log': ['D [27/May/2010:10:21:44 +0530] cupsdSetBusyState: Dirty files',
'D [27/May/2010:10:21:44 +0530] cupsdReadClient: 11 POST / HTTP/1.1',
'D [27/May/2010:10:21:44 +0530] cupsdSetBusyState: Active clients and dirty files',
'D [27/May/2010:10:21:44 +0530] cupsdAuthorize: No authentication data provided.',
'D [27/May/2010:10:21:44 +0530] cupsdReadClient: 11 1.1 Get-Jobs 1',
'D [27/May/2010:10:21:44 +0530] Get-Jobs ipp://localhost/printers/',
'D [27/May/2010:10:21:44 +0530] [Job 5] Loading attributes...',
'D [27/May/2010:10:21:44 +0530] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost',
'D [27/May/2010:10:21:44 +0530] cupsdSetBusyState: Dirty files',
'D [27/May/2010:10:21:44 +0530] cupsdReadClient: 11 POST / HTTP/1.1',
'D [27/May/2010:10:21:44 +0530] cupsdSetBusyState: Active clients and dirty files',
'D [27/May/2010:10:21:44 +0530] cupsdAuthorize: No authentication data provided.',
'D [27/May/2010:10:21:44 +0530] cupsdReadClient: 11 1.1 Get-Jobs 1',
'D [27/May/2010:10:21:44 +0530] Get-Jobs ipp://localhost/printers/',
'D [27/May/2010:10:21:44 +0530] [Job 1] Loading attributes...',
'E [27/May/2010:10:21:44 +0530] [Job 1] Unable to queue job for destination "Hewlett-Packard-HP-LaserJet-P1505n"!',
'D [27/May/2010:10:21:44 +0530] [Job 2] Loading attributes...',
'E [27/May/2010:10:21:44 +0530] [Job 2] Unable to queue job for destination "Hewlett-Packard-HP-LaserJet-P1505n"!',
'D [27/May/2010:10:21:44 +0530] [Job 3] Loading attributes...',
'E [27/May/2010:10:21:44 +0530] [Job 3] Unable to queue job for destination "Hewlett-Packard-HP-LaserJet-P1505n"!',
'D [27/May/2010:10:21:44 +0530] [Job 4] Loading attributes...',
'E [27/May/2010:10:21:44 +0530] [Job 4] Unable to queue job for destination "Hewlett-Packard-HP-LaserJet-P1505n"!',
'D [27/May/2010:10:21:44 +0530] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost',
'D [27/May/2010:10:21:44 +0530] cupsdSetBusyState: Dirty files',
'D [27/May/2010:10:21:44 +0530] cupsdReadClient: 11 POST / HTTP/1.1',
'D [27/May/2010:10:21:44 +0530] cupsdSetBusyState: Active clients and dirty files',
'D [27/May/2010:10:21:44 +0530] cupsdAuthorize: No authentication data provided.',
'D [27/May/2010:10:21:44 +0530] cupsdReadClient: 11 1.1 Create-Printer-Subscription 1',
'D [27/May/2010:10:21:44 +0530] Create-Printer-Subscription /',
'D [27/May/2010:10:21:44 +0530] cupsdCreateSubscription(con=0x21471818(11), uri="/")',
'D [27/May/2010:10:21:44 +0530] pullmethod="ippget"',
'D [27/May/2010:10:21:44 +0530] notify-lease-duration=86400',
'D [27/May/2010:10:21:44 +0530] notify-time-interval=0',
'D [27/May/2010:10:21:44 +0530] cupsdAddSubscription(mask=17800, dest=(nil)(), job=(nil)(0), uri="(null)")',
'D [27/May/2010:10:21:44 +0530] Added subscription 4 for server',
'D [27/May/2010:10:21:44 +0530] cupsdMarkDirty(-----S)',
'D [27/May/2010:10:21:44 +0530] Returning IPP successful-ok for Create-Printer-Subscription (/) from localhost',
'D [27/May/2010:10:21:44 +0530] cupsdSetBusyState: Dirty files',
'D [27/May/2010:10:21:46 +0530] cupsdReadClient: 11 POST / HTTP/1.1',
'D [27/May/2010:10:21:46 +0530] cupsdSetBusyState: Active clients and dirty files',
'D [27/May/2010:10:21:46 +0530] cupsdAuthorize: No authentication data provided.',
'D [27/May/2010:10:21:46 +0530] cupsdReadClient: 11 1.1 Get-Notifications 1',
'D [27/May/2010:10:21:46 +0530] Get-Notifications /',
'D [27/May/2010:10:21:46 +0530] cupsdIsAuthorized: requesting-user-name="sray"',
'D [27/May/2010:10:21:46 +0530] Returning IPP successful-ok for Get-Notifications (/) from localhost',
'D [27/May/2010:10:21:46 +0530] cupsdSetBusyState: Dirty files',
'D [27/May/2010:10:21:58 +0530] cupsdReadClient: 11 POST / HTTP/1.1',
'D [27/May/2010:10:21:58 +0530] cupsdSetBusyState: Active clients and dirty files',
'D [27/May/2010:10:21:58 +0530] cupsdAuthorize: No authentication data provided.',
'D [27/May/2010:10:21:58 +0530] cupsdReadClient: 11 1.1 Cancel-Subscription 1',
'D [27/May/2010:10:21:58 +0530] Cancel-Subscription /',
'D [27/May/2010:10:21:58 +0530] cupsdIsAuthorized: requesting-user-name="sray"',
'D [27/May/2010:10:21:58 +0530] cupsdMarkDirty(-----S)',
'D [27/May/2010:10:21:58 +0530] Returning IPP successful-ok for Cancel-Subscription (/) from localhost',
'D [27/May/2010:10:21:58 +0530] cupsdSetBusyState: Dirty files',
'D [27/May/2010:10:21:58 +0530] cupsdAcceptClient: 14 from localhost (Domain)',
'D [27/May/2010:10:21:58 +0530] cupsdReadClient: 14 GET /admin/log/error_log HTTP/1.1',
'D [27/May/2010:10:21:58 +0530] cupsdSetBusyState: Active clients and dirty files',
'D [27/May/2010:10:21:58 +0530] cupsdAuthorize: No authentication data provided.'],
'error_log_debug_logging_unset': True}
Page 11 (Locale issues):
{'printer_page_size': u'A4',
'system_locale_lang': None,
'user_locale_ctype': 'en_IN',
'user_locale_messages': 'en_IN'}
-------------------------------------------------------------------

dino99
May 27th, 2010, 09:03 AM
try: sudo service cups restart

srayju
May 27th, 2010, 06:55 PM
As per dino99 's suggestion,
tried to restart the CUPS - "sudo service cups restart".

No luck. Only after a long, very long, pause it printed one line :
**** Unable to open the initial device, quitting.

After restarts, the debugging gave the same output as attached above.
So the problem seems elsewhere.

Any further suggestion ??

David006
June 9th, 2010, 03:26 AM
Was getting same error message: 'Unable to open the initial device'

System >> Administration >> Printing
highlight 'HP P1505n', and delete
re-start Linux, and add printer (as detected device)


If that does not solve, then first install latest HPLIP ..
http://newyork.ubuntuforums.org/showpost.php?p=9432204&postcount=3

flurl
September 20th, 2010, 03:00 PM
Hi, I had the same problem with 10.04. After an update the printer just printed a blank page and from time to time "Unable to open initial device, quitting".

For me deleting the printer and re-adding it with the cups webfrontend (accessible via http://localhost:631/ ) solved it.