0

What is correct syntax for creating Escape Sequences that work with Bixolon printers? I would like to see some samples for bold text that will work on SPP-R200III Bixolon printer. Thanks in advance.

mrisek
  • 659
  • 1
  • 8
  • 25

2 Answers2

2

Here are some examples of Escape Sequences that can be used with Bixolon printers:

//Double-strike mode
printline = "\x1BG1" + printline + "\x1BG0";

// Underline mode 1
printline = "\x1B" + "\x2D" + "\x1" + printline + "\x1B" + "\x2D" + "\x0";

// Underline mode 2
printline = "\x1B" + "\x2D" + "\x2" + printline + "\x1B" + "\x2D" + "\x0";

// Emphasized mode
printline = "\x1B\x21\x8" + printline + "\x1B\x21\x0";
mrisek
  • 659
  • 1
  • 8
  • 25
1

According to the Manual (page 35), the escape code to toggle bold text is ESC E (Hex 1B 45)

Iain Ballard
  • 4,433
  • 34
  • 39