Using escape characters

Printer commands always begin with the escape character (Ec).

The following table shows how the escape character can be inserted in various MS-DOS programs.

DOS program

Entry

What appears

Lotus 1-2-3 and Symphony

Type \027

027

Microsoft Word for MS-DOS

Hold down Alt and type 027 on

 

 

the numeric keypad

 

WordPerfect for MS-DOS

Type <27>

<27>

MS-DOS Edit

Hold down Ctrl+P, and press

 

 

Esc

 

MS-DOS Edlin

Hold down Ctrl+V, and press [

^[

dBase

?? CHR(27)+"command"

?? CHR(27)+" "

Selecting PCL 6 and PCL 5 fonts

The printer font list provides PCL 6 and PCL 5 printer commands for selecting fonts. See PS or PCL font list for information about how to print the list. A sample section is shown in the following illustration.

One variable box is available for specifying symbol sets and one for specifying point size. These variables must be filled in, or the printer will use defaults. For example, if you want a symbol set that contains line-draw characters, select the 10U (PC-8) or 12U (PC-850) symbol set. Other common symbol set codes are listed in the section Common PCL 6 and PCL 5 printer commands.

1 2

 

1

Symbol set

 

2

Point size

 

Fonts are either "fixed" or "proportional" in spacing. The printer contains both fixed fonts

NOTE

 

(Courier, Letter Gothic, and Lineprinter) and proportional fonts (CG Times, Arial, Times New

 

Roman, and others). Fixed-spaced fonts are generally used in programs such as

 

spreadsheets and databases, where it is important for columns to line up vertically.

 

Proportional-spaced fonts are generally used in text and word-processing programs.

ENWW

 

Understanding PCL 6 and PCL 5e printer command syntax 255

Page 267
Image 267
HP 4250/4350 manual Using escape characters, Selecting PCL 6 and PCL 5 fonts, DOS program Entry What appears