PosPrinterBase.CapJrnCartridgeSensor Property
2/27/2008
Indicates the presence of journal cartridge monitoring sensors.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property CapJrnCartridgeSensor As PrinterCartridgeSensors
public override PrinterCartridgeSensors CapJrnCartridgeSensor { get; }
public:
virtual property PrinterCartridgeSensors CapJrnCartridgeSensor {
PrinterCartridgeSensors get () override;
}
/** @property */
public PrinterCartridgeSensors get_CapJrnCartridgeSensor ()
public override function get CapJrnCartridgeSensor () : PrinterCartridgeSensors
Remarks
PosPrinterBase class verifies that the device has been opened, then retrieves the value of PosPrinterProperties.CapJrnCartridgeSensor.
CapJrnCartridgeSensor is initialized to PrinterCartridgeSensors.None by the PosPrinterProperties class. The service object should update CapJrnCartridgeSensor to an appropriate value in its Open method. The PosPrinterProperties class may throw PosControlException exceptions with the following values:
Value |
Meaning |
Illegal |
The service object has set the CapJrnCartridgeSensor property to an invalid PrinterCartridgeSensors value, or has attempted to set the CapJrnCartridgeSensor property to a value other than none while the CapJrnPresent property is set to false. |
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.CapJrnCartridgeSensor Property