-im

Top  Previous  Next

-im string

 

The -im options sets the device's imprinter string to string.  If the device is equipped with an imprinter, the device must support setting the imprinter string using the TWAIN driver.  The -verbose option will generate a message that will inform whether setting the imprinter string was set successfully or an error was encountered.

 

Example:

 

DTWAIN_TwainSave("-im \""Test string\"");

Sets the imprinter string to "Test string".  Note that for strings with embedded spaces, the string must be enclosed within double quotes.

 

Note that in the example above, C/C++ escape sequences are used to embed double quotes in the string.  Please consult your language as to the proper way to insert double quotes and backslashes within quoted strings.

 

Default Setting:

The imprinter is not used, or if the imprinter cannot be turned off, the string is the device's default string.