Encapsulates the AutoMate™ action “Print a document.” Prints any registered document type using the application that is registered to process this type of request.
Declaration
procedure PrintFile(FileName: OleVariant); safecall;
Description
Allows printing of a registered document type by specifying the path and filename in the Filename parameter.
Note: Not all applications support PRINT, so this method may not work with your document type.