Selasa, 10 Juni 2008

Sharing printer di Linux

Sebelum edit File Samba, login dulu sebagai root
Tempat Filenya di
etc/samba/smb.conf

########## Printing ##########
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
printing = bsd
printcap name = /etc/printcap

# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
printing = cups
printcap name = cups

# When using [print$], root is implicitly a 'printer admin', but you can
# also give this right to other users to add drivers and set printer
# properties
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

0 komentar :

Popular Posts

 
Design by NewWpThemes | Blogger Theme by Lasantha - Premium Blogger Themes | New Blogger Themes