Share via


FiscalPrinter.BeginNonFiscal Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Starts nonfiscal operations on the printer.

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

Syntax

'Declaration
Public MustOverride Sub BeginNonFiscal
public abstract void BeginNonFiscal ()
public:
virtual void BeginNonFiscal () abstract
public abstract void BeginNonFiscal ()
public abstract function BeginNonFiscal ()

Remarks

BeginNonFiscal is supported only if CapNonFiscalMode is true. Output in this mode is performed by using the PrintNormal method.

BeginNonFiscal can be called only when the value of the PrinterState property is Monitor.

If BeginNonFiscal is successful, the PrinterState property is changed to Nonfiscal. To stop nonfiscal modality, call the EndNonFiscal method.

BeginNonFiscal may cause a PosControlException to be thrown with the following ErrorCode:

Value

Description

Busy

Cannot perform while output is in progress.

Illegal

One of the following errors occurred:

  • The printer does not support nonfiscal output (see the CapNonFiscalMode property).

ExtendedErrorWrongState

The printer’s current state does not allow this state transition.

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
EndNonFiscal
PrintNormal