Share via


PosPrinter.JrnCartridgeState Property

2/27/2008

Gets the status of the selected journal cartridge (ink, ribbon, or toner).

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property JrnCartridgeState As PrinterCartridgeStates
public abstract PrinterCartridgeStates JrnCartridgeState { get; }
public:
virtual property PrinterCartridgeStates JrnCartridgeState {
    PrinterCartridgeStates get () abstract;
}
/** @property */
public abstract PrinterCartridgeStates get_JrnCartridgeState ()
public abstract function get JrnCartridgeState () : PrinterCartridgeStates

Remarks

Possible values are defined by the PrinterCartridgeStates enumeration.

Value

Meaning

Unknown

Cannot determine the cartridge state, for one of the following reasons:

  • The CapJrnCartridgeSensor property is set to PrinterCartridgeSensors.None. The device does not support cartridge-state reporting.

  • The CartridgeNotify property is set to PrinterCartridgeNotify.Disabled. Cartridge-state notifications are disabled.

  • The DeviceEnabled property is set to false. Cartridge state monitoring does not occur until the device is enabled.

Removed

The cartridge specified by the JrnCurrentCartridge property has been removed.

Empty

The cartridge specified by JrnCurrentCartridge is empty.

Cleaning

The head specified by JrnCurrentCartridge is being cleaned.

NearEnd

The cartridge specified by JrnCurrentCartridge is near its end.

OK

The cartridge specified by JrnCurrentCartridge is in normal condition.

Note

These values are listed according to their priority order. The service object should set them in priority order also.

When JrnCartridgeState is set to any value other than PrinterCartridgeStates.Unknown, the service object queues a StatusUpdateEvent event by using the StatusJournal range constants, notifying the application of the change.

JrnCartridgeState is set and kept current by the service object while the device is enabled.

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
JrnCurrentCartridge
PosPrinter.CartridgeNotify Property
PosPrinter.CapJrnCartridgeSensor Property
PrinterCartridgeStates