This is a program that allows you to run your document scanner from the command line. This is useful if you are writing programs that need to scan documents without the user having to choose settings and click buttons. One click in your program is all that is needed – CmdTwain does all the setting and saves the document in a file. It should work with any scanner that meets the TWAIN standard. CmdTwain supports color, grey scale or black and white. You can choose the quality of the scan (dots per inch) and save it as a BMP, JPG or PDF file.


  • One-click scanning. Forget having to choose lots of options every time you want to scan something. Forget having to click through multiple dialog boxes. Why can’t you just click one button and have it scan? Well, you can.

  • Add scanning to programs. Suppose you’ve developed a really great program. Suppose that it would be even more useful if it could scan documents in automatically. Why should you have to spend even more hours of development time adding what ought to be easy? Well, it can be easy.

  • Supports most paper sizes. American, European, Australian.

  • Supports color, black and white or greyscale.

  • Creates standard graphics formats. This includes Windows bitmap files, the more universal JPEG files used throughout the internet, and PDF format.

  • Easily flick through your documents. The JPEG files are displayed in Windows Explorer (Choose: View, Filmstrip) or double-click one to use the "Windows Picture and Fax Viewer" to scroll through larger versions.


We have received a number of awards for CmdTwain.


Requires Windows (2000/XP/Vista/7/8/10)


Download and install CmdTwain for free.


More Information

Read the frequently asked questions: FAQs.

Read the documentation: Documentation

See how others are using it: Examples

Easy to use software