Open hiagodotme opened 1 year ago
I'm wrapping up my day for today, I'm going to make a fork and try to solve it. As soon as I get it I will send a pull request.
@Hubertformin I sent the correction and performed the tests, if you can generate an npm version I would appreciate it.
Hello; how did you make the correction? I am having the same issue with last version
Hello everyone, I tried to print a very large item and was surprised when the printer triggered the cut and did not finish printing it.
I noticed that this routine takes the size of the Electron window where the document was rendered. Putting a manual value of 4096 (much higher than the value I need, everything worked normally).
My thermal printer is 80mm.
How can I get around this?
https://github.com/Hubertformin/electron-pos-printer/blob/d01e9614c0cdb056143fbe6172124908878a0a78/src/main/post-printer.ts#L108