LINUX.ORG.RU

Расшарить МФУ: «SpliX Cannot open job»

 ,


0

1

Есть Samsung SCX-4220, cupsd на генте и клиентский debian jessie. Даже при включеной отладке в логах нет никаких признаков ошибок.

D [17/Mar/2015:10:38:44 +0200] [Client 15] Accepted from client_ip:631 (IPv4)
D [17/Mar/2015:10:38:44 +0200] [Client 15] Waiting for request.
D [17/Mar/2015:10:38:44 +0200] [Job 1151] Unloading...
D [17/Mar/2015:10:38:44 +0200] Report: clients=3
D [17/Mar/2015:10:38:44 +0200] Report: jobs=5
D [17/Mar/2015:10:38:44 +0200] Report: jobs-active=0
D [17/Mar/2015:10:38:44 +0200] Report: printers=1
D [17/Mar/2015:10:38:44 +0200] Report: stringpool-string-count=7863
D [17/Mar/2015:10:38:44 +0200] Report: stringpool-alloc-bytes=9152
D [17/Mar/2015:10:38:44 +0200] Report: stringpool-total-bytes=139568
D [17/Mar/2015:10:38:44 +0200] [Client 15] POST /printers/Samsung_SCX-4220 HTTP/1.1
D [17/Mar/2015:10:38:44 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [17/Mar/2015:10:38:44 +0200] [Client 15] No authentication data provided.
D [17/Mar/2015:10:38:44 +0200] [Client 15] 2.0 Get-Printer-Attributes 1
D [17/Mar/2015:10:38:44 +0200] Get-Printer-Attributes ipp://server_ip:631/printers/Samsung_SCX-4220
D [17/Mar/2015:10:38:44 +0200] [Client 15] Returning IPP successful-ok for Get-Printer-Attributes (ipp://server_ip:631/printers/Samsung_SCX-4220) from client_ip
D [17/Mar/2015:10:38:44 +0200] [Client 15] Content-Length: 1863
D [17/Mar/2015:10:38:44 +0200] [Client 15] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1863, response=0x7f0d773d5360(IPP_IDLE), pipe_pid=0, file=-1
D [17/Mar/2015:10:38:44 +0200] [Client 15] Writing IPP response, ipp_state=DATA, old wused=0, new wused=0
D [17/Mar/2015:10:38:44 +0200] [Client 15] bytes=0, http_state=0, data_remaining=0
D [17/Mar/2015:10:38:44 +0200] [Client 15] Waiting for request.
D [17/Mar/2015:10:38:44 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [17/Mar/2015:10:38:44 +0200] [Client 15] POST /printers/Samsung_SCX-4220 HTTP/1.1
D [17/Mar/2015:10:38:44 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [17/Mar/2015:10:38:44 +0200] [Client 15] No authentication data provided.
D [17/Mar/2015:10:38:44 +0200] [Client 15] 2.0 Validate-Job 2
D [17/Mar/2015:10:38:44 +0200] Validate-Job ipp://server_ip:631/printers/Samsung_SCX-4220
D [17/Mar/2015:10:38:44 +0200] [Client 15] Returning IPP successful-ok for Validate-Job (ipp://server_ip:631/printers/Samsung_SCX-4220) from client_ip
D [17/Mar/2015:10:38:44 +0200] [Client 15] Content-Length: 75
D [17/Mar/2015:10:38:44 +0200] [Client 15] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x7f0d773cf7b0(IPP_IDLE), pipe_pid=0, file=-1
D [17/Mar/2015:10:38:44 +0200] [Client 15] Writing IPP response, ipp_state=DATA, old wused=0, new wused=0
D [17/Mar/2015:10:38:44 +0200] [Client 15] bytes=0, http_state=0, data_remaining=0
D [17/Mar/2015:10:38:44 +0200] [Client 15] Waiting for request.
D [17/Mar/2015:10:38:44 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [17/Mar/2015:10:38:44 +0200] [Client 16] Accepted from client_ip:631 (IPv4)
D [17/Mar/2015:10:38:44 +0200] [Client 16] Waiting for request.
D [17/Mar/2015:10:38:44 +0200] [Client 15] POST /printers/Samsung_SCX-4220 HTTP/1.1
D [17/Mar/2015:10:38:44 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [17/Mar/2015:10:38:44 +0200] [Client 15] No authentication data provided.
D [17/Mar/2015:10:38:44 +0200] [Client 15] 2.0 Create-Job 4
D [17/Mar/2015:10:38:44 +0200] Create-Job ipp://server_ip:631/printers/Samsung_SCX-4220
D [17/Mar/2015:10:38:44 +0200] cupsdMarkDirty(---J-)
D [17/Mar/2015:10:38:44 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [17/Mar/2015:10:38:44 +0200] add_job: requesting-user-name="client_user"
D [17/Mar/2015:10:38:44 +0200] Adding default job-sheets values "none,none"...
I [17/Mar/2015:10:38:44 +0200] [Job 1152] Adding start banner page "none".
D [17/Mar/2015:10:38:44 +0200] Discarding unused job-created event...
I [17/Mar/2015:10:38:44 +0200] [Job 1152] Queued on "Samsung_SCX-4220" by "client_user".
D [17/Mar/2015:10:38:44 +0200] [Client 15] Returning IPP successful-ok for Create-Job (ipp://server_ip:631/printers/Samsung_SCX-4220) from client_ip
D [17/Mar/2015:10:38:44 +0200] [Client 15] Content-Length: 188
D [17/Mar/2015:10:38:44 +0200] [Client 16] POST /printers/Samsung_SCX-4220 HTTP/1.1
D [17/Mar/2015:10:38:44 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [17/Mar/2015:10:38:44 +0200] [Client 16] No authentication data provided.
D [17/Mar/2015:10:38:44 +0200] [Client 16] 2.0 Get-Printer-Attributes 3
D [17/Mar/2015:10:38:44 +0200] Get-Printer-Attributes ipp://server_ip:631/printers/Samsung_SCX-4220
D [17/Mar/2015:10:38:44 +0200] [Client 16] Returning IPP successful-ok for Get-Printer-Attributes (ipp://server_ip:631/printers/Samsung_SCX-4220) from client_ip
D [17/Mar/2015:10:38:44 +0200] [Client 16] Content-Length: 1863
D [17/Mar/2015:10:38:44 +0200] [Client 15] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=188, response=0x7f0d773cf920(IPP_IDLE), pipe_pid=0, file=-1
D [17/Mar/2015:10:38:44 +0200] [Client 15] Writing IPP response, ipp_state=DATA, old wused=0, new wused=0
D [17/Mar/2015:10:38:44 +0200] [Client 15] bytes=0, http_state=0, data_remaining=0
D [17/Mar/2015:10:38:44 +0200] [Client 15] Waiting for request.l

ну и так по кругу. SpliX установлен везде, как на генте, так и на дебиане.

★★★★★

Последнее исправление: leg0las (всего исправлений: 1)

Ответ на: комментарий от leg0las

SpliX установлен везде, как на генте, так и на дебиане.

а вот на дебиане то он и не нужен вероятно. cups с драйвером, непосредственно подключенный к принтеру, должен получать задания в известном для него формате (обычно pdf или PS)

возможна обработка в язык принтера на клиенте, тогда принтерная очередь на сервере в режиме raw, но с USB принтерами это обычно не работает.

Elyas ★★★★★
()
Ответ на: комментарий от Elyas

Ок. тогда как правильно добавить принтер? добавлять как ipp, но что указывать?

leg0las ★★★★★
() автор топика
Ответ на: комментарий от Elyas

Да, заменил на Generic/PostScript - заработало все. Можно закрывать тему, теперь буду шарить сканер:-)

leg0las ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.