Windows Dev Center

Expand Minimize

Windows.Devices.PointOfService namespace

Enables application developers to access Point of Service (POS) peripheral devices, such as barcode scanners and magnetic stripe readers. The namespace provides a vendor-neutral interface for accessing POS devices from various manufacturers from the Windows Store apps.

Members

The Windows.Devices.PointOfService namespace has these types of members:

Classes

ClassDescription
BarcodeScanner Represents the barcode scanner device.
BarcodeScannerCapabilities Represents the barcode scanner capabilities.
BarcodeScannerDataReceivedEventArgs Provides the barcode data from the DataReceived event.
BarcodeScannerErrorOccurredEventArgs Provides data for the ErrorOccurred event.
BarcodeScannerImagePreviewReceivedEventArgs Provides the data from the ImagePreviewReceived event.
BarcodeScannerReport Contains the barcode scanner data.
BarcodeScannerStatusUpdatedEventArgs Provides information about an operation status change.
BarcodeSymbologies Contains the barcode symbology.
CashDrawer A cash drawer device in a retail scenario.
CashDrawerCapabilities Represents the cash drawer capabilities.
CashDrawerCloseAlarm The cash drawer close alarm. Parameter defaults are provided, however the user can update them as appropriate.
CashDrawerClosedEventArgs This object is passed as a parameter to the event handlers for the DrawerClosed event.
CashDrawerEventSource Provides event sources that allow a developer to detect when the cash drawer is opened or closed.
CashDrawerOpenedEventArgs This object is passed as a parameter to the event handlers for the DrawerOpened event.
CashDrawerStatus Provides the current power and availability status of the cash drawer.
CashDrawerStatusUpdatedEventArgs This object is passed as a parameter to the event handlers for the StatusUpdated event.
ClaimedBarcodeScanner Represents the claimed barcode scanner.
ClaimedCashDrawer Provides access to exclusive and privileged methods, properties, and events on a point-of-service cash drawer device.
ClaimedJournalPrinter Represents a journal printer station that has been claimed for use.
ClaimedMagneticStripeReader Represents the claimed magnetic stripe reader.
ClaimedPosPrinter Represent a point-of-service printer that has been claimed for use.
ClaimedReceiptPrinter Represents a receipt printer station that has been claimed for use.
ClaimedSlipPrinter Represents a slip printer station that has been claimed for use.
JournalPrinterCapabilities Represents the capabilities of journal station of a point-of-service printer.
JournalPrintJob Represents a set of printing instructions that you want to run on the journal printer station.
MagneticStripeReader Represents the magnetic stripe reader device.
MagneticStripeReaderAamvaCardDataReceivedEventArgs Provides the American Association of Motor Vehicle Administrators (AAMVA) card data from the AamvaCardDataReceived event.
MagneticStripeReaderBankCardDataReceivedEventArgs Provides bank card data from the BankCardDataReceived event.
MagneticStripeReaderCapabilities Provides capabilities information for the magnetic stripe reader.
MagneticStripeReaderCardTypes Contains the card type of the recently swiped card.
MagneticStripeReaderEncryptionAlgorithms Contains the encryption algorithm supported by the device.
MagneticStripeReaderErrorOccurredEventArgs Provides error information for the ErrorOccurred event.
MagneticStripeReaderReport Contains data from the recently swiped card.
MagneticStripeReaderStatusUpdatedEventArgs Provides information about an operation status change.
MagneticStripeReaderTrackData Contains the track data obtained following a card swipe.
MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs Provides data for the recently swiped vendor card.
PosPrinter Represents a point-of-service printer.
PosPrinterCapabilities Represents the capabilities of the point-of-service printer.
PosPrinterCharacterSetIds Represents the set of identifiers for the character sets that a point-of-service printer can use.
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 Provides information about the status of a point-of-service printer, such as the power state of the printer.
PosPrinterStatusUpdatedEventArgs Provides information about the PosPrinter.StatusUpdated event that occurs when the status of a point-of-service printer changes.
ReceiptPrinterCapabilities Represents the capabilities of receipt station of a point-of-service printer.
ReceiptPrintJob Represents a set of printing instructions that you want to run on the receipt printer.
SlipPrinterCapabilities Represents the capabilities of slip station of a point-of-service printer.
SlipPrintJob Represents a set of printing instructions that you want to run on the slip printer station.
UnifiedPosErrorData Provides error information.

 

Enumerations

The Windows.Devices.PointOfService namespace has these enumerations.

EnumerationDescription
BarcodeScannerStatus Defines the constants that indicates the barcode scanner status.
CashDrawerStatusKind Defines the constants that indicate the cash drawer power status.
MagneticStripeReaderAuthenticationLevel Defines the constants that indicates the level of support for magnetic stripe reader authentication protocol: NotSupported, Optional, or Required.
MagneticStripeReaderAuthenticationProtocol Defines the constants that indicates the authentication protocol supported by the device.
MagneticStripeReaderErrorReportingType Defines the constants that indicates the error reporting type for the device.
MagneticStripeReaderStatus Defines the constants that indicates the device authentication status.
MagneticStripeReaderTrackErrorType Defines the constants that indicates the track error type.
MagneticStripeReaderTrackIds Defines the constants that indicates the device track ID to read.
PosPrinterAlignment Describes the possible horizontal alignments of the text that a point-of-service printer prints on the page.
PosPrinterBarcodeTextPosition Describes the possible vertical positions in which a point-of-service printer prints the barcode text relative to the barcode.
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 Describes the possible color cartridges that a point-of-service printer can support.
PosPrinterColorCartridge Describes the color cartridges that the point-of-service printer can use for printing.
PosPrinterLineDirection Describes the possible directions that a receipt or slip printer station can use to print a ruled line.
PosPrinterLineStyle Describes the line styles that a receipt or slip printer station can use to print a ruled line.
PosPrinterMapMode Describes the valid units of measure for point-of-service printers.
PosPrinterMarkFeedCapabilities Describes the capabilities of a receipt printer station for handling mark-sensed paper.
PosPrinterMarkFeedKind Describes the ways the receipt printer station should feed the mark-sensed paper when you call the ReceiptPrintJob.MarkFeed method.
PosPrinterPrintSide Describes the sides of the sheet of paper on which the point-of-service printer prints.
PosPrinterRotation Describes the possible ways that a point-of-service printer can rotate the text or image on the page.
PosPrinterRuledLineCapabilities Describes the capabilities of the point-of-service printer to draw ruled lines.
PosPrinterStatusKind Describes the power state for a point-of-service printer.
UnifiedPosErrorReason Defines the constants that indicates the reason for the error event.
UnifiedPosErrorSeverity Defines the constants that indicates the error severity.
UnifiedPosHealthCheckLevel Defines the constants that indicates the type of health check that can be performed on the devices.
UnifiedPosPowerReportingType Defines the constants that indicates power reporting capabilities of the Point of Service (POS) device.

 

Interfaces

The Windows.Devices.PointOfService namespace defines these interfaces.

InterfaceDescription
ICashDrawerEventSourceEventArgs Represents the arguments common to cash drawer event sources.
ICommonClaimedPosPrinterStation Represents properties and actions common to all type of claimed stations for a point-of-service printer.
ICommonPosPrintStationCapabilities Represents the capabilities common to all types of stations for point-of-service printers.
ICommonReceiptSlipCapabilities Represents the capabilities common to receipt and slip printer stations.
IPosPrinterJob Represents actions common to jobs for all types of stations for a point-of-service printer.
IReceiptOrSlipJob Represents actions common to jobs for receipt and slip printer stations.

 

Remarks

All POS apps are required declare DeviceCapability in the app package manifest, by using either "pointOfService" or a device specific GUID, such as "C243FFBD-3AFC-45E9-B3D3-2BA18BC7EBC5" for a barcode scanner or "2A9FE532-0CDC-44F9-9827-76192F2CA2FB" for a magnetic stripe reader.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows 10 Mobile

Namespace

Windows.Devices.PointOfService
Windows::Devices::PointOfService [C++]

Metadata

Windows.winmd

 

 

Show:
© 2015 Microsoft