HP PCL 5 ASCII Print Codes

Value Name Description
0Dh CR Carrage Return - moves the cursor to the left margin on the current line. See: Line Termination Command
0Ah LF Line Feed - Advances the cursor to the same horizontal position on the next line   as defined by the VMI command. See: Line Termination Command
20h SP Space - Move the cursor to the right by one column position as defined by HMI command if fixed pitch font or if the space character is not defined by proportional font. Move the cursor to the right by the with of the character if defined defined in the current proportional font
08h BS Backspace - Move the cursor left a distance equal to the width of the last printed cymbol or space but not past the left margin. If the cursor is currently beyond the right margin, BS postitions it just to the left of the right margin. NOTE: if "world" is printed and then 5 BS's are sent, the cursor would be moved left by 5 times the width of the "d" not necessarly at the beginning of the word "world"
09h HT Horizontal Tab - Move the cursor to the next tap stop on the current line. not to exceed the right margin. Ignored if HMI is 0. Tab stops are at the left margin and every 8th column to the right bound of the logical page.
0Ch FF Form Feed - eject the current page. See: Line Termination Command
0Fh SI Shift In - Select Primary font.
0Eh SO Shift Out - Select Secondary font.

See also:

Questions: