PosPrinterCartridgeSensors Enum

Definition

Describes the possible sensors available for a printer station of a point-of-service printer to use to report the status of the printer.

This enumeration supports a bitwise combination of its member values.

public enum class PosPrinterCartridgeSensors
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PosPrinterCartridgeSensors
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PosPrinterCartridgeSensors
var value = Windows.Devices.PointOfService.PosPrinterCartridgeSensors.none
Public Enum PosPrinterCartridgeSensors
Inheritance
PosPrinterCartridgeSensors
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Empty 2

The printer station has a sensor that detects if the cartridge is empty.

If the CatridgeSensors property of the capabilities object for a printer station does not contain this value, the IsCartridgeEmpty property of corresponding object for the claimed printer station is not valid. The following table shows the properties that are not valid when the corresponding CartridgeSensors property does not contain PosPrinterCartridgeSensors.Empty.

Property that does not contain PosPrinterCartridgeSensors.Empty Property that is not valid
JournalPrinterCapabilities.CartridgeSensors ClaimedJournalPrinter.IsCartridgeEmpty
ReceiptPrinterCapabilities.CartridgeSensors ClaimedReceiptPrinter.IsCartridgeEmpty
SlipPrinterCapabilities.CartridgeSensors ClaimedSlipPrinter.IsCartridgeEmpty
ICommonPosPrintStationCapabilities.CartridgeSensors ICommonClaimedPosPrinterStation.IsCartridgeEmpty
HeadCleaning 4

The printer station has a sensor that detects if the head of the printer cartridge is being cleaned.

If the CatridgeSensors property of the capabilities object for a printer station does not contain this value, the IsHeadCleaning property of corresponding object for the claimed printer station is not valid. The following table shows the properties that are not valid when the corresponding CartridgeSensors property does not contain PosPrinterCartridgeSensors.Head Cleaning.

Property that does not contain PosPrinterCartridgeSensors.Head Cleaning Property that is not valid
JournalPrinterCapabilities.CartridgeSensors ClaimedJournalPrinter.IsHeadCleaning
ReceiptPrinterCapabilities.CartridgeSensors ClaimedReceiptPrinter.IsHeadCleaning
SlipPrinterCapabilities.CartridgeSensors ClaimedSlipPrinter.IsHeadCleaning
ICommonPosPrintStationCapabilities.CartridgeSensors ICommonClaimedPosPrinterStation.IsHeadCleaning
NearEnd 8

The printer station has a sensor that detects if the printer cartridge is almost out of ink or toner.

None 0

The printer station does not have any sensors available to report the status of the station.

Removed 1

The printer station has a sensor that detects if the cartridge is removed.

If the CatridgeSensors property of the capabilities object for a printer station does not contain this value, the IsCartridgeRemoved property of corresponding object for the claimed printer station is not valid. The following table shows the properties that are not valid when the corresponding CartridgeSensors property does not contain PosPrinterCartridgeSensors.Removed.

Property that does not contain PosPrinterCartridgeSensors.Removed Property that is not valid
JournalPrinterCapabilities.CartridgeSensors ClaimedJournalPrinter.IsCartridgeRemoved
ReceiptPrinterCapabilities.CartridgeSensors ClaimedReceiptPrinter.IsCartridgeRemoved
SlipPrinterCapabilities.CartridgeSensors ClaimedSlipPrinter.IsCartridgeRemoved
ICommonPosPrintStationCapabilities.CartridgeSensors ICommonClaimedPosPrinterStation.IsCartridgeRemoved

Applies to

See also