AMP Desktop Capturer is a small command line utility that captures the desktop and saves it as a JPEG file (you can use it from a batch file or from another program).