Font Simulation Dialog Box

A number of sets of font simulation commands can be set up for the minidriver. To specify font simulation commands, select Font Info from the Printer Data menu on the minidriver’s Printer Data window. Then select FontSim to display the initial Font Simulation dialog box.

To select an existing set of font simulation commands, highlight the desired set of Font Simulation commands to edit on the minidriver’s Printer Data window. Then double click on the selection to display the Font Simulation dialog box.

A font-simulation is a capability of simulating italic, bold, underlined, strikeout, or white text from a normal device font. The Font Simulation dialog box identifies the font-simulation commands and data that your printer supports. Most printers provide at least some font simulations for device fonts. The font-simulation commands described in this topic are assumed to be applicable to all device fonts. There are two exceptions:

All font simulation is performed by the Windows NT GDI. As a result, none of the font simulation, except FS_OCD_WHITE_TEXT_ON and FS_OCD_WHITE_TEXT_OFF are in use.

To enable the bold, italic, strikeout, and white font simulations for a single printer model, set the corresponding bits in the fGeneral dialog box in the MODELDATA data structure for each printer model.

The fGeneral button on the Font Simulation dialog box is not in use at this time and does not require entry.

When you finish entering data in the Font Simulation dialog box:

FS_OCD_BOLD_ON

The FS_OCD_BOLD_ON command enables bold simulations for a printer.

Diconix 150 Plus: Use the Emphasized Mode On command (ESCE).

To specify the command, type the following in the FS_OCD_BOLD_ON box:

\x1BE
 

HP LaserJet IIP: Use the Stroke Weight command (ESC(snB) to specify the thickness of the strokes that compose a character. If n is -3, the stroke is thin; if n is 0, the stroke is normal; if n is 3, the stroke is bold.

Note  When the TC_EA_DOUBLE box in the fText dialog box of the Model Data dialog box is not checked, RasDD does not perform bold simulations. The FS_OCD_BOLD_ON command is used to override the TC_EA_DOUBLE check box.

To specify the command that enables bold output, type the following in the FS_OCD_BOLD_ON box:

\x1B(s3B
 

FS_OCD_BOLD_OFF

The FS_OCD_BOLD_OFF command disables bold simulations for a printer.

Diconix 150 Plus: Use the Emphasized Mode Off command (ESCF).

To specify the command, type the following in the FS_OCD_BOLD_OFF box:

\x1BF
 

HP LaserJet IIP: Use the Stroke Weight command (ESC(snB) to specify the thickness of the strokes that compose a character. If n is -3, the stroke is thin; if n is 0, the stroke is normal; if n is 3, the stroke is bold.

To specify the command that disables bold output, type the following in the FS_OCD_BOLD_OFF box:

\x1B(s0B
 

FS_OCD_ITALIC_ON

The FS_OCD_ITALIC_ON command enables italic simulations for a printer.

Diconix 150 Plus: Use the Italic Mode On command (ESC4) to enable italic simulations.

To specify the command, type the following in the FS_OCD_ITALIC_ON box:

\x1B4
 

HP LaserJet IIP: Use the font-style command (ESC(snS). If n is 1, the characters are italicized; if n is 0, the characters are plain text.

Note  When the TC_IA_ABLE box in the fText dialog box of the Model Data dialog box is not checked, RasDD does not perform italic simulations. The FS_OCD_ITALIC_ON command is used to override the TC_IA_ABLE check box.

To specify the command, type the following in the FS_OCD_ITALIC_ON box:

\x1B(s1S
 

FS_OCD_ITALIC_OFF

The FS_OCD_ITALIC_OFF command disables italic simulations for a printer.

Diconix 150 Plus: Use the Italic Mode Off command (ESC5).

To specify the command, type the following in the FS_OCD_ITALIC_OFF box:

\x1B5
 

HP LaserJet IIP: Use the font-style command (ESC(snS) to specify if the font is italicized or plain text. If n is 1, the characters are italicized; if n is 0, they are plain text.

To specify plain text, type the following in the FS_OCD_ITALIC_OFF box:

\x1B(s0S
 

FS_OCD_UNDERLINE_ON

The FS_OCD_UNDERLINE_ON command enables underline simulations for a printer.

Diconix 150 Plus: Use the Underline Mode command (ESC-n) to enable and disable the underline font simulation. If n is 1, the font simulation is enabled; if n is 0, the font simulation is disabled.

To specify the command, type the following in the FS_OCD_UNDERLINE_ON box:

\x1B-\x01
 

HP LaserJet IIP: Use the Underline command (ESC&dnD) to enable fixed- and floating-position underlining. If n is 0, fixed-position underlining is enabled; if n is 1, floating-position underlining is enabled. RasDD performs underline simulations.

To specify the command, type the following in the FS_OCD_UNDERLINE_ON box:

\x1B&dD
 

FS_OCD_UNDERLINE_OFF

The FS_OCD_UNDERLINE_OFF command disables underline simulations for a printer.

Diconix 150 Plus: Use the Underline Mode command (ESC-n) to enable and disable the underline font simulation. If n is 1, the font simulation is enabled; if n is 0, the font simulation is disabled.

To specify the command, type the following in the FS_OCD_UNDERLINE_OFF box:

\x1B-\x00
 

HP LaserJet IIP: Use the Disable Underline command (ESC&d@) to disable fixed- and floating-position underlining.

To specify the command, type the following in the FS_OCD_UNDERLINE_OFF box:

\x1B&d@
 

FS_OCD_DOUBLEUNDERLINE_ON

The FS_OCD_DOUBLEUNDERLINE_ON command enables double-underline simulations for a printer.

Diconix 150 Plus: Does not support double-underlining. The FS_OCD_DOUBLEUNDERLINE_ON box is empty.

HP LaserJet IIP: Same as Diconix 150 Plus.

FS_OCD_DOUBLEUNDERLINE_OFF

The FS_OCD_DOUBLEUNDERLINE_OFF command disables double-underline simulations for a printer.

Diconix 150 Plus: Des not support double-underlining. The FS_OCD_DOUBLEUNDERLINE_OFF box is empty.

HP LaserJet IIP: Same as Diconix 150 Plus.

FS_OCD_STRIKETHRU_ON

The FS_OCD_STRIKETHRU_ON command enables the strikethrough simulations for a printer.

Diconix 150 Plus: Does not support strikethrough text. The FS_OCD_STRIKETHRU_ON box is empty.

HP LaserJet IIP: Same as Diconix 150 Plus.

FS_OCD_STRIKETHRU_OFF

The FS_OCD_STRIKETHRU_OFF command disables the strikethrough simulations for a printer.

Diconix 150 Plus: Does not support strikethrough text. The FS_OCD_STRIKETHRU_OFF box is empty.

HP LaserJet IIP: Same as Diconix 150 Plus.

FS_OCD_WHITE_TEXT_ON

The FS_OCD_WHITE_TEXT_ON command enables the white text simulations for a printer.

Diconix 150 Plus: Does not support white text. The FS_OCD_WHITE_TEXT_ON box is empty.

HP LaserJet IIP: Same as Diconix 150 Plus.

FS_OCD_WHITE_TEXT_OFF

The FS_OCD_WHITE_TEXT_OFF box command disables the white text simulations for a printer.

Diconix 150 Plus: Does not support white text. The FS_OCD_WHITE_TEXT_OFF box is empty.

HP LaserJet IIP: Same as Diconix 150 Plus.

FS_OCD_SINGLE_BYTE

The FS_OCD_SINGLE_BYTE command ends KANJI mode.

FS_OCD_DOUBLE_BYTE

The FS_OCD_DOUBLE_BYTE command starts KANJI mode.

FS_OCD_VERT_ON

The FS_OCD_VERT_ON command starts KANJI vertical mode.

FS_OCD_VERT_OFF

The FS_OCD_VERT_OFF command ends KANJI vertical mode.

sBoldExtra

(not supported by Windows NT)

sItalicExtra

(not supported by Windows NT)

sBoldItalicExtra

(not supported by Windows NT)