Topic Options
#55689 - 02/13/18 12:22 PM Adding Barcode to existing PDF
RobbyO Offline
OL Newbie

Registered: 10/22/13
Posts: 9
Loc: Kentucky
Hello All,
I have not been able to nail down exactly how to accomplish this, so any help would be appreciated. I'm not sure what to search for...

We have a PDF being generated by WinQueue Input. Ultimately, I'd like to capture the ID off of the PDF and add a barcode to the document before printing it.

What I THINK I'm supposed to do:
- Design a document with a blank background on which I will "paste" the PDF and add the barcode. This document will be created with a MetaData field for the ID I am capturing.
- In the workflow, once the PDF arrives, I will generate metadata pertaining to the form, then proceed to actually create the Form that I designed above.
Am I barking up the right tree? If so, how do I get the original PDF to be applied to the new form?

Now, having looked at this further, there's another option:
- Capture the ID number from the PDF and somehow pass it to the document where the original PDF is applied and the Barcode is applied.
Is this option better?

#ThinkinOutLoud
Many thanks!


Edited by RobbyO (02/13/18 12:29 PM)

Top
#55690 - 02/13/18 01:17 PM Re: Adding Barcode to existing PDF [Re: RobbyO]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1933
Loc: Objectif Lune, Montreal, Qc
That's one step too many.
In Workflow, you simply need to store the proper barcode information in one of the JobInfo variables (say, Jobinfo 9). These variables are always sent to your template along with the data file when you run your job.

As for the document itself, you should Design a new document that uses the PDF as its data file. Then, once you've loaded a sample PDF file as your data file in the Designer, right-click on that PDF in the Sample Data panel and select "Map as background".
Finally, add a barcode and position it on your document, then make sure to set your custom data selection to
Code:
=&Watch.JobInfos[9]
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top