Enfocus PitStop Server 2020 Barcode with Filename

Post Reply
rhguimas
Newbie
Posts: 2
Joined: Tue Feb 11, 2014 9:29 pm

Enfocus PitStop Server 2020 Barcode with Filename

Post by rhguimas » Tue Dec 22, 2020 12:14 am

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

laurentd
Member
Posts: 36
Joined: Wed Mar 13, 2019 2:06 pm

Re: Enfocus PitStop Server 2020 Barcode with Filename

Post by laurentd » Tue Dec 22, 2020 11:05 am

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
Laurent De Wilde, Solution Architect @ Enfocus

Post Reply