Hello,
Can you tell me how to edit the following to only output base64 string and no PDF file:
const Prince = require("prince")
const util = require("util")
Prince()
.inputs("invoicesample.html")
.output("test.pdf")
.execute()
.then(function () {
}, function (error) {
console.log("ERROR: ", util.inspect(error))
})
Thank you-
Can you tell me how to edit the following to only output base64 string and no PDF file:
const Prince = require("prince")
const util = require("util")
Prince()
.inputs("invoicesample.html")
.output("test.pdf")
.execute()
.then(function () {
}, function (error) {
console.log("ERROR: ", util.inspect(error))
})
Thank you-