JourneyPrinter
How to check if JourneyPrinter is supported
var capabilities = JourneyPrinter.getCapabilities(); {
print: true|false,
generatePdf: true|false
}Printing a PDF
// Print a PDF from an ArrayBuffer:
JourneyPrinter.printPdf(view.pdf.toArrayBuffer());
// Print a PDF from base 64 string:
JourneyPrinter.printPdf(view.pdf.toBase64());Generate a PDF
Format
value
Details
Default
Example
Last updated