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

Page 71

Advertising
background image

Standard commands

Line feed commands

T5023/5023+ - Programming Guide

61

Determining n/60 inch line spacing

Function:

ESC A (n) sets the line spacing to n/ 60 inch for the subsequent line feed commands.
A value between 0 and 127 inclusive must be given for n (0 = no feed)

.

Example:

A demonstration of the printout using four n- values (0, 3, 5, 18) with a measuring unit
of n/ 60 inch line spacing. 6 lines are printed for each n.

ESC

27

1B

A

65
41

(n)

n
n

ASCII character
Decimal
Hexadecimal

BEGIN

SET loop = 0
REPEAT

SET loop = loop + 1
SET N = 0

N = 3
N = 5
N = 18

CASE OF loop
PRINT( char(27),"A", char(N)) <-- N = spacing
SET line = 0
REPEAT

SET line = line + 1
PRINTLF( N,"/60 inch line spacing")

UNTIL line = 6

UNTIL loop = 4
PRINT( char(27),"@")

<-Initializing the printer

PRINTLF()

END

Advertising
This manual is related to the following products: