Minggu, 24 Agustus 2008

sharing printer

tempat filenya etc/samba/smb.conf

########## Printing ##########
157
158 # If you want to automatically load your printer list rather
159 # than setting them up individually then you'll need this
160 load printers = yes
161
162 # lpr(ng) printing. You may wish to override the location of the
163 # printcap file
164 printing = bsd
165 printcap name = /etc/printcap
166
167 # CUPS printing. See also the cupsaddsmb(8) manpage in the
168 # cupsys-client package.
169 printing = cups
170 printcap name = cups
171
172 # When using [print$], root is implicitly a 'printer admin', but you can
173 # also give this right to other users to add drivers and set pri nter
174 # properties
175 printer admin = @lpadmin ---> yg mengatur hak akses user yg bisa install ke windows, jadi cuma user yg punya akses lpadmin dilinuxnya

############ Misc ############

restart samaba etc/init.d/samba restart
restart ok

tempat file edit user etc/group

lpadmin ditambahi user yg install printer

restart samaba etc/init.d/samba restart
restart ok

Tidak ada komentar:

Posting Komentar