CHAPTER 4 HP-GL/2 - 43
FI - Select primary font
FI font-ID [;]
font-ID ; the identity number of any accessible font.
This command allows you to select any accessible font, which has previously been given an identity
number in LaserJet mode, as the primary (standard) font. All subsequently printed labels will appear in
the primary font.
For scalable fonts this command must be preceded by an SD command specifying the font's point size or
pitch.
When the FI command is issued the primary (standard) font's attributes are set to be those of the selected font
(provided it is available).
10 '-Select Primary Font & Select standard Font -
20 WIDTH "LPT1:",255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "*c15D";
50 LPRINT CHR$(27); "(s1p18v0s3b52T";
60 LPRINT CHR$(27); "*c6F";
70 LPRINT CHR$(27); "%0B";
80 LPRINT "IN;SP1;"
90 LPRINT "PA1500,1500;DT#;LBLaser Printer"; CHR$(13);CHR$(10); "#"
100 LPRINT "SD4,18;FI15;LBLaser Printer#"
110 LPRINT CHR$(27); "%0A";
120 LPRINT CHR$(27); "E";
130 END
<Sample 50>
FN - Select secondary font
FN
font-ID
[;]
font-ID : the identity number of any accessible font
This command allows you to select any accessible font, which has previously been given an identity
number in PCL mode, as the secondary (alternate) font. All subsequently printed labels will appear in the
secondary font.
For scalable fonts the FN command must be preceded by an AD command specifying the font's point size or
pitch.
When the FN command is issued the secondary (alternate) font's attributes are set to be those of the selected
font (provided it is available).
LB - Character plot
LB [ cs ] < terminator > [;]
cs
: character string
This command enables you to print character strings.
You must supply a terminator at the end of your string. You can either use the default terminator, ETX
(ASCII 3), or define your own terminating character using the DT command.
A label can include non-printing characters such as a carriage return or line feed.
Printing takes place irrespective of whether the pen is currently up or down.
The label is printed starting from the current cursor position and using any label origin setting that you have
made with the LO command.
10 '-Label-
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;";
60 LPRINT "PA2500,2500;DT*;"
70 LPRINT "SD1,21,2,1,4,25,5,0,6,3,7,52;SS;"
80 LPRINT "LBLaser printer*"
90 LPRINT CHR$(27); "%0A";
100 LPRINT CHR$(27); "E";
110 END
<Sample 51>
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 ...