linux user group brescia

immagine del castello

Archivio della mailing list

[LugBS] [Ubuntu] problemi con CUPS Scheduler - non stampa

Mauro Marenzi Ing. karmarenzi a gmail.com
Dom 17 Gen 2021 21:24:04 UTC
Ciao raga',
BUON ANNO !

Spero tutto proceda bene anche per voi :-)

In verità io una difficoltà l'ho già incontrata: non riesco a stampare 
da Ubuntu 16.04 LTS con una Laserjet b/nero mod.CANON LBP2900 i-sensys

o meglio: ho configurato (vedi sotto) la stampante, che viene vista come 
Stampante predefinita; vedo l'anteprima del/i foglio/i, lancio la Stampa ...

MA ... il job di stampa passa nello stato:
Elaborazione in corso – invio dei dati alla stampante [ “in 
elaborazione/in attesa 1/0” ]
e poi risulta “completato” … _ma NON stampa_ ! (non scatta nulla sulla 
stampante).

Questa è la procedura che ho seguito nell'installazione:

1) aggiornato Ubuntu 16.04

Linux obelix3 4.15.0-128-generic #131~16.04.1-Ubuntu SMP Wed Dec 9 
17:33:47 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

2) _*Installare*____CANON LBP2900_

Scaricare i CAPT Drivers direttamente dal sito ufficiale CANON =

https://www.canon.it/support/consumer_products/products/printers/laser/i-sensys_lbp2900.html?type=drivers&driverdetailid=tcm:80-1000724&os=linux%20%2864-bit%29&language=it

DECOMPRIMERE la Cartella

linux-capt-drv-v271-uken

Installare _PRIMA_ i Servizi Comuni CUPS - (64-bit_Driver)

cndrvcups-common_3.21-1_amd64.deb

Installare DOPO il Driver CAPT - (64-bit_Driver)

cndrvcups-capt_2.71-1_amd64.deb

_*Spegnere la stampante e riavviare il computer. Una volta riacceso il 
PC, accendere la stampante.*_

VERIFICATO l'installazione: con UBUNTU 16.04 si configura come Stampante 
principale, e si riescono ad utilizzare le sue schede/variabili di 
configurazione dai Drivers installati:

# dpkg -l | grep cndrvcups

ii cndrvcups-capt 2.71-1 amd64 Canon CAPT Printer Driver for Linux

ii cndrvcups-common 3.21-1 amd64 Canon Printer Driver Common Modules 
Ver.3.21


Questo è il log di debug attivato dal Printing troubleshooter

3) -- Logs begin at dom 2021-01-17 20:53:21 CET, end at dom 2021-01-17 
21:14:03 CET. --
gen 17 20:53:38 obelix3 systemd[1]: Started CUPS Scheduler.
gen 17 20:55:00 obelix3 /hpfax[2221]: [2221]: error: Failed to create 
/var/spool/cups/tmp/.hplip

.... vedi logfile allegato


in attesa di un vero pane&salame, vi saluto e abbraccio tutti !
Grazie
Mmz

-- 
Best regards.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ing. Mauro Marenzi
addr.   via Torino 10 , 25073  Bovezzo BS – Italy
mobile: (+39) 329.3593706
email:  karmarenzi a gmail.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lugbs.linux.it/pipermail/lug/attachments/20210117/e4a7856e/attachment-0001.html>
-------------- parte successiva --------------
Page 1 (<troubleshoot.SchedulerNotRunning.SchedulerNotRunning object at 0x7f7e8101cf98>):
{'cups_connection_failure': False}
Page 2 (<troubleshoot.CheckLocalServerPublishing.CheckLocalServerPublishing object at 0x7f7e8100f2b0>):
{'local_server_exporting_printers': False}
Page 3 (<troubleshoot.ChoosePrinter.ChoosePrinter object at 0x7f7e810237b8>):
{'cups_dest': <cups.Dest LBP2900 (default)>,
 'cups_instance': None,
 'cups_queue': 'LBP2900',
 'cups_queue_listed': True}
Page 4 (<troubleshoot.CheckPrinterSanity.CheckPrinterSanity object at 0x7f7e81023cc0>):
{'cups_device_uri_scheme': 'usb',
 'cups_printer_dict': {'device-uri': 'usb://Canon/LBP2900?serial=0000D168FDGY',
                       'printer-info': 'Canon LBP2900',
                       'printer-is-shared': True,
                       'printer-location': 'obelix3',
                       'printer-make-and-model': 'Canon LBP2900 CAPT ver.1.5',
                       'printer-state': 3,
                       'printer-state-message': 'Invio dei dati alla '
                                                'stampante.',
                       'printer-state-reasons': ['none'],
                       'printer-type': 8523908,
                       'printer-uri-supported': 'ipp://localhost/printers/LBP2900'},
 'cups_printer_remote': False,
 'is_cups_class': False,
 'local_cups_queue_attributes': {'charset-configured': 'utf-8',
                                 'charset-supported': ['us-ascii', 'utf-8'],
                                 'color-supported': False,
                                 'compression-supported': ['none', 'gzip'],
                                 'copies-default': 1,
                                 'copies-supported': (1, 9999),
                                 'cups-version': '2.1.3',
                                 'device-uri': 'usb://Canon/LBP2900?serial=0000D168FDGY',
                                 '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': ['it-it'],
                                 'ipp-features-supported': ['subscription-object'],
                                 'ipp-versions-supported': ['1.0',
                                                            '1.1',
                                                            '2.0',
                                                            '2.1'],
                                 'ippget-event-life': 15,
                                 'job-cancel-after-default': 30000,
                                 '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, 41153856),
                                 '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, 41153856),
                                 'jpeg-x-dimension-supported': (0, 65535),
                                 'jpeg-y-dimension-supported': (1, 65535),
                                 'marker-change-time': 0,
                                 'media-bottom-margin-supported': [500, 999],
                                 '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': 'iso_a4_210x297mm',
                                 'media-left-margin-supported': [500, 999],
                                 'media-right-margin-supported': [500,
                                                                  999,
                                                                  1000],
                                 '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)'],
                                 'media-source-supported': ['0'],
                                 'media-supported': ['na_letter_8.5x11in',
                                                     'na_legal_8.5x14in',
                                                     'na_executive_7.25x10.5in',
                                                     'iso_a5_148x210mm',
                                                     'jis_b5_182x257mm',
                                                     'iso_a4_210x297mm',
                                                     'om_com-10_104.78x241.3mm',
                                                     'om_dl-envelope_110.07x220.13mm',
                                                     'om_envelope-c-5_161.93x228.95mm',
                                                     'om_monarch_98.43x190.5mm',
                                                     'oe_index--3x-5_3x5in'],
                                 'media-top-margin-supported': [500, 999, 1000],
                                 'media-type-supported': ['stationery',
                                                          'stationery',
                                                          'thick-paper',
                                                          'thick-paper-h',
                                                          'ohp',
                                                          'envelope'],
                                 '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': 'it-it',
                                 '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': 12,
                                 'pdf-k-octets-supported': (0, 41153856),
                                 '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': 'monochrome',
                                 'print-color-mode-supported': ['monochrome'],
                                 'print-quality-default': 4,
                                 'print-quality-supported': [4],
                                 'printer-commands': ['AutoConfigure',
                                                      'Clean',
                                                      'PrintSelfTestPage'],
                                 'printer-config-change-date-time': '(IPP_TAG_DATE)',
                                 'printer-config-change-time': 1610898871,
                                 'printer-current-time': '(IPP_TAG_DATE)',
                                 '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/LBP2900.png',
                                 'printer-info': 'Canon LBP2900',
                                 'printer-is-accepting-jobs': True,
                                 'printer-is-shared': True,
                                 'printer-location': 'obelix3',
                                 'printer-make-and-model': 'Canon LBP2900 CAPT '
                                                           'ver.1.5',
                                 'printer-more-info': 'http://localhost/printers/LBP2900',
                                 'printer-name': 'LBP2900',
                                 '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': 3,
                                 'printer-state-change-date-time': '(IPP_TAG_DATE)',
                                 'printer-state-change-time': 1610913514,
                                 'printer-state-message': 'Invio dei dati alla '
                                                          'stampante.',
                                 'printer-state-reasons': ['none'],
                                 'printer-type': 8523908,
                                 'printer-up-time': 1610914225,
                                 'printer-uri-supported': ['ipp://localhost/printers/LBP2900'],
                                 'printer-uuid': 'urn:uuid:2cdaefa7-2cd8-3922-657c-11fb9a4eefb4',
                                 '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': 0,
                                 '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 0x7f7e81023c50>):
{'cups_printer_ppd_defaults': {'General': {'BitsPerPixel': '8',
                                           'CNHalftone': 'pattern1',
                                           'CNSuperSmooth': 'True',
                                           'CNTonerDensity': '3',
                                           'CNTonerSaving': 'True',
                                           'Collate': 'False',
                                           'InputSlot': '0',
                                           'MediaType': 'PlainPaper',
                                           'PageRegion': 'A4',
                                           'PageSize': 'A4',
                                           'Resolution': '600'}},
 'cups_printer_ppd_valid': True,
 'missing_pkgs_and_exes': ([], [])}
Page 6 (<troubleshoot.LocalOrRemote.LocalOrRemote object at 0x7f7e81023748>):
{'printer_is_remote': False}
Page 7 (<troubleshoot.DeviceListed.DeviceListed object at 0x7f7e81023080>):
{'cups_device_dict': {'device-class': 'direct',
                      'device-id': 'MFG:Canon;MDL:LBP2900;CMD:CAPT;VER:2.1;CLS:PRINTER;DES:Canon '
                                   'LBP2900',
                      'device-info': 'Canon LBP2900',
                      'device-make-and-model': 'Canon LBP2900'}}
Page 8 (<troubleshoot.PrinterStateReasons.PrinterStateReasons object at 0x7f7e811eefd0>):
{'printer-state-message': 'Invio dei dati alla stampante.',
 'printer-state-reasons': ['none']}
Page 9 (<troubleshoot.PrintTestPage.PrintTestPage object at 0x7f7e8120ae10>):
{'test_page_attempted': '17/gen/2021:21:10:57 +0100',
 'test_page_completions': [(15, 'Job completed.')],
 'test_page_job_id': [15],
 'test_page_job_status': [(True,
                           15,
                           'LBP2900',
                           'Test Page',
                           'Completed',
                           {'attributes-charset': 'utf-8',
                            'attributes-natural-language': 'it-it',
                            'date-time-at-completed': '(IPP_TAG_DATE)',
                            'date-time-at-creation': '(IPP_TAG_DATE)',
                            'date-time-at-processing': '(IPP_TAG_DATE)',
                            'document-format': 'application/vnd.cups-pdf-banner',
                            'document-format-detected': 'application/vnd.cups-pdf-banner',
                            'job-cancel-after': 30000,
                            'job-hold-until': 'no-hold',
                            'job-id': 15,
                            'job-impressions-completed': 0,
                            'job-k-octets': 1,
                            'job-media-progress': 0,
                            'job-media-sheets-completed': 0,
                            'job-more-info': 'http://localhost/jobs/15',
                            'job-preserved': True,
                            'job-printer-state-message': '',
                            'job-printer-state-reasons': ['none'],
                            'job-printer-up-time': 1610914274,
                            'job-printer-uri': 'ipp://localhost/printers/LBP2900',
                            'job-priority': 50,
                            'job-sheets': ['none', 'none'],
                            'job-state': 9,
                            'job-state-reasons': 'processing-to-stop-point',
                            'job-uri': 'ipp://localhost/jobs/15',
                            'job-uuid': 'urn:uuid:3d62da13-7d63-32a5-4800-c095bbfa402f',
                            'number-of-documents': 1,
                            'printer-uri': 'ipp://localhost/printers/LBP2900',
                            'time-at-completed': 1610914267,
                            'time-at-creation': 1610914257,
                            'time-at-processing': 1610914257})],
 'test_page_successful': False}
Page 10 (<troubleshoot.Locale.Locale object at 0x7f7e8121a630>):
{'printer_page_size': 'A4',
 'system_locale_lang': None,
 'user_locale_ctype': 'it_IT',
 'user_locale_messages': 'it_IT'}


Maggiori informazioni sulla lista Lug