Creating Graphics

Displaying Text

a label is assigned a non-zero number with the IT command, the mode is on, and ECY and ECZ have no e￿ect.

The table also shows character sequences used to enhance text. The characters must be preceded by the ASCII code for escape (27) and \&". All characters and codes must be entered between the delimiters of the label function, which must be assigned a non-zero item number. (Refer to the IT programming command.)

Escape Characters that Control the Pen, Clear Text, and Scroll Text

Character 1

 

 

 

 

 

 

 

Description

 

ECC

Move pen right by one character .

 

 

 

 

pen to

the

left

side

of the

displa y (carriage

return).

ECG

Move

 

to

the

end

 

of the line .

 

 

 

ECK

Clear

 

 

 

 

 

on

the

displa y-function

mode.

 

 

ECY

Turn

 

 

ECZ

Turn

o￿ the

displa y-function

mode.

 

 

 

on

blinking.

 

 

 

 

 

 

 

EC&dA

Turn

 

 

 

 

 

 

 

Turn

on

inverse

video.

 

 

 

 

 

EC&Db

 

 

 

 

 

Turn

on

inverse

video

and

blinking.

 

 

EC&dC

 

 

 

on

underline .

 

 

 

 

 

EC&dD

Turn

 

 

 

 

 

Turn

on

underline

and

blinking.

 

 

 

EC&dE

 

 

 

 

on

underline

and

inverse video.

 

 

EC&dF

Turn

 

 

Turn on underline , inverse video , and blinking.

 

EC&dG

 

Turn

o￿ enhancements.

 

 

 

 

 

EC&d@

 

 

 

 

 

EC&v#S 2

Selects

color

of

text (# is between 1

and 15.)

 

EC&v-#S 2

Selects

color

of

text background

(# is

between 1

and 15.)

 

 

 

 

 

 

 

 

 

 

 

EC&v0S 2

Resets to default

 

color

of text.

 

 

 

1 EC indicates ASCII code for escape (27). 2 Valid for color displa ys only.

Choose the color you On HP 70004A displays, color text is available using the PEN programming

want.command. To select the color, issue the PEN command before using the TITLE or TEXT command. The selected color applies to all subsequent text. To change the color of speci￿c text within the text string, use the escape codes that are listed in the previous table. The escape-character sequence must be entered between the delimiters of the label function, which must be assigned a non-zero item number. (See IT programming command.) Colors can be selected with the escape sequence up to three times for each

5-17