PosPrinterCartridgeSensors PosPrinterCartridgeSensors PosPrinterCartridgeSensors PosPrinterCartridgeSensors 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 has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class PosPrinterCartridgeSensors
enum class winrt::Windows::Devices::PointOfService::PosPrinterCartridgeSensors : uint32_t
public enum PosPrinterCartridgeSensors
Public Enum PosPrinterCartridgeSensors
var value = Windows.Devices.PointOfService.PosPrinterCartridgeSensors.empty;
Attributes
System.FlagsAttribute ContractVersionAttribute

Windows 10 requirements

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

Fields

Empty Empty Empty Empty 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
@Windows.Devices.PointOfService.JournalPrinterCapabilities.CartridgeSensors?text=JournalPrinterCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ClaimedJournalPrinter.IsCartridgeEmpty?text=ClaimedJournalPrinter.IsCartridgeEmpty
@Windows.Devices.PointOfService.ReceiptPrinterCapabilities.CartridgeSensors?text=ReceiptPrinterCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ClaimedReceiptPrinter.IsCartridgeEmpty?text=ClaimedReceiptPrinter.IsCartridgeEmpty
@Windows.Devices.PointOfService.SlipPrinterCapabilities.CartridgeSensors?text=SlipPrinterCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ClaimedSlipPrinter.IsCartridgeEmpty?text=ClaimedSlipPrinter.IsCartridgeEmpty
@Windows.Devices.PointOfService.ICommonPosPrintStationCapabilities.CartridgeSensors?text=ICommonPosPrintStationCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ICommonClaimedPosPrinterStation.IsCartridgeEmpty?text=ICommonClaimedPosPrinterStation.IsCartridgeEmpty
HeadCleaning HeadCleaning HeadCleaning HeadCleaning 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
@Windows.Devices.PointOfService.JournalPrinterCapabilities.CartridgeSensors?text=JournalPrinterCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ClaimedJournalPrinter.IsHeadCleaning?text=ClaimedJournalPrinter.IsHeadCleaning
@Windows.Devices.PointOfService.ReceiptPrinterCapabilities.CartridgeSensors?text=ReceiptPrinterCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ClaimedReceiptPrinter.IsHeadCleaning?text=ClaimedReceiptPrinter.IsHeadCleaning
@Windows.Devices.PointOfService.SlipPrinterCapabilities.CartridgeSensors?text=SlipPrinterCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ClaimedSlipPrinter.IsHeadCleaning?text=ClaimedSlipPrinter.IsHeadCleaning
@Windows.Devices.PointOfService.ICommonPosPrintStationCapabilities.CartridgeSensors?text=ICommonPosPrintStationCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ICommonClaimedPosPrinterStation.IsHeadCleaning?text=ICommonClaimedPosPrinterStation.IsHeadCleaning
NearEnd NearEnd NearEnd NearEnd NearEnd 8

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

None None None None None 0

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

Removed Removed Removed Removed 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
@Windows.Devices.PointOfService.JournalPrinterCapabilities.CartridgeSensors?text=JournalPrinterCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ClaimedJournalPrinter.IsCartridgeRemoved?text=ClaimedJournalPrinter.IsCartridgeRemoved
@Windows.Devices.PointOfService.ReceiptPrinterCapabilities.CartridgeSensors?text=ReceiptPrinterCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ClaimedReceiptPrinter.IsCartridgeRemoved?text=ClaimedReceiptPrinter.IsCartridgeRemoved
@Windows.Devices.PointOfService.SlipPrinterCapabilities.CartridgeSensors?text=SlipPrinterCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ClaimedSlipPrinter.IsCartridgeRemoved?text=ClaimedSlipPrinter.IsCartridgeRemoved
@Windows.Devices.PointOfService.ICommonPosPrintStationCapabilities.CartridgeSensors?text=ICommonPosPrintStationCapabilities.CartridgeSensors @Windows.Devices.PointOfService.ICommonClaimedPosPrinterStation.IsCartridgeRemoved?text=ICommonClaimedPosPrinterStation.IsCartridgeRemoved

See also