LP 5 (260-1165) Control Codes Faxback Doc. # 5667
According to American Standard Code for Information Interchange (ASCII),
there are 34 control codes in addition to the printable character codes.
Control codes are sent as data which the receiving device interprets as
abbreviated instructions, communications-status messages, etc.
The Line Printer V recognizes and executes 6 kinds of control codes as a
space character.
---------------------------------------------------------------------------
CODE | | | |
DEC. |OCTAL |HEX. |SYMBOL |FUNCTION
---------------------------------------------------------------------------
0 |000 |00 |NUL |These are ignored
-------------------------- |
1 |001 |01 | |
---------------------------------------------------------------------------
10 |012 |0A |LF |Line Feed. When buffer information is
or |or |or | |printed out, paper advances one line.
138 |312 |8A | |Next character is printed from start of
| | | |next line.
---------------------------------------------------------------------------
13 |015 |0D |CR |Carriage return, all buffer information
or |or |or | |and next character printed from start
141 |315 |8A | |of next line. CR code directly after CR
| | | |or LF is ignored.
---------------------------------------------------------------------------
14 |016 |0E |ULE |Underline End. After this code is
| | | |received, subsequent characters won't
| | | |have underline.
---------------------------------------------------------------------------
15 |017 |0F |ULS |Underline Start. Subsequent characters
| | | |will be printed with underline until
| | | |Underline End code is received or
| | | |initialized.
---------------------------------------------------------------------------
27 |033 |1B |CON |Sets to condensed character mode.
14 |016 |0E |STR |Following characters will be 2/3 pitch
| | | |of normal characters. Thus, if normal
| | | |characters have been prescribed, 15
| | | |character/inch pitch will be used. If
| | | |Elongated Characters have been prescri-
| | | |bed, 7.5 character/inch pitch will be
| | | |used. Next character will be printed
| | | |from start of this line.
---------------------------------------------------------------------------
27 |033 |1B |CON |Cancels condensed character mode.
15 |017 |0F |END |Returns to character pitch prior to
| | | |condensed character designation. Next
| | | |data will be printed from beginning of
| | | |the line.
---------------------------------------------------------------------------
27 |033 |1B |BOLD |Bold character End. Return to normal
30 |036 |1F |END |character mode.
---------------------------------------------------------------------------
27 |033 |1B |BOLD |Bold character Start. Following charac-
31 |037 |1F |START |ters will be printed in Bold letters.
| | | |Character pitch won't be changed. *
---------------------------------------------------------------------------
27 |033 |1B |1/12L |12 Lines/inch designated. When this two
28 |034 |1C | |-code sequence is received, all follow-
| | | |ing line spacing will be 12 lines per
| | | |inch. This is normally designated when
| | | |graphic pattern printing is to be
| | | |performed.
---------------------------------------------------------------------------
27 |033 |1B |1/6"L |6 Line/inch designated. When this two-
54 |066 |38 | |code sequence is received,all following
| | | |line spacing will be 6 lines per inch.
| | | |This condition prevails when power is
| | | |turned on or Printer is Reset.
---------------------------------------------------------------------------
27 |033 |1B |1/8"L |8 Line/inch designated. When this two-
56 |068 |38 | |code sequence is received,all following
| | | |line spacing will be 8 lines per inch.
---------------------------------------------------------------------------
30 |036 |1E |NOR |Elongated character designation cancel-
| | | |ed. This condition prevails when power
| | | |is turned on or Printer is Reset.
---------------------------------------------------------------------------
31 |037 |1F |ELN |Elongated character designated. All
| | | |following character pitches will be
| | | |twice that of former characters.
---------------------------------------------------------------------------
127 |177 |7F |DEL |These are ignored.
-------------------------- |
255 |377 |FF | |
---------------------------------------------------------------------------
* Bold character can be used only for normal characters. When BOLD STR
code is received in elongated character mode, it will be ignored.
SPECIAL NOTE: The condensed mode commands should not be written into the
center (or end) of a program line. When executed, the CON STR brings the
print head to the starting point of a line, but does not include a line
feed. As a result you will get overprinting on the same line (if executed
after some information has already been printed for that line). Normal and
Elongated mode printing can be intermixed on the same line (but condensed
mode cannot be mixed with any other).
************SEE ADDENDUM************
(dtc-08/04/93)
Privacy Policy