cancel
Showing results for 
Search instead for 
Did you mean: 
10 Replies
StefanT-Xerox
FreeFlow User

Re: Rename File before sending to printer

Here is a way to change the job name sent to the printer.

External Process:

change job name.PNG

The Python script run by the batch file will name the file:

$FFwfJob.jobName$-Pages-$FFwfDoc.pages$

To change this, edit the lines jobname.text in the Python script.

Stefan

0 Kudos

Re: Rename File before sending to printer

For doing so, you let the entry at the MAX configuration menu empty. Then you are able to set the variables later on in the process.

0 Kudos

Re: Rename File before sending to printer

0 Kudos
RRD_Jeff
Frequent Member
Frequent Member

Re: Rename File before sending to printer

Also I think the issue is when you are trying to change the name using variables in save Job it's the last thing to be done so it works, with Max it is the first thing to be done so at that point nothing has been done with the file and it does not have the page count available yet.
The other issue with having it process change the name and then saved to a second hot folder, does not work because then I loos all the other MAX information IE QTY and Stock.
0 Kudos
RRD_Jeff
Frequent Member
Frequent Member

Re: Rename File before sending to printer

This may have been fixed already in the current version, I am stuck on V5.4.3 as there is an issue with my licence, it is supposed to work with version 6 but when I tried to install it it said my license was no good, and I have not had time to deal with that issue.
0 Kudos

Re: Rename File before sending to printer

Yes thats right and working fine for the save node. It also works in the printing node, but if you use a tiling node in your workflow in combination of a printing node, the renaming does not work for specific variables.
In our case these are $FFwfDoc.documentWidth$ and $FFwfDoc.documentHeight$.
These variables did not work.

0 Kudos
DavidU54339-XRX
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Rename File before sending to printer

I stand corrected. If one specifies the use of the Workflow Job Ticket in the Save node -- see below -- the new filename is fed to the targeted second Workflow. "atlanta.pdf" becomes "atlanta-Pages-5.pdf".

p4.pngp5.png

0 Kudos
DavidU54339-XRX
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Rename File before sending to printer

Saving the file, with a new filename defined in the Save node, to a Hotfolder should result in the new filename being used. This is not working. I have written a BUG for this to be fixed.

0 Kudos
RRD_Jeff
Frequent Member
Frequent Member

Re: Rename File before sending to printer

Thanks for your help, I have decided it's not worth the effort.
0 Kudos

Re: Rename File before sending to printer

We also had an issue with renaming printjobs, while sending them at a printer node in 6.1.3
Everything was fine by saving into file. The reason is, when i tiling node is used in the workflow, this behavior will occur in our case.
To solve this we use an external script, that writes a xpf file in front of the printer note. That file is renamed and the result is ok.

I am not able to send pictures in the forum, but I can provide you with a working example.

0 Kudos