У меня стоит Debian с окружение xfce
Подключил принтер, через капс (локалхост:631) установил его предварительно установив пакет ппд с сайта гудекса.
Принтер в системе определяется как Godex DT2. Не отправляется на печать документ. Подскажите, пожалуйста, что не так?… Диагности выдает это:
{'cups_connection_failure': False}
Page 2 (<troubleshoot.ChoosePrinter.ChoosePrinter object at 0x7f552cb6e080>):
{'cups_dest': <cups.Dest GODEX_DT2>,
'cups_instance': None,
'cups_queue': 'GODEX_DT2',
'cups_queue_listed': True}
Page 3 (<troubleshoot.CheckPrinterSanity.CheckPrinterSanity object at 0x7f552cb6eba8>):
{'cups_device_uri_scheme': 'usb',
'cups_printer_dict': {'device-uri': 'usb://GODEX/DT2?serial=19120DC3',
'printer-info': 'GODEX DT2',
'printer-is-shared': False,
'printer-location': '',
'printer-make-and-model': 'GODEX DT2, 1.1.4',
'printer-state': 3,
'printer-state-message': 'Rendering completed',
'printer-state-reasons': ['none'],
'printer-type': 2134084,
'printer-uri-supported': 'ipp://localhost/printers/GODEX_DT2'},
'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.2.10',
'device-uri': 'usb://GODEX/DT2?serial=19120DC3',
'document-format-default': 'application/octet-stream',
'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': ['ru-ru'],
'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, 110288292),
'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, 110288292),
'jpeg-x-dimension-supported': (0, 65535),
'jpeg-y-dimension-supported': (1, 65535),
'marker-change-time': 0,
'media-bottom-margin-supported': [0],
'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': 'om_w114h130_40.22x45.86mm',
'media-left-margin-supported': [0],
'media-right-margin-supported': [0],
'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)'],
'media-supported': ['om_w114h48_40.22x16.93mm',
'om_w114h57_40.22x20.11mm',
'om_w114h85_40.22x29.99mm',
'om_w114h100_40.22x35.28mm',
'om_w114h130_40.22x45.86mm',
'om_w142h57_50.09x20.11mm',
'om_w142h71_50.09x25.05mm',
'om_w142h85_50.09x29.99mm',
'om_w142h100_50.09x35.28mm',
'om_w142h114_50.09x40.22mm',
'om_w142h144_50.09x50.09mm',
'om_w154h114_54.33x40.22mm',
'om_w154h150_54.33x52.92mm',
'om_w154h215_54.33x75.85mm',
'custom_min_15x4mm',
'custom_max_53.85x1727.2mm'],
'media-top-margin-supported': [0],
'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': 'ru-ru',
'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': 1,
'pdf-k-octets-supported': (0, 110288292),
'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': 'none',
'printer-config-change-date-time': '(IPP_TAG_DATE)',
'printer-config-change-time': 1584546396,
'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/GODEX_DT2.png',
'printer-info': 'GODEX DT2',
'printer-is-accepting-jobs': True,
'printer-is-shared': False,
'printer-is-temporary': False,
'printer-location': '',
'printer-make-and-model': 'GODEX DT2, 1.1.4',
'printer-more-info': 'http://localhost/printers/GODEX_DT2',
'printer-name': 'GODEX_DT2',
'printer-op-policy': 'default',
'printer-op-policy-supported': ['authenticated',
'default',
'kerberos'],
'printer-organization': '',
'printer-organizational-unit': '',
'printer-resolution-default': (203, 203, 3),
'printer-resolution-supported': [(203,
203,
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': 1584546401,
'printer-state-message': 'Rendering completed',
'printer-state-reasons': ['none'],
'printer-type': 2134084,
'printer-up-time': 1584546409,
'printer-uri-supported': ['ipp://localhost/printers/GODEX_DT2'],
'printer-uuid': 'urn:uuid:df86f8a1-9302-3fd6-7d63-336e94fc21e0',
'pwg-raster-document-resolution-supported': [(203,
203,
3)],
'pwg-raster-document-sheet-back': 'normal',
'pwg-raster-document-type-supported': ['black_1',
'sgray_8'],
'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 4 (<troubleshoot.CheckPPDSanity.CheckPPDSanity object at 0x7f552cb6e048>):
{'cups_printer_ppd_defaults': {'General': {'PageRegion': 'w114h130',
'PageSize': 'w114h130',
'Resolution': '203dpi',
'cupsDarkness': '0'},
'LabelSetup': {'gdxBlackMark': 'none',
'gdxBlackPos': '0',
'gdxGapLength': '2',
'gdxLeft': 'none',
'gdxTop': 'none'},
'PrinterSetup': {'gdxMode': 'none',
'gdxOffset': 'none',
'gdxRate': 'none',
'negative': 'False'}},
'cups_printer_ppd_valid': True,
'missing_pkgs_and_exes': ([], [])}
Page 5 (<troubleshoot.LocalOrRemote.LocalOrRemote object at 0x7f552cb6e160>):
{'printer_is_remote': False}
Page 6 (<troubleshoot.DeviceListed.DeviceListed object at 0x7f552cb6ec88>):
{'cups_device_dict': {'device-class': 'direct',
'device-id': 'MANUFACTURER:GODEX ;COMMAND '
'SET:EZPL;MODEL:DT2;COMMENT:Anything you '
'like;ACTIVE COMMAND '
'SET:EZPL;COMPATIBLEID:GODEX_DT2',
'device-info': 'GODEX DT2',
'device-make-and-model': 'GODEX DT2'}}
Page 7 (<troubleshoot.PrinterStateReasons.PrinterStateReasons object at 0x7f552e37d1d0>):
{'printer-state-message': 'Rendering completed',
'printer-state-reasons': ['none']}
Page 8 (<troubleshoot.Locale.Locale object at 0x7f552cb87908>):
{'printer_page_size': 'w114h130',
'system_locale_lang': None,
'user_locale_ctype': 'ru_RU',
'user_locale_messages': 'ru_RU'}