Oki 790 Printer User Manual


 
90 Appendix C: Printer Commands
Print Industrial Bar Code
Data
Print Postnet Bar Code
Data
Print Bar Code
ASCII: ESC DLE B m n [data]
Dec: 27 16 66 m n [data]
Hex: 1B 10 42 m n [data]
ASCII: ESC DLE C n [data]
Dec: 27 16 67 n [data]
Hex: 1B 10 43 n [data]
ASCII: ESC (B Ln Hn k m S v1 v2 c
DATA
Dec: 27 40 66 Ln Hn k m S v1 v2 c
DATA
Hex: 1B 28 42 Ln Hn k m S v1 v2 c
DATA
Epson
Function
Commands
(ASCII, Decimal, Hexadecimal)
n
3
, n
4
set vertical length of bars: normal
value is ([n
3
x 10] + n
4
) (
15
/
180
-inch)
n
5
sets width of modules or black bars,
depending on style engaged.
n
6
sets spacing
n
7
sets ratio of wide element to narrow
element
n
8
: Specifies whether or not characters
are to be attached
n
8
=0: characters not attached
n
8
=1 or more: LQ characters attached
Prints bar code data.
m=amount of data (in bytes) to follow n
specifies Code 128 mode (when Code
128 is selected) as follows: n=65: Set A
n=66: Set B
n=67: Set C
n=amount of data (in bytes) to follow:
n=1 to 20
Data consists of single-digit numbers
(0 to 9).
Select Barcode type and Print Barcode.
Ln Hn: number of parameter, number of
parameter=Ln + Hn x 256
k: Barcode type 00=EAN13, 1=EAN8,
2=I20f5, 3= UPC-A, 4= UPC-E, 5=Co-
de39, 6= Code128, 7= Postnet
m: module width (black and white bar),
2= 2 dots, 3= 3 dots, 4= 4 dots, 5= 5
dots (unit: 1/180")
s: adjustment of white bar, FDH=-3,
FEH=-2, FFH=-1, 00H=0, 01H=+1,
02H=+2, 03H=+3 (unit: 1/360")
v1, v2: specifies the height, height=
v1+v2x256 (unit: 15/180")
c: control information
bit0 check digit 0: no, 1= yes
bit1 human-readable character 0: yes,
1= no
DATA: barcode data
Notes