cancel
Showing results for 
Search instead for 
Did you mean: 

Generate document task - Barcode generation in PDF format

wtam-ucla
Champ on-the-rise
Champ on-the-rise

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}

image

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.

image

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 ACCEPTED ANSWER

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 answer in original post

3 REPLIES 3

EddieMay
World-Class Innovator
World-Class Innovator

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
Confirmed Champ
Confirmed Champ


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

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