2001/10/02
CHAPTER 2 "PCL" - 27
4.2.14. Setting the vertical motion index (VMI)
Esc&l#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>
4.2.15. Setting the horizontal motion index (HMI)
Esc&k#H
(27)(38)(107)#(72)
<1Bh><26h><6Bh>#<48h>
# stands for the width of one column in 1/120".
•
# can have any value in the range 0-32767 and can have up to four decimal places.
•
If you are using a fixed space font the HMI is the horizontal distance moved across the page when the printer
prints one character.
•
If you are using a proportionally spaced font the HMI is the horizontal distance moved across the page when
the printer receives a space control code <20h>.
•
If any font characteristics are changed, or a Select Primary Font or Select Secondary Font control code is sent
to the printer, the HMI is set to correspond to the default pitch value of the newly selected font.
•
Changing the HMI setting does not affect the positions of the left and right margins.
•
The factory default setting is 12 - that is, the printer will print ten characters of fixed pitch text per inch.
Summary of Contents for HL-1250
Page 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Page 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Page 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Page 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Page 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Page 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Page 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Page 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Page 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Page 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Page 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Page 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Page 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Page 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...