Print PDFs from Base64 Using JavaScript

If you want to start printing a document encoded in Base64, load it by passing it to the document option in your configuration as a data URI, and then call instance.print() when the SDK has loaded.

When the SDK has finished loading, call this method and the printing dialog should display indicating the PDF has started printing:

PSPDFKit.load({
    document: 'data:application/pdf;base64,<your base 64 string goes here>'
    ...
}).
then(instance => {
    // Print when loaded.
    //
    instance.print()
})