Help Needed for Connecting POS Printer via USB in UWP App

Jay 140 Reputation points
2025-04-17T10:33:44.84+00:00

Hi Team,

I have implemented POS printer functionality in my UWP app. When I connect the POS printer using Bluetooth, it works perfectly. However, when I connect the printer via a USB cable, I’m unable to find a way to detect or connect to the printer within the app.

I have created a sample using the code from the link below. It works fine with a Bluetooth connection, but I’m unable to print when the printer is connected via USB.

https://github.com/Microsoft/Windows-universal-samples/tree/main/Samples/PosPrinter

Could you please help me understand how to connect and print using a USB-connected POS printer in a UWP app?

Thank you!

Universal Windows Platform (UWP)
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.