Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[samba+cups] server d'impression windows et client linux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
J4nus
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 121

PostPosted: Wed Feb 18, 2004 9:11 pm    Post subject: [samba+cups] server d'impression windows et client linux Reply with quote

je dispose d'une workstation et d'un portable sous linux gentoo; malheureusement, la machine connectée à l'imprimante est un windows 2000. Pour des raisons particulières, je ne peux déplacer l'imprimante pour la connecter à la worksatation (ce qui aurait été la solution la plus effiace sans aucun doute).

J'ai lu qqus documenations et il est apparemment possible d'imprimer depuis linux sur l'imprimante connecté au win grâce à samba + cups avec lpstat.
Malheureusement j'ai du mal à trouver un how to complet et je ne sais pas trop comment m'y prendre...

Y a-til une solution + adaptée que cups + samba et lpstat?
Si j'ai bien compris lpstat n'est plus obligatoire dans la nouvelle version de samba..
Sur le site de cups, je lis ceci:


Contents
How Do I Use SAMBA With CUPS?

You'll need at least SAMBA 2.0.6; earlier versions of SAMBA did not fully support CUPS.

You can find SAMBA configuration information in the CUPS Software Administrators Manual.

For the impatient, you normally only need the following line in smb.conf to specify the print commands, etc. needed for CUPS:

printing = cups

Older versions of SAMBA and broken 2.0.6 and 2.0.7 distributions need:

printing = sysv
printcap name = lpstat
print command = lp -d %p -o raw %s; rm -f %s
Back to top
View user's profile Send private message
stephim
n00b
n00b


Joined: 20 Dec 2003
Posts: 37
Location: LYON

PostPosted: Wed Feb 18, 2004 9:25 pm    Post subject: Reply with quote

J'ai cette configuration a mon boulot...
Je possede Linux et l'imprimante est en partage sur un poste distant sous Windows
L'installation est trés simple en fait:
Avant tout il te faut connaitre le nom du pc distant (ex:pcshare) et le nom de partage de l'imprimante (ex:printershare)

Installe cups
Code:
emerge cups
/etc/init.d/cupsd start
rc-update add cupsd default



ensuite ouvre ton browser et tape:
Code:
 http://localhost:631


tu arrives dans l'interface graphique de cups
Tu vas dans la rubrique MANAGE PRINTER ET tu suis les differentes etapes...

SI tu a un souci fais moi signe...
Back to top
View user's profile Send private message
J4nus
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 121

PostPosted: Fri Feb 20, 2004 12:32 pm    Post subject: Reply with quote

je vais tester ça, merci bcp :p
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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