JourneyPrinter.printPDFfunction a PDF in the format of an ArrayBuffer or a base 64 string. In the case of an attachment object, helper functions are available:
<html/>component to generate a PDF and send it in base 64 format to the app to be printed.
htmlStringis a string of HTML with
@media printCSS rules to control how the PDF is displayed. In addition, the
<head>tag of the HTML must also contain this