Control Sequences – FT5000 Printers
During printer configuration via WEB interface, it is possible to set static control commands that are executed when printing documents. These are commands for setting Paper cutting, Code page, Opening cash drawer, Calling graphic logo, etc.
Control sequences are commands that can affect print output and other printer properties.
They are entered in hexadecimal format: 0xYY, separated by comma.
Sequence Types
- Initialization string – sent before printing document
- Additional header – sent after document header
- Document footer – sent at the end of document
| Effect | Sequence |
|---|
| Code page Latin2: | 0x1B,0x74,0x12 |
| Initialize + Latin2 (Bixolon): | 0x1B,0x40,0x1B,0x74,0x12 |
| Center text alignment: | 0x1B,0x61,0x31 |
| Left text alignment: | 0x1B,0x61,0x30 |
| Line spacing: | 0x1B,0x33,0x3D |
| Enable inverse print: | 0x1D,0x42,0x31 |
| Disable inverse print: | 0x1D,0x42,0x30 |
Printer Helper Functions
| Effect | Sequence |
|---|
| Paper cutting: | 0x0D,0x1B,0x69 or ^Ei |
| Cut + feed: | 0x1D,0x56,0x42,0x00 |
| Open drawer PIN 4-5: | 0x1B,0x70,0x00,0x20,0x80 or ^Z |
| Open drawer PIN 4-2: | 0x1B,0x70,0x01,0x20,0x80 |
EPSON TM-H6000 – Head Switching
| Effect | Sequence |
|---|
| Print on paper roll: | 0x1B,0x63,0x30,0x03 |
| Print on separate paper: | 0x1B,0x63,0x30,0x04 |
| Effect | Sequence |
|---|
| Feed and cut, LED ON: | 0x1D,0x65,0x03,0x09 |
| Effect | Sequence |
|---|
| Feed and cut, LED BLINK: | 0x1C,0x50,0x1A,0x01,0x45,0x00 |
| Feed and cut, LED OFF: | 0x1C,0x50,0x1A,0x00,0x45,0x00 |
| If document not taken within 9 seconds: | |
| Eject document: | 0x1C,0x50,0x1A,0x01,0x45,0x09 |
| Retract to storage: | 0x1C,0x50,0x1A,0x01,0x52,0x09 |
Graphic Logo Printing
| Effect | Sequence |
|---|
| Logo position 1: | 0x1C,0x70,0x01,0x00 |
| Logo 32×32: | 0x1D,0x28,0x4C,0x06,0x00,0x30,0x45,0x20,0x20,0x01,0x01,0x0D,0x0A |
| Logo 48×48: | 0x1D,0x28,0x4C,0x06,0x00,0x30,0x45,0x30,0x30,0x01,0x01,0x0D,0x0A |
Fonts and Font Styles
| Effect | Sequence |
|---|
| FontA Normal 12x24: | 0x1B,0x21,0x00 or ^N |
| FontA Bold: | 0x1B,0x21,0x08 or ^B |
| FontA High: | 0x1B,0x21,0x10 or ^H |
| FontB Normal 9x24: | 0x1B,0x21,0x01 or ^s |
| FontB Bold: | 0x1B,0x21,0x09 |
| FontB High: | 0x1B,0x21,0x11 |
| FontA Bold High: | 0x1B,0x21,0x18 |
| FontB Bold High: | 0x1B,0x21,0x19 |
| FontA Width: | 0x1B,0x21,0x20 |
| FontB Width: | 0x1B,0x21,0x21 |
| FontA Bold Width: | 0x1B,0x21,0x28 |
| FontB Bold Width: | 0x1B,0x21,0x29 |