New RPM 7 Beta is now available — try the new release →

RPM Filter Transform

What it does

(Elite only) Run an external program for custom data transformation.

Purpose

The filter transform reads input and produces output. RPM Elite can use this internally as it is processing a job prior to printing or other actions. For some workflows, this may save time and extra steps.

RPM has supported the filter action from the beginning. We started considering a filter transform when our customers reported to us that they were running their own software on a print job, then they wanted to send the results back into RPM for further processing.

We introduced the filter transform in RPM Elite 5.0. We currently use the mechanics of the filter transform, in RPM, for a number of features. Consequently, we are interested in how this is used and are willing to support your efforts.

Setup

Command-line substitution

RPM provides the following tags which are substituted with information from the print job.

Note: Use of the above tags is limited to jobs received using the LPR/LPD protocol. If jobs are received using other methods (i.e. telnet printing or drag and drop), most of these tags will be blank.

Note: If you need any of these literal strings in your argument list, you can prevent RPM from substituting them by “escaping” the percent sign with another.  For instance, if you enter %%n in your argument list, RPM will not substitute it for the name of the source file, but instead will change it to a %n.  Notice one of the percent signs are removed.