Printing Options
Set custom page size for printing - Android Only
window.WTN.Printing.setPrintSize({
"printSize":"Your print size value", //Eg. ISO_A4, ISO_B1, JIS_B3
"label":"Any custom value you want" //optional
})
import { Printing } from "webtonative"
Printing.setPrintSize({
"printSize":"Your print size value", //Eg. ISO_A4, ISO_B1, JIS_B3
"label":"Any custom value you want" //optional
})Print Using Function
window.WTN.printFunction({
"type":"Your print type", //Eg. html or url
"url":"Link or html content" // Url of the page/website or html content that needs to be printed
})import { printFunction } from "webtonative"
printFunction({
"type":"Your print type", //Eg. html or url
"url":"Link or html content" // Url of the page/website or html content that needs to be printed
})Last updated