PosPrinterBase.JrnCurrentCartridge Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Holds the currently selected journal cartridge.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Overrides Property JrnCurrentCartridge As PrinterColors
public override PrinterColors JrnCurrentCartridge { get; set; }
public:
virtual property PrinterColors JrnCurrentCartridge {
PrinterColors get () override;
void set (PrinterColors value) override;
}
/** @property */
public PrinterColors get_JrnCurrentCartridge ()
/** @property */
public void set_JrnCurrentCartridge (PrinterColors value)
public override function get JrnCurrentCartridge () : PrinterColors
public override function set JrnCurrentCartridge (value : PrinterColors)
Remarks
PosPrinterBase class verifies that the device has been opened, claimed, and enabled, then retrieves or sets the value of PosPrinterProperties.JrnCurrentCartridge.
JrnCurrentCartridge is initialized to PrinterColors.None by the PosPrinterProperties class.
Setting JrnCurrentCartridge can cause a PosControlException exception to be thrown with the following ErrorCode:
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.JrnCurrentCartridge Property