amoLink / bluetooth_print_plus

A flutter plugin for bluetooth thermal printer support Android & iOS
MIT License
12 stars 4 forks source link

Print Out tscCommand #4

Closed yusfiadil closed 5 months ago

yusfiadil commented 5 months ago

my code : image

result : WhatsApp Image 2024-06-07 at 15 32 37

How did it happen ?

amoLink commented 5 months ago

You need to determine the command type for your printer, and then run the demo to select the tsc cpcl esc command

yusfiadil commented 5 months ago

i'm using tsc. my command size,etc.... why follow to print out ? it shouldn't be

amoLink commented 5 months ago

I also encountered a very confirmed one, but later it wasn't by the way, What model is your printer

yusfiadil commented 5 months ago

model VSC TM-80D and I test in printer thermal ZJiang model ZJ-5809. same issue.

amoLink commented 5 months ago

try run the demo to select cpcl or esc command,I didn't find any useful information about VSC TM-80D

yusfiadil commented 5 months ago

VSC TM-80 D is a printer brand in my country. But I have a thermal printer ZJiang model ZJ-5809, and the same issue occurs where the print command is also printed. It should only print the text, not the command

any solution ?

yusfiadil commented 5 months ago

I have tried running the demo to select CPCL or ESC commands but the result is the same.

amoLink commented 5 months ago

ZJ-5809 is ESC/POS http://www.zjiang.com/en/init.php/product/index?id=57

Xnip2024-06-07_22-08-47
yusfiadil commented 5 months ago

Is there an example of an ESC command for printing text? Because the ESC commands I found only have examples for printing images.

amoLink commented 5 months ago

A new version will be released in a few days

yusfiadil commented 5 months ago

Great, I'll be looking forward to the new version.

amoLink commented 5 months ago

Updated, please update to version 2.0.0

yusfiadil commented 5 months ago

ok, i will try it. thanks.