Run Program

Note: Print Distributor has now been discontinued.

The Run Program action executes an external program, script or batch file. This is useful if you need some extra functionality that doesn’t exist in Print Distributor.

Run Program Properties

The Program property is the path to the executable, script or batch file. Parameters are the parameters passed to the program.

If you want to pass the raw print file as a parameter to the program then use the template variable PrintFilePath, you will need to surround this with quotations as it will almost certainly contain spaces.

"?? PrintFilePath ??"

Timeout is the number of seconds to wait for the program or script to complete. If you set this to -1 it will wait forever, set it to 0 to not wait at all.

Setting Minimised to true means the program will run in the taskbar but any windows will not be visible.

Check exit code throws an error if the return value from the program is non zero.


The piping properties allow you to control what happens with stdin, stdout and stderr.

Piping stdout and stderr to the log can help when trying to diagnose problems, especially if you are running Print Distributor as a Windows service.

Piping stdout to the print file will replace the original raw print file with the output from the program you are running. Piping the print file to stdin will send the raw print file to stdin on the program you are running. These two properties will allow you to use the program you are running as some kind of filter on the raw print file.