Ec&l3a1o8D

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 Using printer information pages 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

ENWW

Understanding PCL 6 and PCL 5e printer command syntax 215

Page 229
Image 229
HP 5200 manual Using escape characters, Selecting PCL 6 and PCL 5 fonts, DOS program Entry What appears