cloudPrint
This server side api function does support the same parameters as cloudPrint from the client side api.
Example 1
let resultObj = await serverApi.cloudPrint(req.body, {
blob: myBlob,
printerName: "HP LaserJet",
});
console.log(resultObj.status);Example 2
let pdfBlob = await serverApi.createReportPdfBlob(req.body, {
reportName: "demo1",
configName: "address",
archive: true,
parameters: {
id: 45,
},
});
let resultObj = await serverApi.cloudPrint(req.body, {
blob: pdfBlob,
printerName: "HP LaserJet",
});
console.log(resultObj.status);Example 2
Last updated