Using a csv with MAX you could run a script on the hotfolder that adds the xpf and printer queue to the csv.
Example with only a pdf:
File
C:\pdf\RC_GPA_[etc].pdf
C:\pdf\NT_GPA_[etc].pdf
C:\pdf\RC_RHX_[etc].pdf
The script could then by a regular expression find matches between the underscores. Something like:
(?<=_|^).*?(?=_|\b)
The script could then write a new csv like this and copy it to $FFout$:
File,XPF,PrinterQ
C:\pdf\RC_GPA_[etc].pdf,C:\xpf\GPA.xpf,RC
C:\pdf\NT_GPA_[etc].pdf,C:\xpf\GPA.xpf,NT
C:\pdf\RC_RHX_[etc].pdf,C:\xpf\RHX.xpf,RC
In the MAX setup you can then map the Standard Fields for XPIF File Name and Printer Destination to column B and C.
Stefan
We currently have a Xerox custom-made script on our printers that does the following:
Example:
RC_GPA_[etc].pdf will attach the “GPA.xpf” file and then place the job in the ‘RC’ queue on the printer.
NT_GPA_[etc].pdf will attach the “GPA.xpf” file and then place the job in the ‘NT’ queue on the printer. Same insert arrangement, different queue from #1.
RC_RHX_[etc].pdf will attach a different XPF (RHX.xpf) and place the job in the ‘RC’ queue. Different arrangement of inserts but same queue as #1.
(The [etc] is customer identifying information that changes for every job.)
I was wondering if such a thing can be done with Core. I see that there is a way to put a static XPF for inserts/exceptions within a Printer Destination, but I was wondering if there was a more dynamic way to do this using the MAX setup (we already process all jobs using a csv list of files).
Will the fact the name of the XPF doesn’t completely match the job cause a problem?
At the very least it would be good to attach the XPF found in the one static directory to the job and then I can have 1 Printer Destination per queue, instead of a Printer Destination per XPF. (I have 2 printers, 5 queues, and 15+ categories.)
We want to see if we can do this with Core because both the script and the printers are getting very outdated.
I’m not looking for a full how-to, but a starting point would be very helpful.
Thank you!
RM