Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cups : non riesco ad installare la stampante remota
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
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Mon Jan 22, 2007 8:18 pm    Post subject: cups : non riesco ad installare la stampante remota Reply with quote

Premetto che ho letto la guida su : http://www.gentoo.org/doc/en/printing-howto.xml , ho configurato la stampante remota , una hp psc 2110, ho messo come uri socket://nome_host_su_cui_risiede_la_stampante ma quando tento di stampare la pagina di prova mi viene fuori il seguente messaggio:
Code:
     
hp_psc_2110 "Network host 'nome_host' is busy; will retry in 30 seconds..."
dopo l'attesa ancora lo stesso messaggio all'infinito. Dove sbaglio? La stampante è pubblicata. Se guardo dal cups locale alla stampante non vi sono jobs nella coda.
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Jan 23, 2007 12:07 pm    Post subject: Reply with quote

:twisted:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Mon Feb 23, 2009 9:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Tue Jan 23, 2007 12:44 pm    Post subject: Reply with quote

djinnZ wrote:
hplip è installato ed avviato?

intendi nel printserver o nel printclient? Nel printserver sì.

Quote:
Il printserver (incluso o separato) dovrebbe essere configurabile tramite http://nome_stampante, cosa c'è?

intendi all'url : http://printserver:631/printers/hp_usb_PSC_2100_Series? Se accedo a quell'url vedo la stampante e ho varie opzioni.

Quote:

usando socket://ip_stampante che succede?

cosa intendi per ip_stampante? intendi forse socket://printserver ? Ho già impostato la stampante con quell'url ma il risultato è quello.

Quote:
un minimo di informazioni in più non guasterebbero... :wink:


che info servono?

EDIT : ho provato a mettere nell'url della stampante http://printserver:631/printers/hp_usb_PSC_2100_Series ma mi viene fuori questo errore :"/usr/libexec/cups/backend/socket failed"
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Jan 23, 2007 1:05 pm    Post subject: Reply with quote

:twisted:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Mon Feb 23, 2009 9:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Tue Jan 23, 2007 1:16 pm    Post subject: Reply with quote

djinnZ wrote:
Ok. vediamo se ho capito: client invia a printserver che invia alla stampante via usb.


esatto
Quote:

Quel che non ho capito è se printserver è un pc con cups o una di quelle scatolette malefiche della hp o è l'ip di una stampante di rete.

è un pc con cups
Quote:

Se è un pc allora l'indirizzo non è socket ma ipp://printserver/ipp o ipp://printserver/hp_usb_PSC_2100_Series.

ok provo poi ti dico

EDIT: niente da fare, con entrambe le impostazioni che mi hai suggerito restituisce l'errore : "/usr/libexec/cups/backend/ipp failed"
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Tue Jan 23, 2007 1:56 pm    Post subject: Reply with quote

Io invece non ho capito: la stampante è collegata ad un computer (tramite USB o porta parallela) o è connessa direttamente in rete? Se è connessa ad un computer, che sistema operativo c'è?

Tu stai configurando CUPS sul tuo computer per stampare su quella stampante, giusto?

Puoi postare il contenuto di /etc/cups/printers.conf?

Che versione di CUPS stai utilizzando?
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Tue Jan 23, 2007 5:28 pm    Post subject: Reply with quote

Scen wrote:
Io invece non ho capito: la stampante è collegata ad un computer (tramite USB o porta parallela) o è connessa direttamente in rete? Se è connessa ad un computer, che sistema operativo c'è?


la stampante è collegata tramite usb al computer, il sistema operativo del server e del client è gentoo gnu/linux.

Quote:

Tu stai configurando CUPS sul tuo computer per stampare su quella stampante, giusto?


esatto

Quote:
Puoi postare il contenuto di /etc/cups/printers.conf?


questo il file del client
Code:

# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.2.6
# Written by cupsd on 2007-01-23 18:22
<Printer hp_psc_2110>
Info hp psc 2110
Location athlon
DeviceURI socket://2.1.21.43
State Idle
StateTime 1169572629
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>



e questo del server :
Code:

# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.2.6
# Written by cupsd on 2007-01-23 18:27
<Printer EPSON_Stylus_COLOR_980_USB_2>
Info EPSON Stylus COLOR 980
Location Local Printer
DeviceURI usb://EPSON/Stylus%20COLOR%20980
State Idle
StateTime 1169573116
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer hp_usb_PSC_2100_Series>
Info HP PSC_2100_Series
Location Local Printer
DeviceURI hp:/usb/PSC_2100_Series?serial=MY34JF50V90F
State Idle
StateTime 1169572922
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer {printer_name}>
Info ep980
Location loca
DeviceURI usb://EPSON/Stylus%20COLOR%20980
State Idle
StateTime 1169573235
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>




Quote:

Che versione di CUPS stai utilizzando?
sto utilizzando l'ultima stabile : la 1.2.6 su entrambi i pc
Back to top
View user's profile Send private message
nikko96
Apprentice
Apprentice


Joined: 22 Jul 2005
Posts: 229
Location: Pulcinella's Country

PostPosted: Tue Jan 23, 2007 7:28 pm    Post subject: Reply with quote

Hai configurato nel client il file /etc/cups/client.conf specificando il nome del printserver?
_________________
My system: cpu Intel core 2 duo e6750,mb asus p5n-e sli,scheda grafica nvidia GeForce 9600 GT,kernel 2.6.31-gentoo-r6
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Tue Jan 23, 2007 8:26 pm    Post subject: Reply with quote

Se la stampa dal server è ok (e quindi sarà disponibile al mondo tramite CUPS), usa il protocollo IPP o HTTP (come ti è già stato detto).

L'errore che dici di ottenere lo hai recuperato dai logs o ti compare a video?
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Jan 23, 2007 10:05 pm    Post subject: Reply with quote

:twisted:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Mon Feb 23, 2009 9:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Wed Jan 24, 2007 10:34 am    Post subject: Reply with quote

nikko96 wrote:
Hai configurato nel client il file /etc/cups/client.conf specificando il nome del printserver?


certo, nel file ho le voci appropriate :
Code:
ServerName printserver
ServerName printserver2
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Wed Jan 24, 2007 10:41 am    Post subject: Reply with quote

Scen wrote:
Se la stampa dal server è ok (e quindi sarà disponibile al mondo tramite CUPS), usa il protocollo IPP o HTTP (come ti è già stato detto).

ho provato sia tramite ipp (ipp://printserver/ipp) che tramite http (http://printserver/ipp) ma il risultato è il medesimo.
Quote:

L'errore che dici di ottenere lo hai recuperato dai logs o ti compare a video?


l'ho recuperato mediante l'interfaccia web del cups del client.
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Wed Jan 24, 2007 10:43 am    Post subject: Reply with quote

djinnZ wrote:
precisazione:

se usi ipp:/printserver/ipp mandi la stampa a printserver che userà la stampante predefinita
se ipp://printserver/nome_coda la mandi alla stampante specifica.

Nel primo caso la stampante dovrebbe essere ps generica, nel secondo puoi anche usare il ppd specifico.
Poi cups sul client dovrebbe occuparsi della traduzione in pcl o gdi. Per la stampa raw mi pare che ci sia qualcosa da configurare tra mime e application.

infatti come stampante predefinita sul server ho impostato quella che dovrei usare da remoto.
Back to top
View user's profile Send private message
nikko96
Apprentice
Apprentice


Joined: 22 Jul 2005
Posts: 229
Location: Pulcinella's Country

PostPosted: Wed Jan 24, 2007 12:35 pm    Post subject: Reply with quote

magowiz wrote:
nikko96 wrote:
Hai configurato nel client il file /etc/cups/client.conf specificando il nome del printserver?


certo, nel file ho le voci appropriate :
Code:
ServerName printserver
ServerName printserver2

In quel file non dovrebbe esserci il nome_host.nome_dominio del server di stampa?

Ciao
_________________
My system: cpu Intel core 2 duo e6750,mb asus p5n-e sli,scheda grafica nvidia GeForce 9600 GT,kernel 2.6.31-gentoo-r6
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Wed Jan 24, 2007 1:10 pm    Post subject: Reply with quote

nikko96 wrote:
magowiz wrote:
nikko96 wrote:
Hai configurato nel client il file /etc/cups/client.conf specificando il nome del printserver?


certo, nel file ho le voci appropriate :
Code:
ServerName printserver
ServerName printserver2

In quel file non dovrebbe esserci il nome_host.nome_dominio del server di stampa?

Ciao


a dire il vero nel file /etc/hosts ho inserito gli alias per gli ip di quelle macchine , rispettivamente printserver e printserver2, infatti se dal mio browser punto a printserver:631 accedo al cups del printserver.
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