Home
neelesh_gurjar
neelesh_gurjar
.:: .......:..: ... ..
May 2008
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

neelesh_gurjar [userpic]
Configuring Printer in Samba

To configure printer in Samba (For CUPS):
1. Install Printer in CUPS and test it.
2. Use following configuration in smb.conf:

In "global" section add following -->

printcap name = cups
lock directory = /var/lock/samba
printing = cups
print command =
lpq command = %p
lprm command =

In "shares" -->

[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No

[hp_LaserJet_1320] -------------> You can give any name to share
comment = hp_LaserJet_1320
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
printer name = hp_LaserJet_1320 ----> Use Printer name
use client driver = Yes ----> This is very IMP otherwise u can get
oplocks = No Error of access denied in windows.
share modes = No
And Restart Samba

Enjoy.....

Current Mood: cheerful cheerful