PosPrinter.RecCurrentCartridge Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Gets or sets the receipt cartridge selected by the application.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property RecCurrentCartridge As PrinterColors
public abstract PrinterColors RecCurrentCartridge { get; set; }
public:
virtual property PrinterColors RecCurrentCartridge {
PrinterColors get () abstract;
void set (PrinterColors value) abstract;
}
/** @property */
public abstract PrinterColors get_RecCurrentCartridge ()
/** @property */
public abstract void set_RecCurrentCartridge (PrinterColors value)
public abstract function get RecCurrentCartridge () : PrinterColors
public abstract function set RecCurrentCartridge (value : PrinterColors)
Remarks
Possible values are defined by the PrinterColors enumeration.
RecCurrentCartridge is set when the device is first enabled following the Open method.
The value of RecCurrentCartridge is must be one of the color cartridges specified by the CapRecColor property. (RecCurrentCartridge cannot be set to PrinterColors.Full.)
Setting RecCurrentCartridge may also update the RecCartridgeState property.
Accessing RecCurrentCartridge may cause a PosControlException to be thrown with the following ErrorCode:
Value |
Meaning |
Illegal |
One or more of the following conditions has occurred:
|
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
PosPrinter Class
PosPrinter Members
Microsoft.PointOfService Namespace
PosPrinter.RecCartridgeState Property
PrinterColors