
CommandsAppendix —A
53PK80Series 80-Column Prin ter User’s Manual
PK80F Control SequencesThe following control sequences are for the PK80F Printer:
Note: Any time ESC is used in a command, the command needs to con-
tain the actual ASCII character for ESC (0x1B), not the letters E-S-C .
Thereshouldbenospacesbeforethenextcharacter.Sometimesaspaceis
included in the documentation for readability.
Commands Description
LF(0Ah) Line Feed A single LF prints, advances paper, andplaces a carriage return at the end of the line.
Multiple LFs continues to advance paper (or insert blank lines).
CR (0Dh) Carriage Return A single CR prints andplaces carriage at e ndof line (no LF). With multiple CRs, all
CRsafterthefirstareignored.
SCR= print and position carriage at the end of line (no LF).
SLF = print,advance one line, and place carriage at end of line.
SCRLF =print and advance one line.
SLFCR =print and advance one line.
SCRCRCRCR. . .(ntimes) = print, placecarriage at the E OL(no LF).
SLFLFLFLF. . .(ntimes) = print and advance nlines.
FF (0Ch) FormFeed This prints, advances paper tothe top of the next page, and places a carriage return at
the end ofth e line.
DEL (07h) This cancelsthe previous character sent on that line.
SO (0Eh) Thissetsthedoublewidemode(ifnoti nt he condensed mode) for one line only and
cancels the condensed mode (if in the condensed mode).
SI (0Fh) This sets the condensed mode (ifnot inthedoublewidemode)andcancelsthedouble
wide mode (if in the double wide mode).
DC2 (12h) Thissets the pica pitch mode and cancels the double wide, emphasized, and condensed
modes.
DC4 (14h) This cancels the double wide mode set by SO.
CAN (18h) Thiscancels the current line without printing.
ESC SO This selects the double wide mode for one line on ly.
ESC SI This selects the condensedmode.
ESC DC2 Thiscancels the condensedmode.
ESC DC4 Thiscancels the double wi de mode.
ESC @ This is the master reset, which resets the printer to its default states.
ESC ! n Master select -each bit in nselects or deselectsa feature:
SAllzeros — Select PICA
SBit0 — Select ELITE
SBit2 — Select Condensed (compressed)
SBit3 — Select Emphasized (bold)
SBit 5 — Double Width (expanded)
SBit 6 — Italic
SBit 7 — Underline
ESC - n This enables or disables the underline mode. If n=1, then enable the underlinemode. If
n=0, then disable the underline mode.