Loading

Font selection commands

Introduction

The following table lists the supported PCL5e commands.

Font selection commands

Table 1. Font selection commands for PCL5e

Function

Parameter

PCL command

Symbol Set

Primary Font

<Esc>(ID

Secondary Font

<Esc>)ID

Select Default Font

Primary Font

<Esc>(3@

Secondary Font

<Esc>)3@

Spacing

Fixed (Primary Font)

<Esc>(s0P

Proportional (Primary Font)

<Esc>(s1P

Fixed (Secondary Font)

<Esc>)s0P

Proportional (Secondary Font)

<Esc>)s1P

Pitch

Characters/Inch (Primary Font)

<Esc>(s#H

Characters/Inch (Secondary Font)

<Esc>)s#H

Set Pitch Mode

10.0

<Esc>&k0S

16.5-16.7 (Comp)

<Esc>&k2S

12.0 (Elite)

<Esc>&k4S

Height

Number of Points (Primary Font)

<Esc>(s#V

Number of Points (Secondary Font)

<Esc>)s#V

Style

Number for Style (Primary Font)

<Esc>(s#S

Number for Style (Secondary Font)

<Esc>)s#S

Stroke Weight

Number for Weight (Primary Font)

<Esc>(s#B

Number for Weight (Secondary Font)

<Esc>)s#B

Typeface

Typeface Number (Primary Font)

<Esc>(s#T

Typeface Number (Secondary Font)

<Esc>)s#T

Font Selection by ID

Font ID Number (Primary Font)

<Esc>(#X

Font ID Number (Secondary Font)

<Esc>)#X

Underline

Enable Fixed

<Esc>&d0D

Enable Floating

<Esc>&d3D

Disable

<Esc>&d@

Transparent Print Data

Number of Bytes

<Esc>&p#X