Bar Code Commands - TransAct Ithaca 280 Programmer's Manual

Thermal receipt printer
Table of Contents

Advertisement

Programming Codes
Function
Print data in page mode
ASCII
[ESC][FF]
Hexadecimal 1BH,0CH
Decimal
<27><12>
Description [ESC][FF]
without deleting the page definition.
Function
Set Absolute Vertical Print Position in Page Mode
ASCII
[GS]$
Hexadecimal 1DH,24H
Decimal
<29><36>
Description GS $ sets the absolute vertical print starting position to [nL + nH x 256)
Function
Set Relative Vertical Print Position in page mode
ASCII
[GS] \ <n
Hexadecimal 1BH 5CH <n
Decimal
<27> <92> <n
0  n
 255
Range
l
0  n
 255
h
Description The [GS] \ <n
current position and the distance from the current position to [(n
vertical or horizontal unit.

Bar Code Commands

Function
Print Bar Code
1
ASCII
GS k <m> <d
Hexadecimal 1DH 6BH <m> <d
Decimal
<29> <107> <m> <d
2
ASCII
GS k <m> <n> <d
<d>
Hexadecimal 1DH 6BH <m> <n> <d
Decimal
<29> <107> <m> <n> <d
0  m  6 (k and d depend on the bar code system used.)
1
Range
65  m  73 (n and d depend on the bar code system used.)
2
Description The GS k <m> <d
the bar code. If <m> is between 65 and 73, the length must be specified. If <m>
is between 0 and 6, the data must be null terminated. (See the descriptions
below.)
Mode
<m>
Bar Code System
1
0
UPC A
1
1
UPC E
1
2
JAN-13 (EAN-13)
1
3
JAN-8 (EAN-8)
1
4
Code 39
1
5
ITF
28-04430
Prints the page as it is currently defined and reenters page mode
x (vertical or horizontal motion units)] in page mode.
> <n
>
l
h
> <n
>
l
h
> <n
>
l
h
> <n
> command sets the print starting position based on the
l
h
> ... <d
> NUL Mode 1 <m> between 0 and 6
l
k
> ... <d
> 00
l
k
> ... <d
l
k
> ... <d
> Mode 2 <m> between 65 and 73 <n> = Length of
l
n
> ... <d
l
> ... <d
l
> ... <d
> NUL command selects a bar code system and prints
l
k
Number of Characters
11  k  12
11  k  12
12  k  13
7  k  8
1  k
1  k (even number)
Rev K
®
iTherm
280 Programmer's Guide
> 0
>
n
>
n
Remarks
48  d  57
48  d  57
48  d  57
48  d  57
48  d  57, 65  d  90
d = 32, 36, 37, 43, 45, 46, 47
48  d  57
+ n
× 256) ×
l
h
Page 219

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents