Printer Sharing Fails to Windows 10

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
User avatar
windyweather
Level 3
Level 3
Posts: 141
Joined: Wed Nov 09, 2011 8:34 pm
Location: Coos Bay, OR

Printer Sharing Fails to Windows 10

Post by windyweather » Fri Oct 06, 2017 2:41 pm

I'd like to print directly from my LM 18.2 system to a shared printer on Windows 10. File sharing is installed and working in both directions.
When I install the printer using the instructions at
http://www.itzgeek.com/how-tos/linux/li ... nt-12.html

Things seem to work, except that after it says the printer is there and installed it says it is unable to connect to the printer.

Full details are here:
https://windyweather.net/2016/10/06/lm- ... -problems/

Win10 systems on my network can print to this shared printer. The LM 18.2 system sees it, apparently installs it and then fails to be able to use it.
Thanks,
ww
[LM 18, LM 19 in VirtualBox / Windows 10 Host on AMD Ryzen 1800x, 32GB, 1TB of SSDs]

User avatar
windyweather
Level 3
Level 3
Posts: 141
Joined: Wed Nov 09, 2011 8:34 pm
Location: Coos Bay, OR

Test page came out, but nothing new does

Post by windyweather » Sat Oct 07, 2017 1:31 am

I copied a file from the Linux system to the Windows system where the printer lives and printed it there. Worked fine of course.

But then about 1/2 an hour later, the printer test page - you remember the one I tried to print about 11 hours ago? Well it came out. So I tried to print something else. Brought up an image and chose print from the menu. Then clicked preview, which apparently made a pdf from the image viewer of the image. Then I printed the PDF. Now notifications are popping up every few seconds saying "Printer Error <printer name here> 'connecting to device'. But nothing is happening.

So it looks like printer support is DOA. Almost there, but not quite. Unless you want to wait 11 hours for your pages?

I have done some searches and can't find a way to see the print queue or cancel a failed or failing print job.
Some stuff from 2011 / 2012 says something about an applet in the notification area, but there's nothing showing, except the blinking notification which only lasts a couple of seconds before disappearing. Is there a printer queue or status app? Some way to cancel a print job that's stuck? What if the printer fell off a cliff and will never answer?

odd
ww
[LM 18, LM 19 in VirtualBox / Windows 10 Host on AMD Ryzen 1800x, 32GB, 1TB of SSDs]

User avatar
windyweather
Level 3
Level 3
Posts: 141
Joined: Wed Nov 09, 2011 8:34 pm
Location: Coos Bay, OR

CUPS Troubleshoot Info

Post by windyweather » Sat Oct 07, 2017 1:50 am

Is this useful?

Code: Select all

Page 1 (<troubleshoot.SchedulerNotRunning.SchedulerNotRunning object at 0x7f46ec6cee80>):
{'cups_connection_failure': False}
Page 2 (<troubleshoot.CheckLocalServerPublishing.CheckLocalServerPublishing object at 0x7f46ec6ceb38>):
{'local_server_exporting_printers': False}
Page 3 (<troubleshoot.ChoosePrinter.ChoosePrinter object at 0x7f46ec6ce518>):
{'cups_dest': <cups.Dest Hewlett-Packard-HP-Color-LaserJet-Pro-M252dw (default)>,
 'cups_instance': None,
 'cups_queue': 'Hewlett-Packard-HP-Color-LaserJet-Pro-M252dw',
 'cups_queue_listed': True}
Page 4 (<troubleshoot.CheckPrinterSanity.CheckPrinterSanity object at 0x7f46ec6ce6d8>):
{'cups_device_uri_scheme': 'dnssd',
 'cups_printer_dict': {'device-uri': 'dnssd://HP%20Color%20LaserJet%20Pro%20M252dw%20(122EEA)._ipp._tcp.local/?uuid=564e4233-4237-3933-3930-c8d3ff122eea',
                       'printer-info': 'Hewlett-Packard HP Color LaserJet Pro '
                                       'M252dw',
                       'printer-is-shared': True,
                       'printer-location': '',
                       'printer-make-and-model': 'HP Color LaserJet Pro M252 '
                                                 'Postscript (recommended)',
                       'printer-state': 4,
                       'printer-state-message': 'Unable to locate printer.',
                       'printer-state-reasons': ['offline-report',
                                                 'connecting-to-device'],
                       'printer-type': 8556556,
                       'printer-uri-supported': 'ipp://localhost/printers/Hewlett-Packard-HP-Color-LaserJet-Pro-M252dw'},
 'cups_printer_remote': False,
 '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.1.3',
                                 'device-uri': 'dnssd://HP%20Color%20LaserJet%20Pro%20M252dw%20(122EEA)._ipp._tcp.local/?uuid=564e4233-4237-3933-3930-c8d3ff122eea',
                                 'document-format-default': 'application/octet-stream',
                                 'document-format-supported': ['application/octet-stream',
                                                               'application/pdf',
                                                               'application/postscript',
                                                               'application/vnd.adobe-reader-postscript',
                                                               'application/vnd.cups-command',
                                                               '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',
                                                                       'ipp-attribute-fidelity',
                                                                       'job-hold-until',
                                                                       'job-name',
                                                                       'job-priority',
                                                                       'job-sheets',
                                                                       'media',
                                                                       'media-col',
                                                                       'multiple-document-handling',
                                                                       'number-up',
                                                                       'output-bin',
                                                                       'orientation-requested',
                                                                       'page-ranges',
                                                                       'print-color-mode',
                                                                       'print-quality',
                                                                       '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, 447118208),
                                 '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, 447118208),
                                 'jpeg-x-dimension-supported': (0, 65535),
                                 'jpeg-y-dimension-supported': (1, 65535),
                                 'marker-change-time': 0,
                                 'media-bottom-margin-supported': [423],
                                 'media-col-default': '(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': 'na_letter_8.5x11in',
                                 'media-left-margin-supported': [423],
                                 'media-right-margin-supported': [423],
                                 '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)'],
                                 'media-source-supported': ['auto',
                                                            'tray-1',
                                                            'tray-2',
                                                            'manual-feed'],
                                 'media-supported': ['na_letter_8.5x11in',
                                                     'na_legal_8.5x14in',
                                                     'na_executive_7.25x10.5in',
                                                     'na_foolscap_8.5x13in',
                                                     'na_index-4x6_4x6in',
                                                     'na_index-5x8_5x8in',
                                                     'iso_a4_210x297mm',
                                                     'iso_a5_148x210mm',
                                                     'iso_a6_105x148mm',
                                                     'jis_b5_182x257mm',
                                                     'jis_b6_128x182mm',
                                                     'om_env-4x-6_101.6x152.05mm',
                                                     'na_oficio_8.5x13.4in',
                                                     'custom_195.09x269.88mm_195.09x269.88mm',
                                                     'custom_184.15x260mm_184.15x260mm',
                                                     'oe_7.75x10.75in_7.75x10.75in',
                                                     'jpn_hagaki_100x148mm',
                                                     'jpn_oufuku_148x200mm',
                                                     'na_number-10_4.125x9.5in',
                                                     'na_monarch_3.875x7.5in',
                                                     'om_env-isob-5_176.04x250.12mm',
                                                     'iso_c5_162x229mm',
                                                     'iso_dl_110x220mm',
                                                     'custom_min_3x5in',
                                                     'custom_max_8.5x14in'],
                                 'media-top-margin-supported': [423],
                                 'media-type-supported': ['unspecified',
                                                          'stationery',
                                                          'hpeco-smartlite',
                                                          'hplaser-jet-90',
                                                          'hpcolor-laser-matte-105',
                                                          'hppremium-choice-matte-120',
                                                          'hpbrochure-matte-150',
                                                          'hpcover-matte-200',
                                                          'hpmatte-photo-200',
                                                          'hppremium-presentation-glossy-120',
                                                          'hpbrochure-glossy-150',
                                                          'hptrifold-brochure-glossy-150',
                                                          'hpbrochure-glossy-200',
                                                          'light-6074',
                                                          'intermediate-8595',
                                                          'mid-weight-96110',
                                                          'heavy-111130',
                                                          'extra-heavy-131175',
                                                          'heavy-glossy-111130',
                                                          'extra-heavy-glossy-131175',
                                                          'cardstock',
                                                          'color-laser-transparency',
                                                          'labels',
                                                          'stationery-letterhead',
                                                          'envelope',
                                                          'heavy-envelope',
                                                          'stationery-preprinted',
                                                          'prepunched',
                                                          'colored',
                                                          'bond',
                                                          'stationery-recycled',
                                                          'rough',
                                                          'heavy-rough',
                                                          'opaque-film'],
                                 'multiple-document-handling-supported': ['separate-documents-uncollated-copies',
                                                                          'separate-documents-collated-copies'],
                                 'multiple-document-jobs-supported': True,
                                 'multiple-operation-time-out': 300,
                                 '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-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-ranges-supported': True,
                                 'pages-per-minute': 19,
                                 'pages-per-minute-color': 19,
                                 'pdf-k-octets-supported': (0, 447118208),
                                 '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', 'tbcp'],
                                 'print-color-mode-default': 'color',
                                 'print-color-mode-supported': ['monochrome',
                                                                'color'],
                                 'print-quality-default': 4,
                                 'print-quality-supported': [4],
                                 'printer-commands': 'ReportLevels',
                                 'printer-config-change-date-time': '(IPP_TAG_DATE)',
                                 'printer-config-change-time': 1507311240,
                                 'printer-current-time': '(IPP_TAG_DATE)',
                                 'printer-device-id': 'MFG:Hewlett-Packard;MDL:hp '
                                                      'color laserjet pro '
                                                      'm252;',
                                 '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/Hewlett-Packard-HP-Color-LaserJet-Pro-M252dw.png',
                                 'printer-info': 'Hewlett-Packard HP Color '
                                                 'LaserJet Pro M252dw',
                                 'printer-is-accepting-jobs': True,
                                 'printer-is-shared': True,
                                 'printer-location': '',
                                 'printer-make-and-model': 'HP Color LaserJet '
                                                           'Pro M252 '
                                                           'Postscript '
                                                           '(recommended)',
                                 'printer-more-info': 'http://localhost/printers/Hewlett-Packard-HP-Color-LaserJet-Pro-M252dw',
                                 'printer-name': 'Hewlett-Packard-HP-Color-LaserJet-Pro-M252dw',
                                 'printer-op-policy': 'default',
                                 'printer-op-policy-supported': ['authenticated',
                                                                 'default'],
                                 'printer-organization': '',
                                 'printer-organizational-unit': '',
                                 'printer-resolution-default': (600, 600, 3),
                                 'printer-resolution-supported': [(600,
                                                                   600,
                                                                   3)],
                                 'printer-settable-attributes-supported': ['printer-geo-location',
                                                                           'printer-info',
                                                                           'printer-location',
                                                                           'printer-organization',
                                                                           'printer-organizational-unit'],
                                 'printer-state': 4,
                                 'printer-state-change-date-time': '(IPP_TAG_DATE)',
                                 'printer-state-change-time': 1507353723,
                                 'printer-state-message': 'Unable to locate '
                                                          'printer.',
                                 'printer-state-reasons': ['offline-report',
                                                           'connecting-to-device'],
                                 'printer-type': 8556556,
                                 'printer-up-time': 1507354841,
                                 'printer-uri-supported': ['ipp://localhost/printers/Hewlett-Packard-HP-Color-LaserJet-Pro-M252dw'],
                                 'printer-uuid': 'urn:uuid:5f07355a-043a-3070-4257-6832a3bf7668',
                                 'pwg-raster-document-resolution-supported': [(600,
                                                                               600,
                                                                               3)],
                                 'pwg-raster-document-sheet-back': 'normal',
                                 'pwg-raster-document-type-supported': ['adobergb-8',
                                                                        'adobergb-16',
                                                                        'black-1',
                                                                        'black-8',
                                                                        'black-16',
                                                                        'cmyk-8',
                                                                        'cmyk-16',
                                                                        'rgb-8',
                                                                        'rgb-16',
                                                                        'sgray-1',
                                                                        'sgray-8',
                                                                        'sgray-16',
                                                                        'srgb-8',
                                                                        'srgb-16'],
                                 'queued-job-count': 1,
                                 'server-is-sharing-printers': False,
                                 'sides-default': 'one-sided',
                                 'sides-supported': ['one-sided'],
                                 '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 0x7f46ec6ce8d0>):
{'cups_printer_ppd_defaults': {'General': {'Duplex': 'None',
                                           'InputSlot': 'Auto',
                                           'PageRegion': 'Letter',
                                           'PageSize': 'Letter'},
                               'HPColorOptionsPanel': {'HPEdgeControl': 'Normal',
                                                       'HPGeneralHalftone': 'Smooth',
                                                       'HPGraphicsNeutralGrays': 'Black',
                                                       'HPPJLColorAsGray': 'no',
                                                       'HPPhotoNeutralGrays': 'ProcessBlack',
                                                       'HPRGBEmulation': 'DefaultSRGB',
                                                       'HPTextNeutralGrays': 'Black'},
                               'HPPaperQualityPanel': {'HPPJLEconoMode': 'False',
                                                       'MediaType': 'Unspecified'},
                               'InstallableOptions': {'HPOption_Duplexer': 'False'}},
 'cups_printer_ppd_valid': True,
 'missing_pkgs_and_exes': ([], [])}
Page 6 (<troubleshoot.LocalOrRemote.LocalOrRemote object at 0x7f46ec6c34e0>):
{'printer_is_remote': False}
Page 7 (<troubleshoot.PrinterStateReasons.PrinterStateReasons object at 0x7f46ec6dbf28>):
{'printer-state-message': 'Unable to locate printer.',
 'printer-state-reasons': ['offline-report']}
Page 8 (<troubleshoot.PrinterStateReasons.PrinterStateReasons object at 0x7f46effdb898>):
{'printer-state-message': 'Unable to locate printer.',
 'printer-state-reasons': ['offline-report', 'connecting-to-device']}
Page 9 (<troubleshoot.Locale.Locale object at 0x7f46effdba58>):
{'printer_page_size': 'Letter',
 'system_locale_lang': None,
 'user_locale_ctype': 'en_US',
 'user_locale_messages': 'en_US'}
I did the trouble shooting thing with system-config-printer
[LM 18, LM 19 in VirtualBox / Windows 10 Host on AMD Ryzen 1800x, 32GB, 1TB of SSDs]

User avatar
windyweather
Level 3
Level 3
Posts: 141
Joined: Wed Nov 09, 2011 8:34 pm
Location: Coos Bay, OR

Oh, I see. It's called Printers

Post by windyweather » Sat Oct 07, 2017 1:55 am

So system-config-printer is actually called Printers in the menus and if you select "View Print Queue" or use Ctrl-F you see the jobs. And you can cancel them. So that old post that wanted to use a terminal has a better solution. The program is not just for Configuring printers but for managing printers and their queues. Good to know. And completely overlooked in the pages that got me here.

Printer still doesn't work, but at least I can cancel the job that was causing a failed notification every 2 sec.
[LM 18, LM 19 in VirtualBox / Windows 10 Host on AMD Ryzen 1800x, 32GB, 1TB of SSDs]

Post Reply

Return to “Other networking topics”