Using Mirth Connect JavaScript to output a barcode font to PDF

Mirth Connect uses iTextpdf and barcode 128 is not an included font. I downloaded code128.ttf font, but how can I reference this with javascript in Mirth Connect? Maybe someone has a Mirth channel that does this or something similar?

Another possibility is Mirth Connect has a Document Writer template option which can use HTML/CSS to reference the local font. I tried many variations of HTML/Inline CSS to no avail.

1 thought on “Using Mirth Connect JavaScript to output a barcode font to PDF”

Leave a Comment