Hi. How to send ESC/P2 (RAW) command to windows printer (something like dot-matrix receipt printer, EPSON LX or TMU-220) with Rust ?
In C++ there's some library for that such as https://github.com/Malanche/escpospp
In node.js there's a library called node-printer
: https://github.com/tojocky/node-printer
Rust however turns out to be lacking on that. The closest thing I found is https://github.com/ancwrd1/ipp.rs. But this requires an IPP printer installed somewhere. Also doesn't work in Windows.
I believe there's should be one for Rust too. But I can't find anything on crates.io that closely resembles those two library.