Important: Please read the Qt Code of Conduct -

[SOLVED] Escape Sequence for bold the text while printing

  • Hi,

    I want to make my printing header text as BOLD. I am using Bixolon printers. i tried few sequences, but it's not working? What is the exact escape sequence for Bold.

    I have tried ESC E & ESC 1M. But it is not working.

    printtext ="\u001BE" + printtext + "\n";

    can anyone help me with this?

  • I tried \x1BG1 and it is working fine.

    printtext =” \x1BG1” + printtext + “\n”;

Log in to reply