Print Action




See Also

     Print Action-Setting Properties Run, Send Keystrokes, Change Printer Action


Prints the document specified using the default printer. The document specified must have an application associated with it that can perform printing externally such as Notepad for .txt files, or a word processor for .DOC files.

Practical Usage

The Print action is used to instruct an application to print a document. It is similar to right clicking on a file in explorer and selecting print. The application must support printing in this manner.


General Tab


Text, Required
a) FILE="C:\foldername\readme.txt"

Specifies the document that should be printed. AutoMate will look up the application that is associated with the specified file and request that it prints the document. The application must support printing in this manner.


Custom Description

This action includes the Description tab for entering a custom step description.

More on setting custom step description

Standard Error Handling Options

This action also includes the standard Error Causes and On Error failure handling options/tabs.

More on Error Handling Options

Variables and Expressions

All text fields allow the use of expressions, which can be entered by surrounding the expression in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help construct these expressions, you can open Expression Builder from these fields by pressing F2.

More on variables
More on expressions

More on the expression builder


NOTE: The code below can be copied and pasted directly into the Steps pane of the Task Builder.

<AMPRINT FILE="C:\foldername\readme.txt">