IOperationServicePrint Method |
Print document on specified printer.
Namespace:
Resto.Front.Api
Assembly:
Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax bool Print(
IPrinterRef printer,
Document document,
bool checkIsCompleted = false
)
Parameters
- printer
- Type: Resto.Front.Api.Data.PrintIPrinterRef
Instance of printer.
- document
- Type: Resto.Front.Api.Data.PrintDocument
Document to print.
- checkIsCompleted (Optional)
- Type: SystemBoolean
Wait for printing to complete and check it's success. Otherwise, only the success of sending the issue to the printer is checked. Relevant for the receipt printer.
Return Value
Type:
Boolean
True for successfully printed document.
See Also