Optional
options: Partial<PrintOptions>Send packet and wait for response
Optional
forceTimeout: numberOptional
forceTimeout: numberPoll printer every pollIntervalMs and resolve when printer pages equals pagesToPrint.
printprogress event is firing during this process.
PrintEnd call is not needed after this functions is done running.
Total pages to print.
Poll interval in milliseconds.
Poll printer every pollIntervalMs and resolve when printer pages equals pagesToPrint, pagePrintProgress=100, pageFeedProgress=100.
printprogress event is firing during this process.
Total pages to print.
Poll interval in milliseconds.
Packet sender and parser.