Windows.Devices.PointOfService Windows.Devices.PointOfService Windows.Devices.PointOfService Namespace

Definition

Enables application developers to access Point of Service (POS) peripheral devices. The namespace provides a vendor-neutral interface for accessing POS devices from various manufacturers from the Windows Store app.


**BarcodeScanner** enables application developers to access barcode scanners to retrieve decoded data from a variety of barcode symbologies such as UPC and QR Codes depending on support from the hardware.

**CashDrawer** enables application developers to interact with cash drawers.

**LineDisplay** enables application developers to control customer facing 2x20 line displays.

**MagneticStripeReader** enables application developers to access magnetic stripe readers to retrieve data from magnetic stripe enabled cards such as credit/debit cards, loyalty cards, access cards, etc.

**POSPrinter** enables application developers to print to network and Bluetooth connected receipt printers using the Epson ESC/POS printer control language.


Common MembersDescription
UnifiedPosErrorData classProvides error information.
UnifiedPosErrorReason enumerationDefines the constants that indicates the reason for the error event.
UnifiedPosErrorSeverity enumerationDefines the constants that indicates the error severity.
UnifiedPosHealthCheckLevel enumerationDefines the constants that indicates the type of health check that can be performed on the devices.
UnifiedPosPowerReportingType enumerationDefines the constants that indicates power reporting capabilities of the Point of Service (POS) device.

Classes

BarcodeScanner BarcodeScanner BarcodeScanner

Represents the barcode scanner device.

BarcodeScannerCapabilities BarcodeScannerCapabilities BarcodeScannerCapabilities

Represents the barcode scanner capabilities.

BarcodeScannerDataReceivedEventArgs BarcodeScannerDataReceivedEventArgs BarcodeScannerDataReceivedEventArgs

Provides the barcode data from the DataReceived event.

BarcodeScannerErrorOccurredEventArgs BarcodeScannerErrorOccurredEventArgs BarcodeScannerErrorOccurredEventArgs

Provides data for the ErrorOccurred event.

BarcodeScannerImagePreviewReceivedEventArgs BarcodeScannerImagePreviewReceivedEventArgs BarcodeScannerImagePreviewReceivedEventArgs

Provides the data from the ImagePreviewReceived event.

BarcodeScannerReport BarcodeScannerReport BarcodeScannerReport

Contains the barcode scanner data.

BarcodeScannerStatusUpdatedEventArgs BarcodeScannerStatusUpdatedEventArgs BarcodeScannerStatusUpdatedEventArgs

Provides information about an operation status change.

BarcodeSymbologies BarcodeSymbologies BarcodeSymbologies

Contains the barcode symbology.

BarcodeSymbologyAttributes BarcodeSymbologyAttributes BarcodeSymbologyAttributes

The attributes of a barcode scanner symbology.

CashDrawer CashDrawer CashDrawer

A cash drawer device in a retail scenario.

CashDrawerCapabilities CashDrawerCapabilities CashDrawerCapabilities

Represents the cash drawer capabilities.

CashDrawerCloseAlarm CashDrawerCloseAlarm CashDrawerCloseAlarm

The cash drawer close alarm. Parameter defaults are provided, however the user can update them as appropriate.

CashDrawerClosedEventArgs CashDrawerClosedEventArgs CashDrawerClosedEventArgs

This object is passed as a parameter to the event handlers for the DrawerClosed event.

CashDrawerEventSource CashDrawerEventSource CashDrawerEventSource

Provides event sources that allow a developer to detect when the cash drawer is opened or closed.

CashDrawerOpenedEventArgs CashDrawerOpenedEventArgs CashDrawerOpenedEventArgs

This object is passed as a parameter to the event handlers for the DrawerOpened event.

CashDrawerStatus CashDrawerStatus CashDrawerStatus

Provides the current power and availability status of the cash drawer.

CashDrawerStatusUpdatedEventArgs CashDrawerStatusUpdatedEventArgs CashDrawerStatusUpdatedEventArgs

This object is passed as a parameter to the event handlers for the StatusUpdated event.

ClaimedBarcodeScanner ClaimedBarcodeScanner ClaimedBarcodeScanner

Represents the claimed barcode scanner.

ClaimedCashDrawer ClaimedCashDrawer ClaimedCashDrawer

Provides access to exclusive and privileged methods, properties, and events on a point-of-service cash drawer device.

ClaimedJournalPrinter ClaimedJournalPrinter ClaimedJournalPrinter

Represents a journal printer station that has been claimed for use.

ClaimedLineDisplay ClaimedLineDisplay ClaimedLineDisplay

Represents a claimed line display device.

ClaimedMagneticStripeReader ClaimedMagneticStripeReader ClaimedMagneticStripeReader

Represents the claimed magnetic stripe reader.

ClaimedPosPrinter ClaimedPosPrinter ClaimedPosPrinter

Represent a point-of-service printer that has been claimed for use.

ClaimedReceiptPrinter ClaimedReceiptPrinter ClaimedReceiptPrinter

Represents a receipt printer station that has been claimed for use.

ClaimedSlipPrinter ClaimedSlipPrinter ClaimedSlipPrinter

Represents a slip printer station that has been claimed for use.

JournalPrinterCapabilities JournalPrinterCapabilities JournalPrinterCapabilities

Represents the capabilities of journal station of a point-of-service printer.

JournalPrintJob JournalPrintJob JournalPrintJob

Represents a set of printing instructions that you want to run on the journal printer station.

LineDisplay LineDisplay LineDisplay

Represents a line display device.

LineDisplayCapabilities LineDisplayCapabilities LineDisplayCapabilities

Represents the line display capabilities.

LineDisplayWindow LineDisplayWindow LineDisplayWindow

Represents the line display window.

MagneticStripeReader MagneticStripeReader MagneticStripeReader

Represents the magnetic stripe reader device.

MagneticStripeReaderAamvaCardDataReceivedEventArgs MagneticStripeReaderAamvaCardDataReceivedEventArgs MagneticStripeReaderAamvaCardDataReceivedEventArgs

Provides the American Association of Motor Vehicle Administrators (AAMVA) card data from the AamvaCardDataReceived event.

MagneticStripeReaderBankCardDataReceivedEventArgs MagneticStripeReaderBankCardDataReceivedEventArgs MagneticStripeReaderBankCardDataReceivedEventArgs

Provides bank card data from the BankCardDataReceived event.

MagneticStripeReaderCapabilities MagneticStripeReaderCapabilities MagneticStripeReaderCapabilities

Provides capabilities information for the magnetic stripe reader.

MagneticStripeReaderCardTypes MagneticStripeReaderCardTypes MagneticStripeReaderCardTypes

Contains the card type of the recently swiped card.

MagneticStripeReaderEncryptionAlgorithms MagneticStripeReaderEncryptionAlgorithms MagneticStripeReaderEncryptionAlgorithms

Contains the encryption algorithm supported by the device.

MagneticStripeReaderErrorOccurredEventArgs MagneticStripeReaderErrorOccurredEventArgs MagneticStripeReaderErrorOccurredEventArgs

Provides error information for the ErrorOccurred event.

MagneticStripeReaderReport MagneticStripeReaderReport MagneticStripeReaderReport

Contains data from the recently swiped card.

MagneticStripeReaderStatusUpdatedEventArgs MagneticStripeReaderStatusUpdatedEventArgs MagneticStripeReaderStatusUpdatedEventArgs

Provides information about an operation status change.

MagneticStripeReaderTrackData MagneticStripeReaderTrackData MagneticStripeReaderTrackData

Contains the track data obtained following a card swipe.

MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs

Provides data for the recently swiped vendor card.

PosPrinter PosPrinter PosPrinter

Represents a point-of-service printer.

PosPrinterCapabilities PosPrinterCapabilities PosPrinterCapabilities

Represents the capabilities of the point-of-service printer.

PosPrinterCharacterSetIds PosPrinterCharacterSetIds PosPrinterCharacterSetIds

Represents the set of identifiers for the character sets that a point-of-service printer can use.

PosPrinterReleaseDeviceRequestedEventArgs PosPrinterReleaseDeviceRequestedEventArgs PosPrinterReleaseDeviceRequestedEventArgs

Provides information about the ClaimedPosPrinter.ReleaseDeviceRequested event that occurs when a point-of-service printer gets a request to release its exclusive claim.

PosPrinterStatus PosPrinterStatus PosPrinterStatus

Provides information about the status of a point-of-service printer, such as the power state of the printer.

PosPrinterStatusUpdatedEventArgs PosPrinterStatusUpdatedEventArgs PosPrinterStatusUpdatedEventArgs

Provides information about the PosPrinter.StatusUpdated event that occurs when the status of a point-of-service printer changes.

ReceiptPrinterCapabilities ReceiptPrinterCapabilities ReceiptPrinterCapabilities

Represents the capabilities of receipt station of a point-of-service printer.

ReceiptPrintJob ReceiptPrintJob ReceiptPrintJob

Represents a set of printing instructions that you want to run on the receipt printer.

SlipPrinterCapabilities SlipPrinterCapabilities SlipPrinterCapabilities

Represents the capabilities of slip station of a point-of-service printer.

SlipPrintJob SlipPrintJob SlipPrintJob

Represents a set of printing instructions that you want to run on the slip printer station.

UnifiedPosErrorData UnifiedPosErrorData UnifiedPosErrorData

Provides error information.

Interfaces

ICashDrawerEventSourceEventArgs ICashDrawerEventSourceEventArgs ICashDrawerEventSourceEventArgs

Represents the arguments common to cash drawer event sources.

ICommonClaimedPosPrinterStation ICommonClaimedPosPrinterStation ICommonClaimedPosPrinterStation

Represents properties and actions common to all type of claimed stations for a point-of-service printer.

ICommonPosPrintStationCapabilities ICommonPosPrintStationCapabilities ICommonPosPrintStationCapabilities

Represents the capabilities common to all types of stations for point-of-service printers.

ICommonReceiptSlipCapabilities ICommonReceiptSlipCapabilities ICommonReceiptSlipCapabilities

Represents the capabilities common to receipt and slip printer stations.

IPosPrinterJob IPosPrinterJob IPosPrinterJob

Represents actions common to jobs for all types of stations for a point-of-service printer.

IReceiptOrSlipJob IReceiptOrSlipJob IReceiptOrSlipJob

Represents actions common to jobs for receipt and slip printer stations.

Enums

BarcodeScannerStatus BarcodeScannerStatus BarcodeScannerStatus

Defines the constants that indicate the barcode scanner status.

BarcodeSymbologyDecodeLengthKind BarcodeSymbologyDecodeLengthKind BarcodeSymbologyDecodeLengthKind

The types of decode lengths that barcode symbologies can support.

CashDrawerStatusKind CashDrawerStatusKind CashDrawerStatusKind

Defines the constants that indicate the cash drawer power status.

LineDisplayScrollDirection LineDisplayScrollDirection LineDisplayScrollDirection

Defines the constants that indicate the scrolling direction of the line display.

LineDisplayTextAttribute LineDisplayTextAttribute LineDisplayTextAttribute

Defines the constants that indicate whether the line display is reversed or blinking.

LineDisplayTextAttributeGranularity LineDisplayTextAttributeGranularity LineDisplayTextAttributeGranularity

Defines the constants that indicate whether the line display supports blinking or reversing the display.

MagneticStripeReaderAuthenticationLevel MagneticStripeReaderAuthenticationLevel MagneticStripeReaderAuthenticationLevel

Defines the constants that indicates the level of support for magnetic stripe reader authentication protocol: NotSupported, Optional, or Required.

MagneticStripeReaderAuthenticationProtocol MagneticStripeReaderAuthenticationProtocol MagneticStripeReaderAuthenticationProtocol

Defines the constants that indicates the authentication protocol supported by the device.

MagneticStripeReaderErrorReportingType MagneticStripeReaderErrorReportingType MagneticStripeReaderErrorReportingType

Defines the constants that indicates the error reporting type for the device.

MagneticStripeReaderStatus MagneticStripeReaderStatus MagneticStripeReaderStatus

Defines the constants that indicates the device authentication status.

MagneticStripeReaderTrackErrorType MagneticStripeReaderTrackErrorType MagneticStripeReaderTrackErrorType

Defines the constants that indicates the track error type.

MagneticStripeReaderTrackIds MagneticStripeReaderTrackIds MagneticStripeReaderTrackIds

Defines the constants that indicates the device track ID to read.

PosConnectionTypes PosConnectionTypes PosConnectionTypes

Connection types that can be used to access a point of service device.

PosPrinterAlignment PosPrinterAlignment PosPrinterAlignment

Describes the possible horizontal alignments of the text that a point-of-service printer prints on the page.

PosPrinterBarcodeTextPosition PosPrinterBarcodeTextPosition PosPrinterBarcodeTextPosition

Describes the possible vertical positions in which a point-of-service printer prints the barcode text relative to the barcode.

PosPrinterCartridgeSensors PosPrinterCartridgeSensors PosPrinterCartridgeSensors

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

PosPrinterColorCapabilities PosPrinterColorCapabilities PosPrinterColorCapabilities

Describes the possible color cartridges that a point-of-service printer can support.

PosPrinterColorCartridge PosPrinterColorCartridge PosPrinterColorCartridge

Describes the color cartridges that the point-of-service printer can use for printing.

PosPrinterLineDirection PosPrinterLineDirection PosPrinterLineDirection

Describes the possible directions that a receipt or slip printer station can use to print a ruled line.

PosPrinterLineStyle PosPrinterLineStyle PosPrinterLineStyle

Describes the line styles that a receipt or slip printer station can use to print a ruled line.

PosPrinterMapMode PosPrinterMapMode PosPrinterMapMode

Describes the valid units of measure for point-of-service printers.

PosPrinterMarkFeedCapabilities PosPrinterMarkFeedCapabilities PosPrinterMarkFeedCapabilities

Describes the capabilities of a receipt printer station for handling mark-sensed paper.

PosPrinterMarkFeedKind PosPrinterMarkFeedKind PosPrinterMarkFeedKind

Describes the ways the receipt printer station should feed the mark-sensed paper when you call the ReceiptPrintJob.MarkFeed method.

PosPrinterPrintSide PosPrinterPrintSide PosPrinterPrintSide

Describes the sides of the sheet of paper on which the point-of-service printer prints.

PosPrinterRotation PosPrinterRotation PosPrinterRotation

Describes the possible ways that a point-of-service printer can rotate the text or image on the page.

PosPrinterRuledLineCapabilities PosPrinterRuledLineCapabilities PosPrinterRuledLineCapabilities

Describes the capabilities of the point-of-service printer to draw ruled lines.

PosPrinterStatusKind PosPrinterStatusKind PosPrinterStatusKind

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

UnifiedPosErrorReason UnifiedPosErrorReason UnifiedPosErrorReason

Defines the constants that indicates the reason for the error event.

UnifiedPosErrorSeverity UnifiedPosErrorSeverity UnifiedPosErrorSeverity

Defines the constants that indicates the error severity.

UnifiedPosHealthCheckLevel UnifiedPosHealthCheckLevel UnifiedPosHealthCheckLevel

Defines the constants that indicates the type of health check that can be performed on the devices.

UnifiedPosPowerReportingType UnifiedPosPowerReportingType UnifiedPosPowerReportingType

Defines the constants that indicates power reporting capabilities of the Point of Service (POS) device.

Remarks

Applications which require this namespace require the addition of the “pointOfService” DeviceCapability to the app package manifest.