HP 400 User Manual

Page 112

Advertising
background image

HP PCL Printer Commands and Control Codes

A-3

Font Selection Commands

Character Set

PC-8

E

c

(10U

027 040 049 048 085

1B 28 31 30 55

HP Roman8

E

c

(8U

027 040 056 085

1B 28 38 55

PC-8 Danish/Norwegian

E

c

(11U

027 040 049 049 085

1B 28 31 31 55

PC-850

E

c

(12U

027 040 049 050 085

1B 28 31 32 55

ECMA-94 Latin 1

E

c

(0N

027 040 048 078

1B 28 30 4E

German (ISO 21)

E

c

(1G

027 040 049 071

1B 28 31 47

French (ISO 69)

E

c

(1F

027 040 049 070

1B 28 31 46

Italian (ISO 15)

E

c

(0I

027 040 048 073

1B 28 30 49

Spanish (ISO 17)

E

c

(2S

027 040 050 083

1B 28 32 53

Swedish Names (ISO 11)

E

c

(0S

027 040 048 083

1B 28 30 53

Swedish (ISO 10)

E

c

(3S

027 040 051 083

1B 28 33 53

Norwegian1 (ISO 60)

E

c

(0D

027 040 048 068

1B 28 30 44

Norwegian2 (ISO 61)

E

c

(1D

027 040 049 068

1B 28 31 44

Portuguese (ISO 16)

E

c

(4S

027 040 052 083

1B 28 34 53

United Kingdom (ISO 4)

E

c

(1E

027 040 049 069

1B 28 31 45

ANSI ASCII (ISO 6)

E

c

(0U

027 040 048 085

1B 28 30 55

JIS ASCII

E

c

(0K

027 040 048 075

1B 28 30 4B

HP Legal

E

c

(1U

027 040 049 085

1B 28 31 55

ISO IRV

E

c

(2U

027 040 051 085

1B 28 32 55

Spacing

Proportional

E

c

(s1P

027 040 115 049 080

1B 28 73 31 50

Fixed

E

c

(s0P

027 040 115 048 080

1B 28 73 30 50

Print Pitch

Number of characters per inch

E

c

(s#H

027 040 115 #...# 072

1B 28 73 #...# 48

Point Size (Character
Height)

Number of 1/72nds inch

E

c

(s#V

027 040 115 #...# 086

1B 28 73 #...# 56

Style

Upright

E

c

(s0S

027 040 115 048 083

1B 28 73 30 53

Italic

E

c

(s1S

027 040 115 049 083

1B 28 73 31 53

Stroke Weight

Normal

E

c

(s0B

027 040 115 048 066

1B 28 73 30 42

Bold

E

c

(s3B

027 040 115 051 066

1B 28 73 33 42

Extra Bold (optional)

E

c

(s7B

027 040 115 055 066

1B 28 73 37 42

Typeface

Courier

E

c

(s3T

027 040 115 051 084

1B 28 73 33 54

CG Times

E

c

(s4101T

027 040 115 052 049 048 049 084

1B 28 73 34 31 30 31 54

Letter Gothic

E

c

(s6T

027 040 115 054 084

U1B 28 73 36 54

Univers

E

c

(s52T

027 040 115 053 050 084

1B 28 73 35 32 54

Print Quality

Letter

E

c

(s2Q

027 040 115 050 081

1B 28 73 32 51

Draft

E

c

(s1Q

027 040 115 049 081

1B 28 73 31 51

Placement

Superscript

E

c

(s+1U

027 040 115 043 049 085

1B 28 73 2B 31 55

Normal

E

c

(s0U

027 040 115 048 085

1B 28 73 30 55

Subscript

E

c

(s-1U

027 040 115 045 049 085

1B 28 73 2D 31 55

Primary Font
Designators

Default character set

E

c

(0@

027 040 048 064

1B 28 30 40

Current primary character set

E

c

(2@

027 040 050 064

1B 28 32 40

Default font

E

c

(3@

027 040 051 064

1B 29 #...# 58

† These printer commands are listed in the order in which they must be sent.
# Indicates the numeric value field.

1. This is an obsolete command. Hewlett-Packard suggests that it not be used in code developed for HP DeskJet 300 Series printers.
2. This is a testing command; it is not recommended for use.

Table A-1. HP PCL Printer Command Summary (Continued)

Command Topic

Printer Feature

Printer Command

Decimal Equivalent

Hex Equivalent

Advertising