Print Position Commands - TransAct Ithaca 280 Programmer's Manual

Thermal receipt printer
Table of Contents

Advertisement

Programming Codes

Print Position Commands

Function
Set Print Position to the beginning of print line
ASCII
[GS] T <n>
Hexadecimal 1DH 54H <n
Decimal
<29> <84> <n
0  n  1
Range
48  n  49
Description The GS T <n> command sets the print position to the beginning of the print line.
<n>
0, 48
1, 49
When printing is specifies (n=1,49), the printer prints the data in the print buffer
and executes a line feed based on the line feed amount set.
When deleting is specified (n=0,48), the printer cancels the print data in the print
buffer, and keeps other data or setting values except for the print data.
Function
Set Absolute Print Position
ASCII
[ESC] $ <n
Hexadecimal 1BH 24H <n
Decimal
<27> <36> <n
0  n
 255
Range
l
0  n
 255
h
Description The ESC $ <n
of the line.
Function
Set Relative Print Position
ASCII
[ESC] \ <n
Hexadecimal 1BH 5CH <n
Decimal
<27> <92> <n
0  n
 255
Range
l
0  n
 255
h
Description The ESC \ <n
current position and the distance from the current position to [(n
horizontal unit]. When standard more is selected, the horizontal motion unit set
by GS P is used. When page mode is selected, the horizontal or vertical motion
unot set by GS P is used for the print direction set by ESC T.
Page 204
> <n
>
l
h
> <n
>
l
h
Function
Sets the print position after the data in the print buffer is deleted.
Sets the print position after the data in the print buffer is printed
> <n
>
l
h
> <n
>
l
h
> <n
>
l
h
> <n
> command sets the print starting position from the beginning
l
h
> <n
>
l
h
> <n
>
l
h
> <n
>
l
h
> <n
> command sets the print starting position based on the
l
h
Rev K
®
iTherm
280 Programmer's Guide
+ n
x 256) x
l
h

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents