Windows.Devices.PointOfService Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 UWP app.
Also see the UnifiedPOS architectural specification.
Important classes | Description |
---|---|
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 APIs | Description |
---|---|
UnifiedPosErrorData class | Provides error information. |
UnifiedPosErrorReason enumeration | Defines the constants that indicates the reason for the error event. |
UnifiedPosErrorSeverity enumeration | Defines the constants that indicates the error severity. |
UnifiedPosHealthCheckLevel enumeration | Defines the constants that indicates the type of health check that can be performed on the devices. |
UnifiedPosPowerReportingType enumeration | Defines the constants that indicates power reporting capabilities of the Point of Service (POS) device. |
Barcode |
Represents the barcode scanner device. |
Barcode |
Represents the barcode scanner capabilities. |
Barcode |
Provides the barcode data from the DataReceived event. |
Barcode |
Provides data for the ErrorOccurred event. |
Barcode |
Provides the data from the ImagePreviewReceived event. |
Barcode |
Contains the barcode scanner data. |
Barcode |
Provides information about an operation status change. |
Barcode |
Contains the barcode symbology. |
Barcode |
The attributes of a barcode scanner symbology. |
Cash |
A cash drawer device in a retail scenario. |
Cash |
Represents the cash drawer capabilities. |
Cash |
The cash drawer close alarm. Parameter defaults are provided, however the user can update them as appropriate. |
Cash |
This object is passed as a parameter to the event handlers for the DrawerClosed event. |
Cash |
Provides event sources that allow a developer to detect when the cash drawer is opened or closed. |
Cash |
This object is passed as a parameter to the event handlers for the DrawerOpened event. |
Cash |
Provides the current power and availability status of the cash drawer. |
Cash |
This object is passed as a parameter to the event handlers for the StatusUpdated event. |
Claimed |
Represents the claimed barcode scanner. |
Claimed |
This object is passed as a parameter to the event handlers for the ClaimedBarcodeScanner.Closed event. |
Claimed |
Provides access to exclusive and privileged methods, properties, and events on a point-of-service cash drawer device. |
Claimed |
This object is passed as a parameter to the event handlers for the ClaimedCashDrawer.Closed event. |
Claimed |
Represents a journal printer station that has been claimed for use. |
Claimed |
Represents a claimed line display device. |
Claimed |
This object is passed as a parameter to the event handlers for the ClaimedLineDisplay.Closed event. |
Claimed |
Represents the claimed magnetic stripe reader. |
Claimed |
This object is passed as a parameter to the event handlers for the ClaimedMagneticStripeReader.Closed event. |
Claimed |
Represent a point-of-service printer that has been claimed for use. |
Claimed |
This object is passed as a parameter to the event handlers for the ClaimedPosPrinter.Closed event. |
Claimed |
Represents a receipt printer station that has been claimed for use. |
Claimed |
Represents a slip printer station that has been claimed for use. |
Journal |
Represents the capabilities of journal station of a point-of-service printer. |
Journal |
Represents a set of printing instructions that you want to run on the journal printer station. |
Line |
Represents a line display device. |
Line |
Represents the attributes of a line display device. |
Line |
Represents the line display capabilities. |
Line |
Represents a line display cursor. |
Line |
Represents the attributes of a line display cursor. |
Line |
Represents a set of custom glyphs to be used by a line display. |
Line |
Represents an object containing properties describing and allowing control of marquee scrolling on a line display. |
Line |
Represents a standard statistics category selector. |
Line |
Provides event data for power state changes in the line display device. |
Line |
Represents an object used to store a bitmap via the LineDisplayWindow.StoreBitmapAsync method. |
Line |
Represents a line display window. |
Magnetic |
Represents the magnetic stripe reader device. |
Magnetic |
Provides the American Association of Motor Vehicle Administrators (AAMVA) card data from the AamvaCardDataReceived event. |
Magnetic |
Provides bank card data from the BankCardDataReceived event. |
Magnetic |
Provides capabilities information for the magnetic stripe reader. |
Magnetic |
Contains the card type of the recently swiped card. |
Magnetic |
Contains the encryption algorithm supported by the device. |
Magnetic |
Provides error information for the ErrorOccurred event. |
Magnetic |
Contains data from the recently swiped card. |
Magnetic |
Provides information about an operation status change. |
Magnetic |
Contains the track data obtained following a card swipe. |
Magnetic |
Provides data for the recently swiped vendor card. |
Payment |
|
Payment |
|
Payment |
|
Payment |
|
Payment |
|
Payment |
|
Payment |
|
Payment |
|
Pos |
Represents a point-of-service printer. |
Pos |
Represents the capabilities of the point-of-service printer. |
Pos |
Represents the set of identifiers for the character sets that a point-of-service printer can use. |
Pos |
Represents the property of a specific point-of-service printer font. |
Pos |
Represents the print options of the text that you want to print to a point-of-service printer. |
Pos |
Provides information about the ClaimedPosPrinter.ReleaseDeviceRequested event that occurs when a point-of-service printer gets a request to release its exclusive claim. |
Pos |
Provides information about the status of a point-of-service printer, such as the power state of the printer. |
Pos |
Provides information about the PosPrinter.StatusUpdated event that occurs when the status of a point-of-service printer changes. |
Receipt |
Represents the capabilities of receipt station of a point-of-service printer. |
Receipt |
Represents a set of printing instructions that you want to run on the receipt printer. |
Slip |
Represents the capabilities of slip station of a point-of-service printer. |
Slip |
Represents a set of printing instructions that you want to run on the slip printer station. |
Unified |
Provides error information. |
Size |
Defines the height and width of an object in a two-dimensional plane. |
ICash |
Represents the arguments common to cash drawer event sources. |
ICommon |
Represents properties and actions common to all type of claimed stations for a point-of-service printer. |
ICommon |
Represents the capabilities common to all types of stations for point-of-service printers. |
ICommon |
Represents the capabilities common to receipt and slip printer stations. |
IPos |
Represents actions common to jobs for all types of stations for a point-of-service printer. |
IReceipt |
Represents actions common to jobs for receipt and slip printer stations. |
Barcode |
Defines the constants that indicate the barcode scanner status. |
Barcode |
The types of decode lengths that barcode symbologies can support. |
Cash |
Defines the constants that indicate the cash drawer power status. |
Line |
Defines the constants that indicate the type of cursor a line display is using. |
Line |
Defines the constants that indicate the state of a line display descriptor. |
Line |
Defines the constants that indicate the horizontal alignment of text on a line display, relative to the current text character position. |
Line |
Defines the constants that indicate the marquee format for the current window. |
Line |
Defines the constants that indicate the power status of a line display. |
Line |
Defines the constants that indicate the scrolling direction of the line display. |
Line |
Defines the constants that indicate whether the line display is reversed or blinking. |
Line |
Defines the constants that indicate whether the line display supports blinking or reversing the display. |
Line |
Defines the constants that indicate the vertical alignment of text on a line display, relative to the current text character position. |
Magnetic |
Defines the constants that indicates the level of support for magnetic stripe reader authentication protocol: NotSupported, Optional, or Required. |
Magnetic |
Defines the constants that indicates the authentication protocol supported by the device. |
Magnetic |
Defines the constants that indicates the error reporting type for the device. |
Magnetic |
Defines the constants that indicate the device authentication status. |
Magnetic |
Defines the constants that indicates the track error type. |
Magnetic |
Defines the constants that indicates the device track ID to read. |
Payment |
|
Payment |
|
Payment |
|
Pos |
Connection types that can be used to access a point of service device. |
Pos |
Describes the possible horizontal alignments of the text that a point-of-service printer prints on the page. |
Pos |
Describes the possible vertical positions in which a point-of-service printer prints the barcode text relative to the barcode. |
Pos |
Describes the possible sensors available for a printer station of a point-of-service printer to use to report the status of the printer. |
Pos |
Describes the possible color cartridges that a point-of-service printer can support. |
Pos |
Describes the color cartridges that the point-of-service printer can use for printing. |
Pos |
Describes the possible directions that a receipt or slip printer station can use to print a ruled line. |
Pos |
Describes the line styles that a receipt or slip printer station can use to print a ruled line. |
Pos |
Describes the valid units of measure for point-of-service printers. |
Pos |
Describes the capabilities of a receipt printer station for handling mark-sensed paper. |
Pos |
Describes the ways the receipt printer station should feed the mark-sensed paper when you call the ReceiptPrintJob.MarkFeed method. |
Pos |
Describes the sides of the sheet of paper on which the point-of-service printer prints. |
Pos |
Describes the possible ways that a point-of-service printer can rotate the text or image on the page. |
Pos |
Describes the capabilities of the point-of-service printer to draw ruled lines. |
Pos |
Describes the power state for a point-of-service printer. |
Unified |
Defines the constants that indicates the reason for the error event. |
Unified |
Defines the constants that indicates the error severity. |
Unified |
Defines the constants that indicates the type of health check that can be performed on the devices. |
Unified |
Defines the constants that indicates power reporting capabilities of the Point of Service (POS) device. |
Applications that use this namespace require the declaration of the pointOfService
DeviceCapability in the app package manifest.