D
Deno

help

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

BBairdy5/13/2023
Hello. I am looking for an example of how to send a simple text file tot eh printer in Deno. Is this possible?
IioB5/13/2023
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.
IioB5/13/2023
on a second look, you should be able to do this through maybe https://www.npmjs.com/package/ipp being imported as npm:ipp or perhaps https://esm.sh/ipp.
npm
ipp
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.

Looking for more? Join the community!