Share via


PosPrinterStatusKind Enum

Definition

Describes the power state for a point-of-service printer.

public enum class PosPrinterStatusKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PosPrinterStatusKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PosPrinterStatusKind
var value = Windows.Devices.PointOfService.PosPrinterStatusKind.online
Public Enum PosPrinterStatusKind
Inheritance
PosPrinterStatusKind
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

Name Value Description
Online 0

The printer is online.

This value is valid if the value of the PosPrinterCapabilities.PowerReportingType property is UnifiedPosPowerReportingType.Standard or UnifiedPosPowerReportingType.Advanced.

Off 1

The printer is turned off or disconnected from the terminal.

This value is valid if the value of the PosPrinterCapabilities.PowerReportingType property is UnifiedPosPowerReportingType.Advanced.

Offline 2

The printer is turned on, but it is not ready or not able to respond to requests.

This value is valid if the value of the PosPrinterCapabilities.PowerReportingType property is UnifiedPosPowerReportingType.Advanced.

OffOrOffline 3

The printer is either turned off, or turned on but not ready or not able to respond to requests.

This value is valid if the value of the PosPrinterCapabilities.PowerReportingType property is UnifiedPosPowerReportingType.Standard.

Extended 4

The original equipment manufacturer (OEM) reports extended information about the power state of the printer in the PosPrinterStatus.ExtendedStatus property.

Applies to

See also