Print APIs
The Print APIs (api.print) provide access to printer functionality.
getDefaultPrinterName
A public method that provides the configured printer name.
Method |
|
Parameters | None |
Returns |
|
printOrder
Prints an order receipt of a given type. Uses embedded printing templates for generated receipts.
Method |
| |||||||||
Parameters |
| |||||||||
Returns |
This method does not wait for the process to complete. |
executeOnPrimaryPrinter
Provides the ability to execute different print jobs on the assigned primary receipt printer.
Method |
| ||||||
Parameters |
| ||||||
Returns |
|
getExtraPrintDataForOrder
Printing request utility method that calculates extraPrintData for printOrder method.
Method |
| ||||||
Parameters |
| ||||||
Returns |