Determining n/180 inch line spacing – Tally Genicom T5023+ User Manual

Page 70

Advertising
background image

Line feed commands

Standard commands

60

T5023/5023+ - Programming Guide

Determining n/180 inch line spacing

Function:

ESC 3 (n) sets the line spacing to n/ 180 inch for the subsequent line feed com-
mands. A value between 0 and 255 inclusive must be given for n.

The 3 is the ASCII character for the figure three and not the ASCII code 3.

Example:

A demonstration of the printout for n = 1 to 20 with a measuring unit of

n/ 180 inch

line spacing

.

Result:

ESC

27

1B

3

51
33

(n)

n
n

ASCII character
Decimal
Hexadecimal

BEGIN

SET N = 0
REPEAT

SET N = N + 1
PRINT( char(27),"3", char(N))
PRINTLF( N,"/180 inch line spacing")

UNTIL N = 20

END

Advertising
This manual is related to the following products: