Generate document task - Barcode generation in PDF format

cancel
Showing results for 
Search instead for 
Did you mean: 
wtam-ucla
Customer

Generate document task - Barcode generation in PDF format

Jump to solution

Using the Generate document task, I managed to generate a Word document with a barcode generated with APS variable data using the following code:

{DISPLAYBARCODE “<<[transmittal_id]>>” CODE128 \t \h 1500}

The transmittal_id variable data "L96869665" is inserted into the Word document.

{DISPLAYBARCODE “L96869665” CODE128 \t \h 1500}

barcode-Word.png

When you open in Word, the barcode is displayed. It seems like this only works for Word for PC. We want to switch to PDF version, so Mac users can view/print the document.

When I switch the output format to pdf, I get the following error shown in the PDF.

barcode-PDFError.png

Is there some configuration that I need to set for the PDF to render the barcode?

We are using APS 1.9.

Any insight into this would be much appreciated.

Thanks,

Wayne

1 Solution

Accepted Solutions
wtam-ucla
Customer

Re: Generate document task - Barcode generation in PDF format

Jump to solution

Hi,

The error only comes up on the preview. This is because the server running the preview generation does not have that font. If you install the font on the server, you should be able to see the preview with the barcode.

Hope this helps.

Wayne

View solution in original post

3 Replies
EddieMay
Alfresco Employee

Re: Generate document task - Barcode generation in PDF format

Jump to solution

Hi @wtam-ucla,

I believe this is an aspose issue & the recommendation is to use a barcode font in the doc template.

Hope your issue is resolved.

Thanks, 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
hernanisaurelio
Active Member II

Re: Generate document task - Barcode generation in PDF format

Jump to solution


hi wtam-ucla

Can you please tell me or show me the steps you took to get to where you have come

I'm really needing

I'm using alfresco-community 6

wtam-ucla
Customer

Re: Generate document task - Barcode generation in PDF format

Jump to solution

Hi,

The error only comes up on the preview. This is because the server running the preview generation does not have that font. If you install the font on the server, you should be able to see the preview with the barcode.

Hope this helps.

Wayne