Selecting Fonts by FontID

Commands used:

Command

ASCII

Hexadecimal

 

 

 

 

 

Assign FontID

<ESC> * c # D

1B

2A

63 # 44

 

 

 

 

Assign FontID to FontFile in storage

<ESC> & n # W [01]

1B 26

6E # 57 [01]

 

 

 

 

 

Select primary font by FontID

<ESC> ( # X

1B

28

# 58

 

 

 

 

 

Example

To select downloaded fonts Font1.sfp and Font12.sfp:

<ESC>%-12345X@PJL ENTERLANGUAGE=PCL<0D><0A>

<ESC>*c1000D<ESC>&n10W<01>Font1.sf

/ * assign Font ID 1000 to Font1.sfp*/

<ESC>*c1001D<ESC>&n11W<01>Font12.sfp

 

/ * assign Font ID 1001 to Font12.sfp */

<ESC>(1000X[DATA

STRING]<0D><0A>

/ * select Font1.sfp at ID 1000*/

<ESC>(1001X[DATA

STRING]<0D><0A>

/ * select Font12.sfp at ID 1001*/

<0C>

 

 

<ESC>%-12345X

 

 

26Printing Using Fonts and Forms