Click or drag to resize

IOperationServicePrint Method (IPrinterQueueRef, Document, Boolean)

Print document on specified printer.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
bool Print(
	IPrinterQueueRef printer,
	Document document,
	bool checkIsCompleted = false
)

Parameters

printer
Type: Resto.Front.Api.Data.PrintIPrinterQueueRef
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