You can order PrintShop Mail to perform certain actions by specifying them on the command line.
Automation features are no longer sold and are being deprecated. You may continue to use the features, however new dongles are not shipped with these features enabled, and no upgrades are possible with this feature enabled. Automation features are now available by combining PrintShop Mail with the power of PlanetPress Workflow Tools, part of PlanetPress Suite.
Argument |
Description |
<document name> |
Filename of a PrintShop Mail document. Example: "Mailing November.psmd" |
-p |
Prints the specified document to the default printer selected in the PrintShop Mail document properties. Example: "Mailing November.psmd" -p |
-pt |
Prints the specified document to a specific printer, enclosed in quotes. Example: "Mailing Novembert.psmd" -pt "Laserwriter 16/600" |
-db <database> |
Links the specified document to a certain database. Example: "Mailing November.psmd" -db "Database.mdb" |
A simple example using command line arguments can be created by following the next steps:
Create a PrintShop Mail document, for example "Sample.psmd"
Create a database you wish to use with this document, or copy an existing database to the folder where you saved the PrintShop Mail document.
Create a shortcut to the PrintShop Mail executable usually located at "C:\Program Files\PrintShop Mail6 \PSMail6x.exe". Copy this shortcut to the same folder as you saved the document you created in step 1.
Right click on the shortcut and choose Properties. In the field Target, specify the document name by adding it to the target. It should look something like "C:\Program Files\PrintShop Mail6\PSMail6x.exe" Sample.psmd.
If you double click on the shortcut you've just created, PrintShop Mail will be started and the specified document will be opened. You are now ready to use any of the other supported command line arguments by adding them to the target.
"C:\Program Files\PrintShop Mail6\PSMail6x.exe" Sample.psmd -db "Database.mdb"
"C:\Program Files\PrintShop Mail6\PSMail6x.exe" Sample.psmd -p
You can create a shortcut that will make PrintShop Mail open any supported database you drop on it, by specifying the next text in the target field of the Shortcut's properties:
"C:\Program Files\PrintShop Mail6\PSMail6x.exe" Sample.psmd -db
If you drop a database on the shortcut, PrintShop Mail will be started, opening the document "Sample.psmd" with the database you just dropped.
Note: Automated printing allows you to print PrintShop Mail documents and PrintShop Mail templates automatically through the Command line or script file . Make sure to use the appropriate extension (<document name>.psmd or <document name>.psmt) in the Command line or in the script file.