FiscalPrinter.PrinterState Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets the printer's current operational state.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property PrinterState As FiscalPrinterState
public abstract FiscalPrinterState PrinterState { get; }
public:
virtual property FiscalPrinterState PrinterState {
    FiscalPrinterState get () abstract;
}
/** @property */
public abstract FiscalPrinterState get_PrinterState ()
public abstract function get PrinterState () : FiscalPrinterState

Remarks

Valid values are defined by the FiscalPrinterState enumeration.

PrinterState controls which methods are currently legal.

A few methods are accepted in any state except Locked. These are as follows: BeginInsertion, EndInsertion, BeginRemoval, EndRemoval, GetDate, GetData, GetTotalizer, GetVatEntry, ResetPrinter and ClearOutput.

PrinterState is set and kept current by the service object while the device is enabled.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

FiscalPrinter Class
FiscalPrinter Members
Microsoft.PointOfService Namespace