|
Print a Document Action |
Description
|
|
Parameters
Document
The full path and filename to the document you wish to print. This file must be associated on your system with an application that is capable of printing in this manner. Usually a good way to determine this, is to right click on the file in Windows Explorer - if there is a "Print" menu option - then the application associated with that document type will most-likely respond properly, otherwise see the Notes section of this section for information on other ways to print a document.Make this a deployable
Deployables are an advanced topic having to do with referencing filenames that are included as packages with a task that is being exported for use on another machine or deployed using AutoMate Enterprise Server. This checkbox appears on all actions that include a parameter for a filename. Click here for more on using Deployables.
Example
Specifying the path and filename of a .DOC file would probably result in the system printing with Microsoft Word (or WordPad if Word is not installed) with the specified document. Similarly, if a .TXT file is specified, Notepad would probably be the application which would print it.
Notes
Some associated applications/document types will not respond to this action. The success of this action depends on the application that is associated with the document you are trying to use responding to a "print" request by the system. Most popular applications support this, proprietary applications may not. If your application does not support this functionality, it may still be possible to assemble several steps in AutoMate to simulate this behavior (i.e. Start the application, send keystrokes to open the document and Select File | Print and press the OK button, then close the application using the Close Window action.
Related Topics: