10/10/03

7.6.1.Introduction

The character group commands enable you to print text to accompany your HP-GL/2 generated graphics without leaving graphics mode. You can use any font that would be available to you in LaserJet emulation mode and you can modify various printing characteristics of the text such as the size, direction and slant of the characters.

SD - Define standard font

SD [ attribute, value ] [..] [;] attribute ; a font attribute to be defined value ; the value of the attribute

This command allows you to define the standard font and its attribute.

attribute takes a value from 1-7. 1=symbol set, 2=spacing, 3=pitch, 4=height, 5=posture, 6=stroke weight and 7=typeface.

value selects an option for the specified attribute.

If the defined font is not available another font is selected that matches the defined font's specified attributes as closely as possible. The symbol set attribute has the highest priority for matching and typeface has the lowest.

• If you omit all parameters,

the default standard font attributes are used. These are shown below.

 

 

 

 

 

 

 

 

Attribute

Meaning

 

Default value

Description

 

 

1

Symbol set

 

277

Roman-8

 

 

2

Spacing

 

0

Monospacin

 

 

 

 

 

 

g

 

 

3

Pitch

 

9

9 cpi

 

 

4

Height

 

11.5

11.5 point

 

 

5

Posture

 

0

Upright

 

 

 

 

 

 

characters

 

 

6

Stroke

 

0

Medium

 

 

 

weight

 

 

 

 

 

7

Typeface

 

48

Stick font

 

CHAPTER 4 HP-GL/2 - 39

Page 179
Image 179
Homelite HL-1450, HL-P2500, HL-1660E, HL-2400CE, HL-1050, HL-1250, HL-1470N, HL-1070, 2060 Introduction, SD Define standard font