Не хочет печатать принтер чеков
Добавлено: 18 янв 2022, 17:54
Всем доброго времени суток!
Ломаю голову над проблемой и все никак она на сломается (проблема)...
Для работы потребовался принтер чеков. Был куплен вот этот - STAR TSP100 future PRNT (б/у). После подключения он автоматически установился. Ясное дело, что "сходу" он печатать не будет, как я не пытался. Методом проб и ошибок вышел на информацию, что надо все подключать и настраивать через CUPS. Нашел мануал по установке этого принтера, все делал соответственно. Скачал и добавил PPD в /usr/share/cups/model, также добавил недостающие фильтры в /usr/lib/cups/filter.
В "Принтеры" показывает, что статус "Ожидание", но при запуске печати пробной страницы выдает ошибку - Остановлено "libcups.so load failure"
Пробовал действовать, как здесь - https://forums.centos.org/viewtopic.php?t=66530
и еще потом как здесь - https://www.codeweavers.com/support/wik ... ingLibCups
но что-то все равно не выходит, или мои знания Линукса еще не настолько глубоки.
При диагностике проблемы выдает вот это
Буду рад помощи или подсказке, как решить этот вопрос.
Всем спасибо заранее!
Ломаю голову над проблемой и все никак она на сломается (проблема)...
Для работы потребовался принтер чеков. Был куплен вот этот - STAR TSP100 future PRNT (б/у). После подключения он автоматически установился. Ясное дело, что "сходу" он печатать не будет, как я не пытался. Методом проб и ошибок вышел на информацию, что надо все подключать и настраивать через CUPS. Нашел мануал по установке этого принтера, все делал соответственно. Скачал и добавил PPD в /usr/share/cups/model, также добавил недостающие фильтры в /usr/lib/cups/filter.
В "Принтеры" показывает, что статус "Ожидание", но при запуске печати пробной страницы выдает ошибку - Остановлено "libcups.so load failure"
Пробовал действовать, как здесь - https://forums.centos.org/viewtopic.php?t=66530
и еще потом как здесь - https://www.codeweavers.com/support/wik ... ingLibCups
но что-то все равно не выходит, или мои знания Линукса еще не настолько глубоки.
При диагностике проблемы выдает вот это
Page 1 (<troubleshoot.SchedulerNotRunning.SchedulerNotRunning object at 0x7f9a2acf0460>):
{'cups_connection_failure': False}
Page 2 (<troubleshoot.ChoosePrinter.ChoosePrinter object at 0x7f9a29bc81f0>):
{'cups_dest': <cups.Dest Star_TSP143_>,
'cups_instance': None,
'cups_queue': 'Star_TSP143_',
'cups_queue_listed': True}
Page 3 (<troubleshoot.CheckPrinterSanity.CheckPrinterSanity object at 0x7f9a29bc8d60>):
{'cups_device_uri_scheme': 'usb',
'cups_printer_dict': {'device-uri': 'usb://Star/TSP143%20(STR_T-001)',
'printer-info': 'Star TSP143 (STR_T-001)',
'printer-is-shared': True,
'printer-location': 'office',
'printer-make-and-model': 'Star TSP100 Cutter',
'printer-state': 3,
'printer-state-message': 'Rendering completed',
'printer-state-reasons': ['none'],
'printer-type': 53252,
'printer-uri-supported': 'ipp://localhost/printers/Star_TSP143_'},
'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.3.1',
'device-uri': 'usb://Star/TSP143%20(STR_T-001)',
'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',
'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, 122029712),
'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, 122029712),
'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': 'custom_71.97x199.67mm_71.97x199.67mm',
'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)',
'(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)',
'(unknown IPP value '
'tag 0x34)'],
'media-supported': ['custom_50.8x29.99mm_50.8x29.99mm',
'custom_50.8x39.86mm_50.8x39.86mm',
'custom_50.8x49.74mm_50.8x49.74mm',
'custom_50.8x59.97mm_50.8x59.97mm',
'custom_2x2.75in_2x2.75in',
'custom_50.8x79.73mm_50.8x79.73mm',
'custom_50.8x89.96mm_50.8x89.96mm',
'custom_50.8x99.84mm_50.8x99.84mm',
'custom_50.8x109.71mm_50.8x109.71mm',
'custom_50.8x119.94mm_50.8x119.94mm',
'custom_50.8x129.82mm_50.8x129.82mm',
'custom_2x5.5in_2x5.5in',
'custom_50.8x149.93mm_50.8x149.93mm',
'custom_50.8x159.81mm_50.8x159.81mm',
'custom_50.8x169.69mm_50.8x169.69mm',
'custom_50.8x179.92mm_50.8x179.92mm',
'custom_50.8x189.79mm_50.8x189.79mm',
'custom_50.8x199.67mm_50.8x199.67mm',
'custom_50.8x1999.54mm_50.8x1999.54mm',
'custom_71.97x29.99mm_71.97x29.99mm',
'custom_71.97x39.86mm_71.97x39.86mm',
'custom_71.97x49.74mm_71.97x49.74mm',
'custom_71.97x59.97mm_71.97x59.97mm',
'custom_71.97x69.85mm_71.97x69.85mm',
'custom_71.97x79.73mm_71.97x79.73mm',
'custom_71.97x89.96mm_71.97x89.96mm',
'custom_71.97x99.84mm_71.97x99.84mm',
'custom_71.97x109.71mm_71.97x109.71mm',
'custom_71.97x119.94mm_71.97x119.94mm',
'custom_71.97x129.82mm_71.97x129.82mm',
'custom_71.97x139.7mm_71.97x139.7mm',
'custom_71.97x149.93mm_71.97x149.93mm',
'custom_71.97x159.81mm_71.97x159.81mm',
'custom_71.97x169.69mm_71.97x169.69mm',
'custom_71.97x179.92mm_71.97x179.92mm',
'custom_71.97x189.79mm_71.97x189.79mm',
'custom_71.97x199.67mm_71.97x199.67mm',
'custom_71.97x1999.54mm_71.97x1999.54mm',
'iso_a4_210x297mm',
'na_letter_8.5x11in',
'na_legal_8.5x14in',
'custom_min_1x1in',
'custom_max_71.97x2000.25mm'],
'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': 900,
'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-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,
'pdf-k-octets-supported': (0, 122029712),
'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],
'print-scaling-supported': ['auto',
'auto-fit',
'fill',
'fit',
'none'],
'printer-commands': 'none',
'printer-config-change-date-time': '(IPP_TAG_DATE)',
'printer-config-change-time': 1642516959,
'printer-current-time': '(IPP_TAG_DATE)',
'printer-device-id': 'MFG:Star;CMD:STAR;MDL:TSP143 '
'(STR_T-001);CLS:PRINTER;',
'printer-dns-sd-name': 'Star TSP143 '
'(STR_T-001) @ '
'iwan-HP-ProBook-4540s',
'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/Star_TSP143_.png',
'printer-id': 7,
'printer-info': 'Star TSP143 (STR_T-001)',
'printer-is-accepting-jobs': True,
'printer-is-shared': True,
'printer-is-temporary': False,
'printer-location': 'office',
'printer-make-and-model': 'Star TSP100 Cutter',
'printer-more-info': 'http://localhost/printers/Star_TSP143_',
'printer-name': 'Star_TSP143_',
'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': 1642516996,
'printer-state-message': 'Rendering completed',
'printer-state-reasons': ['none'],
'printer-strings-uri': 'http://localhost/strings/Star_TSP143_.strings',
'printer-type': 53252,
'printer-up-time': 1642517037,
'printer-uri-supported': ['ipp://localhost/printers/Star_TSP143_'],
'printer-uuid': 'urn:uuid:993c4411-d2a6-32e6-75bb-517720140fab',
'pwg-raster-document-resolution-supported': [(300,
300,
3)],
'pwg-raster-document-type-supported': ['black_1',
'sgray_8'],
'queued-job-count': 0,
'server-is-sharing-printers': True,
'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 0x7f9a29bc8a00>):
{'cups_printer_ppd_defaults': {'CashDrawerGroup': {'CashDrawer1PulseWidth': '2Millis200',
'CashDrawerSetting': '0DoNotOpenDrawers'},
'CutGroup': {'DocCutType': '1PartialCutDoc',
'PageCutType': '0NoCutPage'},
'General': {'PageRegion': 'X72MMY200MM',
'PageSize': 'X72MMY200MM'},
'OutputGroup': {'PageType': '0Variable',
'PrintSpeed': '0High'}},
'cups_printer_ppd_valid': True,
'missing_pkgs_and_exes': ([], [])}
Page 5 (<troubleshoot.LocalOrRemote.LocalOrRemote object at 0x7f9a29bc8be0>):
{'printer_is_remote': False}
Page 6 (<troubleshoot.DeviceListed.DeviceListed object at 0x7f9a29bc8ca0>):
{'cups_device_dict': {'device-class': 'direct',
'device-id': 'MFG:Star;CMD:STAR;MDL:TSP143 '
'(STR_T-001);CLS:PRINTER;',
'device-info': 'Star TSP143 (STR_T-001)',
'device-make-and-model': 'Star TSP143 (STR_T-001)'}}
Page 7 (<troubleshoot.PrinterStateReasons.PrinterStateReasons object at 0x7f9a29bdaa30>):
{'printer-state-message': 'Rendering completed',
'printer-state-reasons': ['none']}
Page 8 (<troubleshoot.ErrorLogCheckpoint.ErrorLogCheckpoint object at 0x7f9a282ae5e0>):
{'cups_server_settings': {'BrowseLocalProtocols': 'dnssd',
'DefaultAuthType': 'Basic',
'JobPrivateAccess': 'default',
'JobPrivateValues': 'default',
'MaxLogSize': '0',
'PageLogFormat': '',
'SubscriptionPrivateAccess': 'default',
'SubscriptionPrivateValues': 'default',
'WebInterface': 'Yes',
'_debug_logging': '0',
'_remote_admin': '0',
'_remote_any': '0',
'_share_printers': '1',
'_user_cancel_any': '0'},
'error_log_checkpoint': 1208818,
'error_log_cursor': 's=1aa45d1841ab4ceaafea471b46c9619b;i=31376;b=2b63c9c4cd1f4b699041483e4f2ad5f1;m=19b5fe005;t=5d5dc4e033d97;x=3098e2e19650ae9e',
'error_log_debug_logging_set': True,
'error_log_timestamp': '2022-01-18 16:44:22'}
Page 9 (<troubleshoot.PrintTestPage.PrintTestPage object at 0x7f9a29bda4f0>):
{'test_page_attempted': '18/янв/2022:16:44:35 +0200',
'test_page_job_id': [649],
'test_page_job_status': [(True,
649,
'Star_TSP143_',
'Test Page',
'Остановлено',
{'attributes-charset': 'utf-8',
'attributes-natural-language': 'ru-ru',
'date-time-at-completed': None,
'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-hold-until': 'no-hold',
'job-id': 649,
'job-impressions-completed': 0,
'job-k-octets': 1,
'job-media-progress': 0,
'job-media-sheets-completed': 0,
'job-more-info': 'http://localhost/jobs/649',
'job-preserved': True,
'job-printer-state-message': 'libcups.so load '
'failure',
'job-printer-state-reasons': ['none'],
'job-printer-up-time': 1642517096,
'job-printer-uri': 'ipp://localhost/printers/Star_TSP143_',
'job-priority': 50,
'job-sheets': ['none', 'none'],
'job-state': 6,
'job-state-reasons': 'job-completed-with-errors',
'job-uri': 'ipp://localhost/jobs/649',
'job-uuid': 'urn:uuid:b5373273-b2bc-3b3b-512f-989604ed898b',
'number-of-documents': 1,
'printer-uri': 'ipp://localhost/printers/Star%5FTSP143%5F',
'time-at-completed': None,
'time-at-creation': 1642517075,
'time-at-processing': 1642517075})],
'test_page_successful': False}
Page 10 (<troubleshoot.ErrorLogFetch.ErrorLogFetch object at 0x7f9a282ae1f0>):
{'error_log_debug_logging_unset': True, 'journal': []}
Page 11 (<troubleshoot.Locale.Locale object at 0x7f9a29bda0d0>):
{'printer_page_size': 'X72MMY200MM',
'system_locale_lang': None,
'user_locale_ctype': 'ru_RU',
'user_locale_messages': 'ru_RU'}
{'cups_connection_failure': False}
Page 2 (<troubleshoot.ChoosePrinter.ChoosePrinter object at 0x7f9a29bc81f0>):
{'cups_dest': <cups.Dest Star_TSP143_>,
'cups_instance': None,
'cups_queue': 'Star_TSP143_',
'cups_queue_listed': True}
Page 3 (<troubleshoot.CheckPrinterSanity.CheckPrinterSanity object at 0x7f9a29bc8d60>):
{'cups_device_uri_scheme': 'usb',
'cups_printer_dict': {'device-uri': 'usb://Star/TSP143%20(STR_T-001)',
'printer-info': 'Star TSP143 (STR_T-001)',
'printer-is-shared': True,
'printer-location': 'office',
'printer-make-and-model': 'Star TSP100 Cutter',
'printer-state': 3,
'printer-state-message': 'Rendering completed',
'printer-state-reasons': ['none'],
'printer-type': 53252,
'printer-uri-supported': 'ipp://localhost/printers/Star_TSP143_'},
'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.3.1',
'device-uri': 'usb://Star/TSP143%20(STR_T-001)',
'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',
'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, 122029712),
'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, 122029712),
'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': 'custom_71.97x199.67mm_71.97x199.67mm',
'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)',
'(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)',
'(unknown IPP value '
'tag 0x34)'],
'media-supported': ['custom_50.8x29.99mm_50.8x29.99mm',
'custom_50.8x39.86mm_50.8x39.86mm',
'custom_50.8x49.74mm_50.8x49.74mm',
'custom_50.8x59.97mm_50.8x59.97mm',
'custom_2x2.75in_2x2.75in',
'custom_50.8x79.73mm_50.8x79.73mm',
'custom_50.8x89.96mm_50.8x89.96mm',
'custom_50.8x99.84mm_50.8x99.84mm',
'custom_50.8x109.71mm_50.8x109.71mm',
'custom_50.8x119.94mm_50.8x119.94mm',
'custom_50.8x129.82mm_50.8x129.82mm',
'custom_2x5.5in_2x5.5in',
'custom_50.8x149.93mm_50.8x149.93mm',
'custom_50.8x159.81mm_50.8x159.81mm',
'custom_50.8x169.69mm_50.8x169.69mm',
'custom_50.8x179.92mm_50.8x179.92mm',
'custom_50.8x189.79mm_50.8x189.79mm',
'custom_50.8x199.67mm_50.8x199.67mm',
'custom_50.8x1999.54mm_50.8x1999.54mm',
'custom_71.97x29.99mm_71.97x29.99mm',
'custom_71.97x39.86mm_71.97x39.86mm',
'custom_71.97x49.74mm_71.97x49.74mm',
'custom_71.97x59.97mm_71.97x59.97mm',
'custom_71.97x69.85mm_71.97x69.85mm',
'custom_71.97x79.73mm_71.97x79.73mm',
'custom_71.97x89.96mm_71.97x89.96mm',
'custom_71.97x99.84mm_71.97x99.84mm',
'custom_71.97x109.71mm_71.97x109.71mm',
'custom_71.97x119.94mm_71.97x119.94mm',
'custom_71.97x129.82mm_71.97x129.82mm',
'custom_71.97x139.7mm_71.97x139.7mm',
'custom_71.97x149.93mm_71.97x149.93mm',
'custom_71.97x159.81mm_71.97x159.81mm',
'custom_71.97x169.69mm_71.97x169.69mm',
'custom_71.97x179.92mm_71.97x179.92mm',
'custom_71.97x189.79mm_71.97x189.79mm',
'custom_71.97x199.67mm_71.97x199.67mm',
'custom_71.97x1999.54mm_71.97x1999.54mm',
'iso_a4_210x297mm',
'na_letter_8.5x11in',
'na_legal_8.5x14in',
'custom_min_1x1in',
'custom_max_71.97x2000.25mm'],
'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': 900,
'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-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,
'pdf-k-octets-supported': (0, 122029712),
'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],
'print-scaling-supported': ['auto',
'auto-fit',
'fill',
'fit',
'none'],
'printer-commands': 'none',
'printer-config-change-date-time': '(IPP_TAG_DATE)',
'printer-config-change-time': 1642516959,
'printer-current-time': '(IPP_TAG_DATE)',
'printer-device-id': 'MFG:Star;CMD:STAR;MDL:TSP143 '
'(STR_T-001);CLS:PRINTER;',
'printer-dns-sd-name': 'Star TSP143 '
'(STR_T-001) @ '
'iwan-HP-ProBook-4540s',
'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/Star_TSP143_.png',
'printer-id': 7,
'printer-info': 'Star TSP143 (STR_T-001)',
'printer-is-accepting-jobs': True,
'printer-is-shared': True,
'printer-is-temporary': False,
'printer-location': 'office',
'printer-make-and-model': 'Star TSP100 Cutter',
'printer-more-info': 'http://localhost/printers/Star_TSP143_',
'printer-name': 'Star_TSP143_',
'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': 1642516996,
'printer-state-message': 'Rendering completed',
'printer-state-reasons': ['none'],
'printer-strings-uri': 'http://localhost/strings/Star_TSP143_.strings',
'printer-type': 53252,
'printer-up-time': 1642517037,
'printer-uri-supported': ['ipp://localhost/printers/Star_TSP143_'],
'printer-uuid': 'urn:uuid:993c4411-d2a6-32e6-75bb-517720140fab',
'pwg-raster-document-resolution-supported': [(300,
300,
3)],
'pwg-raster-document-type-supported': ['black_1',
'sgray_8'],
'queued-job-count': 0,
'server-is-sharing-printers': True,
'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 0x7f9a29bc8a00>):
{'cups_printer_ppd_defaults': {'CashDrawerGroup': {'CashDrawer1PulseWidth': '2Millis200',
'CashDrawerSetting': '0DoNotOpenDrawers'},
'CutGroup': {'DocCutType': '1PartialCutDoc',
'PageCutType': '0NoCutPage'},
'General': {'PageRegion': 'X72MMY200MM',
'PageSize': 'X72MMY200MM'},
'OutputGroup': {'PageType': '0Variable',
'PrintSpeed': '0High'}},
'cups_printer_ppd_valid': True,
'missing_pkgs_and_exes': ([], [])}
Page 5 (<troubleshoot.LocalOrRemote.LocalOrRemote object at 0x7f9a29bc8be0>):
{'printer_is_remote': False}
Page 6 (<troubleshoot.DeviceListed.DeviceListed object at 0x7f9a29bc8ca0>):
{'cups_device_dict': {'device-class': 'direct',
'device-id': 'MFG:Star;CMD:STAR;MDL:TSP143 '
'(STR_T-001);CLS:PRINTER;',
'device-info': 'Star TSP143 (STR_T-001)',
'device-make-and-model': 'Star TSP143 (STR_T-001)'}}
Page 7 (<troubleshoot.PrinterStateReasons.PrinterStateReasons object at 0x7f9a29bdaa30>):
{'printer-state-message': 'Rendering completed',
'printer-state-reasons': ['none']}
Page 8 (<troubleshoot.ErrorLogCheckpoint.ErrorLogCheckpoint object at 0x7f9a282ae5e0>):
{'cups_server_settings': {'BrowseLocalProtocols': 'dnssd',
'DefaultAuthType': 'Basic',
'JobPrivateAccess': 'default',
'JobPrivateValues': 'default',
'MaxLogSize': '0',
'PageLogFormat': '',
'SubscriptionPrivateAccess': 'default',
'SubscriptionPrivateValues': 'default',
'WebInterface': 'Yes',
'_debug_logging': '0',
'_remote_admin': '0',
'_remote_any': '0',
'_share_printers': '1',
'_user_cancel_any': '0'},
'error_log_checkpoint': 1208818,
'error_log_cursor': 's=1aa45d1841ab4ceaafea471b46c9619b;i=31376;b=2b63c9c4cd1f4b699041483e4f2ad5f1;m=19b5fe005;t=5d5dc4e033d97;x=3098e2e19650ae9e',
'error_log_debug_logging_set': True,
'error_log_timestamp': '2022-01-18 16:44:22'}
Page 9 (<troubleshoot.PrintTestPage.PrintTestPage object at 0x7f9a29bda4f0>):
{'test_page_attempted': '18/янв/2022:16:44:35 +0200',
'test_page_job_id': [649],
'test_page_job_status': [(True,
649,
'Star_TSP143_',
'Test Page',
'Остановлено',
{'attributes-charset': 'utf-8',
'attributes-natural-language': 'ru-ru',
'date-time-at-completed': None,
'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-hold-until': 'no-hold',
'job-id': 649,
'job-impressions-completed': 0,
'job-k-octets': 1,
'job-media-progress': 0,
'job-media-sheets-completed': 0,
'job-more-info': 'http://localhost/jobs/649',
'job-preserved': True,
'job-printer-state-message': 'libcups.so load '
'failure',
'job-printer-state-reasons': ['none'],
'job-printer-up-time': 1642517096,
'job-printer-uri': 'ipp://localhost/printers/Star_TSP143_',
'job-priority': 50,
'job-sheets': ['none', 'none'],
'job-state': 6,
'job-state-reasons': 'job-completed-with-errors',
'job-uri': 'ipp://localhost/jobs/649',
'job-uuid': 'urn:uuid:b5373273-b2bc-3b3b-512f-989604ed898b',
'number-of-documents': 1,
'printer-uri': 'ipp://localhost/printers/Star%5FTSP143%5F',
'time-at-completed': None,
'time-at-creation': 1642517075,
'time-at-processing': 1642517075})],
'test_page_successful': False}
Page 10 (<troubleshoot.ErrorLogFetch.ErrorLogFetch object at 0x7f9a282ae1f0>):
{'error_log_debug_logging_unset': True, 'journal': []}
Page 11 (<troubleshoot.Locale.Locale object at 0x7f9a29bda0d0>):
{'printer_page_size': 'X72MMY200MM',
'system_locale_lang': None,
'user_locale_ctype': 'ru_RU',
'user_locale_messages': 'ru_RU'}
Всем спасибо заранее!