Bug 40966 - Samsung ML-1210 "filter failed"
Summary: Samsung ML-1210 "filter failed"
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: ghostscript (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P1 normal
Assignee: Fr. Br. George
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-20 14:52 MSK by Горев Андрей
Modified: 2021-10-18 11:05 MSK (History)
7 users (show)

See Also:


Attachments
Снимок очереди. (14.50 KB, image/png)
2021-09-20 14:52 MSK, Горев Андрей
no flags Details
troubleshoot.txt, сделанный cups. (38.96 KB, text/plain)
2021-10-18 11:02 MSK, Горев Андрей
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Горев Андрей 2021-09-20 14:52:47 MSK
Created attachment 9710 [details]
Снимок очереди.

usb:/Samsung_ML_1210 сконфигурирован как USB принтер.
Версия CUPS: cups-2.3.3-alt6.op2.x86_64
D [20/Sep/2021:15:43:35 +0400] CUPS-Get-Printers
D [20/Sep/2021:15:43:35 +0400] [Client 143] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost.
D [20/Sep/2021:15:43:35 +0400] [Client 143] Content-Length: 23124
D [20/Sep/2021:15:43:35 +0400] [Client 143] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [20/Sep/2021:15:43:35 +0400] [Client 143] con->http=0x5585ecb309a0
D [20/Sep/2021:15:43:35 +0400] [Client 143] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=23124, response=0x5585ecb2b660(IPP_STATE_DATA), pipe_pid=0, file=-1
D [20/Sep/2021:15:43:35 +0400] [Client 143] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [20/Sep/2021:15:43:35 +0400] [Client 143] bytes=0, http_state=0, data_remaining=23124
D [20/Sep/2021:15:43:35 +0400] [Client 143] Flushing write buffer.
D [20/Sep/2021:15:43:35 +0400] [Client 143] New state is HTTP_STATE_WAITING
D [20/Sep/2021:15:43:35 +0400] [Client 143] Waiting for request.
D [20/Sep/2021:15:43:35 +0400] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [20/Sep/2021:15:43:35 +0400] [Client 143] POST / HTTP/1.1
D [20/Sep/2021:15:43:35 +0400] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [20/Sep/2021:15:43:35 +0400] [Client 143] Read: status=200, state=6
D [20/Sep/2021:15:43:35 +0400] [Client 143] No authentication data provided.
D [20/Sep/2021:15:43:35 +0400] [Client 143] 2.0 CUPS-Get-Classes 1
D [20/Sep/2021:15:43:35 +0400] CUPS-Get-Classes
D [20/Sep/2021:15:43:35 +0400] [Client 143] Returning IPP successful-ok for CUPS-Get-Classes (no URI) from localhost.
D [20/Sep/2021:15:43:35 +0400] [Client 143] Content-Length: 75
D [20/Sep/2021:15:43:35 +0400] [Client 143] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [20/Sep/2021:15:43:35 +0400] [Client 143] con->http=0x5585ecb309a0
D [20/Sep/2021:15:43:35 +0400] [Client 143] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x5585ecb216b0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [20/Sep/2021:15:43:35 +0400] [Client 143] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [20/Sep/2021:15:43:35 +0400] [Client 143] bytes=0, http_state=0, data_remaining=75
D [20/Sep/2021:15:43:35 +0400] [Client 143] Flushing write buffer.
D [20/Sep/2021:15:43:35 +0400] [Client 143] New state is HTTP_STATE_WAITING
D [20/Sep/2021:15:43:35 +0400] [Client 143] Waiting for request.
D [20/Sep/2021:15:43:35 +0400] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [20/Sep/2021:15:43:35 +0400] [Client 143] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [20/Sep/2021:15:43:35 +0400] [Client 143] Closing connection.

    Обратите внимание на обрыв pipe канала!
    Раньше работало через gutenprint, сейчас в gutenprint этого принтера нет, а без него и раньше не работало!
Comment 1 Anton Farygin 2021-09-21 18:54:09 MSK
если принтер пропал из gutenprint, то разбираться с этим надо в пакете gutenprint. 

сups-filters вам тут никак не поможет заставить этот принтер работать без драйверов.
Но тут
https://www.openprinting.org/printer/Samsung/Samsung-ML-1210
сказано про то, что драйвер должен быть https://www.openprinting.org/download/printing/samsung-gdi/
Comment 2 Anton Farygin 2021-09-21 19:04:53 MSK
Запрашиваемый драйвер живёт в пакете ghostscript в contrib как samsinggdi
Comment 3 Andrey Cherepanov 2021-09-22 09:46:56 MSK
$ gs --help | grep samsung
   pwgraster pxlcolor pxlmono r4081 rinkj rpdl samsunggdi sj48 spotcmyk
$ gs --version
9.27

Он собран в составе ghostscript. Необходимо содержимое /etc/cups/printers.conf.
Приведённые снимки и логи бесполезны.
Comment 4 Горев Андрей 2021-10-18 11:02:27 MSK
Created attachment 9836 [details]
troubleshoot.txt, сделанный cups.
Comment 5 Горев Андрей 2021-10-18 11:05:33 MSK
Может всё-таки попробуете разобраться? Обидно. Принтер есть, в дровах его нет, а печатать из-под mustdie... Каждый раз перегружаться?
 Причём он есть в ghostscript, но валится из-за "filter failed".