Printing to Receipt printers and label makers from DART

333 views
Skip to first unread message

Jonathan Bomgardner

unread,
Jan 12, 2014, 11:12:10 PM1/12/14
to mi...@dartlang.org
Hello All,

I'm currently evaluating whether Dart would be a good fit for a new project. What I'm looking for is a way to print directly to receipt printers and barcode writers. These each require sending specific commands to the printer via the driver. In Node.JS this is accomplished by either writing directly to the printer through a port or by interfacing with a .NET library that can handle the printing.

Is this possible from Dart (I imagine just through the standalone VM)? If so, can someone provide me a link to docs or some directions to do so? I think I'd really like to use Dart for this project (a POS/Inventory system) but I need to be able to do interface properly with these printing devices.

Thanks,
Jon Bomgardner

Jos Hirth

unread,
Jan 12, 2014, 11:16:29 PM1/12/14
to mi...@dartlang.org

Günter Zöchbauer

unread,
Jan 13, 2014, 1:58:45 AM1/13/14
to mi...@dartlang.org
If you want write to the printer directly without a driver just open the printer share or local port like a file and write into this file.

tomaszkubacki

unread,
Jan 13, 2014, 4:02:24 AM1/13/14
to mi...@dartlang.org
It's possible to use Chrome Packaged app API to talk to USB or serial port:


On Monday, January 13, 2014 5:12:10 AM UTC+1, Jonathan Bomgardner wrote:
Reply all
Reply to author
Forward
0 new messages