Portál AbcLinuxu, 28. července 2025 11:24
Brother1240-2231 Test Page root 1k Unknown completed at Tue Apr 19 08:40:22 2011avšak tiskárna netiskne .. Nepomáhá ani administrace z KDE, kde je hlášeno, že tisk úspěšně proběhl .. Kde je zakopaný pes? Sambu i cups jsem restartoval. jinak nastavení tiskárny:
Description: Brother1240 Location: Driver: Brother HL-1240 Foomatic/hl1250 (recommended) (grayscale, 2-sided printing) Connection: smb://WORKGROUP/DEBIAN/Brother1240 Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sidedčást konfigurace samby je v příloze.
Řešení dotazu:
ps ax | grep cups 1198 ? Ss 0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf 2927 pts/0 S+ 0:00 grep cupsještě, zda není možné, že je někde odmítnut přístup .. dost závažný problém
localhost - - [20/Apr/2011:08:58:27 +0200] "POST /printers/Brother1240 HTTP/1.1" 401 124 Purge-Jobs successful-ok localhost - - [20/Apr/2011:08:58:28 +0200] "POST /printers/Brother1240 HTTP/1.1" 401 124 Purge-Jobs successful-ok localhost - root [20/Apr/2011:08:58:28 +0200] "POST /printers/Brother1240 HTTP/1.1" 200 124 Purge-Jobs successful-ok localhost - - [20/Apr/2011:08:58:36 +0200] "POST /printers/Brother1240 HTTP/1.1" 200 484 Print-Job successful-okError_log hlásí:
D [20/Apr/2011:08:58:48 +0200] [CGI] Started /usr/lib/cups/cgi-bin/admin.cgi (PID 3885) I [20/Apr/2011:08:58:48 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=3885) D [20/Apr/2011:08:58:48 +0200] cupsdSendCommand: 15 file=14 D [20/Apr/2011:08:58:48 +0200] [CGI] admin.cgi started... D [20/Apr/2011:08:58:48 +0200] cupsdAcceptClient: 17 from localhost (Domain) D [20/Apr/2011:08:58:48 +0200] [CGI] http=0xb8b953b8 D [20/Apr/2011:08:58:48 +0200] [CGI] org.cups.sid cookie is "6e286f7a3866d0d9ae5ba42fb02df875" D [20/Apr/2011:08:58:48 +0200] [CGI] No form data, showing main menu... D [20/Apr/2011:08:58:48 +0200] [CGI] /usr/share/cups/drivers/pscript5.dll: No such file or directory D [20/Apr/2011:08:58:48 +0200] cupsdReadClient: 17 POST / HTTP/1.1 D [20/Apr/2011:08:58:48 +0200] cupsdAuthorize: No authentication data provided. D [20/Apr/2011:08:58:48 +0200] cupsdReadClient: 17 1.1 Get-Subscriptions 1 D [20/Apr/2011:08:58:48 +0200] Get-Subscriptions ipp://localhost/ D [20/Apr/2011:08:58:48 +0200] Returning IPP successful-ok for Get-Subscriptions (ipp://localhost/) from localhost D [20/Apr/2011:08:58:48 +0200] Script header: Content-Type: text/html;charset=utf-8 D [20/Apr/2011:08:58:48 +0200] Script header: D [20/Apr/2011:08:58:48 +0200] cupsdReadClient: 17 WAITING Closing on EOF D [20/Apr/2011:08:58:48 +0200] cupsdCloseClient: 17 D [20/Apr/2011:08:58:48 +0200] cupsdSetBusyState: Dirty files D [20/Apr/2011:08:58:48 +0200] PID 3885 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.log samby (na tiskovém serveru):
[2011/04/20 08:58:37.888474, 1] smbd/service.c:1070(make_connection_snum) __ffff_192.168.0.102 (::ffff:192.168.0.102) connect to service Brother1240 initially as user nobody (uid=65534, gid=65534) (pid 2453) [2011/04/20 08:58:38.742730, 0] printing/print_cups.c:1036(cups_job_submit) Unable to print file to Brother1240 - client-error-not-found [2011/04/20 08:58:38.745426, 1] smbd/service.c:1251(close_cnum)ale je tu ještě něco jiného ve /var/log/samba/log.smbd:
[2011/04/20 08:58:37.897523, 0] printing/print_cups.c:1193(cups_queue_get) Unable to get jobs for ipp://localhost/printers/Brother1240 - client-error-not-found
/usr/share/cups/drivers/pscript5.dll: No such file or directorysamba:
Unable to print file to Brother1240 - client-error-not-foundlog.smbd:
Unable to get jobs for ipp://localhost/printers/Brother1240 - client-error-not-foundNN
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.