filePro & Print Wizard question
Fairlight
fairlite at fairlite.com
Thu May 5 14:49:04 PDT 2011
Y'all catch dis heeyah? Richard Hane been jivin' 'bout like:
> My questions (3)
>
> 1. Instead of having to use the copy command to change the name since all
> outputs go over as rickfp.pdf can you set the file name in side of the fp
> processing?
>
> 2. If the answer to number 1 is yes, how do you pass this to the menu
> script? I can not use a system command because the output does not exist
> yet.
When I use PW for a filePro project, I do it as:
1) Use PRINTER NAME and set it to a file (and this is where you can change
the name of the output file. For instance:
fo = getenv("ONEGATE_UNIQUE_ID"){"-cert.pcl"
printer type="hp-8000";printer file fo
I also write (at least on one project) a batch file as part of the
processing, using open(), writeline(), and close(). I essentially write
the entire batch file, substituting in the dynamic filename.
Then I have the batch file execute after that...in my case from a program
external to filePro...my OneGate software. It could be done with system()
or from other external programs. That batch file is the part that takes
the .pcl file I generate, makes a PDF from it, then cleans up all the
files, and such.
So my PCL input file, my PDF file, and my script file are dynamic
filenames that get removed. (In my case, OneGate lets me clean up the
files...you could do it with another scheduled script that cleans things up
periodically, etc.)
Can't speak to the overlay thing yet, myself.
mark->
--
Audio panton, cogito singularis.
More information about the Filepro-list
mailing list