PosPrinterBase.CapJrnColor Property
2/27/2008
Indicates available journal color cartridges.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property CapJrnColor As PrinterColors
public override PrinterColors CapJrnColor { get; }
public:
virtual property PrinterColors CapJrnColor {
PrinterColors get () override;
}
/** @property */
public PrinterColors get_CapJrnColor ()
public override function get CapJrnColor () : PrinterColors
Remarks
PosPrinterBase class verifies that the device has been opened, then retrieves the value of PosPrinterProperties.CapJrnColor.
CapJrnColor is initialized to PrinterColors.None by the PosPrinterProperties class. The service object should update CapJrnColor to an appropriate value in its Open method. When the service object sets CapJrnColor, PosPrinterProperties may throw PosControlException exceptions with the following values:
Value |
Meaning |
Illegal |
|
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
PosPrinterBase Class
PosPrinterBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
PosPrinter.CapJrnColor Property
PrinterColors Enumeration