●
HP Software commands
ESC ( s (27,40,115,#, (1B,28,73,#, Bold or emphasized.
# B 66)D 42)H Designates/Cancels bold or emphasized attributes as follows.
ESC ) s (27,41,115,#, (1B,29,73,#, # = 0 (30H) :Bold off/Emphasized off
# B 66)D 42)H # = 3 (33H) :Bold on /Emphasized off
# = 7 (37H) :Bold off/Emphasized on
ESC ( s (27,40,115,#, (1B,28,73,#, Sets character spacing. (# = Font pitch (CPI))
# H 72)D 48)H PCL mode = PCL3+, PCL3+D or PCL3
ESC ) s (27,41,115,#, (1B,29,73,#, # = 5 :5 cpi (0.01≤#<5.01)
# H 72)D 48)H # = 10 :10 cpi (5.01≤#<10.01)
# = 12 :12 cpi (10.01≤#<12.01)
PCL mode = PCL3+ or PCL3+D
# = 15 :15 cpi (12.01≤#<15.01)
# = 16.7 :16.7 cpi (15.01≤#<16.71)
# = 17.1 :17.1 cpi (16.71≤#<17.11)
# = 20 :20 cpi (17.11≤#<20.01)
# = 24 :24 cpi (20.01≤#)
PCL mode = PCL3
# = 16.7 :16.7 cpi (12.01≤#<16.71)
# = 20 :20 cpi (16.71 ≤#)
ESC ( s (27,40,115,#, (1B,28,73,#, Selects proportional or fixed character spacing.
# P 80)D 50)H # = 1 (31H) :Proportional pitch
ESC ) s (27,41,115,#, (1B,29,73,#, # = 0 (30H) :Fixed pitch
# P 80)D 50)H
ESC ( s (27,40,115,#, (1B,28,73,#, Sets print quality.
# Q 81)D 51)H # = 0 (30H) :Draft
ESC ) s (27,41,115,#, (1B,29,73,#, # = 2 (32H) :Letter Quality
# Q 81)D 51)H
ESC ( s (27,40,115,#, (1B,28,73,#, Sets italic character.
# S 83)D 53)H # = 0 (30H) :Cancels italic character
ESC ) s (27,41,115,#, (1B,29,73,#, # = 1 (31H) :Designates italic character
# S 83)D 53)H # = 2 (32H) :Designates italic character
ESC ( s (27,40,115,#, (1B,28,73,#, Sets typeface.
# T 84)D 54)H # = 0 (30H) LINE PRINTER DRAFT
ESC ) s (27,41,115,#, (1B,29,73,#, # = 3 (33H) COURIER
# T 84)D 54)H # = 4 (34H) SANSERIF
# = 5 (35H) ROMAN
# = 6 (36H) GOTHIC
# = 7 (37H) SCRIPT*
# = 8 (38H) PRESTIGE
# = 10 (31H,30H) ORATOR*
# = 11 (31H,31H) ORATOR-S*
# = 20 (32H,30H) OCR-A*
# = 21 (32H,31H) OCR-B*
*= Available in PCL3+ or PCL3+D
Decimal Hex
Symbol
Function
Code
8-21
—
8. Software commands
—