op.font

Command/Output Processor: Commands, Releases: AP

Selects font from device item.

Syntax

.f{ont} number .f{ont} orientation, symbolset, spacing, pointsize, pitch, style, strokeweight, typeface

Description

selects the font defined in the device item or specifies fonts that are not predefined in the printer item.

The 'number' selects the corresponding font number defined in the device item. (See the 'devices' file).

'orientation'
may be either 'portrait' or 'landscape'

'symbolset'
may be either 'ASCII', 'legal', 'roman8' or 'linedraw'.

'spacing'
may be either 'proportional' or 'fixed'.

'pointsize'
specifies the point size.

'pitch'
specifies the pitch.

'style'
may be either 'upright', 'italic' or 'reverse'.

'strokeweight'
may be 'light', 'lightmedium', 'mediumlight', 'medium', 'mediumbold', 'boldmedium' or 'bold'.

'typeface'
may be any of the valid types defined in the corresponding item in the 'devices' file for the printer being used. (For an example, see 'hp-lzrii' in the 'devices' file).

If the device does not support fonts, or the device item has not been configured, this command has no effect.

Example

.font portrait,legal,fixed,10,12,upright,medium,courier

See Also

Command Name Type Description
tcl.download Verb: Access Downloads fonts to a laser printer.
op.f Command see 'font'.
tcl.pitch-compile Verb: Access Compiles font pitch table.
op.reset Command Resets printer.
tcl.setup-printer Verb: Access Downloads the fonts for a form-queue and/or printer.
filename.devices Definition Contains terminal & printer device drivers.
op Introductory Text formatting

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.