Share via


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

2/27/2008

Stops fiscal printing to the slip station.

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

Syntax

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

Remarks

EndFiscalDocument is supported only if CapSlpFiscalDocument is true.

If EndFiscalDocument is successful, the PrinterState property is changed to Monitor.

EndFiscalDocument may cause a PosControlException exception to be thrown with one of the following ErrorCodes:

Value

Description

Busy

Cannot perform while output is in progress.

Illegal

The printer does not support fiscal output to the slip station (see CapSlpFiscalDocument).

ExtendedErrorWrongState:

The printer is not in the FiscalDocument state.

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
FiscalPrinter.BeginFiscalDocument Method
PrintFiscalDocumentLine