cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member
Member

Use of barcode component in text mark

Jump to solution

We succeded with building up the barcode for our sewing machine. 

But the operators wants the numbers in an explaining text as the following: 

Sheet 1 / 4 Signature 2 / 3 

The variables are correct in the barcode. 
Named <Blattnummer> and <Blattanzahl im Auftrag>
What are the text variables for these entries? I did not find them in the Help file which is much improved in the last versions, thanks for that at this point.

 

0 Kudos
3 Replies
Highlighted
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Use of barcode component in text mark

Jump to solution

These variables are internal to the Barcode node. There are not present/useable in nodes such Watermark.

0 Kudos
Highlighted
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Use of barcode component in text mark

Jump to solution

You can use a script for this. Please see attached. It will print the job name, sheet number/number of sheets, front/back and timestamp. To decide what to print and how and where to print information on a page you can edit these lines in the Python script:

can.rotate(90)
can.setFont("Helvetica", 7)
can.drawString(350, -20, sys.argv[4] + " Sheet " + str(i) + " / " + str(numberofsheets) + " " + side + " " + timestampStr)

This requires Python that you will need to install together with PyPDF2 and reportlab. To run it, create an External Process in a FFCore workflow and point to the batch file. Please see paths to both python.exe and the path to the Python script in the batch file. Those paths may need to be changed. Parameters used:

 "$FFin$" "$FFout$" "$FFwfJob.sidesImaged$" "$FFwfJob.jobName$"

/Stefan

 

0 Kudos
Highlighted
Member
Member

Re: Use of barcode component in text mark

Jump to solution

Thanks a lot for that work, that will help us to get a much more better understanding how scripts can support us in problems. 

In our case the solution for the machine users was to print out the numbers of the code below the barcode. The quantity of types make it possible to "read" the numbers.

0 Kudos