Search code examples
windowsflutterprintingprinters

How to print and connect to printer using flutter desktop via usb?


I want to connect to the printer via usb but I cant find any solutions to do this.


Solution

    1. Download PDFtoPrinter.exe http://www.columbia.edu/~em36/pdftoprinter.html

    2. Use it by running spwan procceses https://api.dart.dev/stable/2.17.6/dart-io/Process-class.html