VueScan works with the Samsung SCX-8040 on Windows and Mac OS X.
You need to install a Samsung WIA scanner driver to use this scanner on Windows.
You need to install a Samsung Image Capture scanner driver to use this scanner on Mac OS X.