CHAPTER 2 PCL - 39
10 REM ***** SETTING THE CHARACTER PITCH *****
20 ESC$=CHR$(27)
30 REM --- DEFAULT IS 10 CPI PITCH ---
40 LPRINT "10 PITCH "
50 REM --- SET 5 CPI PITCH ---
60 LPRINT ESC$+"&k24H";
70 LPRINT "AAA"
80 REM --- SET 6 CPI PITCH ---
90 LPRINT ESC$+"&k20H";
100 LPRINT "AAA"
110 REM --- SET 8 CPI PITCH ---
120 LPRINT ESC$+"&k15H";
130 LPRINT "AAA"
140 REM --- SET 10 CPI PITCH ---
150 LPRINT ESC$+"&k12H";
160 LPRINT "AAA"
170 REM --- SET 12 CPI PITCH ---
180 LPRINT ESC$+"&k12H";
190 LPRINT "AAA"
200 REM --- SET 0 CPI PITCH ---
210 LPRINT ESC$+"&kH";
220 LPRINT "I CAN'T READ"
230 REM --- PAPER EJECT ----
240 LPRINT CHR$(12);
250 END
<Sample file 2>
4.2.16.
Setting line spacing
Esc&
l
#D (27)(38)(108)#(68)
<1Bh><26h><6Ch>#<44h>
# stands for the number of lines to be printed per inch.
# can have any of the following values: 1, 2, 3, 4, 6, 8, 12, 16, 24 or 48.
This command performs the same function as the VMI command.
Changing the line spacing setting does not affect the position of the top margin.
The factory default setting is 6 - that is, the printer will print six lines of text per inch.
Depending on your printer model, the number of lines per page can also be set from the printer's control
panel or remote printer console (see the User Guide).
4.2.17.
Text length
Esc&
l
#F (27)(38)(108)#(70)
<1Bh><26h><6Ch>#<46h>
# stands for the number of lines of text (at the current VMI) to be printed on each page.
Values for # should be within the value (Logical Page length-Top margin).
Text is printed from the top margin downwards.
If you specify a value that would cause the text area to extend beyond the end of the logical page, the
command is ignored.
Summary of Contents for HL-4140CN
Page 4: ......
Page 15: ...CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 137: ...CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 155: ...CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 208: ...CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 285: ...CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 313: ...CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 334: ...CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 346: ...CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 373: ...CHAPTER 10 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 383: ...APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 490: ...APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...