Escape sequence for bold text in Bixolon printer

1.3k Views Asked by At

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.

2

There are 2 best solutions below

0
Iain Ballard On BEST ANSWER

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

0
mrisek On

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";