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}
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.
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
Solved! Go 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
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,
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
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.