Share via


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

2/27/2008

Stops training operations on either the receipt or slip station.

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

Syntax

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

Remarks

EndTraining is supported only if CapTrainingMode is true.

If EndTraining is successful, the TrainingModeActive property is changed to false.

EndTraining may cause a PosControlException 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 training mode (see the CapTrainingMode property).

ExtendedErrorWrongState:

The printer is not in the Training 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.BeginTraining Method
PrintRecCash
PrintRecItem
PrintRecItemAdjustment
PrintRecItemFuel
PrintRecItemFuelVoid
PrintRecMessage
PrintRecNotPaid
PrintRecPackageAdjustment
PrintRecPackageAdjustVoid
PrintRecRefund
PrintRecRefundVoid
PrintRecSubtotal
PrintRecSubtotalAdjustment
PrintRecSubtotalAdjustVoid
PrintRecTaxId
PrintRecTotal
PrintRecVoid