●
HPcommand list
Decimal
Hexadecimal
Symbol
Function
Code
BEL (07)D (07)H Activates the printer buzzer. (PCL3+ or PCL3+D)
BS (08)D (08)H Backspace one character.
HT (09)D (09)H Moves to next horizontal tab.
LF (10)D (0A)H Linefeeds after printing.
FF (12)D (0C)H Form feeds after printing.
CR (13)D (0D)H Carriage return after printing.
SO (14)D (0E)H Selects secondary font.
SI (15)D (0F)H Selects prinmary font.
ESC (27)D (1B)H Designate start of escape sequence.
SP (32)D (20)H Space one character.
DEL (127)D (7F)H To print the ASCII DEL character.
ESC & a # C (27,38,97,#,67)D (1B,26,61,#,43)H Horizontal positioning by column.
ESC & a # H (27,38,97,#,72)D (1B,26,61,#,48)H Horizontal positioning by 1/720”.
ESC & a # L (27,38,97,#,76)D (1B,26,61,#,4C)H Sets left margin.
ESC & a # M (27,38,97,#,77)D (1B,26,61,#,4D)H Sets light margin.
ESC & a # R (27,38,97,#,82)D (1B,26,61,#,52)H Vertical positioning by line (VMI).
ESC & a # V (27,38,97,#,86)D (1B,26,61,#,56)H Vertical positioning by 1/720”.
ESC & d # D (27,38,100,#,68)D (1B,26,64,#,44)H Designates underline mode.
ESC & d # @ (27,38,100,#,64)D (1B,26,64,#,40)H Cancels underline mode.
ESC & k # E (27,38,107,#,69)D (1B,26,6B,#,45)H Designates/Cancels the auto-cancellation of
underline.
ESC & k # F (27,38,107,#,70)D (1B,26,6B,#,46)H Designates/Cancels the auto-cancellation of
secondary font.
ESC & k # G (27,38,107,#,71)D (1B,26,6B,#,47)H Designates line termination.
ESC & k # H (27,38,107,#,72)D (1B,26,6B,#,48)H Sets HMI (Horizontal motion index).
ESC & k # S (27,38,107,#,83)D (1B,26,6B,#,53)H Designates character pitch.
ESC & k # V (27,38,107,#,86)D (1B,26,6B,#,56)H Designates/Cancels automatic scroll mode.
ESC & k # W (27,38,107,#,87)D (1B,26,6B,#,57)H Controls print direction. (PCL3+ or PCL3+D)
ESC & l # A (27,38,108,#,65)D (1B,26,6C,#,41)H Designates paper size.
ESC & l # C (27,38,108,#,67)D (1B,26,6C,#,43)H Sets VMI (Vertical motion index).
ESC & l # D (27,38,108,#,68)D (1B,26,6C,#,44)H Sets the line spacing. VMI (Vertical motion index)
ESC & l # E (27,38,108,#,69)D (1B,26,6C,#,45)H Sets top margin by VMI.
ESC & l # F (27,38,108,#,70)D (1B,26,6C,#,46)H Sets text length.
ESC & l # H (27,38,108,#,72)D (1B,26,6C,#,48)H Sets paper path.
ESC & l # L (27,38,108,#,76)D (1B,26,6C,#,4C)H Designates/Cancels skip perforation mode.
ESC & l # P (27,38,108,#,80)D (1B,26,6C,#,50)H Sets page length by VMI.
ESC & p # X (27,38,112,#,88)D (1B,26,70,#,58)H Receives data as text.
ESC & s # C (27,38,115,#,67)D (1B,26,73,#,43)H Designates/Cancels wraparound.
ESC ( id (27,40,id)D (1B,28,id)H Assign font to the primary/secondary font set.
ESC ) id (27,41,id)D (1B,29,id)H
ESC ( # @ (27,40,#,64)D (1B,28,#,40)H Designates primary font.
ESC ( 0 X (27,40,48,88)D (1B,28,30,58)H Assigns the download font to the current
ESC ) 0 X (27,41,48,88)D (1B,29,30,58)H primary/secondary font.
ESC ( s # B (27,40,115,#,66)D (1B,28,73,#,42)H Bold or emphasized.
ESC ) s # B (27,41,115,#,66)D (1B,29,73,#,42)H
HP command list