
Revision C 16/01/96
Chapter 2 "PCL" - 21
Setting the vertical motion index (VMI)
Esc&
ll
#C
(27)(38)(108)#(67)
<1Bh><26h><6Ch>#<43h>
# stands for the height of one row in 1/48".
•
# can have any value in the range 0-32767.
•
The distance specified by the VMI is the vertical distance moved down the page when the printer performs a
line feed. The VMI is also sometimes referred to as the line pitch.
•
If you try to set a VMI that is greater than the current length of the logical page the command is ignored.
•
Changing the VMI setting does not affect the position of the top margin.
•
The factory default setting is 8 - that is, the printer will print six lines of text per inch.
•
Depending on your model, you can change the number of lines per page setting from the printer's control
panel or remote printer console. If you change its setting, the VMI will change automatically.
10 REM ***** SETTING THE LINE PITCH *****
20 ESC$=CHR$(27)
30 REM
40 REM --- SET LINE PITCH TO 1/48 INCH ---
50 LPRINT ESC$+"&l1C";
60 FOR I=1 TO 10
70 LPRINT "I can't read."
80 NEXT
90 LPRINT ESC$+"&l8C";
100 LPRINT
110 LPRINT
120 REM --- SET LINE PITCH TO 1/12 INCH ----
130 LPRINT ESC$+"&l4C";
140 LPRINT "line pitch is 1/12 inch"
150 REM --- SET LINE PITCH TO 1/8 INCH ----
160 LPRINT ESC$+"&l6C";
170 LPRINT "line pitch is 1/8 inch"
180 REM --- SET LINE PITCH TO 1/6 INCH ----
190 LPRINT ESC$+"&l8C";
200 LPRINT "line pitch is 1/6 inch"
210 REM --- SET LINE PITCH TO 1/4 INCH ----
220 LPRINT ESC$+"&l12C";
230 LPRINT "line pitch is 1/4 inch"
240 LPRINT "line pitch is 1/4 inch"
250 REM --- PAPER EJECT ----
260 LPRINT CHR$(12);
270 END
< Sample file 1>
Summary of Contents for HL- SERIES
Page 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Page 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Page 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Page 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Page 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Page 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Page 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Page 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Page 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Page 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Page 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Page 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Page 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...