How can I print labels on a 3nstar PPT305BT printer using App Inventor?

Greetings, I need help. I have a printing extension in App Inventor 2 that connects and prints in ESC/POS mode, but doesn't do so when the printer is in EZD (label) mode. It connects but doesn't print. I've tried to contact the person responsible for that extension but haven't received a response. Therefore, I'd like to know if anyone has an extension in App Inventor that is compatible with a 3NSTAR PPT305BT printer that can print in EZD (label) mode.
Or if anyone could tell me how I can print to this printer model from App Inventor 2.


The . java files can be seen at the following link:
https://3nstar.com/descargagas-para-impresoras/?lang=es
The printer model can be seen at the following link:


Or if anyone knows how to make an extension compatible with this printer.

Please, someone can help me with this request.
Or an extension for printing images in EZD mode. Compatible with this model (PPT305BT).

I don't see the words 'EZD Mode' at the spec sheet:

1 Like

There is an Android utility at https://3nstar.com/wp-content/uploads/2023/07/PPT305BT-Drivers.zip to configure that printer to ESC mode and set it up for BlueTooth.

Here's what we have on ESC Bluetooth printing:

1 Like

No mention of EZD mode on this website:

I think you would do well to ask the Manufacturer's Tech Support:
https://3nstar.com/technical-support/

I think you should be able to print a label in ESC/POS mode - can you show us (and the Manufacturers Tech Support) example labels?

In the printer settings, it has two modes: one for ESC/POS, which is receipt mode, and the other for labels. When you change it in the top right corner, it says EZD. And I CAN'T PRINT A LABEL WITH THE mmnettime EXTENSION.
Here's what I mean:

Do you have a version of that video with English commentary??

That's the manufacturer's website... I don't have an English version. In fact, the .java files are on the website.
https://3nstar.com/descaragas-para-impresoras/?lang=es
Here's the program mentioned in the video. That program is in English. Printer programming is only supported in EZD mode. The program for sending configuration parameters to the printer doesn't work in ESC mode.

Tell us, what is the difference between a Label and a receipt?

Don't labels come in different sizes and shapes?

Is there any detail I might be missing to send parameters for printing, because I can do so with the mmnetime ESC/POS mode extension?

In EZD mode, I connect but don't receive the correct instructions to print the label.


The difference is that in receipt mode, the top margins shift as they are printed; in label mode, the printed content shifts into the label. Because of the sensors it has, I tried to square the margins today in this mode, and the labels kept getting out of place. help me

Last time I printed sticky labels, they were on a sheet, or pin fed, and self aligning.

Having sensors in a roll fed printer is new to me.

If you can find the printer codes to realign, the AI2 BlueTooth component can alternately send bytes (0-255) and text to match ESC/POS like this sample page from the current Epson ESC/POS reference:


(See my FAQ for the link)

Those extensions you have been using just gloss over the codes.

Can you find this manufacturer's codes for sensing and correcting misalignment?

You have an example block to use that coding and experience printing, the misalignment occurs when I start each print, it moves a millimeter and it adds up until it starts rolling.

Have you read pages 10-30 of the user manual

The printer has its own controls to adjust for labels, if you can play its buttons and read its menues right.

I suppose it is done that way because label rolls might be different roll to roll.

Further thoughts on label misalignment:

The printer user manual has pages on how to calibrate its sensors to look for black marks or gaps between labels.

This is different from strict length measurement approaches, I imagine because the paper backing of label rolls might stretch or contract in different humidity levels.

The upside to having a well set up printer label sensor is that hopefully all you need to jump to the next label is to send a Form Feed character.
(Consult your local ASCII chart)

Where there would be a knob to tweak the roll up and down, there is instead a menu item in the user interface controls for that.

Further thoughts on EZD mode.

There is no EZD mode.

EZD is a firmware version code displayed on the diagnostic output page.

You have to reboot the printer from there to accept a print stream

Also, I see no evidence of the existence of a Label mode.

You must learn the data stream and how to express format changes in it.

Another thought on possible cause of label offset creeping on roll labels...

Sending blank lines to fill out label height may be counterproductive.

Keep the label text short, and send a Form Feed character between labels.

Then hope the printer label gap sensor works.

You are absolutely right, the label measurements are different and the printers should allow modification according to the type of LABEL, I agree with you there, but I cannot print from App Inventor when the printer is in this LABEL MODE (EZD), I can print in INVOICE mode (ESC), and the configurations that it allows to make infer when working with Label mode (EZD), but do not have an effect on the mode (ESC).

I am grateful for the support you give me, I explain the manual I have read it, when the printer is in Invoice / Receipt mode, in the upper right part of the printer an acronym (ESC) is placed and when it is in Label mode, in the upper right part of the printer an acronym (EZD) is placed. IN THIS MODE THE PRINT FLOW THAT I SENT FROM APP INVENTOR DOES NOTHING, THE SCREEN ACTS AS IT RECEIVES THE COMMAND BUT DOES NOT EXECUTE THE PRINTING ON THE LABEL.