BoxLang Quick Tips – PDF Generation
Today’s BoxLang quick tip is one near and dear to my heart, generating PDFs. Creating dynamic, expressive PDFs is fairly easy. Let me show you how. As before, I’ve got a video version as well so you would rather watch that, just skip to the end.
Step One – The Module
By default, BoxLang doesn’t ship with PDF capabilities built-in, you need to add it via the PDF Module. This can be done quickly via the CLI:
install-bx-module bx-pdf
Installing the module adds three new tags to your BoxLang runtime:
bx:document – This is the core tag for PDF generation. Everything inside it will either be content or directives (see the items below) to control what’s produced.
bx:documentitem... more →
Posted in: JavaScript