LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 05-28-2016, 06:51 PM   #1
roncat
LQ Newbie
 
Registered: Mar 2015
Posts: 10

Rep: Reputation: Disabled
hplip install centos 6.8


HP CP1025nw
Appears to install all the way but won't print.
Diagnse:
[ron@wahiba hplip-3.16.5]# hp-toolbox
Traceback (most recent call last):
File "/usr/bin/hp-toolbox", line 85, in <module>
'hp-sendfax', 'hp-testpage', 'hp-timedate', 'hp-unload'])
File "/usr/share/hplip/base/module.py", line 210, in setUsage
content.append(utils.USAGE_USE_QT3)
AttributeError: 'module' object has no attribute 'USAGE_USE_QT3'
[ron@wahiba hplip-3.16.5]# exit

Any ideas?
 
Old 05-28-2016, 08:16 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
I fear that your post is far too terse. Could you expand on what exactly is happening, please, so that folks don't have to read between the lines?

What appears to install? HPLIP or the printer?

Last edited by frankbell; 05-28-2016 at 08:17 PM.
 
Old 05-28-2016, 08:57 PM   #3
roncat
LQ Newbie
 
Registered: Mar 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
tried twice
(printing from my Mac laptop on same ethernet works fine. I just re-built my Centos (up to date, 6.8) on a new disk after a crash)
Followed the standard hplip install
1. All seems to install OK but no printing occurs.
diagnostic output follows
Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dest': <cups.Dest CP1025nw>,
'cups_instance': None,
'cups_queue': 'CP1025nw',
'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_CP_1025nw?ip=10.0.0.252',
'printer-info': u'Colour Printer',
'printer-is-shared': False,
'printer-location': u'Study',
'printer-make-and-model': u'HP LaserJet cp1025nw hpijs, 3.16.5, requires proprietary plugin',
'printer-state': 3,
'printer-state-message': u'/usr/lib/cups/filter/foomatic-rip-hplip failed',
'printer-state-reasons': [u'none'],
'printer-type': 10522636,
'printer-uri-supported': u'ipp://localhost:631/printers/CP1025nw'},
'cups_printer_remote': False,
'hplip_output': (['',
'\x1b[01mHP Linux Imaging and Printing System (ver. 3.16.5)\x1b[0m',
'\x1b[01mDevice Information Utility ver. 5.2\x1b[0m',
'',
'Copyright (c) 2001-15 HP 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[35;01mwarning: No display found.\x1b[0m',
'\x1b[31;01merror: hp-info -u/--gui requires Qt4 GUI support. Entering interactive mode.\x1b[0m',
'\x1b[31;01merror: No device found that support this feature.\x1b[0m',
''],
1),
'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.2',
'device-uri': u'hp://net/HP_LaserJet_CP_1025nw?ip=10.0.0.252',
'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-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'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'mls',
u'secret',
u'selinux',
u'standard',
u'te',
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'na_letter_8.5x11in',
'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'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'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'stop-printer',
'printer-error-policy-supported': [u'abort-job',
u'retry-current-job',
u'retry-job',
u'stop-printer'],
'printer-info': u'Colour Printer',
'printer-is-accepting-jobs': True,
'printer-is-shared': False,
'printer-location': u'Study',
'printer-make-and-model': u'HP LaserJet cp1025nw hpijs, 3.16.5, requires proprietary plugin',
'printer-more-info': u'http://localhost:631/printers/CP1025nw',
'printer-name': u'CP1025nw',
'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': 1464486449,
'printer-state-message': u'/usr/lib/cups/filter/foomatic-rip-hplip failed',
'printer-state-reasons': [u'none'],
'printer-type': 10522636,
'printer-up-time': 1464486472,
'printer-uri-supported': [u'ipp://localhost:631/printers/CP1025nw'],
'queued-job-count': 1,
'requesting-user-name-allowed': [u'ron'],
'server-is-sharing-printers': False,
'uri-authentication-supported': [u'requesting-user-name'],
'uri-security-supported': [u'none']}}
Page 4 (Check PPD sanity):
{'cups_printer_ppd_defaults': {u'General': {u'InputSlot': u'Default',
u'MediaType': u'Plain',
u'PageRegion': u'Letter',
u'PageSize': u'Letter',
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 (Printer state reasons):
{'printer-state-message': u'/usr/lib/cups/filter/foomatic-rip-hplip failed',
'printer-state-reasons': [u'none']}
Page 7 (Error log checkpoint):
{'cups_server_settings': {'BrowseLocalProtocols': '',
'BrowseRemoteProtocols': 'CUPS',
'DefaultAuthType': 'Basic',
'MaxLogSize': '0',
'SystemGroup': 'sys root',
'_debug_logging': '0',
'_remote_admin': '0',
'_remote_any': '0',
'_remote_printers': '1',
'_share_printers': '0',
'_user_cancel_any': '0'},
'error_log_checkpoint': 474392,
'error_log_debug_logging_set': True}
Page 8 (Print test page):
{'test_page_job_status': [(False,
22,
'CP1025nw',
'route_net',
'Stopped',
None)],
'test_page_successful': False}
Page 9 (Error log fetch):
{'error_log': ['D [28/May/2016:20:49:22 -0500] cupsdSetBusyState: Dirty files',
'D [28/May/2016:20:49:23 -0500] cupsdReadClient: 13 POST / HTTP/1.1',
'D [28/May/2016:20:49:23 -0500] cupsdSetBusyState: Active clients and dirty files',
'D [28/May/2016:20:49:23 -0500] cupsdAuthorize: No authentication data provided.',
'D [28/May/2016:20:49:23 -0500] cupsdReadClient: 13 1.1 Get-Jobs 1',
'D [28/May/2016:20:49:23 -0500] Get-Jobs ipp://localhost/printers/',
'D [28/May/2016:20:49:23 -0500] [Job 22] Loading attributes...',
'D [28/May/2016:20:49:23 -0500] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost',
'D [28/May/2016:20:49:23 -0500] cupsdSetBusyState: Dirty files',
'D [28/May/2016:20:49:23 -0500] cupsdReadClient: 13 POST / HTTP/1.1',
'D [28/May/2016:20:49:23 -0500] cupsdSetBusyState: Active clients and dirty files',
'D [28/May/2016:20:49:23 -0500] cupsdAuthorize: No authentication data provided.',
'D [28/May/2016:20:49:23 -0500] cupsdReadClient: 13 1.1 Get-Jobs 1',
'D [28/May/2016:20:49:23 -0500] Get-Jobs ipp://localhost/printers/',
'D [28/May/2016:20:49:23 -0500] [Job 20] Loading attributes...',
'D [28/May/2016:20:49:23 -0500] [Job 21] Loading attributes...',
'D [28/May/2016:20:49:23 -0500] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost',
'D [28/May/2016:20:49:23 -0500] cupsdSetBusyState: Dirty files',
'D [28/May/2016:20:49:23 -0500] cupsdReadClient: 13 POST / HTTP/1.1',
'D [28/May/2016:20:49:23 -0500] cupsdSetBusyState: Active clients and dirty files',
'D [28/May/2016:20:49:23 -0500] cupsdAuthorize: No authentication data provided.',
'D [28/May/2016:20:49:23 -0500] cupsdReadClient: 13 1.1 Create-Printer-Subscription 1',
'D [28/May/2016:20:49:23 -0500] Create-Printer-Subscription /',
'D [28/May/2016:20:49:23 -0500] cupsdCreateSubscription(con=0x7fd731608320(13), uri="/")',
'D [28/May/2016:20:49:23 -0500] pullmethod="ippget"',
'D [28/May/2016:20:49:23 -0500] notify-lease-duration=86400',
'D [28/May/2016:20:49:23 -0500] notify-time-interval=0',
'D [28/May/2016:20:49:23 -0500] cupsdAddSubscription(mask=17800, dest=(nil)(), job=(nil)(0), uri="(null)")',
'D [28/May/2016:20:49:23 -0500] Added subscription 39 for server',
'D [28/May/2016:20:49:23 -0500] cupsdMarkDirty(-----S)',
'D [28/May/2016:20:49:23 -0500] Returning IPP successful-ok for Create-Printer-Subscription (/) from localhost',
'D [28/May/2016:20:49:23 -0500] cupsdSetBusyState: Dirty files',
'I [28/May/2016:20:49:24 -0500] Generating printcap /etc/printcap...',
'I [28/May/2016:20:49:24 -0500] Saving subscriptions.conf...',
'D [28/May/2016:20:49:24 -0500] cupsdSetBusyState: Not busy',
'D [28/May/2016:20:49:24 -0500] cupsdReadClient: 13 POST / HTTP/1.1',
'D [28/May/2016:20:49:24 -0500] cupsdSetBusyState: Active clients',
'D [28/May/2016:20:49:24 -0500] cupsdAuthorize: No authentication data provided.',
'D [28/May/2016:20:49:24 -0500] cupsdReadClient: 13 1.1 Get-Notifications 1',
'D [28/May/2016:20:49:24 -0500] Get-Notifications /',
'D [28/May/2016:20:49:24 -0500] cupsdIsAuthorized: requesting-user-name="ron"',
'D [28/May/2016:20:49:24 -0500] Returning IPP successful-ok for Get-Notifications (/) from localhost',
'D [28/May/2016:20:49:24 -0500] cupsdSetBusyState: Not busy',
'D [28/May/2016:20:49:39 -0500] cupsdReadClient: 13 POST / HTTP/1.1',
'D [28/May/2016:20:49:39 -0500] cupsdSetBusyState: Active clients',
'D [28/May/2016:20:49:39 -0500] cupsdAuthorize: No authentication data provided.',
'D [28/May/2016:20:49:39 -0500] cupsdReadClient: 13 1.1 Cancel-Subscription 1',
'D [28/May/2016:20:49:39 -0500] Cancel-Subscription /',
'D [28/May/2016:20:49:39 -0500] cupsdIsAuthorized: requesting-user-name="ron"',
'D [28/May/2016:20:49:39 -0500] cupsdMarkDirty(-----S)',
'D [28/May/2016:20:49:39 -0500] cupsdSetBusyState: Active clients and dirty files',
'D [28/May/2016:20:49:39 -0500] Returning IPP successful-ok for Cancel-Subscription (/) from localhost',
'D [28/May/2016:20:49:39 -0500] cupsdSetBusyState: Dirty files',
'D [28/May/2016:20:49:39 -0500] cupsdAcceptClient: skipping getpeercon()',
'D [28/May/2016:20:49:39 -0500] cupsdAcceptClient: 15 from localhost (Domain)',
'D [28/May/2016:20:49:39 -0500] cupsdAcceptClient: skipping getpeercon()',
'D [28/May/2016:20:49:39 -0500] cupsdAcceptClient: 16 from localhost (Domain)',
'D [28/May/2016:20:49:39 -0500] cupsdReadClient: 16 GET /admin/log/error_log HTTP/1.1',
'D [28/May/2016:20:49:39 -0500] cupsdSetBusyState: Active clients and dirty files',
'D [28/May/2016:20:49:39 -0500] cupsdAuthorize: No authentication data provided.'],
'error_log_debug_logging_unset': True}
Page 10 (Locale issues):
{'printer_page_size': u'Letter',
'system_locale_lang': 'en_US',
'user_locale_ctype': 'en_US',
'user_locale_messages': 'en_US'}hplip install goes OK until hp-setup stage
---------------------------------
2. tried to reinstall
I get the Python error (my defauly python is v.2
HP CP1025nw
Appears to install all the way but won't print.
Diagnse:
[ron@wahiba hplip-3.16.5]# hp-toolbox
Traceback (most recent call last):
File "/usr/bin/hp-toolbox", line 85, in <module>
'hp-sendfax', 'hp-testpage', 'hp-timedate', 'hp-unload'])
File "/usr/share/hplip/base/module.py", line 210, in setUsage
content.append(utils.USAGE_USE_QT3)
AttributeError: 'module' object has no attribute 'USAGE_USE_QT3'
[ron@wahiba hplip-3.16.5]# exit
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cannot install hplip on Debian makeyourself Linux - Software 1 10-08-2015 09:22 AM
hplip problem in Centos 5.8 whiteware Linux - Software 1 09-12-2012 05:43 PM
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 10:23 AM
hplip-1.7.1 won't install. cwizardone Slackware 66 05-23-2007 10:19 PM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration