Oki B6300 CompactFlash Intructions - Page 27

Switching Fonts, Set a Primary and Secondary Font

Page 27 highlights

Switching Fonts Set a Primary and Secondary Font For PCL5, you can set one Primary and one Secondary font, then use the SI and SO commands to switch between them. Commands used: Command ASCII Hexadecimal Assign FontID * c # D 1B 2A 63 # 44 Assign FontID to FontFile in storage & n # W [01] 1B 26 6E # 57 [01] Set primary font by FontID ( # X 1B 28 # 58 Set secondary font by FontID ) # X 1B 29 # 58 Switch to primary font SI 0F Switch to secondary font SO 0E Example To set the default resident font Courier as the Primary font and the downloaded font Download1.bin as the Secondary font, then switch between them: %-12345X@PJL ENTERLANGUAGE=PCL *c1000D&n12WDownload1.bin / * assign Font ID 1000 to Download1.bin */ )1000X /* Set Downloaded font as Secondary font */ [DATA STRING]. / * Select Primary font */ [DATA STRING]. / * Select Secondary font */ [DATA STRING]. / * Select Primary font */ [DATA STRING]. / * Select Secondary font */ %-12345X 27 Printing Using Fonts and Forms

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32

27
Printing Using Fonts and Forms
Switching Fonts
Set a Primary and Secondary Font
For PCL5, you can set one Primary and one Secondary font, then use the SI
and SO commands to switch between them.
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]
Set primary font by FontID
<ESC> ( # X
1B 28 # 58
Set secondary font by FontID
<ESC> ) # X
1B 29 # 58
Switch to primary font
SI
0F
Switch to secondary font
SO
0E
Example
To set the default resident font Courier as the Primary font and the
downloaded font Download1.bin as the Secondary font, then switch
between them:
<ESC>%-12345X@PJL ENTERLANGUAGE=PCL<0D><0A>
<ESC>*c1000D<ESC>&n12W<01>
Download1.bin
/ * assign Font ID 1000 to Download1.bin */
<ESC>)1000X
/* Set Downloaded font as Secondary font */
<0F>
[D
ATA
S
TRING
]
.<0D><0A>
/ * Select Primary font */
<0E>
[D
ATA
S
TRING
]
.<0D><0A>
/ * Select Secondary font */
<0F>
[D
ATA
S
TRING
]
.<0D><0A>
/ * Select Primary font */
<0E>
[D
ATA
S
TRING
]
.<0D><0A>
/ * Select Secondary font */
<0C>
<ESC>%-12345X