FiscalPrinter.TrainingModeActive Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Gets a Boolean value that indicates whether the printer's operational state allows the training mode.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property TrainingModeActive As Boolean
public abstract bool TrainingModeActive { get; }
public:
virtual property bool TrainingModeActive {
bool get () abstract;
}
/** @property */
public abstract boolean get_TrainingModeActive ()
public abstract function get TrainingModeActive () : boolean
Remarks
Training mode allows all fiscal commands, but each receipt is marked as nonfiscal and no internal printer registers are updated with data while in training mode. Some fiscal rules for countries/regions require that all blank characters on a training mode receipt are replaced by another character. Italy, for example, requires that all training mode receipts print a "?" (question mark) instead of a blank.
TrainingModeActive is set and kept current by the service object while the device is enabled.
Values are as follows:
Value |
Description |
true |
The printer is in training mode. No data is written into the EPROM of the fiscal printer. |
false |
The printer is in normal mode. All printed receipts are also update the fiscal memory. |
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