AbstractOptionalprintOptions: Partial<PrintOptions>ProtectedemitProtectedemitCheck if this print task supports a specified page color
ProtectedmakeEnd print, cleanup
ProtectedprintheadPrinter's printhead resolution in pixels
AbstractprintPrepare print (set label type, density, print start, ...)
AbstractprintPrint image with a specified number of copies
Optionalquantity: numberReset print task state (pages printed)
ProtectedvalidateValidate page before printing. Checks:
Also increments pagesPrinted by quantity.
AbstractwaitWait for all print is finished
Wait for page print is finished
Different printer models have different print algorithms. Print task defines this algorithm.
Example