Installazione stampante tramite cups

Tutto ciò che è pertinente a Sabayon Linux, indipendentemente dall'architettura e dall'ambiente grafico

Moderator: Moderators

Installazione stampante tramite cups

Postby M4st3r3v1l » Wed Oct 12, 2011 21:48

Ciao, ho la stampante hp deskjet p1005 collegata al router di alice tramite la porta usb. Seguendo la procedura che c'era sul manuale ho configurato correttamente la stampante in rete sui 3 pc con windows os. Ora sto cercando di installare questa stampante su sabayon tramite cups. Io vado su http://localhost:631/ e cerco di aggiungere la stampante. Quando devo scegliere marca e modello della stampante vedo che tra i modelli hp mancava il mio così ho installato net-print/hplip-3.11.7 e ora mi trova il modello. L'ho selezionato sono andato avanti ma nel momento in cui provo a stampare una pagina di prova la mia stampante fa uno scatto ma poi si blocca. Dove ho sbagliato?

edit: come protocollo uso http, l'indirizzo è http://alicegate:631/printers/HPLaserJetP1005 ( lo trovo nello stato del router )
mentre come posso scegliere tra quello cups e quello hpij

ps: questo è il messaggio di errore credo:
pending since
Wed 12 Oct 2011 11:59:58 PM BST
"/usr/libexec/cups/backend/http failed"
M4st3r3v1l
Simple Hen
 
Posts: 72
Joined: Sun Apr 03, 2011 19:48

Re: Installazione stampante tramite cups

Postby micia » Thu Oct 13, 2011 9:29

Ciao, puoi farci vedere i tuoi file:
/var/log/cups/access_log
/var/log/cups/error_log

Potrebbe esserci un problema con i driver, in più, hai provato a usare l'auto-rilevamento della stampante con CUPS?

Un'altra idea è quella che avahi non sia in esecuzione, ho letto spesso che la stampa in rete senza quel servizio non funziona, attivalo con:
(come root)
Code: Select all
rc-update add avahi-daemon default

poi riavvia per sicurezza.
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41

Re: Installazione stampante tramite cups

Postby M4st3r3v1l » Thu Oct 13, 2011 11:12

ecco cosa dice l'access_log:
Code: Select all
localhost - - [12/Oct/2011:23:26:15 +0100] "POST /printers/LaserJet-p1005 HTTP/1.1" 200 269 Create-Job successful-ok
localhost - - [12/Oct/2011:23:26:15 +0100] "POST /printers/LaserJet-p1005 HTTP/1.1" 200 1470 Send-Document successful-ok
localhost - - [12/Oct/2011:23:27:03 +0100] "POST / HTTP/1.1" 200 189 Renew-Subscription client-error-not-found
localhost - - [12/Oct/2011:23:27:03 +0100] "POST / HTTP/1.1" 200 330 Create-Printer-Subscription successful-ok
localhost - - [12/Oct/2011:23:27:28 +0100] "POST /jobs/ HTTP/1.1" 200 144 Cancel-Job successful-ok
localhost - - [12/Oct/2011:23:27:35 +0100] "POST /printers/LaserJet-p1005 HTTP/1.1" 200 492 Print-Job successful-ok
localhost - - [12/Oct/2011:23:28:12 +0100] "POST /admin/ HTTP/1.1" 401 130 CUPS-Delete-Printer successful-ok
localhost - root [12/Oct/2011:23:28:12 +0100] "POST /admin/ HTTP/1.1" 200 130 CUPS-Delete-Printer successful-ok
localhost - root [12/Oct/2011:23:28:13 +0100] "POST / HTTP/1.1" 200 1649 CUPS-Get-Devices -
localhost - root [12/Oct/2011:23:28:28 +0100] "POST / HTTP/1.1" 200 1649 CUPS-Get-Devices -
localhost - - [12/Oct/2011:23:28:42 +0100] "POST / HTTP/1.1" 200 158 Cancel-Subscription successful-ok
localhost - - [12/Oct/2011:23:28:42 +0100] "POST / HTTP/1.1" 200 158 Cancel-Subscription client-error-not-found
localhost - - [12/Oct/2011:23:28:50 +0100] "POST / HTTP/1.1" 401 112 CUPS-Get-Devices successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:28:50 +0100] "POST / HTTP/1.1" 200 1686 CUPS-Get-Devices -
localhost - m4st3r3v1l [12/Oct/2011:23:29:00 +0100] "POST / HTTP/1.1" 200 6172060 CUPS-Get-PPDs -
localhost - - [12/Oct/2011:23:31:10 +0100] "POST /admin/ HTTP/1.1" 401 435 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:31:10 +0100] "POST /admin/ HTTP/1.1" 200 435 CUPS-Add-Modify-Printer client-error-not-possible
localhost - - [12/Oct/2011:23:31:21 +0100] "POST /printers/LaserJet-p1005 HTTP/1.1" 200 269 Create-Job server-error-not-accepting-jobs
localhost - - [12/Oct/2011:23:34:29 +0100] "POST / HTTP/1.1" 200 189 Renew-Subscription client-error-not-found
localhost - - [12/Oct/2011:23:34:29 +0100] "POST / HTTP/1.1" 200 330 Create-Printer-Subscription successful-ok
localhost - - [12/Oct/2011:23:34:32 +0100] "POST / HTTP/1.1" 200 158 Cancel-Subscription successful-ok
localhost - - [12/Oct/2011:23:34:32 +0100] "POST / HTTP/1.1" 200 158 Cancel-Subscription client-error-not-found
localhost - - [12/Oct/2011:23:34:33 +0100] "POST / HTTP/1.1" 200 189 Renew-Subscription client-error-not-found
localhost - - [12/Oct/2011:23:34:33 +0100] "POST / HTTP/1.1" 200 330 Create-Printer-Subscription successful-ok
localhost - - [12/Oct/2011:23:34:36 +0100] "POST / HTTP/1.1" 200 158 Cancel-Subscription successful-ok
localhost - - [12/Oct/2011:23:34:36 +0100] "POST / HTTP/1.1" 200 158 Cancel-Subscription client-error-not-found
localhost - m4st3r3v1l [12/Oct/2011:23:34:41 +0100] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [12/Oct/2011:23:34:41 +0100] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:34:41 +0100] "POST / HTTP/1.1" 200 1665 CUPS-Get-Devices -
localhost - m4st3r3v1l [12/Oct/2011:23:34:41 +0100] "POST /admin/ HTTP/1.1" 200 3094 - -
localhost - m4st3r3v1l [12/Oct/2011:23:34:48 +0100] "POST /admin/ HTTP/1.1" 200 62 - -
localhost - m4st3r3v1l [12/Oct/2011:23:34:48 +0100] "POST /admin/ HTTP/1.1" 200 11037 - -
localhost - m4st3r3v1l [12/Oct/2011:23:34:51 +0100] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [12/Oct/2011:23:34:51 +0100] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:34:51 +0100] "POST / HTTP/1.1" 200 1665 CUPS-Get-Devices -
localhost - m4st3r3v1l [12/Oct/2011:23:34:51 +0100] "POST /admin/ HTTP/1.1" 200 3094 - -
localhost - m4st3r3v1l [12/Oct/2011:23:38:31 +0100] "POST /admin HTTP/1.1" 200 76 - -
localhost - m4st3r3v1l [12/Oct/2011:23:38:31 +0100] "POST /admin HTTP/1.1" 200 2650 - -
localhost - m4st3r3v1l [12/Oct/2011:23:39:19 +0100] "POST /admin HTTP/1.1" 200 153 - -
localhost - m4st3r3v1l [12/Oct/2011:23:39:19 +0100] "POST /admin HTTP/1.1" 200 3271 - -
localhost - m4st3r3v1l [12/Oct/2011:23:39:25 +0100] "POST /admin HTTP/1.1" 200 234 - -
localhost - - [12/Oct/2011:23:39:25 +0100] "POST / HTTP/1.1" 200 1639 CUPS-Get-PPDs -
localhost - m4st3r3v1l [12/Oct/2011:23:39:25 +0100] "POST /admin HTTP/1.1" 200 5667 - -
localhost - m4st3r3v1l [12/Oct/2011:23:39:51 +0100] "POST /admin HTTP/1.1" 200 1660 - -
localhost - - [12/Oct/2011:23:39:52 +0100] "POST / HTTP/1.1" 200 1552416 CUPS-Get-PPDs -
localhost - m4st3r3v1l [12/Oct/2011:23:39:51 +0100] "POST /admin HTTP/1.1" 200 395259 - -
localhost - - [12/Oct/2011:23:40:49 +0100] "POST / HTTP/1.1" 200 189 Renew-Subscription successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:41:29 +0100] "POST /admin HTTP/1.1" 200 1693 - -
localhost - - [12/Oct/2011:23:41:29 +0100] "POST /admin/ HTTP/1.1" 401 347 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:41:29 +0100] "POST /admin/ HTTP/1.1" 200 347 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:41:29 +0100] "POST /admin HTTP/1.1" 200 10834 - -
localhost - m4st3r3v1l [12/Oct/2011:23:41:34 +0100] "POST /admin HTTP/1.1" 200 353 - -
localhost - - [12/Oct/2011:23:41:34 +0100] "POST /admin/ HTTP/1.1" 401 14854 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:41:34 +0100] "POST /admin/ HTTP/1.1" 200 14854 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:41:34 +0100] "POST /admin HTTP/1.1" 200 2317 - -
localhost - - [12/Oct/2011:23:42:29 +0100] "POST /printers/LaserJet-p1005 HTTP/1.1" 401 130 Purge-Jobs successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:42:29 +0100] "POST /printers/LaserJet-p1005 HTTP/1.1" 200 130 Purge-Jobs successful-ok
localhost - - [12/Oct/2011:23:42:58 +0100] "POST /printers/sadasdas HTTP/1.1" 200 490 Print-Job successful-ok
localhost - - [12/Oct/2011:23:43:19 +0100] "POST /jobs HTTP/1.1" 200 144 Cancel-Job successful-ok
localhost - - [12/Oct/2011:23:43:32 +0100] "POST /printers/sadasdas HTTP/1.1" 401 124 Purge-Jobs successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:43:32 +0100] "POST /printers/sadasdas HTTP/1.1" 200 124 Purge-Jobs successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:43:47 +0100] "POST /admin/ HTTP/1.1" 200 91 - -
localhost - m4st3r3v1l [12/Oct/2011:23:43:47 +0100] "POST /admin/ HTTP/1.1" 200 2261 - -
localhost - m4st3r3v1l [12/Oct/2011:23:43:48 +0100] "POST /admin/ HTTP/1.1" 200 114 - -
localhost - - [12/Oct/2011:23:43:48 +0100] "POST /admin/ HTTP/1.1" 401 130 CUPS-Delete-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:43:48 +0100] "POST /admin/ HTTP/1.1" 200 130 CUPS-Delete-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:43:48 +0100] "POST /admin/ HTTP/1.1" 200 2016 - -
localhost - m4st3r3v1l [12/Oct/2011:23:43:52 +0100] "POST /admin/ HTTP/1.1" 200 85 - -
localhost - m4st3r3v1l [12/Oct/2011:23:43:52 +0100] "POST /admin/ HTTP/1.1" 200 2237 - -
localhost - m4st3r3v1l [12/Oct/2011:23:43:53 +0100] "POST /admin/ HTTP/1.1" 200 108 - -
localhost - - [12/Oct/2011:23:43:53 +0100] "POST /admin/ HTTP/1.1" 401 124 CUPS-Delete-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:43:53 +0100] "POST /admin/ HTTP/1.1" 200 124 CUPS-Delete-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:43:53 +0100] "POST /admin/ HTTP/1.1" 200 1998 - -
localhost - m4st3r3v1l [12/Oct/2011:23:44:01 +0100] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [12/Oct/2011:23:44:01 +0100] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:44:01 +0100] "POST / HTTP/1.1" 200 1665 CUPS-Get-Devices -
localhost - m4st3r3v1l [12/Oct/2011:23:44:01 +0100] "POST /admin/ HTTP/1.1" 200 3094 - -
localhost - m4st3r3v1l [12/Oct/2011:23:44:22 +0100] "POST /admin HTTP/1.1" 200 76 - -
localhost - m4st3r3v1l [12/Oct/2011:23:44:22 +0100] "POST /admin HTTP/1.1" 200 2650 - -
localhost - m4st3r3v1l [12/Oct/2011:23:45:00 +0100] "POST /admin HTTP/1.1" 200 153 - -
localhost - m4st3r3v1l [12/Oct/2011:23:45:00 +0100] "POST /admin HTTP/1.1" 200 3271 - -
localhost - m4st3r3v1l [12/Oct/2011:23:45:23 +0100] "POST /admin HTTP/1.1" 200 260 - -
localhost - - [12/Oct/2011:23:45:23 +0100] "POST / HTTP/1.1" 200 1639 CUPS-Get-PPDs -
localhost - m4st3r3v1l [12/Oct/2011:23:45:23 +0100] "POST /admin HTTP/1.1" 200 5750 - -
localhost - m4st3r3v1l [12/Oct/2011:23:45:29 +0100] "POST /admin HTTP/1.1" 200 1691 - -
localhost - - [12/Oct/2011:23:45:29 +0100] "POST / HTTP/1.1" 200 1552416 CUPS-Get-PPDs -
localhost - m4st3r3v1l [12/Oct/2011:23:45:29 +0100] "POST /admin HTTP/1.1" 200 395347 - -
localhost - m4st3r3v1l [12/Oct/2011:23:45:56 +0100] "POST /admin HTTP/1.1" 200 1724 - -
localhost - - [12/Oct/2011:23:45:56 +0100] "POST /admin/ HTTP/1.1" 401 373 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:45:56 +0100] "POST /admin/ HTTP/1.1" 200 373 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:45:56 +0100] "POST /admin HTTP/1.1" 200 10875 - -
localhost - m4st3r3v1l [12/Oct/2011:23:45:58 +0100] "POST /admin HTTP/1.1" 200 358 - -
localhost - - [12/Oct/2011:23:45:58 +0100] "POST /admin/ HTTP/1.1" 401 14859 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:45:58 +0100] "POST /admin/ HTTP/1.1" 200 14859 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:45:58 +0100] "POST /admin HTTP/1.1" 200 2342 - -
localhost - - [12/Oct/2011:23:46:06 +0100] "POST /printers/Laserjetp1005 HTTP/1.1" 200 495 Print-Job successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:50:22 +0100] "POST /admin/ HTTP/1.1" 200 90 - -
localhost - - [12/Oct/2011:23:50:22 +0100] "POST /admin/ HTTP/1.1" 401 129 CUPS-Set-Default successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:50:22 +0100] "POST /admin/ HTTP/1.1" 200 129 CUPS-Set-Default successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:50:22 +0100] "POST /admin/ HTTP/1.1" 200 2231 - -
localhost - m4st3r3v1l [12/Oct/2011:23:50:30 +0100] "POST /admin/ HTTP/1.1" 200 90 - -
localhost - - [12/Oct/2011:23:50:30 +0100] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:50:30 +0100] "POST / HTTP/1.1" 200 1665 CUPS-Get-Devices -
localhost - m4st3r3v1l [12/Oct/2011:23:50:30 +0100] "POST /admin/ HTTP/1.1" 200 3414 - -
localhost - - [12/Oct/2011:23:51:36 +0100] "POST /jobs HTTP/1.1" 200 144 Restart-Job successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:51:46 +0100] "POST /admin/ HTTP/1.1" 200 90 - -
localhost - - [12/Oct/2011:23:51:46 +0100] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:51:46 +0100] "POST / HTTP/1.1" 200 1665 CUPS-Get-Devices -
localhost - m4st3r3v1l [12/Oct/2011:23:51:46 +0100] "POST /admin/ HTTP/1.1" 200 3414 - -
localhost - m4st3r3v1l [12/Oct/2011:23:52:06 +0100] "POST /admin HTTP/1.1" 200 106 - -
localhost - m4st3r3v1l [12/Oct/2011:23:52:06 +0100] "POST /admin HTTP/1.1" 200 2802 - -
localhost - m4st3r3v1l [12/Oct/2011:23:52:12 +0100] "POST /admin HTTP/1.1" 200 154 - -
localhost - m4st3r3v1l [12/Oct/2011:23:52:12 +0100] "POST /admin HTTP/1.1" 200 3127 - -
localhost - m4st3r3v1l [12/Oct/2011:23:52:14 +0100] "POST /admin HTTP/1.1" 200 234 - -
localhost - - [12/Oct/2011:23:52:14 +0100] "POST / HTTP/1.1" 200 1552500 CUPS-Get-PPDs -
localhost - m4st3r3v1l [12/Oct/2011:23:52:14 +0100] "POST /admin HTTP/1.1" 200 393855 - -
localhost - m4st3r3v1l [12/Oct/2011:23:52:30 +0100] "POST /admin HTTP/1.1" 200 1568 - -
localhost - - [12/Oct/2011:23:52:30 +0100] "POST /admin/ HTTP/1.1" 401 300 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:52:30 +0100] "POST /admin/ HTTP/1.1" 200 300 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:52:30 +0100] "POST /admin HTTP/1.1" 200 3516 - -
localhost - - [12/Oct/2011:23:52:37 +0100] "POST /jobs HTTP/1.1" 200 144 Restart-Job successful-ok
localhost - - [12/Oct/2011:23:52:48 +0100] "POST /printers/Laserjetp1005 HTTP/1.1" 200 495 Print-Job successful-ok
localhost - - [12/Oct/2011:23:52:59 +0100] "POST /jobs HTTP/1.1" 200 144 Cancel-Job successful-ok
localhost - - [12/Oct/2011:23:53:14 +0100] "POST /jobs HTTP/1.1" 200 144 Cancel-Job successful-ok
localhost - - [12/Oct/2011:23:53:27 +0100] "POST /printers/Laserjetp1005 HTTP/1.1" 401 129 Purge-Jobs successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:53:27 +0100] "POST /printers/Laserjetp1005 HTTP/1.1" 200 129 Purge-Jobs successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:53:33 +0100] "POST /admin/ HTTP/1.1" 200 90 - -
localhost - - [12/Oct/2011:23:53:33 +0100] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:53:33 +0100] "POST / HTTP/1.1" 200 1665 CUPS-Get-Devices -
localhost - m4st3r3v1l [12/Oct/2011:23:53:33 +0100] "POST /admin/ HTTP/1.1" 200 3364 - -
localhost - m4st3r3v1l [12/Oct/2011:23:53:47 +0100] "POST /admin HTTP/1.1" 200 106 - -
localhost - m4st3r3v1l [12/Oct/2011:23:53:47 +0100] "POST /admin HTTP/1.1" 200 2777 - -
localhost - m4st3r3v1l [12/Oct/2011:23:54:06 +0100] "POST /admin HTTP/1.1" 200 183 - -
localhost - m4st3r3v1l [12/Oct/2011:23:54:06 +0100] "POST /admin HTTP/1.1" 200 3206 - -
localhost - m4st3r3v1l [12/Oct/2011:23:54:10 +0100] "POST /admin HTTP/1.1" 200 242 - -
localhost - - [12/Oct/2011:23:54:10 +0100] "POST / HTTP/1.1" 200 1552500 CUPS-Get-PPDs -
localhost - m4st3r3v1l [12/Oct/2011:23:54:10 +0100] "POST /admin HTTP/1.1" 200 393917 - -
localhost - m4st3r3v1l [12/Oct/2011:23:54:19 +0100] "POST /admin HTTP/1.1" 200 1591 - -
localhost - - [12/Oct/2011:23:54:19 +0100] "POST /admin/ HTTP/1.1" 401 325 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:54:19 +0100] "POST /admin/ HTTP/1.1" 200 325 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:54:19 +0100] "POST /admin HTTP/1.1" 200 3539 - -
localhost - - [12/Oct/2011:23:54:33 +0100] "POST /printers/Laserjetp1005 HTTP/1.1" 401 129 Pause-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:54:33 +0100] "POST /printers/Laserjetp1005 HTTP/1.1" 200 129 Pause-Printer successful-ok
localhost - - [12/Oct/2011:23:54:37 +0100] "POST /printers/Laserjetp1005 HTTP/1.1" 200 495 Print-Job successful-ok
localhost - - [12/Oct/2011:23:54:51 +0100] "POST /printers/Laserjetp1005 HTTP/1.1" 401 129 Resume-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:54:51 +0100] "POST /printers/Laserjetp1005 HTTP/1.1" 200 129 Resume-Printer successful-ok
localhost - - [12/Oct/2011:23:54:59 +0100] "POST /jobs HTTP/1.1" 200 144 Cancel-Job successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:56:13 +0100] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [12/Oct/2011:23:56:13 +0100] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:56:13 +0100] "POST / HTTP/1.1" 200 1665 CUPS-Get-Devices -
localhost - m4st3r3v1l [12/Oct/2011:23:56:13 +0100] "POST /admin/ HTTP/1.1" 200 3094 - -
localhost - m4st3r3v1l [12/Oct/2011:23:57:57 +0100] "POST /admin HTTP/1.1" 200 76 - -
localhost - m4st3r3v1l [12/Oct/2011:23:57:57 +0100] "POST /admin HTTP/1.1" 200 2650 - -
localhost - m4st3r3v1l [12/Oct/2011:23:58:01 +0100] "POST /admin HTTP/1.1" 200 153 - -
localhost - m4st3r3v1l [12/Oct/2011:23:58:01 +0100] "POST /admin HTTP/1.1" 200 3271 - -
localhost - m4st3r3v1l [12/Oct/2011:23:58:06 +0100] "POST /admin HTTP/1.1" 200 227 - -
localhost - - [12/Oct/2011:23:58:06 +0100] "POST / HTTP/1.1" 200 1639 CUPS-Get-PPDs -
localhost - m4st3r3v1l [12/Oct/2011:23:58:06 +0100] "POST /admin HTTP/1.1" 200 5689 - -
localhost - m4st3r3v1l [12/Oct/2011:23:58:14 +0100] "POST /admin HTTP/1.1" 200 1669 - -
localhost - - [12/Oct/2011:23:58:14 +0100] "POST / HTTP/1.1" 200 1552416 CUPS-Get-PPDs -
localhost - m4st3r3v1l [12/Oct/2011:23:58:14 +0100] "POST /admin HTTP/1.1" 200 395297 - -
localhost - m4st3r3v1l [12/Oct/2011:23:59:50 +0100] "POST /admin HTTP/1.1" 200 1708 - -
localhost - - [12/Oct/2011:23:59:50 +0100] "POST /admin/ HTTP/1.1" 401 367 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:59:50 +0100] "POST /admin/ HTTP/1.1" 200 367 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:59:50 +0100] "POST /admin HTTP/1.1" 200 10139 - -
localhost - m4st3r3v1l [12/Oct/2011:23:59:52 +0100] "POST /admin HTTP/1.1" 200 333 - -
localhost - - [12/Oct/2011:23:59:52 +0100] "POST /admin/ HTTP/1.1" 401 15447 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:59:52 +0100] "POST /admin/ HTTP/1.1" 200 15447 CUPS-Add-Modify-Printer successful-ok
localhost - m4st3r3v1l [12/Oct/2011:23:59:52 +0100] "POST /admin HTTP/1.1" 200 2285 - -
localhost - - [12/Oct/2011:23:59:58 +0100] "POST /printers/ffghf HTTP/1.1" 200 487 Print-Job successful-ok
localhost - m4st3r3v1l [13/Oct/2011:00:01:04 +0100] "POST /admin/ HTTP/1.1" 200 82 - -
localhost - m4st3r3v1l [13/Oct/2011:00:01:04 +0100] "POST /admin/ HTTP/1.1" 200 2225 - -
localhost - m4st3r3v1l [13/Oct/2011:00:01:05 +0100] "POST /admin/ HTTP/1.1" 200 105 - -
localhost - - [13/Oct/2011:00:01:05 +0100] "POST /admin/ HTTP/1.1" 401 121 CUPS-Delete-Printer successful-ok
localhost - m4st3r3v1l [13/Oct/2011:00:01:05 +0100] "POST /admin/ HTTP/1.1" 200 121 CUPS-Delete-Printer successful-ok
localhost - m4st3r3v1l [13/Oct/2011:00:01:05 +0100] "POST /admin/ HTTP/1.1" 200 1989 - -
localhost - m4st3r3v1l [13/Oct/2011:00:01:09 +0100] "POST /admin/ HTTP/1.1" 200 90 - -
localhost - m4st3r3v1l [13/Oct/2011:00:01:09 +0100] "POST /admin/ HTTP/1.1" 200 2257 - -
localhost - m4st3r3v1l [13/Oct/2011:00:01:10 +0100] "POST /admin/ HTTP/1.1" 200 113 - -
localhost - - [13/Oct/2011:00:01:10 +0100] "POST /admin/ HTTP/1.1" 401 129 CUPS-Delete-Printer successful-ok
localhost - m4st3r3v1l [13/Oct/2011:00:01:10 +0100] "POST /admin/ HTTP/1.1" 200 129 CUPS-Delete-Printer successful-ok
localhost - m4st3r3v1l [13/Oct/2011:00:01:10 +0100] "POST /admin/ HTTP/1.1" 200 2013 - -
localhost - - [13/Oct/2011:00:01:37 +0100] "POST / HTTP/1.1" 200 158 Cancel-Subscription successful-ok
M4st3r3v1l
Simple Hen
 
Posts: 72
Joined: Sun Apr 03, 2011 19:48

Re: Installazione stampante tramite cups

Postby M4st3r3v1l » Thu Oct 13, 2011 11:19

mentre l'error_log:
Code: Select all
E [12/Oct/2011:22:56:50 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [12/Oct/2011:22:57:28 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [12/Oct/2011:23:11:49 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [12/Oct/2011:23:13:33 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [12/Oct/2011:23:24:11 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [12/Oct/2011:23:25:00 +0100] Missing printer-uri, job-uri, or ppd-name attribute!
E [12/Oct/2011:23:26:21 +0100] [Job 2] Job stopped due to filter errors; please consult the error_log file for details.
D [12/Oct/2011:23:26:21 +0100] [Job 2] The following messages were recorded from 23:26:15 to 23:26:21
D [12/Oct/2011:23:26:21 +0100] [Job 2] Adding start banner page "none".
D [12/Oct/2011:23:26:21 +0100] [Job 2] Queued on "LaserJet-p1005" by "m4st3r3v1l".
D [12/Oct/2011:23:26:21 +0100] [Job 2] Auto-typing file...
D [12/Oct/2011:23:26:21 +0100] [Job 2] Request file type is application/pdf.
D [12/Oct/2011:23:26:21 +0100] [Job 2] File of type application/pdf queued by "m4st3r3v1l".
D [12/Oct/2011:23:26:21 +0100] [Job 2] Adding end banner page "none".
D [12/Oct/2011:23:26:21 +0100] [Job 2] job-sheets=none,none
D [12/Oct/2011:23:26:21 +0100] [Job 2] argv[0]="LaserJet-p1005"
D [12/Oct/2011:23:26:21 +0100] [Job 2] argv[1]="2"
D [12/Oct/2011:23:26:21 +0100] [Job 2] argv[2]="m4st3r3v1l"
D [12/Oct/2011:23:26:21 +0100] [Job 2] argv[3]="Untitled1"
D [12/Oct/2011:23:26:21 +0100] [Job 2] argv[4]="1"
D [12/Oct/2011:23:26:21 +0100] [Job 2] argv[5]="InputSlot=Auto PageSize=A4 job-uuid=urn:uuid:f7a7a858-892b-3cc6-50ee-d9ea020c2efe job-originating-host-name=localhost time-at-creation=1318458375 time-at-processing=1318458375"
D [12/Oct/2011:23:26:21 +0100] [Job 2] argv[6]="/var/spool/cups/d00002-001"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[2]="CUPS_DOCROOT=/usr/share/cups/html"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[5]="CUPS_SERVERBIN=/usr/libexec/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[8]="HOME=/var/spool/cups/tmp"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[9]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[10]="SERVER_ADMIN=root@M4st3r3v1l"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[11]="SOFTWARE=CUPS/1.4.8"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[13]="USER=root"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[16]="IPP_PORT=631"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[17]="CHARSET=utf-8"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[18]="LANG=en_US.UTF-8"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[19]="PPD=/etc/cups/ppd/LaserJet-p1005.ppd"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[20]="RIP_MAX_CACHE=8m"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[21]="CONTENT_TYPE=application/pdf"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[22]="DEVICE_URI=http://alicegate:631/printers/HPLaserJetP1005"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[23]="PRINTER_INFO=Stampante di casa"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[24]="PRINTER_LOCATION=casa"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[25]="PRINTER=LaserJet-p1005"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[26]="CUPS_FILETYPE=document"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[27]="FINAL_CONTENT_TYPE=printer/LaserJet-p1005"
D [12/Oct/2011:23:26:21 +0100] [Job 2] Started filter /usr/libexec/cups/filter/pdftops (PID 14756)
D [12/Oct/2011:23:26:21 +0100] [Job 2] Started filter /usr/libexec/cups/filter/gstoraster (PID 14757)
D [12/Oct/2011:23:26:21 +0100] [Job 2] Started filter /usr/libexec/cups/filter/hpcups (PID 14758)
D [12/Oct/2011:23:26:21 +0100] [Job 2] Started backend /usr/libexec/cups/backend/http (PID 14759)
D [12/Oct/2011:23:26:21 +0100] [Job 2] STATE: +connecting-to-device
D [12/Oct/2011:23:26:21 +0100] [Job 2] Looking up "alicegate"...
D [12/Oct/2011:23:26:21 +0100] [Job 2] Started filter pdftops (PID 14760)
D [12/Oct/2011:23:26:21 +0100] [Job 2] Started filter pstops (PID 14761)
D [12/Oct/2011:23:26:21 +0100] [Job 2] Copying print data...
D [12/Oct/2011:23:26:21 +0100] [Job 2] Set job-printer-state-message to "Copying print data...", current level=INFO
D [12/Oct/2011:23:26:21 +0100] [Job 2] backendRunLoop(print_fd=-1, device_fd=6, snmp_fd=5, addr=0x7fa683814f88, use_bc=0, side_cb=0x7fa683607e90)
D [12/Oct/2011:23:26:21 +0100] [Job 2] Page = 595x842; 14,14 to 582,828
D [12/Oct/2011:23:26:21 +0100] [Job 2] slow_collate=0, slow_duplex=0, slow_order=0
D [12/Oct/2011:23:26:21 +0100] [Job 2] Before copy_comments - %!PS-Adobe-3.0
D [12/Oct/2011:23:26:21 +0100] [Job 2] %!PS-Adobe-3.0
D [12/Oct/2011:23:26:21 +0100] [Job 2] %%Creator: LibreOffice 3.4
D [12/Oct/2011:23:26:21 +0100] [Job 2] %%LanguageLevel: 3
D [12/Oct/2011:23:26:21 +0100] [Job 2] %%DocumentSuppliedResources: (atend)
D [12/Oct/2011:23:26:21 +0100] [Job 2] %%DocumentMedia: plain 595 842 0 () ()
D [12/Oct/2011:23:26:21 +0100] [Job 2] %%BoundingBox: 0 0 595 842
D [12/Oct/2011:23:26:21 +0100] [Job 2] %%Pages: 1
D [12/Oct/2011:23:26:21 +0100] [Job 2] %%EndComments
D [12/Oct/2011:23:26:21 +0100] [Job 2] Before copy_prolog - %%BeginDefaults
D [12/Oct/2011:23:26:21 +0100] [Job 2] Before copy_setup - %%BeginSetup
D [12/Oct/2011:23:26:21 +0100] [Job 2] Before page loop - %%Page: 1 1
D [12/Oct/2011:23:26:21 +0100] [Job 2] Copying page 1...
D [12/Oct/2011:23:26:21 +0100] [Job 2] pagew = 568.3, pagel = 814.7
D [12/Oct/2011:23:26:21 +0100] [Job 2] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 841
D [12/Oct/2011:23:26:21 +0100] [Job 2] PageLeft = 13.6, PageRight = 581.9
D [12/Oct/2011:23:26:21 +0100] [Job 2] PageTop = 828.2, PageBottom = 13.5
D [12/Oct/2011:23:26:21 +0100] [Job 2] PageWidth = 595.4, PageLength = 841.7
D [12/Oct/2011:23:26:21 +0100] [Job 2] Wrote 1 pages...
D [12/Oct/2011:23:26:21 +0100] [Job 2] PID 14760 (pdftops) exited with no errors.
D [12/Oct/2011:23:26:21 +0100] [Job 2] PID 14761 (pstops) exited with no errors.
D [12/Oct/2011:23:26:21 +0100] [Job 2] PPD uses qualifier 'Gray.Plain.'
D [12/Oct/2011:23:26:21 +0100] [Job 2] Calling FindDeviceById(LaserJet-p1005)
D [12/Oct/2011:23:26:21 +0100] [Job 2] Failed to send: org.freedesktop.ColorManager.Failed:device id 'LaserJet-p1005' does not exists
D [12/Oct/2011:23:26:21 +0100] [Job 2] Failed to get profile filename!
D [12/Oct/2011:23:26:21 +0100] [Job 2] no profiles specified in PPD
D [12/Oct/2011:23:26:21 +0100] [Job 2] Set job-printer-state-message to "no profiles specified in PPD", current level=INFO
D [12/Oct/2011:23:26:21 +0100] [Job 2] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -I/usr/share/cups/fonts -c -f -_
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[2]="CUPS_DOCROOT=/usr/share/cups/html"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[5]="CUPS_SERVERBIN=/usr/libexec/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[8]="HOME=/var/spool/cups/tmp"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[9]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[10]="SERVER_ADMIN=root@M4st3r3v1l"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[11]="SOFTWARE=CUPS/1.4.8"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[13]="USER=root"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[16]="IPP_PORT=631"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[17]="CHARSET=utf-8"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[18]="LANG=en_US.UTF-8"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[19]="PPD=/etc/cups/ppd/LaserJet-p1005.ppd"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[20]="RIP_MAX_CACHE=8m"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[21]="CONTENT_TYPE=application/pdf"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[22]="DEVICE_URI=http://alicegate:631/printers/HPLaserJetP1005"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[23]="PRINTER_INFO=Stampante di casa"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[24]="PRINTER_LOCATION=casa"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[25]="PRINTER=LaserJet-p1005"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[26]="CUPS_FILETYPE=document"
D [12/Oct/2011:23:26:21 +0100] [Job 2] envp[27]="FINAL_CONTENT_TYPE=printer/LaserJet-p1005"
D [12/Oct/2011:23:26:21 +0100] [Job 2] Start rendering...
D [12/Oct/2011:23:26:21 +0100] [Job 2] Set job-printer-state-message to "Start rendering...", current level=INFO
D [12/Oct/2011:23:26:21 +0100] [Job 2] Processing page 1...
D [12/Oct/2011:23:26:21 +0100] [Job 2] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [12/Oct/2011:23:26:21 +0100] [Job 2] Read 226 bytes of print data...
D [12/Oct/2011:23:26:21 +0100] [Job 2] STATE: +hplip.plugin-error
D [12/Oct/2011:23:26:21 +0100] [Job 2] prnt/hpcups/HPCupsFilter.cpp 418: m_Job initialization failed with error = 48DEBUG2: hrDeviceDesc="Unknown"
D [12/Oct/2011:23:26:21 +0100] [Job 2] prtGeneralCurrentLocalization type is 0, expected 2!
D [12/Oct/2011:23:26:21 +0100] [Job 2] Wrote 226 bytes of print data...
D [12/Oct/2011:23:26:21 +0100] [Job 2] Read 36 bytes of print data...
D [12/Oct/2011:23:26:21 +0100] [Job 2] Wrote 36 bytes of print data...
D [12/Oct/2011:23:26:21 +0100] [Job 2] 1 files to send in job...
D [12/Oct/2011:23:26:21 +0100] [Job 2] STATE: +connecting-to-device
D [12/Oct/2011:23:26:21 +0100] [Job 2] Connecting to alicegate:631
D [12/Oct/2011:23:26:21 +0100] [Job 2] Connecting to printer...
D [12/Oct/2011:23:26:21 +0100] [Job 2] STATE: -connecting-to-device
D [12/Oct/2011:23:26:21 +0100] [Job 2] Connected to printer...
D [12/Oct/2011:23:26:21 +0100] [Job 2] Connected to 192.168.1.1:631 (IPv4)...
D [12/Oct/2011:23:26:21 +0100] [Job 2] Getting supported attributes...
D [12/Oct/2011:23:26:21 +0100] [Job 2] idle
D [12/Oct/2011:23:26:21 +0100] [Job 2] STATE: none
D [12/Oct/2011:23:26:21 +0100] [Job 2] printer-uri = "http://alicegate:631/printers/HPLaserJetP1005"
D [12/Oct/2011:23:26:21 +0100] [Job 2] requesting-user-name = "m4st3r3v1l"
D [12/Oct/2011:23:26:21 +0100] [Job 2] job-name = "Untitled1"
D [12/Oct/2011:23:26:21 +0100] [Job 2] Print file accepted - job ID 26.
D [12/Oct/2011:23:26:21 +0100] [Job 2] Waiting for job to complete...
D [12/Oct/2011:23:26:21 +0100] [Job 2] idle
D [12/Oct/2011:23:26:21 +0100] [Job 2] STATE: none
D [12/Oct/2011:23:26:21 +0100] [Job 2] ATTR: auth-info-required=none
D [12/Oct/2011:23:26:21 +0100] [Job 2] Ready to print.
D [12/Oct/2011:23:26:21 +0100] [Job 2] End of messages
D [12/Oct/2011:23:26:21 +0100] [Job 2] printer-state=3(idle)
D [12/Oct/2011:23:26:21 +0100] [Job 2] printer-state-message="Ready to print."
D [12/Oct/2011:23:26:21 +0100] [Job 2] printer-state-reasons=none

ho preso solo le righe che riguardavano le prove di ieri sera, dell'error_log ho riportato l'errore sul job 2 ( dovrebbe essere la stampa di prova che è andata a vuoto )
M4st3r3v1l
Simple Hen
 
Posts: 72
Joined: Sun Apr 03, 2011 19:48

Re: Installazione stampante tramite cups

Postby M4st3r3v1l » Thu Oct 13, 2011 11:29

Ho dovuto dividere i 2 log perchè avevo problemi con il numero di caratteri massimi consentiti.
Per quanto riguarda i driver: sul sito hp non trovo quelli per la nostra distribuzione ( non c'è neanche gentoo ) mentre su cups non ci sono proprio quelli per il modello della mia stampante.
L'autorilevamento non so come si fa....non ho trovato l'opzione :(
M4st3r3v1l
Simple Hen
 
Posts: 72
Joined: Sun Apr 03, 2011 19:48


Return to Sabayon Linux Discussioni Generali

Who is online

Users browsing this forum: No registered users and 2 guests