Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drive a POS printer via USB in c# [closed]

Any ideas how i can best drive a USB POS printer from c#. POS printers are usually serial, TCP/IP or USB based. I know how to accomplish serial and TCP/IP but have no idea about communications through USB in C#. I know that there is a layer available from Microsoft called POS.NET, but I want to try and avoid using this. Any ideas or any C# libraries that people can recomend would be really appreciated. Thanks

like image 753
JDibble Avatar asked Oct 09 '08 14:10

JDibble


People also ask

How do I use a USB thermal printer?

Plug one end of the USB cable into the USB port of the printer, and the other end into the female USB connector of an OTG adapter or cable. Then, plug the micro-USB end of the OTG adapter or cable into the micro-USB port of your mobile device, and wait for the system to recognize the printer.

How do I add a printer via USB?

Simply plug the USB cable from your printer into an available USB port on your PC, and turn the printer on. Select the Start button, then select Settings >Devices >Printers & scanners. Select Add a printer or scanner. Wait for it to find nearby printers, then choose the one you want to use, and select Add device.


1 Answers

You should really consider using POS for .NET and OPOS or .NET service objects (Epson, for example provides both). POS for .NET conforms to the UnifiedPOS industry standard for interfacing with these devices.

like image 132
Sylvester Avatar answered Sep 20 '22 03:09

Sylvester