Bluetooth Send Text To Printer issue

Widely Device Compatible

Bluetooth and USB Interface,compatible Adroid,IOS and Windows.

How to connect Bluetooth with phone ?
1.open our printing app in your phone
2.in the app, select bluetooth of printer
3.connect the bluetooth
4.can print by phone through bluetooth .
Note: can't find bluetooth of printer in phone's setting ,can't connect bluetooth in setting,only can connect bluetooth in our app

Support Many Languages

If you want to print different languages.for example,Russia,Spain...

How to get the driver for printer ?
can download by this link :
Windows 7 Drive: Google Drive: Sign-in
Windows 10 drive: https://drive.google.com/file/d/0B9xDryhA985faGRnUUh5OEJ6X0k/view?usp=sharing

@Juan_Antonio Provided link is not Valid.

Hi @World_of_Games,
what we see here is that you can use the two pushbuttons to change the configuration of the printer or you can use the USB line (if connected to a PC, and this could be more easy and flexible).
In both cases it seems that you can select different codepages, but this video refers still to another printer model. Its BIOS can be different and can have different command sets (and the pushbuttons can behave differently). Anyway you can try. As per your snapshot your printer is capable to work with ASCII (the default one) and with the 866. The problem is to instruct the printer to work with the 866, it seems. By browsing the manual that @Chris linked, it seems that the command is "COUNTRY" (page 26). But "Russia" or Cyrillic, or CP866 are not in the table. You can try to set one of these options and see what happens...

how I can set COUNTRY with block ?

Hi @World_of_Games,
I guess you have to send several messages to the printer:
image
so instead of just sending the data, you have to send the commands, before, then the data.
To ease the trials you would rather use a USB cable and a PC with a Teraterm app, just to send commands and data quick and easy without creating the apk every attempt.
:crossed_fingers:

Based on my reading of ESC/POS,

this should switch your code page:



ESC_POS.aia (1.7 KB)

(I left out the BlueTooth Connect parts.)

I assume code page 17 is the right one.
According to the video, though, 27 is the one.
Experiment.

Did you try it? I was thinking you could send a settings code as the first line(s) of the text to be printed. Although the printer in the video is not the same model, the electronics are likely to be similar.

Tried but still messy ;((((



Try 27 instead of 17?

tried still messy ;(

I would try the P10 printer tool at
https://www.milestoneiot.com/UploadFiles/2021-02-26/Printer%20Tool_P10;%20P5801;%20P8001;%20P5805;%20P8005;%20P58C;%20P58D;%20L5801;%20P58F;%20P80F;%20P29L;%20L58C;%20L58D;%20L80A.zip

The Char_mode pulldown has options for UTF-8

You would need a USB cable from your PC to the printer to load its new print mode.

1 Like

@ABG thank you for your response. I connected USD cable

What should I do next?

  • Tread lightly.
  • See if you are within the free returns deadline for your printer
  • Decide if you are willing to risk the money and time you have invested into the printer
  • Study the tool display and see if you are actually connected to the printer (COM Port? USB Address?)
  • Check the Play Store and the printer maker's web site for alternative Android/BlueTooth based tools referred to in that YouTube video you posted
  • Ask the YouTube video author for the download URL of the tool(s) she used
  • See if one of the tool's options can return some status data from the printer, to get confidence that you are connected. (TEST button?/ Printer Test button?)
  • Play with the big text box and the encoding radio buttons above it to [SEND>>] text to the printer
  • Try to enter appropriate ESC/POS commands and send them to the printer.
  • See if that CharMode pulldown actually generates a command to switch code pages, and see if there is a button to send that command.
  • See if the "USB Printer" radio button under the USB address makes a difference compare to the "USB" radio button.

I have no way to test this program on your printer, so I am throwing ideas against the wall to see what sticks.

1 Like

@ABG

I've installed RawBT.apk
and tried to text Russian and print. Its Printing in Russia now how I can connect my App inventor application with RAWBT please help me. :pray:



https://rawbt.ru/intents.html

Congratulations!

If it is just you, your printer, and your app, I suggest you try using the Activity Starter component and the technique at the bottom of RawBT: Integration with other android application

You have to match up these values from the sample code to the AI2 component parameters in the Activity Starter help at
http://ai2.appinventor.mit.edu/reference/other/activitystarter.html

I see it's too complicated :pensive: :pensive: :pensive:

What do yu think will it work with Russian text if I buy this extention?

I have no idea.

If extensions don't work, post news of that in that extension's thread.

Any way, here is my guess at an Activity Starter call to that app you found ...

Looks as though it's internet dependant?

If RawBT can do it, then the printer is probably compatible with CP866 or CP808. The UTF8 character set includes support for Cyrillic, but printers do not usually support UTF8 directly.

There is an App that comes with the MHT-P10, that is certainly worth running to see if it has any printer settings.

image

Friends I have an Idea.
What if we convert any text to image and print?
if yes, how we can do ?