PosPrinter.SlpCurrentCartridge Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Gets or sets the slip cartridge the application wants to use.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property SlpCurrentCartridge As PrinterColors
public abstract PrinterColors SlpCurrentCartridge { get; set; }
public:
virtual property PrinterColors SlpCurrentCartridge {
PrinterColors get () abstract;
void set (PrinterColors value) abstract;
}
/** @property */
public abstract PrinterColors get_SlpCurrentCartridge ()
/** @property */
public abstract void set_SlpCurrentCartridge (PrinterColors value)
public abstract function get SlpCurrentCartridge () : PrinterColors
public abstract function set SlpCurrentCartridge (value : PrinterColors)
Remarks
Possible values are defined by the PrinterColors enumeration.
The value of SlpCurrentCartridge is must be one of the color cartridges specified by the CapSlpColor property. (It cannot be set to PrinterColors.Full.)
Setting SlpCurrentCartridge may also update the SlpCartridgeState property.
Accessing SlpCurrentCartridge 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.CapSlpColor Property
PosPrinter.SlpCartridgeState Property
PrinterColors