05946.pdf

(48 KB) Pobierz
LP 7
(260-1167)
Control Codes
Faxback Doc. # 5946
──────────────────┐
CODE
│
─────┬──────┬─────┼───────┬────────────────────────────────────────────────
DEC.
│OCTAL │HEX. │SYMBOL │FUNCTION
─────┼──────┼─────┼───────┼────────────────────────────────────────────────
10
│012
│0A
│
LF
│Line
feed. Prints out current buffer contents
or
│
or
│or
│
CR
│and
advance paper one line.
13
│015
│0D
│
│
─────┼──────┼─────┼───────┼────────────────────────────────────────────────
16
│020
│10
│
POS
│Prints
from (nn+1) a the character position. nn
nn
│nn
│nn
│
│is
a sequence of the ASCII-coded digits from 00
│
│
│
│to
79 inclusive.
─────┼──────┼─────┼───────┼────────────────────────────────────────────────
18
│022
│12
│
DC2
│Designates
graphic mode.
─────┼──────┼─────┼───────┼────────────────────────────────────────────────
26
│032
│1A
│
SUB
│Carriage
return. Prints buffer: next character
│
│
│
│will
be printed at start of line.
─────┼──────┼─────┼───────┼────────────────────────────────────────────────
27
│033
│1B
│
ESC
│Prints
form (hl+1)the dot position. See Note.
16
│020
│10
│
POS
│
hl
│
hl
│hl
│
│
─────┼──────┼─────┼───────┼────────────────────────────────────────────────
28
│034
│1C
│
FS
│Next
graphic pattern us repeated for aa times.
aa
│
aa
│aa
│
│(0
< aa < 255)
─────┼──────┼─────┼───────┼────────────────────────────────────────────────
30
│036
│1E
│
RS
│Designates
character print mode.
─────┼──────┼─────┼───────┼────────────────────────────────────────────────
31
│037
│1F
│
US
│Designates
double-width print mode.
─────┴──────┴─────┴───────┴────────────────────────────────────────────────
NOTE: Positions are numbered from 1 to 480. "hl" is a two-byte sequence
specifying a value from 0 to 479 inclusive. "h" is the most significant
byte, l" is the least significant. For dot positions from 257 - 480, use
"h" equals 1, "l" equals designated dot column 1. For dot positions from
257 - 480, use "h" equals 1, "l" equals desired dot column 1 - 256.
Not available via "LPRINT", requires programming to bypass TRS-80 Printer
software. See note on page 15.
(dkh-08/04/93)
Zgłoś jeśli naruszono regulamin