hplip-3.22.12 doesn't see python3-dbus giving critical error

Asked by mauro

Hi there, merry Xmass.

I have an old hp printer which i working fine with windows. deskjet 880C

Latest try installing hplip is using

hplip-3.23.12.run

exiting with error because missing dependency with python3-dbus which is actually installed. There are also other missing dependency for packages installed but these come with warning

I run Ubuntu LTS22.04. If it helps I have anaconda installed

I run out of options coming to the point I thought the printer was broken which is not because I just tried with windows 10 and as I said it is working

thanks a lot

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

If you are running Ubuntu, then you better use the adapted HPLIP packages (slightly older version) from the Ubuntu repositories instead of the hplip-*.run file (unless you need the newest version).

sudo apt unstall hplip hplip-gui

Revision history for this message
mauro (m-santini) said (last edit ):
#2

Hi Manfred, thanks for your prompt reply.

I tried from the repositories before and tried now one more time.

After sending a file to print I receive an error and running the diagnostic this is the output:

<<<<<<<
Page 1 (<troubleshoot.SchedulerNotRunning.SchedulerNotRunning object at 0x7fb3a8e75330>):
{'cups_connection_failure': False}
Page 2 (<troubleshoot.CheckLocalServerPublishing.CheckLocalServerPublishing object at 0x7fb3a16d83a0>):
{'local_server_exporting_printers': False}
Page 3 (<troubleshoot.ChoosePrinter.ChoosePrinter object at 0x7fb3a16d8550>):
{'cups_dest': <cups.Dest DeskJet_880C>,
 'cups_instance': None,
 'cups_queue': 'DeskJet_880C',
 'cups_queue_listed': True}
Page 4 (<troubleshoot.CheckPrinterSanity.CheckPrinterSanity object at 0x7fb3a16d8640>):
{'cups_device_uri_scheme': 'hp',
 'cups_printer_dict': {'device-uri': 'hp:/usb/DeskJet_880C?serial=HU9381P14FFA',
                       'printer-info': '',
                       'printer-is-shared': True,
                       'printer-location': '',
                       'printer-make-and-model': 'HP Deskjet 880c, hpcups '
                                                 '3.22.10',
                       'printer-state': 3,
                       'printer-state-message': 'ready to print',
                       'printer-state-reasons': ['none'],
                       'printer-type': 167948,
                       'printer-uri-supported': 'ipp://localhost/printers/DeskJet_880C'},
 'cups_printer_remote': False,
 'hplip_output': (['',
                   '\x1b[01mHP Linux Imaging and Printing System (ver. '
                   '3.22.10)\x1b[0m',
                   '\x1b[01mDevice Information Utility ver. 5.2\x1b[0m',
                   '',
                   'Copyright (c) 2001-18 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[01mhp:/usb/DeskJet_880C?serial=HU9381P14FFA\x1b[0m',
                   '',
                   '\x1b[01mDevice Parameters (dynamic data):\x1b[0m',
                   '\x1b[01m Parameter '
                   'Value(s) '
                   '\x1b[0m',
                   ' ---------------------------- '
                   '----------------------------------------------------------',
                   ' agent1-ack '
                   'False ',
                   ' agent1-desc Black '
                   'cartridge ',
                   ' agent1-dvc '
                   '0 ',
                   ' agent1-health '
                   '0 ',
                   ' agent1-health-desc '
                   'Good/OK ',
                   ' agent1-hp-ink '
                   'False ',
                   ' agent1-id '
                   '0 ',
                   ' agent1-kind '
                   '3 ',
                   ' agent1-known '
                   'False ',
                   ' agent1-level '
                   '0 ',
                   ' agent1-level-trigger '
                   '0 ',
                   ' agent1-sku 45 '
                   '(51645A) ',
                   ' agent1-type '
                   '1 ',
                   ' agent1-virgin '
                   'False ',
                   ' agent2-ack '
                   'False ',
                   ' agent2-desc Tri-color '
                   'cartridge ',
                   ' agent2-dvc '
                   '0 ',
                   ' agent2-health '
                   '0 ',
                   ' agent2-health-desc '
                   'Good/OK ',
                   ' agent2-hp-ink '
                   'False ',
                   ' agent2-id '
                   '0 ',
                   ' agent2-kind '
                   '3 ',
                   ' agent2-known '
                   'False ',
                   ' agent2-level '
                   '0 ',
                   ' agent2-level-trigger '
                   '0 ',
                   ' agent2-sku 23 '
                   '(C1823D) ',
                   ' agent2-type '
                   '2 ',
                   ' agent2-virgin '
                   'False ',
                   ' back-end '
                   'hp ',
                   ' cups-printers '
                   "['DeskJet_880C'] ",
                   ' cups-uri '
                   'hp:/usb/DeskJet_880C?serial=HU9381P14FFA ',
                   ' '
                   'dev-file ',
                   ' device-state '
                   '1 ',
                   ' device-uri '
                   'hp:/usb/DeskJet_880C?serial=HU9381P14FFA ',
                   ' deviceid '
                   'MFG:HEWLETT-PACKARD;MDL:DESKJET ',
                   ' '
                   '880C;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Pac',
                   ' kard '
                   'DeskJet ',
                   ' '
                   '880C;SERN:HU9381P14FFA;VSTATUS:$HB0$FC0,ff,DN,IDLE,CUT; ',
                   ' duplexer '
                   '0 ',
                   ' error-state '
                   '0 ',
                   ' '
                   'host ',
                   ' in-tray1 '
                   '0 ',
                   ' in-tray2 '
                   '0 ',
                   ' is-hp '
                   'True ',
                   ' media-path '
                   '1 ',
                   ' panel '
                   '0 ',
                   ' '
                   'panel-line1 ',
                   ' '
                   'panel-line2 ',
                   ' photo-tray '
                   '0 ',
                   ' port '
                   '1 ',
                   ' r '
                   '0 ',
                   ' revision '
                   '255 ',
                   ' rg '
                   '000 ',
                   ' rr '
                   '000000 ',
                   ' rs '
                   '000000000 ',
                   ' serial '
                   'HU9381P14FFA ',
                   ' status-code '
                   '1000 ',
                   ' status-desc '
                   'Idle ',
                   ' supply-door '
                   '0 ',
                   ' top-door '
                   '1 ',
                   '\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 ',
                   ' family-class '
                   "['PCL3-Class3A'] ",
                   ' fax-type '
                   '0 ',
                   ' fw-download '
                   'False ',
                   ' icon '
                   'DESKJET_840C.png ',
                   ' io-mfp-mode '
                   '6 ',
                   ' io-mode '
                   '1 ',
                   ' io-support '
                   '1 ',
                   ' job-storage '
                   '0 ',
                   ' linefeed-cal-type '
                   '0 ',
                   ' model '
                   'DeskJet_880C ',
                   ' model-ui HP Deskjet '
                   '880c ',
                   ' model1 HP Deskjet 880c '
                   'Printer ',
                   ' monitor-type '
                   '0 ',
                   ' panel-check-type '
                   '0 ',
                   ' pcard-type '
                   '0 ',
                   ' plugin '
                   '0 ',
                   ' plugin-reason '
                   '0 ',
                   ' power-settings '
                   '0 ',
                   ' pq-diag-type '
                   '0 ',
                   ' r-type '
                   '0 ',
                   ' r0-agent1-kind '
                   '3 ',
                   ' r0-agent1-sku 45 '
                   '(51645A) ',
                   ' r0-agent1-type '
                   '1 ',
                   ' r0-agent2-kind '
                   '3 ',
                   ' r0-agent2-sku 23 '
                   '(C1823D) ',
                   ' r0-agent2-type '
                   '2 ',
                   ' scan-src '
                   '0 ',
                   ' scan-type '
                   '0 ',
                   ' status-battery-check '
                   '0 ',
                   ' status-dynamic-counters '
                   '0 ',
                   ' status-type '
                   '1 ',
                   ' support-released '
                   'True ',
                   ' support-subtype '
                   '13694 ',
                   ' support-type '
                   '2 ',
                   ' support-ver '
                   '0.9.5 ',
                   ' tech-class '
                   "['DJ8xx'] ",
                   ' tech-subclass '
                   "['Normal'] ",
                   ' tech-type '
                   '2 ',
                   ' usb-pid '
                   '260 ',
                   ' 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',
                   ' -------------------- ----- '
                   '---------------------------------------- -------- '
                   '--------',
                   ' 12/25/23 23:18:02 1000 '
                   'Idle maullon '
                   '0 ',
                   ' 12/25/23 23:17:54 501 Print job has '
                   'completed maullon 489 ',
                   ' 12/25/23 23:17:46 500 Started a print '
                   'job maullon 489 ',
                   ' 12/25/23 23:13:01 1000 '
                   'Idle maullon '
                   '0 ',
                   ' 12/25/23 23:12:34 501 Print job has '
                   'completed maullon 489 ',
                   ' 12/25/23 23:12:26 500 Started a print '
                   'job maullon 489 ',
                   ' 12/25/23 23:11:14 704 Printer set as '
                   'default maullon 0 ',
                   ' 12/25/23 23:11:12 1000 '
                   'Idle maullon '
                   '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': {'charset-configured': 'utf-8',
                                 'charset-supported': ['us-ascii', 'utf-8'],
                                 'color-supported': True,
                                 'compression-supported': ['none', 'gzip'],
                                 'copies-default': 1,
                                 'copies-supported': (1, 9999),
                                 'cups-version': '2.4.1',
                                 'device-uri': 'hp:/usb/DeskJet_880C?serial=HU9381P14FFA',
                                 'document-format-default': 'application/octet-stream',
                                 'document-format-preferred': 'application/pdf',
                                 'document-format-supported': ['application/octet-stream',
                                                               'application/pdf',
                                                               'application/postscript',
                                                               'application/vnd.adobe-reader-postscript',
                                                               'application/vnd.cups-pdf',
                                                               'application/vnd.cups-pdf-banner',
                                                               'application/vnd.cups-postscript',
                                                               'application/vnd.cups-raster',
                                                               'application/vnd.cups-raw',
                                                               'application/x-cshell',
                                                               'application/x-csource',
                                                               'application/x-perl',
                                                               'application/x-shell',
                                                               'image/gif',
                                                               'image/jpeg',
                                                               'image/png',
                                                               'image/pwg-raster',
                                                               'image/tiff',
                                                               'image/urf',
                                                               'image/x-bitmap',
                                                               'image/x-photocd',
                                                               'image/x-portable-anymap',
                                                               'image/x-portable-bitmap',
                                                               'image/x-portable-graymap',
                                                               'image/x-portable-pixmap',
                                                               'image/x-sgi-rgb',
                                                               'image/x-sun-raster',
                                                               'image/x-xbitmap',
                                                               'image/x-xpixmap',
                                                               'image/x-xwindowdump',
                                                               'text/css',
                                                               'text/html',
                                                               'text/plain'],
                                 'finishings-default': 3,
                                 'finishings-supported': [3],
                                 'generated-natural-language-supported': ['en-us'],
                                 'ipp-features-supported': ['subscription-object'],
                                 'ipp-versions-supported': ['1.0',
                                                            '1.1',
                                                            '2.0',
                                                            '2.1'],
                                 'ippget-event-life': 15,
                                 'job-cancel-after-default': 10800,
                                 'job-cancel-after-supported': (0, 2147483647),
                                 'job-creation-attributes-supported': ['copies',
                                                                       'finishings',
                                                                       'finishings-col',
                                                                       'ipp-attribute-fidelity',
                                                                       'job-hold-until',
                                                                       'job-name',
                                                                       'job-priority',
                                                                       'job-sheets',
                                                                       'media',
                                                                       'media-col',
                                                                       'multiple-document-handling',
                                                                       'number-up',
                                                                       'number-up-layout',
                                                                       'orientation-requested',
                                                                       'output-bin',
                                                                       'page-delivery',
                                                                       'page-ranges',
                                                                       'print-color-mode',
                                                                       'print-quality',
                                                                       'print-scaling',
                                                                       'printer-resolution',
                                                                       'sides'],
                                 'job-hold-until-default': 'no-hold',
                                 'job-hold-until-supported': ['no-hold',
                                                              'indefinite',
                                                              'day-time',
                                                              'evening',
                                                              'night',
                                                              'second-shift',
                                                              'third-shift',
                                                              'weekend'],
                                 'job-ids-supported': True,
                                 'job-k-limit': 0,
                                 'job-k-octets-supported': (0, 84082904),
                                 'job-page-limit': 0,
                                 'job-priority-default': 50,
                                 'job-priority-supported': [100],
                                 'job-quota-period': 0,
                                 'job-settable-attributes-supported': ['copies',
                                                                       'finishings',
                                                                       'job-hold-until',
                                                                       'job-name',
                                                                       'job-priority',
                                                                       'media',
                                                                       'media-col',
                                                                       'multiple-document-handling',
                                                                       'number-up',
                                                                       'output-bin',
                                                                       'orientation-requested',
                                                                       'page-ranges',
                                                                       'print-color-mode',
                                                                       'print-quality',
                                                                       'printer-resolution',
                                                                       'sides'],
                                 'job-sheets-default': ('none', 'none'),
                                 'job-sheets-supported': ['none',
                                                          'classified',
                                                          'confidential',
                                                          'form',
                                                          'secret',
                                                          'standard',
                                                          'topsecret',
                                                          'unclassified'],
                                 'jpeg-k-octets-supported': (0, 84082904),
                                 'jpeg-x-dimension-supported': (0, 65535),
                                 'jpeg-y-dimension-supported': (1, 65535),
                                 'marker-change-time': 0,
                                 'media-bottom-margin-supported': [1270],
                                 'media-col-default': '(unknown IPP value tag '
                                                      '0x34)',
                                 'media-col-ready': ['(unknown IPP value tag '
                                                     '0x34)',
                                                     '(unknown IPP value tag '
                                                     '0x34)',
                                                     '(unknown IPP value tag '
                                                     '0x34)',
                                                     '(unknown IPP value tag '
                                                     '0x34)'],
                                 'media-col-supported': ['media-bottom-margin',
                                                         'media-left-margin',
                                                         'media-right-margin',
                                                         'media-size',
                                                         'media-source',
                                                         'media-top-margin',
                                                         'media-type'],
                                 'media-default': 'iso_a4_210x297mm',
                                 'media-left-margin-supported': [635, 318, 343],
                                 'media-ready': ['iso_a6_105x148mm',
                                                 'iso_a5_148x210mm',
                                                 'iso_a4_210x297mm',
                                                 'iso_dl_110x220mm'],
                                 'media-right-margin-supported': [635,
                                                                  318,
                                                                  343],
                                 'media-size-supported': ['(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)',
                                                          '(unknown IPP value '
                                                          'tag 0x34)'],
                                 'media-source-supported': ['auto',
                                                            'photo',
                                                            'top',
                                                            'bottom',
                                                            'envelope',
                                                            'large-capacity',
                                                            'manual',
                                                            'by-pass-tray'],
                                 'media-supported': ['na_index-3x5_3x5in',
                                                     'jpn_hagaki_100x148mm',
                                                     'na_index-4x6_4x6in',
                                                     'iso_a6_105x148mm',
                                                     'na_5x7_5x7in',
                                                     'na_index-5x8_5x8in',
                                                     'custom_200.03x148.17mm_200.03x148.17mm',
                                                     'iso_a5_148x210mm',
                                                     'iso_b5_176x250mm',
                                                     'jis_b5_182x257mm',
                                                     'na_executive_7.25x10.5in',
                                                     'roc_16k_7.75x10.75in',
                                                     'na_letter_8.5x11in',
                                                     'iso_a4_210x297mm',
                                                     'na_foolscap_8.5x13in',
                                                     'na_legal_8.5x14in',
                                                     'na_a2_4.375x5.75in',
                                                     'iso_c6_114x162mm',
                                                     'jpn_chou4_90x205mm',
                                                     'na_monarch_3.875x7.5in',
                                                     'iso_dl_110x220mm',
                                                     'na_number-10_4.125x9.5in',
                                                     'jpn_chou3_120x235mm',
                                                     'iso_c5_162x229mm',
                                                     'om_env-b-5_176.04x250.12mm',
                                                     'custom_min_1x4in',
                                                     'custom_max_8.5x14in'],
                                 'media-top-margin-supported': [318],
                                 'media-type-supported': ['stationery',
                                                          'photographic-glossy'],
                                 'mopria-certified': '1.3',
                                 'multiple-document-handling-supported': ['separate-documents-uncollated-copies',
                                                                          'separate-documents-collated-copies'],
                                 'multiple-document-jobs-supported': True,
                                 'multiple-operation-time-out': 900,
                                 'multiple-operation-time-out-action': 'process-job',
                                 'natural-language-configured': 'en-us',
                                 'notify-attributes-supported': ['printer-state-change-time',
                                                                 'notify-lease-expiration-time',
                                                                 'notify-subscriber-user-name'],
                                 'notify-events-default': ['job-completed'],
                                 'notify-events-supported': ['job-completed',
                                                             'job-config-changed',
                                                             'job-created',
                                                             'job-progress',
                                                             'job-state-changed',
                                                             'job-stopped',
                                                             'printer-added',
                                                             'printer-changed',
                                                             'printer-config-changed',
                                                             'printer-deleted',
                                                             'printer-finishings-changed',
                                                             'printer-media-changed',
                                                             'printer-modified',
                                                             'printer-restarted',
                                                             'printer-shutdown',
                                                             'printer-state-changed',
                                                             'printer-stopped',
                                                             'server-audit',
                                                             'server-restarted',
                                                             'server-started',
                                                             'server-stopped'],
                                 'notify-lease-duration-default': 86400,
                                 'notify-lease-duration-supported': (0,
                                                                     2147483647),
                                 'notify-max-events-supported': [100],
                                 'notify-pull-method-supported': ['ippget'],
                                 'notify-schemes-supported': ['dbus',
                                                              'mailto',
                                                              'rss'],
                                 'number-up-default': 1,
                                 'number-up-layout-supported': ['btlr',
                                                                'btrl',
                                                                'lrbt',
                                                                'lrtb',
                                                                'rlbt',
                                                                'rltb',
                                                                'tblr',
                                                                'tbrl'],
                                 '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,
                                                          56,
                                                          57,
                                                          59,
                                                          16385,
                                                          16386,
                                                          16387,
                                                          16388,
                                                          16389,
                                                          16390,
                                                          16391,
                                                          16392,
                                                          16393,
                                                          16394,
                                                          16395,
                                                          16396,
                                                          16397,
                                                          16398,
                                                          16399,
                                                          16423,
                                                          14],
                                 'orientation-requested-default': None,
                                 'orientation-requested-supported': [3,
                                                                     4,
                                                                     5,
                                                                     6],
                                 'output-bin-default': 'face-down',
                                 'output-bin-supported': ['face-down'],
                                 'page-delivery-supported': ['reverse-order',
                                                             'same-order'],
                                 'page-ranges-supported': True,
                                 'pages-per-minute': 1,
                                 'pages-per-minute-color': 1,
                                 'pdf-k-octets-supported': (0, 84082904),
                                 'pdf-versions-supported': ['adobe-1.2',
                                                            'adobe-1.3',
                                                            'adobe-1.4',
                                                            'adobe-1.5',
                                                            'adobe-1.6',
                                                            'adobe-1.7',
                                                            'iso-19005-1_2005',
                                                            'iso-32000-1_2008',
                                                            'pwg-5102.3'],
                                 'pdl-override-supported': ['attempted'],
                                 'port-monitor': 'none',
                                 'port-monitor-supported': ['none'],
                                 'print-color-mode-default': 'color',
                                 'print-color-mode-supported': ['monochrome',
                                                                'color'],
                                 'print-quality-default': 4,
                                 'print-quality-supported': [4],
                                 'print-scaling-supported': ['auto',
                                                             'auto-fit',
                                                             'fill',
                                                             'fit',
                                                             'none'],
                                 'printer-commands': 'none',
                                 'printer-config-change-date-time': '(IPP_TAG_DATE)',
                                 'printer-config-change-time': 1703542271,
                                 'printer-current-time': '(IPP_TAG_DATE)',
                                 'printer-device-id': 'MFG:HP;MDL:deskjet '
                                                      '880c;DES:deskjet 880c;',
                                 'printer-dns-sd-name': None,
                                 'printer-error-policy': 'retry-job',
                                 'printer-error-policy-supported': ['abort-job',
                                                                    'retry-current-job',
                                                                    'retry-job',
                                                                    'stop-printer'],
                                 'printer-geo-location': '(unknown IPP value '
                                                         'tag 0x12)',
                                 'printer-get-attributes-supported': ['document-format'],
                                 'printer-icons': 'http://localhost/icons/DeskJet_880C.png',
                                 'printer-id': 379,
                                 'printer-info': '',
                                 'printer-is-accepting-jobs': True,
                                 'printer-is-shared': True,
                                 'printer-is-temporary': False,
                                 'printer-location': '',
                                 'printer-make-and-model': 'HP Deskjet 880c, '
                                                           'hpcups 3.22.10',
                                 'printer-more-info': 'http://localhost/printers/DeskJet_880C',
                                 'printer-name': 'DeskJet_880C',
                                 'printer-op-policy': 'default',
                                 'printer-op-policy-supported': ['authenticated',
                                                                 'default',
                                                                 'kerberos'],
                                 'printer-organization': '',
                                 'printer-organizational-unit': '',
                                 'printer-resolution-default': (300, 300, 3),
                                 'printer-resolution-supported': [(300,
                                                                   300,
                                                                   3)],
                                 'printer-settable-attributes-supported': ['printer-geo-location',
                                                                           'printer-info',
                                                                           'printer-location',
                                                                           'printer-organization',
                                                                           'printer-organizational-unit'],
                                 'printer-state': 3,
                                 'printer-state-change-date-time': '(IPP_TAG_DATE)',
                                 'printer-state-change-time': 1703542674,
                                 'printer-state-message': 'ready to print',
                                 'printer-state-reasons': ['none'],
                                 'printer-strings-uri': 'http://localhost/strings/DeskJet_880C.strings',
                                 'printer-type': 167948,
                                 'printer-up-time': 1703542682,
                                 'printer-uri-supported': ['ipp://localhost/printers/DeskJet_880C'],
                                 'printer-uuid': 'urn:uuid:05b607fc-73ba-328e-6eca-52dc73e7a268',
                                 'pwg-raster-document-resolution-supported': [(300,
                                                                               300,
                                                                               3)],
                                 'pwg-raster-document-type-supported': ['black_1',
                                                                        'sgray_8',
                                                                        'srgb_8'],
                                 'queued-job-count': 1,
                                 'server-is-sharing-printers': False,
                                 'sides-default': 'one-sided',
                                 'sides-supported': ['one-sided'],
                                 'urf-supported': ['V1.4',
                                                   'CP1',
                                                   'W8',
                                                   'PQ4',
                                                   'SRGB24',
                                                   'RS300',
                                                   'FN3'],
                                 'uri-authentication-supported': ['requesting-user-name'],
                                 'uri-security-supported': ['none'],
                                 'which-jobs-supported': ['completed',
                                                          'not-completed',
                                                          'aborted',
                                                          'all',
                                                          'canceled',
                                                          'pending',
                                                          'pending-held',
                                                          'processing',
                                                          'processing-stopped']}}
Page 5 (<troubleshoot.CheckPPDSanity.CheckPPDSanity object at 0x7fb3a16d84f0>):
{'cups_printer_ppd_defaults': {'General': {'InputSlot': 'Auto',
                                           'MediaType': 'Plain',
                                           'OutputMode': 'NormalRGB',
                                           'PageRegion': 'A4',
                                           'PageSize': 'A4'}},
 'cups_printer_ppd_valid': True,
 'missing_pkgs_and_exes': ([], [])}
Page 6 (<troubleshoot.LocalOrRemote.LocalOrRemote object at 0x7fb3a16d8580>):
{'printer_is_remote': False}
Page 7 (<troubleshoot.DeviceListed.DeviceListed object at 0x7fb3a16d8760>):
{'cups_device_dict': {'device-class': 'direct',
                      'device-id': 'MFG:Hewlett-Packard;MDL:DeskJet '
                                   '880C;CLS:PRINTER;DES:DeskJet '
                                   '880C;SN:HU9381P14FFA;',
                      'device-info': 'HP DeskJet 880C USB HU9381P14FFA HPLIP',
                      'device-make-and-model': 'HP DeskJet 880C'}}
Page 8 (<troubleshoot.PrinterStateReasons.PrinterStateReasons object at 0x7fb3a16d8940>):
{'printer-state-message': 'ready to print', 'printer-state-reasons': ['none']}
Page 9 (<troubleshoot.VerifyPackages.VerifyPackages object at 0x7fb3a16d8b50>):
{'packages_verification': {'cups': ['package cups is not installed'],
                           'foomatic': ['package foomatic is not installed'],
                           'gutenprint': ['package gutenprint is not '
                                          'installed'],
                           'hpijs': ['package hpijs is not installed'],
                           'hplip': ['package hplip is not installed'],
                           'system-config-printer': ['package '
                                                     'system-config-printer is '
                                                     'not installed']}}
Page 10 (<troubleshoot.ErrorLogCheckpoint.ErrorLogCheckpoint object at 0x7fb3a16d8ca0>):
{'cups_server_settings': {'BrowseLocalProtocols': 'dnssd',
                          'DefaultAuthType': 'Basic',
                          'JobPrivateAccess': 'default',
                          'JobPrivateValues': 'default',
                          'MaxLogSize': '0',
                          'PageLogFormat': '',
                          'SubscriptionPrivateAccess': 'default',
                          'SubscriptionPrivateValues': 'default',
                          'WebInterface': 'Yes',
                          '_debug_logging': '1',
                          '_remote_admin': '0',
                          '_remote_any': '0',
                          '_share_printers': '0',
                          '_user_cancel_any': '0'},
 'error_log_checkpoint': 13615112,
 'error_log_cursor': 's=d525e53a8e874372b6dd1c9f820dceb8;i=47fd77;b=560c26880e8348ae814d5a7dc8f7e6f3;m=aae11faa;t=60d5cf08c9021;x=a2466d9c1fbee87b',
 'error_log_timestamp': '2023-12-25 23:18:07'}
Page 11 (<troubleshoot.PrintTestPage.PrintTestPage object at 0x7fb3a16d8e50>):
{'test_page_job_status': [(False,
                           489,
                           'DeskJet_880C',
                           'Implementing Microsoft Windows Server 2022 using '
                           'HPE ProLiant servers, storage, and networking '
                           'options-a50003760enw.pdf — Implementing Microsoft '
                           'Windows Server 2022 using HPE ProLiant servers, '
                           'storage, and networking options',
                           'Stopped',
                           None)],
 'test_page_successful': False}
Page 12 (<troubleshoot.ErrorLogFetch.ErrorLogFetch object at 0x7fb3a16d8d60>):
{'journal': []}
Page 13 (<troubleshoot.Locale.Locale object at 0x7fb3a16d8f10>):
{'printer_page_size': 'A4',
 'system_locale_lang': None,
 'user_locale_ctype': 'en_US',
 'user_locale_messages': 'en_US'}

>>>>

I also tried hp-check as superuser. I received this error:
error: 'libcups2' package is missing/incompatible

but the package is installed.

Further check: from hp-check I saw it requires CUPS 1.1 and I have installed the 2.4 (default one). This can be the issue but don't know how to check/continue

I also checked the packages "not" installed listed in the diagnosys file and also those packages are not installed

Do you have further suggestions how and what to check?

I was giving up thinking it was printer firmware corrupted until I saw printer works on Windows (using same cable too)

Thanks and merry Xmas

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

It seems that you have an unhealthy mix of different HPLIP versions installed.
There are versions 3.22.12, 3.23.12 and 3.22.10 mentioned above.
I suggest that you remove all of them and then re-install only one, preferably the one from the Ubuntu repositories, which is 3.21.12

Revision history for this message
mauro (m-santini) said :
#4

I tried few option and possibly the uninstall process haven't removed all files and config.

Last time, before i intalled from repositories Ichecked and there was no hp-* cluster of commands so I thought there was no hplip installed.

Said that, after I purge the last installation how do i check if there are old files and configs and how do I remove residual files?

Cheers

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

try the command

find / -iname *hplip* -ls 2>/dev/null

Revision history for this message
mauro (m-santini) said :
#6

Thanks again.

After double checkin no more installation where in the system I installed hplip from Synaptic.

1) first problem was the system couldn't see the models.dat file. I fixed copying instruction from: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1744340

creating the link to the models file

Still not working

2) checked the conf files manually creating the /etc/hp/hplip.conf file with ONLY this content:

[hplip]
version=3.22.10

[dirs]
home=/usr/share/hplip

following suggestion from same post.

If I now run on a shell: hp-setup, the process start but cant find the ppd file

At the same time, if I start hp-toolbox I read this error:
Traceback (most recent call last):
  File "/usr/bin/hp-toolbox", line 269, in <module>
    QApplication, ui_package = utils.import_dialog(ui_toolkit)
TypeError: cannot unpack non-iterable NoneType object

Things are getting more complicated than I expected :(

by all mean, I've seen there is also the hplip app on snap.

Wish a nice 2024

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
mauro (m-santini) said :
#8

Hi everybody,

before close this issue which is not solved, is there any further anybody can suggest?

At the end of the day is an installation /release issue where the problem so far hasn't been finally addressed.

Thanks a lot

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

... but cant find the ppd file ...

Are you member of the "lp" group?

Can you help with this problem?

Provide an answer of your own, or ask mauro for more information if necessary.

To post a message you must log in.