Thermalink

ESC/POS command reference › ESC E

ESC E (1B 45): bold text on a receipt printer

1B 45 01 turns bold on, 1B 45 00 turns it off. Epson calls it "emphasized" mode.

ASCIIESC E n
Hex1B 45 n
Decimal27 69 n

Parameters

n1 = bold on, 0 = bold off. The viewer reads only the lowest bit.

What it does

Bold stays on until you turn it off with ESC E 0, reset with ESC @, or send an ESC ! byte without bit 3 set. It applies to every character after it, across lines.

escpos-php's setEmphasis(true) writes exactly 1B 45 01, and python-escpos uses the same bytes for bold=True. Thermalink uses it for bold rows on the BIXOLON.

Example

Only the total line is bold.

49 74 65 6D 0A 1B 45 01 54 4F 54 41 4C 20 20 20 20 20 31 32 2E 35 30 0A 1B 45 00 54 68 61 6E 6B 20 79 6F 75 0A

Preview drawn in your browser by the ESC/POS viewer's engine on 80 mm paper. Letters use a similar monospace font, not the printer's own. Open this example in the viewer to edit the bytes.

How the viewer decodes these bytes
CommandWhat it doesBytes
Text"Item"49 74 65 6D
ESC EBold on1B 45 01
Text"TOTAL 12.50"54 4F 54 41 4C 20 20 20 20 20 31 32 2E 35 30
ESC EBold off1B 45 00
Text"Thank you"54 68 61 6E 6B 20 79 6F 75

Sending it from code

JavaScript (bytes)

const boldOn = [0x1b, 0x45, 0x01], boldOff = [0x1b, 0x45, 0x00];

PHP with escpos-php

$printer->setEmphasis(true);  // 1B 45 01
$printer->text("TOTAL     12.50\n");
$printer->setEmphasis(false); // 1B 45 00

Python (raw bytes)

data = b"\x1b\x45\x01" + b"TOTAL     12.50\n" + b"\x1b\x45\x00"

Common mistakes

Related commands

Sources

I wrote this page from the open-source libraries above, Thermalink's own output and tests on my BIXOLON printer. It is not copied from Epson's manual. For model-specific details see Epson's official ESC/POS reference or your printer maker's manual. Last checked 22 November 2026.

Building receipts byte by byte? Thermalink lets a web app send the receipt as JSON and prints it silently, with QR codes, logos, cut and cash drawer ($49 one-time).