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

public enum class PosPrinterCartridgeSensors
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum 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 10 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
@"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 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 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
@"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"

Applies to

See also