Horizontal spacing – Genicom GEK 00031B User Manual

Page 54

Advertising
background image

Chapter 2. ANSI Emulation

GEK-00029B

54

Horizontal Spacing

Use horizontal tabs for spacing bar code symbols across the page.
Line 10 sets horizontal tabs at 1440 and 2880 decipoints (2 and
4-inches). The HT codes in lines 40 and 60 cause a jump to the next
tab.

10 LPRINT CHR$(27); "[1440;2880;u";
20 LPRINT CHR$(27); "[3t";
30 LPRINT "1234";
40 LPRINT CHR$(9);
50 LPRINT "5678";
60 LPRINT CHR$(9);

70 LPRINT "9012";
80 LPRINT CHR$(27); "[0t"

When no horizontal tabs are set, an HT code acts as a space, adding
0.1 inch to the separation. Total separation is 0.6 inch when the HT
is added to the quiet zones.

Line 10 clears all previously set horizontal tabs for this example.

10 LPRINT CHR$(27); "[3g";
20 LPRINT CHR$(27); "[3t";
30 LPRINT "1234";
40 LPRINT CHR$(9);
50 LPRINT "5678";
60 LPRINT CHR$(9);

70 LPRINT "9012";
80 LPRINT CHR$(27); "[0t"

Advertising