IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)
IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF) IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)
(b) 3) ESC 2 (Escape 2) Receipt of an "ESC" followed by ASCII code "2" causes the line spacing to be set at 1/6 inch. When the POWER switch is turned on, the line spacing is set at initia11/6 inch. The ESC 2 code is also a command to execute "ESC A+n" modes (described later). 4) ESC 8 (Escape 8) The ESC 8 code makes it possible to transmit data even if there is no paper in the Printer. This code should be transmitted before the Printer runs out of paper. After transmitting this code, when the Printer runs out of paper, the PE signal of the interface connector turns to High level; the ERROR signal remains at High level. 5) ESC 9 (Escape 9) This code cancels the ESC 8 condition. When the power is turned on, the Printer is initialized into ESC 9 status. Therefore, the Printer cannot receive data when there is no paper. 6) ESC SI This code functions the same as "SI". 7) ESC SO This code functions the same as "SO". ESC alphabetic control Receipt of an "ESC" code followed by ASCII code "X"(alphabetic code) permits each of the following functions to be performed. Note: "n" represents a 7-bit binary number, and the most significant bit is not treated as data. "+" is inserted for the purpose of legibility only, and should not be input in actual operation. 1) ESC A+n This code specifies the amount of line spacing in the Line Feed 1 «n>10
The ESC A code is the command only to store spacing data into the memory. In other words, even if spacing data was transferred into the memory, the Printer does not actually carry out the line spacing in accordance with the spacing data. To execute the line spacing in accordance with the stored data, the ESC 2 code should be followed. Namely, the ESC 2 code is considered as the execution command for the line spacing. [DATA] AAAAAAA ICRI [LFl BBBBBBB ICRI !!£] IESC A+24 I CCCCCCC ICR 1 I1I] DDDDDDD I ESC 21 ICR 1 [ill [PRINT] EEEEEEE ICRI ITIJ FFFFFFF ICRI ILFI AAAAAAA} BBBBBBB CCCCCCC DDDDDDD} EEEEEEE 1/6 inch = 12 steps/72 1/3 inch = 24 steps/72 FFFFFFF Note: When "n" is actually transferred to the Printer as data, it is transferred in the form of a 7-bit binary number. In case of "ESC A+24", actual output to the Printer is performed as HHH in hexadecimal code. 2) ESC B+nl +n2+nk+NUL (1«n>1O
- Page 52 and 53: Power Supply The system DC power su
- Page 54 and 55: N I ~ VI ) § I • \. ~ o el so.
- Page 56 and 57: IBM Monochrome Display and Parallel
- Page 58 and 59: System Channel Interface Lines Used
- Page 60 and 61: Programming Considerations Programm
- Page 62 and 63: • CRT Status Port (I/O Address '3
- Page 64 and 65: Color/Graphics Monitor Adapter The
- Page 66 and 67: CPU .. r-- ) ) ) DISPLAY ADDRESS BU
- Page 68 and 69: Modes of Operation There are two ba
- Page 70 and 71: IBM Monochrome Display Adapter V s.
- Page 72 and 73: Color selection is determined by th
- Page 74 and 75: 1"'"""""\ Table 5. I R G B Summary
- Page 76 and 77: Programming the Mode Control and St
- Page 78 and 79: Bit 5 When on, this bit will change
- Page 80 and 81: I/O Address and Bit Map Read/Write
- Page 82 and 83: Color/Graphics Monitor Adapter Auxi
- Page 84 and 85: Parallel Printer Adapter The Printe
- Page 86 and 87: Programming Considerations The Prin
- Page 88 and 89: Parallel Printer Adapter Interface
- Page 90 and 91: Table 7. Printer Specifications (1
- Page 92 and 93: Table 9. Functions and Conditions o
- Page 94 and 95: Table 10. Connector Pin Assignment
- Page 96 and 97: (4) Data transfer sequence Fig. 17
- Page 98 and 99: ASCII Control Codes Control Codes V
- Page 100 and 101: (8) DC 2 (Device Control 2) The DC
- Page 104 and 105: ehaves like the LF code. Therefore,
- Page 106 and 107: [DATA] IESCGI ABCDEFGHI [PRINT] ABC
- Page 108 and 109: 5 1/4-Inch Diskette Drive Adapter T
- Page 110 and 111: ~ Functional Description From a pro
- Page 112 and 113: The FOe is capable of performing 15
- Page 114 and 115: Table 13. Symbol Descriptions (cont
- Page 116 and 117: Command Summary (continued) DATA B
- Page 118 and 119: Command Summary (continued) DATA B
- Page 120 and 121: Table 15. Status Register I BIT NO.
- Page 122 and 123: Table 17. Status Register 3 BIT NO.
- Page 124 and 125: ~ ~ +AO-9 +AEN -lOW -lOR -DACK2 +T
- Page 126 and 127: Adapter Inputs -Index -Write Protec
- Page 128 and 129: 5-1/4" Diskette Drive Adapter Exter
- Page 130 and 131: (3) The write-protect sensor disabl
- Page 132 and 133: Memory Expansion Options Two Memory
- Page 134 and 135: Switch - Configurable Start Address
- Page 136 and 137: Game Control Adapter The Game Co
- Page 138 and 139: I/O Channel Description A9-AO: D7-D
- Page 140 and 141: ) ) ) 15 PIN MALE '0' SHELL c....t
- Page 142 and 143: Asynchronous Communications Adapter
- Page 144 and 145: Modes of Operation The different mo
- Page 146 and 147: I TRANSMIT 'IACUIT I +5V ~ 4S-"l Tx
- Page 148 and 149: INS8250 Functional Pin Description
- Page 150 and 151: Data Set Ready (DSR), Pin 37: When
(b)<br />
3) ESC 2 (Escape 2)<br />
Receipt of an "ESC" followed by ASCII code<br />
"2" causes the line spacing to be set at 1/6 inch.<br />
When the POWER switch is turned on, the line<br />
spacing is set at initia11/6 inch. The ESC 2 code is<br />
also a command to execute "ESC A+n" modes<br />
(described later).<br />
4) ESC 8 (Escape 8)<br />
The ESC 8 code makes it possible to transmit data<br />
even if there is no paper in the Printer. This code<br />
should be transmitted before the Printer runs out<br />
of paper. After transmitting this code, when the<br />
Printer runs out of paper, the PE signal of the<br />
interface connector turns to High level; the<br />
ERROR signal remains at High level.<br />
5) ESC 9 (Escape 9)<br />
This code cancels the ESC 8 condition. When the<br />
power is turned on, the Printer is initialized into<br />
ESC 9 status. Therefore, the Printer cannot<br />
receive data when there is no paper.<br />
6) ESC SI<br />
This code functions the same as "SI".<br />
7) ESC SO<br />
This code functions the same as "SO".<br />
ESC alphabetic control<br />
Receipt of an "ESC" code followed by ASCII code<br />
"X"(alphabetic code) permits each of the following<br />
functions to be performed.<br />
Note: "n" represents a 7-bit binary number, and the<br />
most significant bit is not treated as data. "+" is<br />
inserted for the purpose of legibility only, and<br />
should not be input in actual operation.<br />
1) ESC A+n<br />
This code specifies the amount of line spacing in<br />
the Line Feed 1 «n>10