Command line options

Microsoft Office Document Imaging

Show All

Command line options

You can use command line options when you start Microsoft Office Document Imaging from either the Run command (Start menu) or from a command prompt.

Command Result
mspview <path:filename.tif> Starts Office Document Imaging and opens the specified file.
mspview -r <path:filename.tif> Starts Office Document Imaging and opens the specified file in Reading view.
mspview -o <path:filename.tif> Starts Office Document Imaging, performs optical character recognition (OCR) on the specified file, and then saves the file with the new OCR text.

This command has no effect if OCR has already been performed on the file.

This command can be used for batch processing when you need to recognize text in multiple TIFF files.

Notes

  • If the image is monochrome, it will be compressed in TIFF CCITT G4 format.
  • If the image is grayscale or color, it will be compressed in TIFF 6.0 JPEG format.
  • If the image is over 900 dots per inch (dpi), it will be saved at 900 dpi.
mspview -f <path:filename.tif> Starts Office Document Imaging, performs OCR on the specified file, and then saves the file with the new OCR text.

Use this command if you want to perform OCR on a file that has already had OCR performed on it.

This command can be used for batch processing when you need to recognize text in multiple Tagged Image File Format (TIFF) files.

Notes

  • If the image is monochrome, it will be compressed in TIFF CCITT G4 format.
  • If the image is grayscale or color, it will be compressed in TIFF 6.0 JPEG format.
  • If the image is over 900 dpi, it will be saved at 900 dpi.

For example, the following command opens Mypic.tif in Reading view.

mspview -r "C:\My Documents\mypic.tif"

Return values