Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] CUPS e SSH port forwarding
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
dema
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2006
Posts: 88
Location: Padova - Italy

PostPosted: Wed May 07, 2008 7:58 pm    Post subject: [RISOLTO] CUPS e SSH port forwarding Reply with quote

Ciao a tutti, ho creato un port forwarding con ssh per poter inviare i job ad un print server protetto da firewall attraverso il comando:
Code:
ssh -L 8631:printserver:631 login@sshserver

In questo modo riesco con successo a stampare un file da linea di comando specificando la porta:
Code:
lpr -H localhost:8631 filename.pdf

Ora vorrei poter stampare da una applicazione qualsiasi (ad esempio, kpdf) ma non so dove andare a specificare il cambiamento... Qualcuno ha un'idea in merito?


Last edited by dema on Wed May 07, 2008 8:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
dema
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2006
Posts: 88
Location: Padova - Italy

PostPosted: Wed May 07, 2008 8:45 pm    Post subject: Reply with quote

Mi rispondo da solo, e' sufficiente segnalare che il server presso cui inviare le richieste e' "localhost:8631" specificando nel file "/etc/cups/client.conf":
Code:
ServerName localhost:8631


--
Stefano
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