[Решено!] Проблема с выводом на печать

Автор Sferg, 16 апреля 2014, 16:07:08

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

Sferg

Здравствуйте. Решил организовать возможность печати на принтере Epson Photo Stylus TX650 с различных компьютеров, находящихся в одной локальной сети. Принтер подключен к серверу с Debian Wheezy. Но принтер почему-то упорно не желает печатать - вернее, на принтере появляется надпись "Печать", бумага захватывается, печатающая головка разок проходит слева направо и на этом всё и заканчивается. В очереди печати в CUPS постоянно выводится сообщение: "Unable to send data to printer" В чём может быть причина и как её побороть?

При настройке я руководствовался данной статейкой.

1. Итак, сперва я решил убедиться, что принтер виден в системе:

[!] root@Atom at /home/sferg >:/ hwinfo --printer | grep Model
  Model: "EPSON Epson Stylus Photo TX650"


Принтер система видит - хорошо. Идём далее.

2. С сайта http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX , введя модель своего принтера, я скачал последние драйвера на него: epson-inkjet-printer-escpr_1.4.0-1lsb3.2_amd64.deb.

3. Устанавливаю драйвера:

dpkg -i epson-inkjet-printer-escpr_1.4.0-1lsb3.2_amd64.deb

4. Добавляю своего пользователя в группу lpadmin:

sudo usermod -a -G lpadmin sferg

5. Устанавливаю CUPS и разрешаю доступ к веб-морде из локальной сети:

aptitude install cups

6. Захожу в веб-морду CUPS'а и там добавляю свой принтер.
7. Добавляю в /etc/samba/smb.conf строки:

[global]
load printers = yes
printing = cups
printcap name = cups

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
printer admin = root

[print$]
comment = Printer Drivers
browseable = yes
guest ok = yes
read only = yes[code]

8. Перезапускаю CUPS и SAMBA:
[code]service samba restart && service cups restart


В результате всех этих манипуляций принтер появляется в сетевом окружении Windows. Поскольку принтер ранее стоял на компе с виндой, то для него драйвера сохранились. При добавлении сетевого принтере я указал виндовые драйвера. Принтер добавлен, но, к сожалению, при попытке вывести на печать пробную страницу (хоть из-под Windows, хоть из веб-морды CUPS'а в очереди печати веб-морды пишется "Unable to send data to printer").

Дополнение №1:

В веб-морде CUPS'а выбрал модель принтера Epson Stylus TX650 - CUPS + Gutenprint v5.2.9 (en). Теперь принтер стал печатать текст из файла, с помощью команды lp test.txt. При попытке осуществить из веб-морды пробную печать, печать начинается, но где-то секунд через 10 останавливается... При этом небольшой фрагмент пробной страницы на бумаге отпечатывается. В журнале заданий веб-морды появляется надпись "Unable to send data to printer" и принтер переходит в режим приостановки. Почему-то прерывается поток данных с ПК к принтеру... Из-под Windows (не через веб-морду CUPS'а, а штатными средствами) попытка выполнить пробную печать приводит к тем же последствиям. Причём на принтере загарается надпись "Печать", но фактически процесс дальше не идёт...

Привожу error_log CUPS'а с отладочной информацией:

Открыть содержимое (спойлер)
D [16/Apr/2014:19:35:01 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:01 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:01 +0400] Discarding unused printer-state-changed event...
D [16/Apr/2014:19:35:01 +0400] [Job 47] Read 4096 bytes of print data...
D [16/Apr/2014:19:35:01 +0400] [Job 47] Wrote 4096 bytes of print data...
D [16/Apr/2014:19:35:01 +0400] [Job 47] Read 8192 bytes of print data...
I [16/Apr/2014:19:35:01 +0400] [Job 47] Printing page 1, 16%
D [16/Apr/2014:19:35:01 +0400] [Job 47] Set job-printer-state-message to "Printing page 1, 16%", current level=INFO
D [16/Apr/2014:19:35:01 +0400] [Job 47] ATTR: job-media-progress=16
D [16/Apr/2014:19:35:01 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:01 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:01 +0400] Discarding unused printer-state-changed event...
I [16/Apr/2014:19:35:01 +0400] [Job 47] Printing page 1, 17%
D [16/Apr/2014:19:35:01 +0400] [Job 47] Set job-printer-state-message to "Printing page 1, 17%", current level=INFO
D [16/Apr/2014:19:35:01 +0400] [Job 47] ATTR: job-media-progress=17
D [16/Apr/2014:19:35:01 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:01 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:01 +0400] Discarding unused printer-state-changed event...
E [16/Apr/2014:19:35:02 +0400] [Job 47] Unable to send data to printer.
D [16/Apr/2014:19:35:02 +0400] [Job 47] Set job-printer-state-message to "Unable to send data to printer.", current level=ERROR
D [16/Apr/2014:19:35:02 +0400] [Job 47] libusb write operation returned ffffffff.
D [16/Apr/2014:19:35:02 +0400] [Job 47] Sent 102400 bytes...
D [16/Apr/2014:19:35:02 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:02 +0400] Discarding unused printer-state-changed event...
I [16/Apr/2014:19:35:02 +0400] [Job 47] Printing page 1, 18%
D [16/Apr/2014:19:35:02 +0400] [Job 47] ATTR: job-media-progress=18
D [16/Apr/2014:19:35:02 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:02 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:02 +0400] Discarding unused printer-state-changed event...
D [16/Apr/2014:19:35:02 +0400] [Job 47] Waiting for read thread to exit...
I [16/Apr/2014:19:35:02 +0400] [Job 47] Printing page 1, 19%
D [16/Apr/2014:19:35:02 +0400] [Job 47] ATTR: job-media-progress=19
D [16/Apr/2014:19:35:02 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:02 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:02 +0400] Discarding unused printer-state-changed event...
I [16/Apr/2014:19:35:02 +0400] [Job 47] Printing page 1, 20%
D [16/Apr/2014:19:35:02 +0400] [Job 47] ATTR: job-media-progress=20
D [16/Apr/2014:19:35:02 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:02 +0400] Discarding unused job-progress event...
D [16/Apr/2014:19:35:02 +0400] Discarding unused printer-state-changed event...
D [16/Apr/2014:19:35:02 +0400] PID 9735 (/usr/lib/cups/backend/usb) stopped with status 1.
D [16/Apr/2014:19:35:02 +0400] PID 9734 (/usr/lib/cups/filter/rastertogutenprint.5.2) did not catch or ignore signal 13.
D [16/Apr/2014:19:35:02 +0400] PID 9733 (/usr/lib/cups/filter/gstoraster) stopped with status 13.
I [16/Apr/2014:19:35:02 +0400] [Job 47] Backend returned status 1 (failed)
D [16/Apr/2014:19:35:02 +0400] Discarding unused job-state-changed event...
I [16/Apr/2014:19:35:02 +0400] [Job 47] Printer stopped due to backend errors; please consult the error_log file for details.
D [16/Apr/2014:19:35:02 +0400] cupsdMarkDirty(----J-)
D [16/Apr/2014:19:35:02 +0400] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [16/Apr/2014:19:35:02 +0400] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [16/Apr/2014:19:35:02 +0400] Discarding unused printer-stopped event...
D [16/Apr/2014:19:35:02 +0400] cupsdMarkDirty(P-----)
D [16/Apr/2014:19:35:02 +0400] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [16/Apr/2014:19:35:02 +0400] cupsdRegisterPrinter(p=0x7f5f6f1e5600(Epson_Stylus_Photo_TX650))
D [16/Apr/2014:19:35:02 +0400] Updating TXT record for Epson_Stylus_Photo_TX650 @ Atom (_ipp._tcp)
E [16/Apr/2014:19:35:02 +0400] Failed to update TXT record for Epson_Stylus_Photo_TX650 @ Atom: -2
D [16/Apr/2014:19:35:02 +0400] Registering Avahi printer Epson_Stylus_Photo_TX650 with name "Epson_Stylus_Photo_TX650 @ Atom" and type "_ipp._tcp,_cups,_universal"
D [16/Apr/2014:19:35:02 +0400] Adding TXT record for Epson_Stylus_Photo_TX650 @ Atom (_ipp._tcp)
D [16/Apr/2014:19:35:02 +0400] Adding TXT record for Epson_Stylus_Photo_TX650 @ Atom (_cups._sub._ipp._tcp)
D [16/Apr/2014:19:35:02 +0400] Adding TXT record for Epson_Stylus_Photo_TX650 @ Atom (_universal._sub._ipp._tcp)
D [16/Apr/2014:19:35:02 +0400] cupsdMarkDirty(P-----)
D [16/Apr/2014:19:35:02 +0400] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [16/Apr/2014:19:35:03 +0400] Avahi entry group established for Epson_Stylus_Photo_TX650 @ Atom
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 19 GET /printers/Epson_Stylus_Photo_TX650 HTTP/1.1
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Printing jobs and dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdAuthorize: Authorized as sferg using Basic
D [16/Apr/2014:19:35:09 +0400] [CGI] argv[0] = "/usr/lib/cups/cgi-bin/printers.cgi"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/cups/doc-root"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/lib/cups"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[8] = "HOME=/var/spool/cups/tmp"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[9] = "PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[11] = "SOFTWARE=CUPS/1.5.3"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[13] = "TZ=Europe/Moscow"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[15] = "CUPS_SERVER=/var/run/cups/cups.sock"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[16] = "CUPS_ENCRYPTION=IfRequested"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[17] = "IPP_PORT=631"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[18] = "AUTH_TYPE=Basic"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[19] = "LANG=ru_RU.UTF8"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[20] = "REDIRECT_STATUS=1"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[21] = "GATEWAY_INTERFACE=CGI/1.1"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[26] = "SCRIPT_NAME=/printers/Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[27] = "SCRIPT_FILENAME=/usr/share/cups/doc-root/printers/Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[28] = "PATH_INFO=/Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[30] = "SERVER_PROTOCOL=HTTP/1.1"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[31] = "HTTP_COOKIE=org.cups.sid=f647fc96a0d100519adc3aa69ef8de73"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[32] = "HTTP_USER_AGENT=Opera/9.80 (Windows NT 6.2; WOW64) Presto/2.12.388 Version/12.16"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[33] = "HTTP_REFERER=https://192.168.0.1:631/printers/Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[34] = "REQUEST_METHOD=GET"
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[35] = "QUERY_STRING="
D [16/Apr/2014:19:35:09 +0400] [CGI] envp[36] = "HTTPS=ON"
D [16/Apr/2014:19:35:09 +0400] [CGI] Started /usr/lib/cups/cgi-bin/printers.cgi (PID 9812)
I [16/Apr/2014:19:35:09 +0400] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=9812)
D [16/Apr/2014:19:35:09 +0400] cupsdSendCommand: 19 file=20
D [16/Apr/2014:19:35:09 +0400] [CGI] org.cups.sid cookie is "f647fc96a0d100519adc3aa69ef8de73"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: SECTION="printers"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: REFRESH_PAGE=""
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: PRINTER_NAME="Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] cupsdAcceptClient: 21 from localhost (Domain)
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 21 POST / HTTP/1.1
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdAuthorize: No authentication data provided.
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 21 1.1 CUPS-Get-Default 1
D [16/Apr/2014:19:35:09 +0400] CUPS-Get-Default
D [16/Apr/2014:19:35:09 +0400] CUPS-Get-Default client-error-not-found: No default printer.
D [16/Apr/2014:19:35:09 +0400] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:09 +0400] [CGI] show_printer(http=0x7f0f1f9a98d0, printer="Epson_Stylus_Photo_TX650")
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 21 POST / HTTP/1.1
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdAuthorize: No authentication data provided.
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 21 1.1 Get-Printer-Attributes 1
D [16/Apr/2014:19:35:09 +0400] Get-Printer-Attributes ipp://localhost/printers/Epson_Stylus_Photo_TX650
D [16/Apr/2014:19:35:09 +0400] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost/printers/Epson_Stylus_Photo_TX650) from localhost
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v1.5.3"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: printer_is_accepting_jobs[0]="1"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: printer_is_shared[0]="1"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: printer_state[0]="5"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: admin_uri[0]="/admin/"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: printer_uri_supported[0]="/printers/Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: printer_name[0]="Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: printer_location[0]="Home"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: printer_info[0]="Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: job_sheets_default[0]="none, none"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: device_uri[0]="usb://EPSON/Stylus%20Photo%20TX650?serial=4C4A38593033343734&interface=1"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: color_supported[0]="1"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: printer_make_and_model[0]="Epson Stylus TX650 - CUPS+Gutenprint v5.2.9"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: media_default[0]="iso_a4_210x297mm"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: sides_supported[0]="one-sided, two-sided-long-edge, two-sided-short-edge"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: sides_default[0]="one-sided"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: printer_commands[0]="AutoConfigure, Clean, PrintSelfTestPage"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: server_is_sharing_printers[0]="1"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: TITLE="Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: SERVER_NAME="192.168.0.1"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v1.5.3"
D [16/Apr/2014:19:35:09 +0400] Script header: Content-Type: text/html;charset=utf-8
D [16/Apr/2014:19:35:09 +0400] Script header:
D [16/Apr/2014:19:35:09 +0400] [CGI] Regular expression ".*Clean.*"
D [16/Apr/2014:19:35:09 +0400] [CGI] matches[0].rm_so=0
D [16/Apr/2014:19:35:09 +0400] [CGI] matches[1].rm_so=-1
D [16/Apr/2014:19:35:09 +0400] [CGI] Regular expression ".*PrintSelfTestPage.*"
D [16/Apr/2014:19:35:09 +0400] [CGI] matches[0].rm_so=0
D [16/Apr/2014:19:35:09 +0400] [CGI] matches[1].rm_so=-1
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 21 POST / HTTP/1.1
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdAuthorize: No authentication data provided.
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 21 1.1 Get-Jobs 1
D [16/Apr/2014:19:35:09 +0400] Get-Jobs ipp://localhost:631/printers/Epson_Stylus_Photo_TX650
D [16/Apr/2014:19:35:09 +0400] Returning IPP successful-ok for Get-Jobs (ipp://localhost:631/printers/Epson_Stylus_Photo_TX650) from localhost
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiClearVariables called.
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: ORDER="asc"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: SECTION="printers"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: TOTAL="1"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v1.5.3"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: job_printer_name[0]="Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: job_printer_uri[0]="/printers/Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: time_at_creation[0]="Срд 16 Апр 2014 19:34:57"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: time_at_processing[0]="Срд 16 Апр 2014 19:34:57"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: time_at_completed[0]="novalue"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: job_id[0]="47"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: job_state[0]="3"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: job_media_sheets_completed[0]="1"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: job_k_octets[0]="1"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetArray: job_printer_state_message[0]="Unable to send data to printer."
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: PRINTER_NAME="Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: PRINTER_URI_SUPPORTED="/printers/Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: THISURL="/printers/Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] [CGI] cgiSetVariable: SEARCH_DEST="Epson_Stylus_Photo_TX650"
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 21 WAITING Closing on EOF
D [16/Apr/2014:19:35:09 +0400] cupsdCloseClient: 21
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:09 +0400] PID 9812 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 20 GET /cups.css HTTP/1.1
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdAuthorize: Authorized as sferg using Basic
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 21 GET /images/cups-icon.png HTTP/1.1
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdAuthorize: Authorized as sferg using Basic
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 22 GET /images/left.gif HTTP/1.1
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdAuthorize: Authorized as sferg using Basic
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdReadClient: 23 GET /images/right.gif HTTP/1.1
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [16/Apr/2014:19:35:09 +0400] cupsdAuthorize: Authorized as sferg using Basic
D [16/Apr/2014:19:35:09 +0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:10 +0400] cupsdReadClient: 19 GET /images/unsel.gif HTTP/1.1
D [16/Apr/2014:19:35:10 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [16/Apr/2014:19:35:10 +0400] cupsdAuthorize: Authorized as sferg using Basic
D [16/Apr/2014:19:35:10 +0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [16/Apr/2014:19:35:10 +0400] cupsdReadClient: 20 GET /images/sel.gif HTTP/1.1
D [16/Apr/2014:19:35:10 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [16/Apr/2014:19:35:10 +0400] cupsdAuthorize: Authorized as sferg using Basic
D [16/Apr/2014:19:35:10 +0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
I [16/Apr/2014:19:35:28 +0400] Saving printers.conf...
I [16/Apr/2014:19:35:28 +0400] Saving job.cache...
D [16/Apr/2014:19:35:28 +0400] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"
D [16/Apr/2014:19:35:46 +0400] Report: clients=9
D [16/Apr/2014:19:35:46 +0400] Report: jobs=1
D [16/Apr/2014:19:35:46 +0400] Report: jobs-active=1
D [16/Apr/2014:19:35:46 +0400] Report: printers=1
D [16/Apr/2014:19:35:46 +0400] Report: printers-implicit=0
D [16/Apr/2014:19:35:46 +0400] Report: stringpool-string-count=48546
D [16/Apr/2014:19:35:46 +0400] Report: stringpool-alloc-bytes=13464
D [16/Apr/2014:19:35:46 +0400] Report: stringpool-total-bytes=889912
D [16/Apr/2014:19:36:48 +0400] Report: clients=9
D [16/Apr/2014:19:36:48 +0400] Report: jobs=1
D [16/Apr/2014:19:36:48 +0400] Report: jobs-active=1
D [16/Apr/2014:19:36:48 +0400] Report: printers=1
D [16/Apr/2014:19:36:48 +0400] Report: printers-implicit=0
D [16/Apr/2014:19:36:48 +0400] Report: stringpool-string-count=48546
D [16/Apr/2014:19:36:48 +0400] Report: stringpool-alloc-bytes=13464
D [16/Apr/2014:19:36:48 +0400] Report: stringpool-total-bytes=889912
D [16/Apr/2014:19:37:20 +0400] Closing client 15 after 300 seconds of inactivity...
D [16/Apr/2014:19:37:20 +0400] cupsdCloseClient: 15
D [16/Apr/2014:19:37:20 +0400] SSL shutdown successful!
D [16/Apr/2014:19:37:20 +0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [16/Apr/2014:19:37:20 +0400] Closing client 16 after 300 seconds of inactivity...
D [16/Apr/2014:19:37:20 +0400] cupsdCloseClient: 16
D [16/Apr/2014:19:37:20 +0400] SSL shutdown successful!
D [16/Apr/2014:19:37:20 +0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [16/Apr/2014:19:37:20 +0400] cupsdReadClient: 15 WAITING Closing on EOF
D [16/Apr/2014:19:37:20 +0400] cupsdCloseClient: 15
D [16/Apr/2014:19:37:20 +0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [16/Apr/2014:19:37:20 +0400] cupsdReadClient: 16 WAITING Closing on EOF
D [16/Apr/2014:19:37:20 +0400] cupsdCloseClient: 16
D [16/Apr/2014:19:37:20 +0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
[свернуть]

В логе всего лишь 2 ошибки:

E [16/Apr/2014:19:35:02 +0400] [Job 47] Unable to send data to printer.
E [16/Apr/2014:19:35:02 +0400] Failed to update TXT record for Epson_Stylus_Photo_TX650 @ Atom: -2
С уважением.

Debian 10.2, kernel 5.3.13-1-pve x86_64 (WiFi-роутер)
Intel Pentium J5005, 16Gb DDR4-2400, UHD605, 1Tb HDD + 500Gb Ext. HDD

Debian 10.2, kernel 4.19.0-6 x86_64 (домашний ПК)
Intel Core i7-3770, 16Gb DDR3-1600, HD4000, 250Gb SSD + 2Tb HDD

qupl

#1
Судя по этому принтер должен работать.
Из под оффтопика он печатает (исправен)?

Сообщение объединено: 17 апреля 2014, 07:18:00

Опять же http://www.devbug.info/2011/03/epson-stylus-photo-tx650-debian.html

Sferg

#2
qupl, принтер рабочий - из Windows 8.1 и из Ubuntu печатает нормально... Правда, они на другом системнике.

В общем, выяснилось, что Debian и принтер ни при чём - с ними всё в порядке. Оказалось, проблема была в USB-порте на передней панели системника (видимо питания не хватало и поток данных прерывался). Подключил к USB-порту на задней панели и проблема с печатью решилась - теперь принтер печатает пробную страницу как из веб-морды CUPS'а, так и из среды Windows 8.1. Прошу прощения что ввёл всех в заблуждение, ибо сам заблудился. Век живи, век учись - всё равно дураком помрёшь!

Однако нарисовалась следующая проблема:

В файле /etc/samba/smb.conf у меня прописано:

[global]
workgroup = WORKGROUP
netbios name = Atom
passdb backend = smbpasswd
map to guest = Bad User
server string = NAS Atom
security = USER

# Настройка принтера

load printers = yes
printing = cups
printcap name = cups
printer admin = root, sferg

[printers]
comment = Очередь печати SMB
browseable = no
printable = yes
path = /var/spool/samba
guest only = Yes
guest ok = no
read only = yes

[print$]
comment = Драйверы принтера
path = /var/lib/samba/printers
guest only = Yes
guest ok = yes
read only = No
create mask = 0777
directory mask = 0777
force user = sferg
force group = sferg
write list = root, sferg


В сетевом окружении Windows, как уже было сказано выше, принтер видится и нормально печатает пробную страницу. Однако, при попытке напечатать что-либо, скажем, в штатном Блокноте или в WordPad'е, принтер ничего не выводит на печать. Скорее всего, косяк с настройками принтера в самбе (см. конфиг выше)... ???

Дополнение №1:

Гуглёж показал, что в Samba в секцию [printers] нужно было добавить строчку:

use client driver = yes

После перезагрузки самбы, из Блокнота в Windows принтер начал печатать... Разобрался - теперь всё работает. Всем спасибо за внимание.
С уважением.

Debian 10.2, kernel 5.3.13-1-pve x86_64 (WiFi-роутер)
Intel Pentium J5005, 16Gb DDR4-2400, UHD605, 1Tb HDD + 500Gb Ext. HDD

Debian 10.2, kernel 4.19.0-6 x86_64 (домашний ПК)
Intel Core i7-3770, 16Gb DDR3-1600, HD4000, 250Gb SSD + 2Tb HDD