Introduction
I have a DLL in VB6 that is generating an array of javascript commands that will be executed in an asp page to generate a PDF dynamically. Until then, all right! In this PDF I need to generate a barcode, the old system would do it through a font that has the characters in bar code, but the PDF generator does not accept custom fonts.
Imagined solution
The pdf generator (jspdf) supports base64 images, so I thought of creating a routine that would generate a barcode image using the source and then encode that base64 image to be displayed in the PDF