Click or drag to resize

IOperationServiceTryGetDocumentPrinter Method

Try get document printer for specified restaurant section.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
IPrinterQueueRef TryGetDocumentPrinter(
	IRestaurantSection section = null,
	bool checkIsConfigured = false
)

Parameters

section (Optional)
Type: Resto.Front.Api.Data.Organization.SectionsIRestaurantSection
Printer`s restaurant section. If section not specified uses default table`s section.
checkIsConfigured (Optional)
Type: SystemBoolean
If checkIsConfigured = true returns only configured printer.

Return Value

Type: IPrinterQueueRef
Instance of printer or null if section does not contains document printer or document printer not configured (for checkIsConfigured = true).
See Also