Bairdy14mo ago

How do I send a simple text file to the printer?

Hello. I am looking for an example of how to send a simple text file tot eh printer in Deno. Is this possible?
2 Replies
ioB14mo ago
It is definitely possible, but afaik you'd need to find out what protocols your printer works with and implement one of them. From a cursory look at /x it doesn't seem anyone has wanted to do this yet.
ioB14mo ago
on a second look, you should be able to do this through maybe being imported as npm:ipp or perhaps
Internet Printing Protocol (IPP) for nodejs. Latest version: 2.0.1, last published: 5 years ago. Start using ipp in your project by running npm i ipp. There are 12 other projects in the npm registry using ipp.