How to install laser printer Samsung ML-1640
From NetBSD Wiki
It's not a great sience as it almost works out-of-the-box. All you have to do is to download the driver from samsung web page and copy two files into specified dierctory of CUPS system.
The steps are as following:
1. Download following file Linux Driver for CUPS.
2. Extract the *tar.gz file, cd to the directory cdroot and copy the following files:
cp Linux/i386/at_root/usr/lib/cups/filter/rastertosamsungpcl /usr/pkg/libexec/cups/filter/
cp Linux/noarch/at_opt/share/ppd/ML-1640spl2.ppd /usr/pkg/share/cups/model/
3. After that execute (or reboot the machine) /etc/rc.d/cupds restart and your Samsung ML-1640 will work just out-of-the-box.
Enjoy !
