Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Escape Sequence for bold the text while printing
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Escape Sequence for bold the text while printing

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 4.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    seethanellai
    wrote on 26 Aug 2014, 08:27 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      seethanellai
      wrote on 26 Aug 2014, 09:30 last edited by
      #2

      I tried \x1BG1 and it is working fine.

      printtext =ā€ \x1BG1ā€ + printtext + ā€œ\nā€;

      1 Reply Last reply
      0

      1/2

      26 Aug 2014, 08:27

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved