5.1.10. Primary and secondary fonts; 5.1.11. Specifying the primary font; 5.1.12. Specifying the secondary font- Page 70

Brother HL-5340D Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
background image

 

CHAPTER 2 PCL - 50 

 

5.1.10.

 

Primary and secondary fonts 

The printer maintains two sets of font characteristics which define its primary and secondary fonts. The primary 
font is the one it will use by default, the secondary font can be selected instead. This facility enables you to have 
two parallel font definitions that you can switch between easily without invoking long escape sequences. You 
can select the primary and secondary fonts using PCL commands. 

Depending on your model,  you can also set any available fonts to be the printer's user default primary and 
secondary fonts using the printer's control panel. Refer to the User Guide for instructions on how to do this.  

The factory default settings for both primary and secondary fonts are Brougham 12 point, 10 cpi Roman 8.  

 

5.1.11.

 

Specifying the primary font 

When you specify primary font characteristics you send escape codes with '(' as the second character of the 
sequence. This tells the printer that the font characteristic you are specifying applies to the primary font. 

 

5.1.12.

 

Specifying the secondary font 

When you specify secondary font characteristics you send escape codes with ')' as the second character of the 
sequence. This tells the printer that the font characteristic you are specifying applies to the secondary font. 

 

5.1.13.

 

Selecting the default fonts 

To set the primary font settings to those of the printers default font and discard all the software settings you have 
made in the meantime, send the printer the following escape sequence: 

 Esc(3@ 

(27)(40)(51)(64)  <1Bh><28h><33h><40h> 

 

To set the secondary font settings to those of the printers default font send: 

 Esc)3@ 

(27)(41)(51)(64)  <1Bh><29h><33h><40h> 

 

5.1.14.

 

Switching between the primary and secondary fonts 

To select the primary font as the font for printing send the printer the SI control code: 

 SI 

(15) 

 

(0F) 

 

To select the secondary font as the font for printing send the printer the SO control code: 

 SO 

(14) 

 

(0E) 

Detailed Information for Brother HL-5340D Command Reference Guide for Software Developers

Lists of information found in Brother HL-5340D Command Reference Guide for Software Developers - Page 70

  • 5.1.
  • 8. 5.
  • 1.11.
  • 5.1.
  • 12. Specifying the secondary font When you specify secondary font characteristics you send escape codes with ')' as the second character of the sequence.
  • 5.1.
  • 13. Selecting the default fonts To set the primary font settings to those of the printers default font and discard all the software settings you have made in the meantime, send the printer the following escape sequence: Esc(3@ (27)(40)(51)(64) &lt;1Bh&gt;&lt;28h&gt;&lt;33h&gt;&lt;40h&gt; To set the secondary font settings to those of the printers default font send: Esc)3@ (27)(41)(51)(64) &lt;1Bh&gt;&lt;29h&gt;&lt;33h&gt;&lt;40h&gt; 5.
  • 1.14.

Related Documents for Brother HL-5340D Command Reference Guide for Software Developers