Epson C I - 4 0 4 User Manual page 230

Epson printer user´s manual
Table of Contents

Advertisement

Barcode Quick Reference
Appendix F
1. Introduction
The barcode print facility is available in all three emulations.
2. Programming
There are three escape sequences to print barcodes
- The first sequence is to define the Barcode Header. The type of barcode as
well as all parameters are selected by a header. The header does not affect
any parameters outside the barcode application and remains valid until
another header is transmitted or the printer is turned off. This can be done at
any time but before barcode printing.
The header has the following format:
ESC [ ; P ; P ; P ; P ; P ; P 8 z
- In step two, the ESC-sequence "Set Mode Barcode (SMBC)" starts the
barcode printing.
ESC [ ? 0 h
- Finally, the ESC-sequence "Reset Mode Barcode (RMBC)" will stop printing.
ESC [ ? 0 l
Between SMBC and RMBC are only printable characters tolerated (no CR
Note:
or LF).
2.1 Barcode Header
Format
Function/Parameter
BH
Barcode Header
P = Barcode type;
2
P = Height of barcode;
3
P = Width of thin bars;
4
P = Width of thin gaps;
5
P = Ratio width to height;
6
P = Uni/Bidirectional printing
7
SMBC
Start of Barcode
RMBC
Stop Barcode
2
3
4
5
6
7
Hex Code
1B 5B 3B P 3B P 3B P
3B P 3B P 3B P 20 7A
1B 5B 3F 30 68
1B 5B 3F 30 6C
8 = Space
Note:
2
3
5
6
7
4
F-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

C i - 4 0 5Ci-4040Ci-4050

Table of Contents