YesNoJust BrowsingThankYouThankYouSDAddtlHelp
hp home products & services support solutions how to buy
spacer
hp logo - invent
corner hp customer care corner
search search
contact hp contact hp
hp customer care home hp customer care home
rounded bottom left corner rounded bottom right corner
 
Print Arrow printable version
HP LaserJet printers - PCL Commands, Basic Page Formatting, and Font Selection

In this document:

Introduction

This document lists the HP LaserJet Printer Command Language (PCL) printer commands for basic page formatting and font selection.

PCL defines a standard set of commands enabling programs to communicate with HP or HP-compatible printers. For further information about PCL commands, HP-GL/2, macros, or PJL commands, use the Technical Reference Manual set, part number 5021-0377. Order the manual set from HP's Support Materials Organization.

    NOTE: To order Parts, Supplies, and Accessories, contact the nearest authorized HP dealer or reseller. Click here to go to a list of Dealer locator phone numbers, or refer to the User's Guide that came with the HP product.

About using these commands

  • Paper Source and Page Size commands may not work with the product.

    CAUTION: Some products require different Paper Source and Page Size commands than those that are contained in this document.

  • For supported paper tray and paper size options, see the User's Manual or check the product Web site.
  • The commands are listed in hierarchical order and give the decimal and hexadecimal equivalents.
  • Values in the parentheses (x) identify the lower case of the termination character that is used for combining commands.
  • Ec represents the escape character for the software. In DOS Edit, Ec is represented by holding down the CTRL key and pressing the letter P. Release both keys, and press the ESC key.
  • The symbols, # and #...#, are variables that are replaced with the numbers needed for a document.

    Example

    To set the number of copies to 14, Ec&l#X, replace the # or #...# with the following:

    ASCII

    14

    Decimal

    049 052

    Hexadecimal

    31 34

    Use the following table to help translate into decimal or hexadecimal:

    ASCII Value

    Hex

    Dec

    Description

    0

    30

    48

    Zero

    1

    31

    49

    One

    2

    32

    50

    Two

    3

    33

    51

    Three

    4

    34

    52

    Four

    5

    35

    53

    Five

    6

    36

    54

    Six

    7

    37

    55

    Seven

    8

    38

    56

    Eight

    9

    39

    57

    Nine

     

    2E

    46

    Period (point)

Job control commands

  • Function
  • Parameter
  • Command
  • Decimal Value
  • Hexadecimal Value

    Reset


    Function


    Parameter


    Command


    Decimal Value

    Hexadecimal Value

    Reset

     

    EcE

    027 069

    1B 45

    Number of Copies

    # of Copies (1 - 99)

    Ec&l#X (x)

    027 038 108 #...# 088 (120)

    1B 26 6C #. # 58 (78)

    Unit of Measure

    # = Number of units per inch

    Ec&u#D (d)

    027 038 117 #...# 068 (100)

    1B 26 75 #...# 44 (64)

    Simplex/Duplex operation

    NOTE: This is only applicable to duplex capable printers.


    Function


    Parameter


    Command

    Decimal Value


    Hexadecimal Value

    Simplex Print

    Simplex

    Ec&l0S (s)

    027 038 108 048 083 (115)

    1B 26 6C 30 53 (73)

    Duplex Print

    Long-Edge Binding

    Ec&l1S (s)

    027 038 108 049 083 (115)

    1B 26 6C 31 53 (73)

     

    Short-Edge Binding

    Ec&l2S (s)

    027 038 108 050 083 (115)

    1B 26 6C 32 53 (73)

    Long-Edge (left) Offset Registration

    # of Decipoints (1/720")

    Ec&l#U (u)

    027 038 108 #...# 085 (117)

    1B 26 6C #...# 55 (75)

    Short-Edge (Top) Offset Registration

    # of Decipoints (1/720")

    Ec&l#Z (z)

    027 038 108 #...# 090 (122)

    1B 26 6C #...# 5A (7A)

    Page Side Selection

    Next Side

    Ec&a0G (g)

    027 038 097 048 071 (103)

    1B 26 61 30 47 (67)

     

    Front Side

    Ec&a1G (g)

    027 038 097 049 071 (103)

    1B 26 61 31 47 (67)

     

    Back Side

    Ec&a2G (g)

    027 038 097 050 071 (103)

    1B 26 61 32 47 (67)

Page control commands

  • Function
  • Parameter
  • Command
  • Decimal Value
  • Hexadecimal Value

    Paper destination

    Function

    Command

    Decimal Value

    Hexadecimal Value

    Auto Select

    Ec&l0G

    027 038 108 048 103 (71)

    1B 26 6C 30 67 (47)

    Top Output Bin

    Ec&l1G

    027 038 108 049 103 (71)

    1B 26 6C 31 67 (47)

    Left Output Bin

    Ec&l2G

    027 038 108 050 103 (71)

    1B 26 6C 32 67 (47)

    Optional multi-bin mailbox (HP LaserJet 5Si, 5Si MX, and 5Si NX)

    Function

    Command

    Decimal Value

    Hexadecimal Value

    Left Bin Face Up

    Ec&l3G

    027 038 108 051 103 (104)

    1B 26 6C 33 67 (47)

    Bin 1 Face Down

    Ec&l4G

    027 038 108 052 103 (104)

    1B 26 6C 34 67 (47)

    Bin 2 Face Down

    Ec&l5G

    027 038 108 053 103 (104)

    1B 26 6C 35 67 (47)

    Bin 3 Face Down

    Ec&l6G

    027 038 108 054 103 (104)

    1B 26 6C 36 67 (47)

    Bin 4 Face Down

    Ec&l7G

    027 038 108 055 103 (104)

    1B 26 6C 37 67 (47)

    Bin 5 Face Down

    Ec&l8G

    027 038 108 056 103 (104)

    1B 26 6C 38 67 (47)

    Bin 6 Face Down

    Ec&l9G

    027 038 108 057 103 (104)

    1B 26 6C 39 67 (47)

    Bin 7 Face Down

    Ec&l10G

    027 038 108 049 048 103 (104)

    1B 26 6C 31 31 67 (47)

    Bin 8 Face Down

    Ec&l11G

    027 038 108 049 049 103 (104)

    1B 26 6C 31 32 67 (47)

    Optional mailbox with stapler (HP LaserJet 5Si Mopier)

    Function

    Command

    Decimal Value

    Hexadecimal Value

    Left Bin Face Up

    Ec&l2G

    027 038 108 050 103 (104)

    1B 26 6C 32 67 (47)

    Bin 1 Face Down

    Ec&l3G

    027 038 108 051 103 (104)

    1B 26 6C 33 67 (47)

    Bin 2 Face Down

    Ec&l4G

    027 038 108 052 103 (104)

    1B 26 6C 34 67 (47)

    Bin 3 Face Down

    Ec&l5G

    027 038 108 053 103 (104)

    1B 26 6C 35 67 (47)

    Bin 4 Face Down

    Ec&l6G

    027 038 108 054 103 (104)

    1B 26 6C 36 67 (47)

    Bin 5 Face Down

    Ec&l7G

    027 038 108 055 103 (104)

    1B 26 6C 37 67 (47)

    Stapler Bin (Printer is in Mailbox mode)

    Ec&l9G

    027 038 108 057 103 (104)

    1B 26 6C 39 67 (47)

    Stapler Bin (Printer is in Stacker or Separator mode)

    Ec&l5G

    027 038 108 053 103 (104)

    1B 26 6C 35 67 (47)

    Paper source, length, and size

    CAUTION: Some products require different Paper Source and Page Size commands than those that are contained in this document. This information may be found in documentation specific to those products.

Function

Parameter

Command

Decimal Value

Hexadecimal Value

Paper Source

Eject Page

Ec&l0H (h)

027 038 108 048 072 (104)

1B 26 6C 30 48 (68)

 

Paper Cassette

Ec&l1H (h)

027 038 108 049 072 (104)

1B 26 6C 31 48 (68)

 

Paper Cassette / tray 2

Ec&l1H (h)

027 038 108 049 072 (104)

1B 26 6C 31 48 (68)

 

Manual Feed Paper

Ec&l2H (h)

027 038 108 050 072 (104)

1B 26 6C 32 48 (68)

 

Manual Feed Envelope

Ec&l3H (h)

027 038 108 051 072 (104)

1B 26 6C 33 48 (68)

 

Tray 1

Ec&l8H (h)

027 038 108 056 072 (104)

1B 26 6C 38 48 (68)

 

Optional 500/ 2000 Sheet Lower Cassette

Ec&l5H (h)

027 038 108 053 072 (104)

1B 26 6C 35 48 (68)

 

MP Tray/ Tray 3

Ec&l4H (h)

027 038 108 052 072 (104)

1B 26 6C 34 48 (68)

 

Envelope Feeder

Ec&l6H (h)

027 038 108 054 072 (104)

1B 26 6C 36 48 (68)

Page Size

Executive

Ec&l1A (a)

027 038 108 049 065 (097)

1B 26 6C 31 41 (61)

 

JISEXEC (8.5 X 13 )

Ec&l8A (a)

027 038 108 056 065 (097)

1B 26 6C 38 41 65 (61)

 

Letter

Ec&l2A (a)

027 038 108 050 065 (097)

1B 26 6C 32 41 (61)

 

Legal

Ec&l3A (a)

027 038 108 051 065 (097)

1B 26 6C 33 41 (61)

 

Tabloid (11 X 17)

Ec&l6A (a)

027 038 108 054 065 (097)

1B 26 6C 36 41 (61)

 

A4

Ec&l26A (a)

027 038 108 050 054 065 (097)

1B 26 6C 32 36 41 (61)

Function

Parameter

Command

Decimal Value

Hexadecimal Value

 

A3

Ec&l27A (a)

027 038 108 050 055 065 (097)

1B 26 6C 32 37 41 (61)

 

A5

Ec&l4A (a)

027 038 108 052 065 (097)

1B 26 6C 34 41 (61)

 

JIS B5

Ec&l45A (a)

027 038 108 052 053 065 (097)

1B 26 6C 34 35 41 (61)

 

JIS B4

Ec&l46A (a)

027 038 108 052 054 065 (097)

1B 26 6C 34 36 41 (61)

 

JPOST

Ec&l71A (a)

027 038 108 055 049 065 (097)

1B 26 6C 37 31 41 (61)

 

JPOSTD

Ec&l72A (a)

027 038 108 055 050 065 (097)

1B 26 6C 37 32 41 (61)

 

Monarch

Ec&l80A (a)

027 038 108 056 048 065 (097)

1B 26 6C 38 30 41 (61)

 

COM 10

Ec&l81A (a)

027 038 108 056 049 065 (097)

1B 26 6C 38 31 41 (61)

 

B5

Ec&l100A(a)

027 038 108 049 048 048 065 (097)

1B 26 6C 31 30 30 41 (61)

 

Custom/
Maximum

Ec&l101A(a)

027 038 108 049 048 049 065 (097)

1B 26 6C 31 30 32 41 (61)

 

DL

Ec&l90A (a)

027 038 108 057 048 065 (097)

1B 26 6C 39 30 41 (61)

 

C5

Ec&l91A (a)

027 038 108 057 049 065 (097)

1B 26 6C 39 31 41 (61)

Page Length

# if Lines (5-128)

Ec&l#P (p)

027 038 108 #...# 080 (112)

1B 26 6C #...# 50 (70)

    Orientation

    Function

    Parameter

    Command

    Decimal Value

    Hexadecimal Value

    Orientation

    Portrait

    Ec&l0O (o)

    027 038 108 048 079 (111)

    1B 26 6C 30 4F (6F)

     

    Landscape

    Ec&l1O (o)

    027 038 108 049 079 (111)

    1B 26 6C 31 4F (6F)

     

    Reverse Portrait

    Ec&l2O (o)

    027 038 108 050 079 (111)

    1B 26 6C 32 4F (6F)

     

    Reverse Landscape

    Ec&l3O (o)

    027 038 108 051 079 (111)

    1B 26 6C 33 4F (6F)

    Print Direction

    Number of Degrees of Rotation counter-
    clockwise (90 degree increments only)

    Ec&a#P

    027 038 097 #...# 080 (112)

    1B 26 61 #...# 50 (70)

    Margins and text length

    Function

    Parameter

    Command

    Decimal Value

    Hexadecimal Value

    Top Margin

    Number of Lines

    Ec&l#E (e)

    027 038 108 #...# 069 (101)

    1B 26 6C #...# 45 (65)

    Text Length

    Number of Lines

    Ec&l#F (f)

    027 038 108 #...# 070 (102)

    1B 26 6C #...# 46 (66)

    Left Margin

    Number of Columns

    Ec&a#L (l)

    027 038 097 #...# 076 (108)

    1B 26 61 #...# 4C (6C)

    Right Margin

    Number of Columns

    Ec&a#M (m)

    027 038 097 #...# 077 (109)

    1B 26 61 #...# 4D (6D)

    Clear Horizontal Margins

     

    Ec9

    027 057

    1B 39

    Perforation skip mode

    Function

    Parameter

    Command

    Decimal Value

    Hexadecimal Value

    Perforation Skip

    Disable

    EC&l0L (l)

    027 038 108 048 076 (108)

    1B 26 6C 30 4C (6C)

     

    Enable

    EC&l1L (l)

    027 038 108 049 076 (108)

    1B 26 6C 31 4C (6C)

    Horizontal column spacing

    Horizontal Motion Index (HMI)

    Number of .0083-inch Increments

    Ec&k#H (h)

    027 038 107 #...# 072 (104)

    1B 26 6B #...# 48 (68)

    The Horizontal Motion Index (HMI) command designates the distance between columns in .0083-inch increments. When fixed pitch fonts are selected, all printable characters, including the space and backspace characters, are affected by HMI. When proportional fonts are selected, the HMI affects only the control code space character. The default HMI is equal to the pitch value in the font header. The printer escape sequence to be sent is as follows:

    Ec&k#H # is equal to a variable that is derived from the following formula:


    Horizontal Printable Area

    ------------------------------------ X 120 = #
    Desired characters per line


    If the desired pitch or number of characters per horizontal inch is known, use the following formula:

    120/Desired characters per inch = #

    Vertical line spacing


    Vertical Motion Index (VMI)


    # of .0208-inch Increments



    Ec&l#C (c)


    027 038 108 #...# 067 (99)

    1B 26 6C #...# 43 (63)

    The Vertical Motion Index (VMI) command designates the distance between rows in .0208-inch increments (the vertical distance that the cursor will move for a line feed operation). This command affects the line feed and half-line feed spacing. The factory default VMI is eight, which corresponds to six lines per inch. VMI can be selected from the printer control panel or by sending a printer escape sequence: Ec&#C . # is equal to a variable that is derived from the following formula:

    Vertical Printable Area
    ---------------------------------- X 48 = #
    Desired Lines Per Page

    Note: Use either VMI (most precise method of line spacing) or Lines per inch, as only the last command will execute.

    Line Spacing (Lines per inch)



    1 line/inch



    Ec&l1D (d)



    027 038 108 049 068 (100)



    1B 26 6C 31 44 (64)

     

    2 lines/inch

    Ec&l2D (d)

    027 038 108 050 068 (100)

    1B 26 6C 32 44 (64)

     

    3 lines/inch

    Ec&l3D (d)

    027 038 108 051 068 (100)

    1B 26 6C 33 44 (64)

     

    4 lines/inch

    Ec&l4D (d)

    027 038 108 052 068 (100)

    1B 26 6C 34 44 (64)

     

    6 lines/inch

    Ec&l6D (d)

    027 038 108 054 068 (100)

    1B 26 6C 36 44 (64)

     

    8 lines/inch

    Ec&l8D (d)

    027 038 108 056 068 (100)

    1B 26 6C 38 44 (64)

     

    12 lines/inch

    Ec&l12D (d)

    027 038 108 049 050 068 (100)

    1B 26 6C 31 32 44 (64)

     

    16 lines/inch

    Ec&l16D (d)

    027 038 108 049 054 068 (100)

    1B 26 6C 31 36 44 (64)

     

    24 lines/inch

    Ec&l24D (d)

    027 038 108 050 052 068 (100)

    1B 26 6C 32 34 44 (64)

     

    48 lines/inch

    Ec&l48D (d)

    027 038 108 052 056 068 (100)

    1B 26 6C 34 38 44 (64)

    Vertical and horizontal

    Function

    Parameter

    Command

    Decimal Value

    Hexadecimal Value

    Vertical Position

    # of Rows

    Ec&a#R (r)

    027 038 097 #...# 082 (114)

    1B 26 61 #...# 52 (72)

    Superscript

    Up ¼ Row

    Ec&a-.25R (r)

    027 038 097 045 046 050 053 082 (114)

    1B 26 61 2D 2E 32 35 52 (72)

    Subscript

    Down ¼ Row

    Ec&a+.25R (r)

    027 038 097 043 046 050 053 082 (114)

    1B 26 61 2B 2E 32 35 52 (72)

     

    # of Dots

    Ec*p#Y (y)

    027 042 112 #...# 089 (121)

    1B 2A 70 #...# 59 (79)

     

    # of Decipoints

    Ec&a#V (v)

    027 038 097 #...# 086 (118)

    1B 26 61 #...# 56 (76)

    Horizontal Position

    # of Columns

    Ec&a#C (c)

    027 038 097 #...# 067 (99)

    1B 26 61 #...# 43 (63)

     

    # of Dots

    Ec*p#X (x)

    027 042 112 #...# 088 (120)

    1B 2A 70 #...# 58 (78)

     

    # of Decipoints

    Ec&a#H (h)

    027 038 097 #...# 072 (104)

    1B 26 61 #...# 48 (68)

    Half Line Feed

     

    Ec=

    027 061

    1B 3D

             

    Half Line Feed

     

    Ec=

    027 061

    1B 3D

    End-of-line termination

    Function

    Parameter

    Command

    Decimal Value

    Hexadecimal Value

    Line Termination

    CR=CR;LF=LF; FF=FF

    Ec&k0G (g)

    027 038 107 048 071 (103)

    1B 26 6B 30 47 (67)

     

    CR=CR+LF;LF=LF FF=FF

    Ec&k1G (g)

    027 038 107 049 071 (103)

    1B 26 6B 31 47 (67)

     

    CR=CR; LF=CR+LF; FF=CR+FF

    Ec&k2G (g)

    027 038 107 050 071 (103)

    1B 26 6B 32 47 (67)

     

    CR=CR+LF; LF=CR+LF; FF=CR+FF

    Ec&k3G (g)

    027 038 107 051 071 (103)

    1B 26 6B 33 47 (67)

    Symbol set selection



    Function



    Parameter



    Command


    Decimal Value


    Hexadecimal Value

    Primary Symbol Set

    ISO 60: Norwegian

    Ec(0D

    027 040 048 068

    1B 28 30 44

     

    ISO 4: United Kingdom

    Ec(1E

    027 040 049 069

    1B 28 31 45

     

    Windows 3.1

    Latin 2

    Ec(9E

    027 040 057 069

    1B 28 39 45

     

    ISO 69: French

    Ec(1F

    027 040 049 070

    1B 28 31 46

     

    ISO 21: German

    Ec(1G

    027 040 049 071

    1B 28 31 47

     

    ISO 15: Italian

    Ec(0I

    027 040 048 073

    1B 28 30 49

     

    Microsoft (R) Publishing

    Ec(6J

    027 040 054 074

    1B 28 36 4A

     

    DeskTop

    Ec(7J

    027 040 055 074

    1B 28 37 4A

     

    PS Text

    Ec(10J

    027 040 049 048 074

    1B 28 31 30 4A


    Function


    Parameter


    Command

    Decimal Value

    Hexadecimal Value

     

    MC Text

    Ec(12J

    027 040 049 050 074

    1B 28 31 32 4A

     

    Ventura International

    Ec(13J

    027 040 049 051 074

    1B 28 31 33 4A

     

    Ventura US

    Ec(14J

    027 040 049 052 074

    1B 28 31 34 4A

     

    Wingdings

    Ec(579L

    027 040 053 055 057 076

    1B 28 35 37 39 4C

     

    PS Math

    Ec(5M

    027 040 053 077

    1B 28 35 4D

     

    Ventura Math

    Ec(6M

    027 040 054 077

    1B 28 36 4D

     

    Math-8

    Ec(8M

    027 040 056 077

    1B 28 38 4D

     

    Symbol

    Ec(19M

    027 040 049 057 077

    1B 28 31 39 4D

     

    ISO 8859-1 (ECMA-94) Latin 1

    Ec(0N

    027 040 048 078

    1B 28 30 4E

     

    ISO 8859-2: Latin 2

    Ec(2N

    027 040 050 078

    1B 28 32 4E

     

    ISO 8859-9: Latin 5

    Ec(5N

    027 040 053 078

    1B 28 35 4E

     

    ISO 11: Swedish

    Ec(0S

    027 040 048 083

    1B 28 30 53

     

    ISO 17: Spanish

    Ec(2S

    027 040 050 083

    1B 28 32 53

     

    Windows 3.1 Latin 5

    Ec(5T

    027 040 053 084

    1B 28 35 54

     

    PC Turkish

    Ec(9T

    027 040 057 084

    1B 28 39 54


    Function


    Parameter


    Command

    Decimal Value

    Hexadecimal Value

     

    ISO 6: ASCII

    Ec(0U

    027 040 048 085

    1B 28 30 55

     

    Legal

    Ec(1U

    027 040 049 085

    1B 28 31 55

     

    Roman-8

    Ec(8U

    027 040 056 085

    1B 28 38 55

     

    Windows 3.0 Latin 1

    Ec(9U

    027 040 057 085

    1B 28 39 55

     

    PC-8

    Ec(10U

    027 040 049 048 085

    1B 28 31 30 55

     

    PC-8 D/N

    Ec(11U

    027 040 049 049 085

    1B 28 31 31 55

     

    PC 850

    Ec(12U

    027 040 049 050 085

    1B 28 31 32 55

     

    Pi Font

    Ec(15U

    027 040 049 053 085

    1B 28 31 35 55

     

    PC-852

    Ec(17U

    027 040 049 055 085

    1B 28 31 37 55

     

    Windows 3.1

    Latin 1 (ANSI)

    Ec(19U

    027 040 049 057 085

    1B 28 31 39 55

    NOTE: Refer to the PCL-5 Comparison Guide for additional supported symbol sets.

    Spacing

    Function

    Parameter

    Command

    Decimal Value

    Hexadecimal Value

    Primary Spacing

    Fixed

    Ec(s0P (p)

    027 040 115 048 080 (112)

    1B 28 73 30 50 (70)

     

    Proportional

    Ec(s1P (p)

    027 040 115 049 080 (112)

    1B 28 73 31 50 (70)

    Pitch

    Function

    Parameter

    Command

    Decimal Value

    Hexadecimal Value

    Primary Pitch

    Number Characters per inch

    Ec(s#H (h)

    027 040 115 #...# 072 (104)

    1B 28 73 #...# 48 (68)

    Set Pitch Mode

    10.0

    Ec&k0S (s)

    027 038 107 048 083 (115)

    1B 26 6B 30 53 (73)

     

    Compressed (16.5-16.7)

    Ec&k2S (s)

    027 038 107 050 083 (115)

    1B 26 6B 32 53 (73)

     

    Elite (12.0)

    Ec&k4S (s)

    027 038 107 052 083 (115)

    1B 26 6B 34 53 (73)

    Point size

    Function

    Parameter

    Command

    Decimal Value

    Hexadecimal Value

    Primary Height

    # Points

    Ec(s#V (v)

    027 040 115 #...# 086 (118)

    1B 28 73 #...# 56 (76)

    Style


    Function


    Parameter


    Command


    Decimal Value

    Hexadecimal Value

    Primary Style

    Upright (Solid)

    Ec(s0S (s)

    027 040 115 048 083 (115)

    1B 28 73 30 53 (73)

     

    Italic

    Ec(s1S (s)

    027 040 115 049 083 (115)

    1B 28 73 31 53 (73)

     

    Condensed

    Ec(s4S (s)

    027 040 115 052 083 (115)

    1B 28 73 34 53 (73)

     

    Condensed Italic

    Ec(s5S (s)

    027 040 115 053 083 (115)

    1B 28 73 35 53 (73)

     

    Compressed (Extra Condensed)

    Ec(s8S (s)

    027 040 115 056 083 (115)

    1B 28 73 38 53 (73)

     

    Expanded

    Ec(s24S (s)

    027 040 115 050 052 083 (115)

    1B 28 73 32 34 53 (73)

     

    Outline

    Ec(s32S (s)

    027 040 115 051 050 083 (115)

    1B 28 73 33 32 53 (73)

     

    Inline

    Ec(s64S (s)

    027 040 115 054 052 083 (115)

    1B 28 73 36 34 53 (73)

     

    Shadowed

    Ec(s128S (s)

    027 040 115 049 050 056 083 (115)

    1B 28 73 31 32 38 53 (73)

     

    Outline Shadowed

    Ec(s160S (s)

    027 040 115 049 054 048 083 (115)

    1B 28 73 31 36 30 53 (73)

    Additional style values may be obtained from the related documentation provided with HP's font products.

    PCL 5 HP LaserJet printers allow complex structures (contours, outlines, shading, etc.) and widths, as well as posture to be specified. Refer to the HP PCL 5 Printer Language Technical Reference Manual.

    Stroke weight

    Function

    Parameter

    Command

    Decimal Value

    Hexadecimal Value

    Primary Font Stroke Weight

    Ultra Thin

    Ec(s-7B (b)

    027 040 115 045 055 066 (98)

    1B 28 73 2D 37 42 (62)

     

    Extra Thin

    Ec(s-6B (b)

    027 040 115 045 054 066 (98)

    1B 28 73 2D 36 42 (62)

     

    Thin

    Ec(s-5B (b)

    027 040 115 045 053 066 (98)

    1B 28 73 2D 35 42 (62)

     

    Extra Light

    Ec(s-4B (b)

    027 040 115 045 052 066 (98)

    1B 28 73 2D 34 42 (62)

     

    Light

    Ec(s-3B (b)

    027 040 115 045 051 066 (98)

    1B 28 73 2D 33 42 (62)

     

    Demi Light

    Ec(s-2B (b)

    027 040 115 045 050 066 (98)

    1B 28 73 2D 32 42 (62)

     

    Semi Light

    Ec(s-1B (b)

    027 040 115 045 049 066 (98)

    1B 28 73 2D 31 42 (62)

     

    Medium (book or text)

    Ec(s0B (b)

    027 040 115 048 066 (98)

    1B 28 73 30 42 (62)

     

    Semi Bold

    Ec(s1B (b)

    027 040 115 049 066 (98)

    1B 28 73 31 42 (62)

     

    Demi Bold

    Ec(s2B (b)

    027 040 115 050 066 (98)

    1B 28 73 32 42 (62)

     

    Bold

    Ec(s3B (b)

    027 040 115 051 066 (98)

    1B 28 73 33 42 (62)

     

    Extra Bold

    Ec(s4B (b)

    027 040 115 052 066 (98)

    1B 28 73 34 42 (62)

     

    Black

    Ec(s5B (b)

    027 040 115 053 066 (98)

    1B 28 73 35 42 (62)

     

    Extra Black

    Ec(s6B (b)

    027 040 115 054 066 (98)

    1B 28 73 36 42 (62)

     

    Ultra Black

    Ec(s7B (b)

    027 040 115 055 066 (98)

    1B 28 73 37 42 (62)

    Primary typeface family

    Function

    Parameter

    Command

    Decimal Value

    Hexadecimal Value

     

    LinePrinter

    Ec(s0T

    027 040 115 048 084 (116)

    1B 28 73 30 54 (74)

    Typeface Family

    Albertus

    Ec(s4362T (t)

    027 040 115 052 051 054 050 084 (116)

    1B 28 73 34 33 36 32 54 (74)

     

    Antique Olive

    Ec(s4168T (t)

    027 040 115 052 049 054 056 084 (116)

    1B 28 73 34 31 36 38 54 (74)

     

    Clarendon

    Ec(s4140T (t)

    027 040 115 052 049 052 048 084 (116)

    1B 28 73 34 31 34 30 54 (74)

     

    Coronet

    Ec(s4116T (t)

    027 040 115 052 049 049 054 084 (116)

    1B 28 73 34 31 31 36 54 (74)

     

    Courier

    Ec(s4099T (t)

    027 040 115 052 048 057 057 084 (116)

    1B 28 73 34 30 39 39 54 (74)

     

    Garamond Antiqua

    Ec(s4197T (t)

    027 040 115 052 049 057 055 084 (116)

    1B 28 73 34 31 39 37 54 (74)

     

    Letter Gothic

    Ec(s4102T (t)

    027 040 115 052 049 048 050 084 (116)

    1B 28 73 34 31 30 32 54 (74)

     

    Marigold

    Ec(s4297T (t)

    027 040 115 052 050 057 055 084 (116)

    1B 28 73 34 32 39 37 54 (74)

     

    CG Omega

    Ec(s4113T (t)

    027 040 115 052 049 049 051 084 (116)

    1B 28 73 34 31 31 33 54 (74)

     

    CG Verdana, Helvetica, Arial, san-serif

    Ec(s4101T (t)

    027 040 115 052 049 048 049 084 (116)

    1B 28 73 34 31 30 31 54 (74)

     

    Univers

    Ec(s4148T (t)

    027 040 115 052 049 052 056 084 (116)

    1B 28 73 34 31 34 38 54 (74)

     

    Arial (R)

    Ec(s16602T (t)

    027 040 115 049 054 054 048 050 084 (116)

    1B 28 73 31 36 36 30 32 54 (74)

     

    Verdana, Helvetica, Arial, san-serif New Roman

    Ec(s16901T (t)

    027 040 115 049 054 057 048 049 084 (116)

    1B 28 73 31 36 39 30 31 54 (74)

     

    Symbol

    Ec(s16686T (t)

    027 040 115 049 054 054 056 054 084 (116)

    1B 28 73 31 36 36 38 36 54 (74)

     

    Wingdings

    Ec(s31402T (t)

    027 040 115 051 049 052 048 050 084 (116)

    1B 28 73 33 31 34 30 32 54 (74)

    Underline

    Function

    Parameter

    Command

    Decimal Value

    Hexadecimal Value

    Underline

    Enable Fixed

    Ec&d0D (d)

    027 038 100 048 068 (100)

    1B 26 64 30 44 (64)

     

    Enable Floating

    Ec&d3D (d)

    027 038 100 051 068 (100)

    1B 26 64 33 44 (64)

     

    Disable

    Ec&d@

    027 038 100 064

    1B 26 64 40

    Contact HP?