Example 3: Showing The Importance Of Resetting Scaling Factors - Genicom GEK 00031B Programmer's Manual

Genicom printer user manual
Table of Contents

Advertisement

Example 3: Showing the Importance of Resetting
Scaling Factors
If line 50, which sets the size to X1 V and X1 H. is removed, the data
printed in line 60 is now subject to the expanded mode of printing.
NOTE
In BASIC, LPRINT statements automatically generate an LF/CR
at the end of the line unless suppressed by a semicolon. Since
line 30 does not end with a semicolon, an LF/CR occurred at
the lpi in effect (still in oversize). This accounts for the vertical
distance between the ABCabc line and the 1234 line.
Notice (below) that the 1234 printed line is expanded vertically by X3
10 LPRINT CHR$(27); "[300;300B";
20 LPRINT CHR$(27); "[1|";
30 LPRINT "ABCabc";
40 LPRINT CHR$(27); "[0|"
60 LPRINT "1234"
63
GEK-00029B
5000 Series Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5000 series

Table of Contents

Save PDF