filePro PDF output (was Re: What is a good current laser jet printer for filepro?)

Kenneth Brody kenbrody at spamcop.net
Wed Dec 3 10:03:49 PST 2014


On 12/3/2014 12:32 PM, Ken wrote:
> It would be nice to send the PDF output to more that one static defined file name.

Take advantage of environment variables, such as $USERNAME:

On *nix:

     PDF:|cat >/tmp/$USERNAME.$$.pdf

Or Windows:

     PDF:>%TEMP%\%USERNAME%.%RANDOM%.pdf

And you can always pipe the output to a script and do whatever you want with it.

     PDF:|my_script

The script will be passed the raw PDF data via stdin.

(You will want to ensure that the script doesn't send anything to 
stdout/stderr, unless you want to mess up filePro's screen.)

-- 
Kenneth Brody


More information about the Filepro-list mailing list