Samsung ML-1640 by SAMSUNG does not come defaulted by Windows XP. It uses SPL (Samsung Printer Language), but working with CUPS using SpliX V. 2.0.0. There are original drivers by "Samsung". The difference between ML-1640 and ML-2245 is that in ML-1640, printing via Windows client is messy thus http://ipaddress:631/printers/Samsung_ML-1640_Series is used by me to print, replace ipaddress to the server with printer installed. Enable the permission to allow printing from internet and you may edit the permission in hosts.allow and hosts.deny in /etc/ to disable global printing.
Administration > Printers/Add Printer
The printer should be auto detected and follow the step through installation and note the naming of your printer as it will be used to be accessed via internet printing or local printing.
You are able to print now.