Page 1 of 1

Enfocus PitStop Server 2020 Barcode with Filename

Posted: Tue Dec 22, 2020 12:14 am
by rhguimas
Hi all.

I am struggling to find a way to generate a Barcode in PS Server using Document Name as de input value.

This is new in PS 2020, because now you can have a Variable in de Barcode parameters Action.

The problem is that if you keep the .pdf in the filename, the barcode will not be generated.

The workaround is to rename the pdf file, taking the .pdf out, then process the document in the respective Hotfolder with the Barcode Action on it, and then rename de output file putting the .pdf suffix again.

Is this workaround necessary or am I missing something?

Thanks in advance for any help given.

Regards

Ricardo

Re: Enfocus PitStop Server 2020 Barcode with Filename

Posted: Tue Dec 22, 2020 11:05 am
by laurentd
Hi Ricardo.
I suppose the document name is only made of digits? (except for the .pdf extension)
You can use the Switch Core Engine that now ships with PitStop Server 2020, edit your variable set in Switch, and use [Job.NameProper] to create your barcode.
Laurent