I just purchased a Samsung ML-2010 Mono Laser Printer and wanted to turn it into a network printer. Since my linux box is online 24/7 I connected the printer to it. Something good about it is that it came with drivers for linux. So I ran the installer in the CD and installed the drivers. Than I used the configuration tool provided with the CD to install and configure the printer. CUPS was happy with it. I use slackware linux so i just had to chmod +x /etc/rc.d/rc.cups and now my printing daemon starts on boot. So the linux printing was done. But I also have an iBook and my roomate has windows box. So I had to configure SAMBA. Here is my config file:

[global]
netbios name = Geodar
security = SHARE
passdb backend = guest
ldap ssl = no
hosts allow = 192.168.0.

[share]
path = /mnt/D
read only = No
guest ok = Yes

[ml-2010]
path = /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes

that’s it.
My printers.conf for CUPS is :

<DefaultPrinter ML-2010>
Info Samsung ML-2010 Series (SPL II)
Location
DeviceURI usb:/dev/usb/lp0
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

cupsd.conf is a little bigger but all I did was to add Allow From 192.168.0.* below every Allow From 127.0.0.1
restarted cupsd
started smbd
and the next step was to install the driver on the windows and mac machines.
Installing the printer under windows is easy. Just browse the server IP(where the printer is connected) and you should see the shared printer. Right click on it and select connect. After it finishes updating/installing you should be good to go.

Under Mac OS X, however, was a little tricky.
After installing the driver I ran the Printer Setup Utility (in System preferences, Print & Fax and you click on the +).
Pressing and holding the Option key, click on More Printers. keep holding the Option key and on the first drop down menu select Advanced. On the second select Windows Share. Now you can releise the option key. In the dialog just enter the name for your printer “Samsung ML-2010” in my case. Than in the address enter “smb://192.168.0.109/ml-2010” < – the ip is the IP of the server and the ml-2010 is the name of the printer share in your samba configuration.
Than from the drivers select the allready installed Samsung Driver and you are all set.

Now everyone in our house can print from our small Samsung ml-2010.