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.

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 !

Enjoy !

## Using a native driver

## Using a native driver

Nowadays, the best way to get a wide range of Samsung and Xerox laser printers working with CUPS is using the [Splix](http://splix.ap2c.org/) drivers. Since it's not in pkgsrc yet, you have to download and build it yourself.

Nowadays, the best way to get a wide range of Samsung and Xerox laser printers working with CUPS is using the [Splix](http://splix.ap2c.org/) drivers. Since it's not in pkgsrc yet, you have to download and build it yourself.

To build the driver we need CUPS (print/cups) and GNU Make (devel/gmake) installed from pkgsrc. Also, we can optionally disable JBIG support or install wip/jbigkit to fulfill its dependencies. In this example, I'm about to disable it

To build the driver we need CUPS (print/cups) and GNU Make (devel/gmake) installed from pkgsrc. Also, we can optionally disable JBIG support or install wip/jbigkit to fulfill its dependencies. In this example, I'm about to disable it

$ DISABLE_JBIG=1 gmake

$ DISABLE_JBIG=1 gmake

$ su root -c 'gmake install'

$ su root -c 'gmake install'

Now the driver is installed, along with the PPD files. You can add the desired printer(s) the usual way.

Now the driver is installed, along with the PPD files. You can add the desired printer(s) the usual way.