Alainx277 / brother-escp

An NPM package to interface with Brother receipt and label printers using ESC/P
MIT License
5 stars 1 forks source link

about ESC/P #2

Open assumptiv opened 1 month ago

assumptiv commented 1 month ago

this is the only way I know to reach you.

I need to know a few things about ESC/P. Brother tech support won't provide anything, and the community forum seems to be a ghost town, but you obviously know how to work with it.

Please message me: jmk.prfl@gmail.com

Litibe commented 1 month ago

your question ??

assumptiv commented 1 month ago

I have been struggling with Brother's version of esc/p for weeks. I get the unpleasant feeling that they really don't want anyone to use it.

The help desk refuses to provide any support whatsoever for esc/p, and I have posted several questions on multiple boards with no responses.

I'll start with a fairly basic example.

I want to print a QR code on small square labels (stock Brother labels).

The first thing I discovered are that certain parameters are required before you send the command to print a QR code, such as the font style and size, even though I am not printing any text.

There is NOTHING in the manuals about which codes are required, in what sequence, and whether there are dependencies based on what you are trying to do.

The only examples in the manual are the specific codes being defined in a section, with no context information.

Here's another issue: I try to print the QR code, and it works IF it is placed in a certain position. Move it over too far, and it just prints a blank label. No error code, no diagnostic.Nothing. No way to figure out what is wrong and how to fix it.

Then I try a larger size QR code, because I want it to fill the label. Seems reasonable to me. Result ? same thing, a blank label.

Curiously, if I create the same label in P-touch Editor, it works flawlessly. Fills the whole label. Is there a place where you can see the label translated into esc/p codes ? Noooooo. That would make understanding the command sequence, syntax and parameters way too easy.

Someone out there did figure out that the label files are actually a pair of xml files in zip format, but sadly that doesn't shed any more light into what is going on.

There is something in one of the manuals about printed space vs printable space, but there is literally nothing eplaining either of those two, much less how to define and manipulate those areas. From the fact that the label I want can be printed, there is clearly a way to do it, but neither the manuals nor tech support are going to give up that secret.

I am under the impression that you have the Rosetta Stone of esc/p in your possession, and I am begging you to share it with me.

TIA

On Thu, Jul 4, 2024, 3:43 PM Litibe @.***> wrote:

your question ??

— Reply to this email directly, view it on GitHub https://github.com/Alainx277/brother-escp/issues/2#issuecomment-2209497766, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJNU4UYTNLURU5Y2M64TXY3ZKWQUNAVCNFSM6AAAAABJ272XEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBZGQ4TONZWGY . You are receiving this because you authored the thread.Message ID: @.***>

Litibe commented 1 month ago

I buy a brother printer td-2120n to try to printer label. Yes brother is over. I search a program too in javascript or python, i am web developper. I found yesterday a program to send a command over my vpn to print on printer by network. it's in javascript and work with Nextjs : https://www.npmjs.com/package/brother-escp

I try to found another to print table on label but it's very difficult without help by brother....