View previous topic :: View next topic |
Author |
Message |
J4nus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Sonic/5.gif)
Joined: 03 Oct 2003 Posts: 121
|
Posted: Wed Feb 18, 2004 9:11 pm Post subject: [samba+cups] server d'impression windows et client linux |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
stephim n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Dec 2003 Posts: 37 Location: LYON
|
Posted: Wed Feb 18, 2004 9:25 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
J4nus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Sonic/5.gif)
Joined: 03 Oct 2003 Posts: 121
|
Posted: Fri Feb 20, 2004 12:32 pm Post subject: |
|
|
je vais tester ça, merci bcp :p |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|