|
Change Printer Action |
Declaration |
<AMCHANGEPRINTER PRINTER="text"> |
See Also |
Changes the default printer. Be aware that some applications check for the default printer on start up, so simply using this action may not change the default printer for applications that are already running. In this case you may need to restart the application.
Used to change the default printer before printing a document. To insure reliable operation this action should be used before the application that will be used to print is started. To do this use the Run action <AMRUN>. This is because many applications only check for the default printer on startup - so changing the default Windows printer while the application is running could have no effect.
Specifies the name of the printer device that should become the new default printer. The printer must exist on the target system at runtime.
Change Default Printer Before
Starting Applications
To insure reliable operation this action should be used before the
application that will be used to print is started. This, because many
applications only check for the default printer on startup - so
changing the default Windows printer while the application is running
will have no effect.
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 by surrounding the
expression in percentage signs (example: %MYVARIABLE%,
%Left('Text',2)%). To help construct these expressions, a popup
expression builder is available in all these fields by pressing F2.
More on variables...
More on expressions...
More on the expression builder...
<AMCHANGEPRINTER PRINTER="Epson Stylus">