Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[CONF] cups non mi lascia stampare [RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Wed Sep 08, 2004 4:14 pm    Post subject: [CONF] cups non mi lascia stampare [RISOLTO] Reply with quote

Non so se sia colpa di udev ma non credo, perché se lancio un
Code:
$ cat file.txt > /dev/lp0

il file viene stampato.
Se lancio una stampa e vado a vedere su localhost:631 dice che il job è correttamente terminato ma se schiaccio "restart job" mi dice client-error-not-possible. Ho provato sia da KDE che da terminale con cupsdoprint ma niente da fare, i lavori vengono accettati ma non eseguiti.

Dove devo guardare?


Last edited by theRealMorpheu5 on Sat Sep 18, 2004 11:05 am; edited 1 time in total
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Wed Sep 08, 2004 4:26 pm    Post subject: Reply with quote

ho il tuo stesso identico problema su un print server UNIX e non ho udev...
il problema è nato con l'upgrada da samba 2 a samba 3,
qualcosa è cambiato a livelli di permessi credo, ci sto lavorando sopra ;)
appena risolvo ti faccio un fischio
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Wed Sep 08, 2004 4:31 pm    Post subject: Reply with quote

In effetti ho samba3, su. Boh, aspetto e spero :) La cosa è alquanto fastidiosa, però, considerando che un paio di settimane fa andava tutto a meraviglia... poi ho formattonato...
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Wed Sep 08, 2004 4:36 pm    Post subject: Reply with quote

se disinstalli samba 3 e fai il merging dell'ultima versione stabile di Samba 2 (non ricordo quale è) ti torna a funzionare tutto senza problemi ;)

ma se sei una testa di legno di come me e vuoi per forza samba 3 devi pazientare...

bhe comunque in ogni caso se opti per il downgrade segui questa guida https://forums.gentoo.org/viewtopic.php?t=110931&highlight=samba+cups+howto anzichè quella ufficiale di gentoo ;)
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
Josuke
Veteran
Veteran


Joined: 07 May 2003
Posts: 1175
Location: Italy - Bolzano

PostPosted: Wed Sep 08, 2004 4:39 pm    Post subject: Reply with quote

Se ho capito bene..il tuo problema è identico a quello che avevo io..si risolve editando i file mime.convs e mime.types in /etc/cups/ come segue:

mime.conv:
da
Code:
#application/octet-stream       application/vnd.cups-raw        0

a
Code:
application/octet-stream       application/vnd.cups-raw        0


mime.types
da
Code:
#application/octet-stream

a
Code:
application/octet-stream


sostanzialmente non devi fare altro che decommentare quelle due stringhe e riavviare cups
_________________
fletto i muscoli...e sono nel vuoto
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Wed Sep 08, 2004 5:45 pm    Post subject: Reply with quote

Niente da fare ma grazie per il tentativo.

DarkAngel76 wrote:
ma se sei una testa di legno di come me e vuoi per forza samba 3 devi pazientare...

Sono una testa di legno, come ben sai :)
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Wed Sep 08, 2004 5:53 pm    Post subject: Reply with quote

theRealMorpheu5 wrote:
Niente da fare ma grazie per il tentativo.

DarkAngel76 wrote:
ma se sei una testa di legno di come me e vuoi per forza samba 3 devi pazientare...

Sono una testa di legno, come ben sai :)


eh lo sapevo :D, per questo te l'ho scritto... :D
comunque devi pazientare perchè il mio problema con samba3 è parecchio complesso (c'è di mezzo ldap e pdc), ma nel tuo caso se hai seguito pari pari la guida che ti ho linkato (ma proprio passo passo, senza tralasciare nulla!!! non scherzo!!!) ti dovrebbe funzionare la stampa anche con samba3
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Wed Sep 08, 2004 6:04 pm    Post subject: Reply with quote

DarkAngel76 wrote:
se hai seguito pari pari la guida che ti ho linkato (ma proprio passo passo, senza tralasciare nulla!!! non scherzo!!!) ti dovrebbe funzionare la stampa anche con samba3

Io non opterò mai per il downgrade :D
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Wed Sep 08, 2004 6:09 pm    Post subject: Reply with quote

theRealMorpheu5 wrote:
DarkAngel76 wrote:
se hai seguito pari pari la guida che ti ho linkato (ma proprio passo passo, senza tralasciare nulla!!! non scherzo!!!) ti dovrebbe funzionare la stampa anche con samba3

Io non opterò mai per il downgrade :D


se segui passo passo la guida non c'è bisogno del downgrade, è fatta sia per samba2 che samba3, però devi fare attenzione alle note di samba3, per questo ti ho detto di seguirla passo passo senza tralasciare nulla ;)
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Wed Sep 08, 2004 7:22 pm    Post subject: Reply with quote

con
Code:
$ cat file.txt > /dev/lp0

non funziona nemmeno a me, ma con
Code:
$ lpr file.txt

si
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Thu Sep 09, 2004 9:52 am    Post subject: Reply with quote

A me il primo funziona... è questo che mi fa in*****re
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31470
Location: here

PostPosted: Thu Sep 09, 2004 1:30 pm    Post subject: Reply with quote

Ma non c'e' niente nei log?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Thu Sep 09, 2004 2:05 pm    Post subject: Reply with quote

Niente. In quelli di cups, almeno. Non saprei in che altri controllare...
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Fri Sep 10, 2004 5:41 pm    Post subject: Reply with quote

Niente proprio?

Un po' di cat vario...
Code:
/home/morpheu5 # PRINTER="EPSON" cupsdoprint relric.pdf
client-error-not-possible
/home/morpheu5 # tail /var/log/cups/*
==> /var/log/cups/access_log <==
localhost - - [10/Sep/2004:19:36:40 +0000] "POST / HTTP/1.1" 200 419
localhost - root [10/Sep/2004:19:36:39 +0000] "GET /printers/EPSON HTTP/1.1" 200 3307
localhost - root [10/Sep/2004:19:36:43 +0000] "GET /printers/EPSON?op=print-test-page HTTP/1.1" 200 0
localhost - - [10/Sep/2004:19:36:43 +0000] "POST /printers/EPSON HTTP/1.1" 200 14977
localhost - root [10/Sep/2004:19:36:43 +0000] "GET /printers/EPSON?op=print-test-page HTTP/1.1" 200 1536
localhost - - [10/Sep/2004:19:38:04 +0000] "GET /printers/MySuperDuperInkjet HTTP/1.1" 404 0
localhost - - [10/Sep/2004:19:38:05 +0000] "GET /printers/MySuperDuperInkjet HTTP/1.1" 404 0
localhost - - [10/Sep/2004:19:39:32 +0000] "POST /printers/EPSON HTTP/1.1" 200 80110
localhost - - [10/Sep/2004:19:40:18 +0000] "POST / HTTP/1.1" 200 267
localhost - - [10/Sep/2004:19:40:18 +0000] "POST / HTTP/1.1" 200 188

==> /var/log/cups/error_log <==
I [10/Sep/2004:19:36:35 +0000] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=15968)
I [10/Sep/2004:19:36:37 +0000] Setting EPSON device-uri to "epson:/dev/lp0" (was "parallel:/dev/lp0".)
I [10/Sep/2004:19:36:37 +0000] Setting EPSON printer-is-accepting-jobs to 1 (was 1.)
I [10/Sep/2004:19:36:37 +0000] Setting EPSON printer-state to 3 (was 3.)
I [10/Sep/2004:19:36:37 +0000] Saving printers.conf...
I [10/Sep/2004:19:36:37 +0000] Printer 'EPSON' modified by 'root'.
I [10/Sep/2004:19:36:39 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=15969)
I [10/Sep/2004:19:36:43 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=16399)
I [10/Sep/2004:19:36:43 +0000] Denying user "root" access to printer "EPSON"...
I [10/Sep/2004:19:39:32 +0000] Denying user "root" access to printer "EPSON"...

==> /var/log/cups/page_log <==
EPSON morpheu5 3 [05/Sep/2004:13:28:59 +0000] 1 1 - localhost
EPSON morpheu5 8 [05/Sep/2004:13:47:17 +0000] 1 1 - localhost
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Sun Sep 12, 2004 9:59 am    Post subject: Reply with quote

Novità?
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Tue Sep 14, 2004 4:28 pm    Post subject: Reply with quote

Novità: in locale si è rimesso a stampare con gioia. Ora è l'esportazione con Samba che non va. Qualche idea?
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Fri Sep 17, 2004 5:02 pm    Post subject: Reply with quote

Altra novità: dopo l'aggiornamento di Samba alla 3.0.7 e di CUPS alla 1.1.20-r2 il tutto è tornato indisponibile sia da locale che da remoto. Questo non è bene per la produttività.
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Sat Sep 18, 2004 10:27 am    Post subject: Reply with quote

mezzo risolto: scegliendo il driver gimp-print-ijs funziona in locale. E solo perché uso gimp-print 4.2.x... mannaggia a loro. Adesso devo solo provare se va via samba.
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Sat Sep 18, 2004 11:05 am    Post subject: Reply with quote

Tutto risolto. Ora cambio il topic. Bastava scegliere il driver gimp-print-ijs se la versione di gimp-print è la 4.2.x, in sostanza. Però, pure questi, dirlo pareva brutto?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum