Share via


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

2/27/2008

Ends form removal processing.

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

Syntax

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

Remarks

When it is called, the printer is taken out of form removal or ejection mode. If no form is detected in the device, a successful status of Success is returned to the application. If a form is present, an extended error status ExtendedErrorSlipForm is returned.

EndRemoval is paired with the BeginRemoval method for controlling form removal. The application may choose to call EndRemoval immediately after a successful BeginRemoval if it wants to use the printer sensors to determine when the form has been removed. Alternatively, the application may prompt the user and wait for a key press before it calls this method.

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

Value

Description

Illegal

The printer is not in slip removal mode.

ExtendedErrorSlipForm

The device was taken out of removal mode while a form was still present.

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.BeginInsertion Method
FiscalPrinter.EndInsertion Method
FiscalPrinter.BeginRemoval Method