Android Question Portuguese characters in a ESC POS BT printer?

Discussion in 'Android Questions' started by rafaelmotaquintana, Aug 2, 2016.

  1. rafaelmotaquintana

    rafaelmotaquintana Active Member Licensed User

    I've been looking for this and can't find anything that helps. Are somebody tried to print Portuguese characters in an ESC POS printer in B4A?
    I've tried ESC R command with all the options , nothing. Always print a different character .
    Thanks
     
  2. rafaelmotaquintana

    rafaelmotaquintana Active Member Licensed User

    I'd like any sample that prints latins characters on en ESC/POS thermal printer. Then I'll experiment. But found nothing.
    ESC & "R" & n does nothing
    ESC & "t" & n nothing.
    I don't know what do do
     
  3. rboeck

    rboeck Well-Known Member Licensed User

    Did you look at your printer setup for selecting the standard codepage?
     
  4. rafaelmotaquintana

    rafaelmotaquintana Active Member Licensed User

    This has no command for codepage selection. But it has an ESC R n for international characters.
    Have tried all of them and the same characters are printed.
    I think I'm doing something well because different fonts and sizes are working fine.
    Every time I tried to print the EURO dollar sign, 3 special characters are printed. I dont understand
     
  5. rafaelmotaquintana

    rafaelmotaquintana Active Member Licensed User

    I'm getting closer. Instead on focused on printer commands, i tried
    printer.Initialize2(serialprint.OutputStream,"ISO-8859-1")
    and now it shows the characters, not in the correct order but I could use REPLACE command in the meanwhile
    What others values for codepages should I try? Sorry, don't treat me as an expert.
     
  6. mc73

    mc73 Well-Known Member Licensed User

    Perhaps you should try ISO-8859-9.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice