RAW Printer in Rust?

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.

It looks like escposify might be the crate you're looking for.

While I'm agree that this is the package I want, but it seems to be abandoned and I can't make it work.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.