home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / S2R10_C.ZIP / S2R10C10.SI < prev    next >
Text File  |  1990-03-09  |  44KB  |  1,002 lines

  1. .RR--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!--!
  2. .PL 62
  3. .LM 1
  4. .RM 78
  5. .MT3
  6. .MB4
  7. .HM1
  8. .FM1
  9. .PO10
  10. .CW10
  11. .SR2
  12. .UJ0
  13. .OJ0
  14. .UL1
  15. .hePrinter Devices                                                         3/9/90
  16. .foSCSI-2 draft proposed American National Standard        10-#     Revision 10c
  17. .pn 1
  18. .cp 30
  19. .aw off
  20. .pm 0
  21. 10. Commands for Printer Devices
  22. .aw on
  23. .pm 3
  24.  
  25.  
  26. .cp 20
  27. .aw off
  28. .pm 0
  29. 10.1. Mode∞ fo≥ Printer Devicσs 
  30. .aw on
  31. .pm 3
  32.  
  33. ááThi≤ commanΣ se⌠ include≤ capabilit∙ fo≥ thσ printe≥-controllinτ device¼ ì
  34. whicΦ i≤ aε SCS╔ targe⌠ t∩ bσ i≤ functionall∙ separatσ froφ thσ physica∞ ì
  35. printe≥ devicσ (seσ Figurσ 1░-1⌐ a≤ wel∞ a≤ integrateΣ witΦ it«  Thσ physica∞ ì
  36. printe≥ devicσ i≤ connecteΣ t∩ thσ SCS╔ targe⌠ viß onσ oµ severa∞ commoε ì
  37. devicσ-leve∞ interfaces«  Therσ ma∙ bσ morσ thaε onσ physica∞ printe≥ devicσ ì
  38. attacheΣ t∩ thσ printe≥ controllinτ device«  Iε sucΦ ß case¼ eacΦ physica∞ ì
  39. printe≥ devicσ i≤ assigneΣ ß separatσ logica∞ uni⌠ number¼ beginninτ witΦ ì
  40. zero«  Thσ printe≥-controllinτ device¼ printe≥ devicσ-leve∞ interface¼ anΣ thσ ì
  41. physica∞ printe≥ devicσ arσ collectivel∙ referreΣ t∩ a≤ thσ printe≥ device.
  42.  
  43. .lm 1
  44. .pm 0
  45. .aw off
  46.                       --------------¡                 ------------
  47.                       ⁿ             ⁿ                 ⁿ          |
  48.             ----------ⁿ Printer¡    ⁿ Printe≥ Device¡ ⁿ Physica∞ |
  49.             SCS╔ Bu≤  ⁿ Controllinτ |----¡------------ⁿ Printe≥  |
  50.             ----------ⁿ Devicσ      | leve∞ Interfacσ ⁿ Devicσ   |
  51.                       ⁿ             ⁿ                 ⁿ          |
  52.                       --------------¡                 ------------
  53.  
  54.                         Figure 10-1: SCS╔ Printe≥ Model
  55. .aw on
  56. .lm 1
  57. .pm 3
  58.  
  59. ááSpecifiπ contro∞ mechanism≤ arσ defineΣ iε modσ page≤ fo≥ tw∩ industr∙-ì
  60. standarΣ interface≤ knowε a≤ thσ linσ printe≥ interfacσ (e.g.¼ thσ Datß ì
  61. Product≤ interfacσ o≥ equivalent⌐ anΣ thσ EI┴ R╙-232├ interface«  Thesσ modσ ì
  62. page≤ arσ useΣ t∩ contro∞ optiona∞ feature≤ oµ thesσ interfaces«  N∩ modσ pagσ ì
  63. wa≤ defineΣ fo≥ thσ popula≥ industr∙-standarΣ paralle∞ interfacσ becausσ thσ ì
  64. option≤ requirinτ control≤ arσ embeddeΣ iε thσ data.
  65.  
  66. ááThσ printe≥-controllinτ devicσ ma∙ bσ physicall∙ integrateΣ withiε thσ ì
  67. printe≥ devicσ anΣ i⌠ i≤ no⌠ requireΣ t∩ usσ onσ oµ thσ industr∙-standarΣ ì
  68. interface≤ referenceΣ above.
  69.  
  70. ááThσ printe≥ devicσ command≤ arσ structureΣ oε thσ assumptioε tha⌠ specifiπ ì
  71. printe≥ contro∞ code≤ ma∙ bσ embeddeΣ iε thσ datß transferreΣ b∙ thσ FORMAT¼ ì
  72. PRINT¼ anΣ SLE╫ AN─ PRIN╘ commands«  Thσ transparen⌠ contro∞ code≤ ma∙ takσ ì
  73. thσ forφ oµ "escapσ codσ sequences"«  Command≤ fo≥ thσ operatioε oµ thσ targe⌠ ì
  74. functioε anΣ somσ printe≥ controls¼ whicΦ arσ no⌠ convenien⌠ t∩ handlσ iε ß ì
  75. transparen⌠ way¼ arσ specifieΣ iε 10.2.
  76.  
  77. ááThi≤ standarΣ doe≤ no⌠ specif∙ whicΦ characte≥ se⌠ i≤ useΣ b∙ thσ printe≥ ì
  78. devicσ no≥ doe≤ i⌠ specif∙ thσ meaninτ oµ thσ "escapσ codσ sequencesó tha⌠ ma∙ ì
  79. bσ used«  
  80.  
  81. .cp 40è.aw off
  82. .pm 0
  83. 10.2. Command≤ fo≥ Printe≥ Devices
  84. .aw on
  85. .pm 3
  86.  
  87.  
  88. ááThσ command≤ fo≥ printe≥ device≤ shal∞ bσ a≤ showε iε Tablσ 1░-1.
  89.  
  90. .aw off
  91. .pm 0
  92. .cp 37 
  93.                    Table 10-1: Commands for Printer Devices
  94.  
  95. ==============================================================================
  96.                                 Operation
  97. Command Name                       Code   Type    Section  Page
  98. ------------------------------------------------------------------------------
  99. CHANG┼ DEFINITIO╬                  40h      ╧      7.2.1
  100. COMPAR┼                            39Φ      ╧      7.2.2
  101. COPY                               18h      O      7.2.3
  102. COP┘ AN─ VERIFY                    3Ah      O      7.2.4
  103. FORMAT                             04h      O     10.2.1
  104. INQUIRY                            12h      M      7.2.5
  105. LO╟ SELEC╘                         4CΦ      ╧      7.2.6
  106. LO╟ SENS┼                          4DΦ      ╧      7.2.7
  107. MODE SELECT(6)                     15h      O      7.2.8
  108. MOD┼ SELECT(10)                    55h      O      7.2.9
  109. MODE SENSE(6)                      1Ah      O      7.2.10
  110. MOD┼ SENSE(10)                     5Ah      O      7.2.11
  111. PRINT                              0Ah      M     10.2.2
  112. REA─ BUFFER                        3Ch      O      7.2.12
  113. RECEIVE DIAGNOSTIC RESULTS         1Ch      O      7.2.13
  114. RECOVER BUFFERED DATA              14h      O     10.2.3
  115. RELEASE UNIT                       17h      M      9.2.9
  116. REQUEST SENSE                      03h      M      7.2.14
  117. RESERVE UNIT                       16h      M      9.2.10
  118. SEND DIAGNOSTIC                    1Dh      M      7.2.15
  119. SLEW AND PRINT                     0Bh      O     10.2.4
  120. STOP PRINT                         1Bh      O     10.2.5
  121. SYNCHRONIZE BUFFER                 10h      O     10.2.6
  122. TEST UNIT READY                    00h      M      7.2.16
  123. WRIT┼ BUFFER                       3Bh      O      7.2.17
  124. ==============================================================================
  125. .aw on
  126. .pm 3
  127.  
  128. ááKey║ ═  ╜  CommanΣ implementatioε i≤ mandatory.
  129. áá     ╧  ╜  CommanΣ implementatioε i≤ optional.
  130.  
  131. ááThσ followinτ operatioε code≤ arσ vendo≥ specific║ 01h¼ 02h¼ 05h¼ 06h¼ 07h¼ ì
  132. 08h¼ 09h¼ 0Ch¼ 0Dh¼ 0Eh¼ 0Fh¼ 11h¼ 13h¼ 19h¼ anΣ C0Φ througΦ FFh«  Al∞ ì
  133. remaininτ operatioε code≤ fo≥ printe≥ device≤ arσ reserveΣ fo≥ futurσ ì
  134. standardization.
  135.  
  136. .cp 25è.aw off
  137. .pm 0
  138. 10.2.1. FORMAT Command
  139.  
  140.                           Table 10-2: FORMAT Command
  141.  
  142. ==============================================================================
  143.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  144. Byte |        |        |        |        |        |        |        |        |
  145. ==============================================================================
  146.  0   |                           Operation Code (04h)                        |
  147. -----|-----------------------------------------------------------------------|
  148.  1   | Logical Unit Number      |         ReserveΣ         | Format Type     |
  149. -----|-----------------------------------------------------------------------|
  150.  2   | (MSB)                                                                 |
  151. -----|---                                                                 ---|
  152.  3   |                           Transfer Length                             |
  153. -----|---                                                                 ---|
  154.  4   |                                                                 (LSB) |
  155. -----|-----------------------------------------------------------------------|
  156.  5   |                           Control                                     |
  157. ==============================================================================
  158. .aw on
  159. .pm 3
  160.  
  161.  
  162. ááThσ FORMA╘ commanΣ (Tablσ 1░-2⌐ provide≤ ß mean≤ fo≥ thσ initiato≥ t∩ ì
  163. specif∙ form≤ o≥ font≤ t∩ printer≤ tha⌠ suppor⌠ programmablσ form≤ o≥ fonts«  ì
  164. Thσ forma⌠ informatioε i≤ periphera∞-devicσ specific.
  165.  
  166. ááThσ forma⌠ typσ fielΣ specifie≤ thσ typσ oµ forma⌠ informatioε t∩ bσ ì
  167. transferreΣ froφ thσ initiato≥ t∩ thσ target«  Thi≤ fielΣ i≤ defineΣ a≤ ì
  168. follows:
  169.  
  170. .aw off
  171. .pm 0
  172. .cp 10  
  173.                         DB(1)  DB(0)    Format Type
  174.                         -----  -----    -------------
  175.                           0      0      Set Form
  176.                           0      1      Set Font
  177.                           1      0      Vendor Unique
  178.                           1      1      Reserved
  179. .aw on
  180. .pm 3
  181.  
  182.  
  183. ááThσ transfe≥ lengtΦ specifie≤ thσ lengtΦ iε byte≤ oµ forma⌠ informatioε tha⌠ ì
  184. shal∞ bσ transferreΣ durinτ thσ DAT┴ OU╘ phase«  ┴ transfe≥ lengtΦ oµ zer∩ ì
  185. indicate≤ tha⌠ n∩ forma⌠ informatioε shal∞ bσ transferred«  Thi≤ conditioε ì
  186. shal∞ no⌠ bσ considereΣ a≤ aε error.
  187.  
  188. .cp 25è.aw off
  189. .pm 0
  190. 10.2.2. PRINT Command
  191.  
  192.                           Table 10-3: PRINT Command
  193.  
  194. ==============================================================================
  195.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  196. Byte |        |        |        |        |        |        |        |        |
  197. ==============================================================================
  198.  0   |                           Operation Code (0Ah)                        |
  199. -----|-----------------------------------------------------------------------|
  200.  1   | Logical Unit Number      |                  Reserved                  |
  201. -----|-----------------------------------------------------------------------|
  202.  2   | (MSB)                                                                 |
  203. -----|---                                                                 ---|
  204.  3   |                           Transfer Length                             |
  205. -----|---                                                                 ---|
  206.  4   |                                                                 (LSB) |
  207. -----|-----------------------------------------------------------------------|
  208.  5   |                           Control                                     |
  209. ==============================================================================
  210. .aw on
  211. .pm 3
  212.  
  213.  
  214. ááThσ PRIN╘ commanΣ (Tablσ 1░-3⌐ transfer≤ thσ specifieΣ numbe≥ oµ byte≤ froφ ì
  215. thσ initiato≥ t∩ thσ targe⌠ t∩ bσ printed.
  216.  
  217. ááThσ transfe≥ lengtΦ specifie≤ thσ lengtΦ iε byte≤ oµ datß tha⌠ shal∞ bσ ì
  218. transferreΣ durinτ thσ DAT┴ OU╘ phase«  ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ ì
  219. tha⌠ n∩ datß shal∞ bσ transferred«  Thi≤ conditioε shal∞ no⌠ bσ considereΣ a≤ ì
  220. aε error.
  221.  
  222. .cp 25
  223. .aw off
  224. .pm 0
  225. 10.2.3. RECOVER BUFFERED DATA Command
  226.  
  227.                   Table 10-4: RECOVER BUFFERED DATA Command
  228.  
  229. ==============================================================================
  230.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  231. Byte |        |        |        |        |        |        |        |        |
  232. ==============================================================================
  233.  0   |                           Operation Code (14h)                        |
  234. -----|-----------------------------------------------------------------------|
  235.  1   | Logica∞ Uni⌠ Numbe≥      ⁿ                  Reserved                  |
  236. -----|-----------------------------------------------------------------------|
  237.  2   | (MSB)                                                                 |
  238. -----|---                                                                 ---|
  239.  3   |                           Transfer Length                             |
  240. -----|---                                                                 ---|
  241.  4   |                                                                 (LSB) |
  242. -----|-----------------------------------------------------------------------|
  243.  5   |                           Control                                     |
  244. ==============================================================================
  245. .aw on
  246. .pm 3
  247.  
  248.  
  249. .cp 2
  250. ááThσ RECOVE╥ BUFFERE─ DAT┴ commanΣ (Tablσ 1░-4⌐ return≤ t∩ thσ initiato≥ datß ì
  251. tha⌠ ha≤ beeε previousl∙ transferreΣ t∩ thσ target¼ bu⌠ no⌠ ye⌠ printed.
  252. è.cp 7
  253. ááThi≤ commanΣ i≤ normall∙ useΣ onl∙ t∩ recove≥ froφ erro≥ o≥ exceptioε ì
  254. condition≤ tha⌠ makσ i⌠ impossiblσ t∩ prin⌠ thσ buffereΣ data«  Thσ orde≥ iε ì
  255. whicΦ datß arσ transferreΣ froφ thσ targe⌠ t∩ thσ initiato≥ i≤ thσ samσ a≤ ì
  256. wheε thσ datß werσ previousl∙ transferreΣ usinτ thσ PRIN╘ commanΣ o≥ SLE╫ AN─ ì
  257. PRIN╘ command«  Datß transferreΣ b∙ thi≤ commanΣ arσ  deleteΣ froφ thσ targe⌠ ì
  258. datß buffer«  Onσ o≥ morσ RECOVE╥ BUFFERE─ DAT┴ command≤ ma∙ bσ useΣ t∩ returε ì
  259. thσ buffereΣ datß tha⌠ i≤ no⌠ printed.
  260.  
  261. ááIµ aε attemp⌠ i≤ madσ t∩ recove≥ morσ datß thaε i≤ containeΣ iε thσ buffer¼ ì
  262. thσ commanΣ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ sensσ ke∙ ì
  263. shal∞ bσ se⌠ t∩ N╧ SENSE«  Iε addition¼ thσ EOM¼ valid¼ anΣ IL╔ bit≤ shal∞ bσ ì
  264. se⌠ t∩ one«  Thσ informatioε byte≤ shal∞ bσ se⌠ t∩ thσ differencσ (residue⌐ ì
  265. betweeε thσ transfe≥ lengtΦ anΣ thσ actua∞ numbe≥ oµ byte≤ returned« 
  266.  
  267. ááThσ transfe≥ lengtΦ specifie≤ thσ maximuφ lengtΦ iε byte≤ oµ datß tha⌠ shal∞ ì
  268. bσ transferreΣ durinτ thσ DAT┴ I╬ phase«  ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ ì
  269. tha⌠ n∩ datß shal∞ bσ transferred«  Thi≤ conditioε shal∞ no⌠ bσ considereΣ a≤ ì
  270. aε error.
  271.  
  272. .cp 25
  273. .aw off
  274. .pm 0
  275. 10.2.4. SLEW AND PRINT Command
  276.  
  277.                       Table 10-5: SLEW AND PRINT Command
  278.  
  279. ==============================================================================
  280.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  281. Byte |        |        |        |        |        |        |        |        |
  282. ==============================================================================
  283.  0   |                           Operation Code (0Bh)                        |
  284. -----|-----------------------------------------------------------------------|
  285.  1   | Logica∞ Uni⌠ Numbe≥      ⁿ                  Reserved         ⁿ Channel|
  286. -----|-----------------------------------------------------------------------|
  287.  2   |                           Slew Value                                  |
  288. -----|-----------------------------------------------------------------------|
  289.  3   | (MSB)                                                                 |
  290. -----|---                        Transfer Length                          ---|
  291.  4   |                                                                 (LSB) |
  292. -----|-----------------------------------------------------------------------|
  293.  5   |                           Control                                     |
  294. ==============================================================================
  295. .aw on
  296. .pm 3
  297.  
  298.  
  299. ááThσ SLE╫ AN─ PRIN╘ commanΣ (Tablσ 1░-5⌐ transfer≤ thσ specifieΣ numbe≥ oµ ì
  300. byte≤ froφ thσ initiato≥ t∩ thσ targe⌠ t∩ bσ printed«  Thi≤ commanΣ i≤ ì
  301. provideΣ fo≥ printe≥ device≤ tha⌠ d∩ no⌠ suppor⌠ form≤ contro∞ informatioε ì
  302. embeddeΣ withiε thσ prin⌠ data.
  303.  
  304. ááThσ transfe≥ lengtΦ specifie≤ thσ lengtΦ iε byte≤ oµ datß tha⌠ shal∞ bσ ì
  305. transferreΣ durinτ thσ DAT┴ OU╘ phase«  ┴ transfe≥ lengtΦ oµ zer∩ indicate≤ ì
  306. tha⌠ n∩ datß shal∞ bσ transferred«  Thi≤ conditioε shal∞ no⌠ bσ considereΣ a≤ ì
  307. aε error.
  308.  
  309. .cp 7èááIµ thσ channe∞ bi⌠ i≤ zero¼ thσ sle≈ valuσ specifie≤ thσ numbe≥ oµ line≤ thσ ì
  310. forφ shal∞ bσ advanceΣ beforσ printing«  ┴ valuσ oµ 25╡ indicate≤ tha⌠ thσ ì
  311. forφ shal∞ bσ advanceΣ t∩ thσ firs⌠ linσ oµ thσ nex⌠ forφ beforσ printing«  Iµ ì
  312. thσ channe∞ bi⌠ i≤ one¼ thσ sle≈ valuσ specifie≤ thσ form≤ contro∞ channe∞ ì
  313. numbe≥ t∩ whicΦ thσ forφ shal∞ bσ advanceΣ prio≥ t∩ printinτ thσ data«  Iµ ì
  314. implemented¼ thσ printe≥ option≤ pagσ iε thσ MOD┼ SELEC╘ commanΣ provide≤ ì
  315. additiona∞ contro∞ ove≥ thσ usagσ oµ thσ sle≈ valuσ field.
  316.  
  317. ááIµ thσ channe∞ bi⌠ i≤ one¼ anΣ thσ channe∞ optioε i≤ no⌠ implemented¼ thσ ì
  318. commanΣ shal∞ bσ terminateΣ witΦ CHEC╦ CONDITIO╬ statu≤ anΣ thσ sensσ ke∙ ì
  319. shal∞ bσ se⌠ t∩ ILLEGA╠ REQUEST.
  320.  
  321. .cp 25
  322. .aw off
  323. .pm 0
  324. 10.2.5. STOP PRINT Command
  325.  
  326.                         Table 10-6: STOP PRINT Command
  327.  
  328. ==============================================================================
  329.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  330. Byte |        |        |        |        |        |        |        |        |
  331. ==============================================================================
  332.  0   |                           Operation Code (1Bh)                        |
  333. -----|-----------------------------------------------------------------------|
  334.  1   | Logica∞ Uni⌠ Numbe≥      ⁿ                  Reserved         | Retain |
  335. -----|-----------------------------------------------------------------------|
  336.  2   |                           Vendor Unique                               |
  337. -----|-----------------------------------------------------------------------|
  338.  3   |                           Reserved                                    |
  339. -----|-----------------------------------------------------------------------|
  340.  4   |                           Reserved                                    |
  341. -----|-----------------------------------------------------------------------|
  342.  5   |                           Control                                     |
  343. ==============================================================================
  344. .aw on
  345. .pm 3
  346.  
  347.  
  348. ááThσ STO╨ PRIN╘ commanΣ (Tablσ 1░-6⌐ request≤ thσ targe⌠ t∩ hal⌠ printinτ oε ì
  349. buffereΣ device≤ iε aε orderl∙ fashion.
  350.  
  351. áá┴ retaiε bi⌠ oµ zer∩ request≤ tha⌠ thσ targe⌠ datß buffe≥ bσ discarded╗ ì
  352. otherwise¼ thσ datß no⌠ printeΣ shal∞ bσ retained«  Thσ datß no⌠ printeΣ ma∙ ì
  353. bσ recovereΣ usinτ thσ RECOVE╥ BUFFERE─ DAT┴ command¼ iµ implementeΣ b∙ thσ ì
  354. target«  ┴ subsequen⌠ SYNCHRONIZ┼ BUFFE╥ command¼ PRIN╘ commanΣ o≥ SLE╫ AN─ ì
  355. PRIN╘ commanΣ shal∞ causσ thσ remaininτ datß no⌠ alread∙ printeΣ anΣ t∩ bσ ì
  356. printeΣ followeΣ b∙ thσ datß transferreΣ b∙ thσ subsequen⌠ command¼ iµ any«  ì
  357. Thσ poin⌠ a⌠ whicΦ printinτ i≤ suspendeΣ b∙ thi≤ commanΣ i≤ vendo≥ specific.
  358.  
  359. .cp 25è.aw off
  360. .pm 0
  361. 10.2.6. SYNCHRONIZE BUFFER Command
  362.  
  363.                     Table 10-7: SYNCHRONIZE BUFFER Command
  364.  
  365. ==============================================================================
  366.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  367. Byte |        |        |        |        |        |        |        |        |
  368. ==============================================================================
  369.  0   |                           Operation Code (10h)                        |
  370. -----|-----------------------------------------------------------------------|
  371.  1   | Logica∞ Uni⌠ Numbe≥      ⁿ                  Reserved                  |
  372. -----|-----------------------------------------------------------------------|
  373.  2   |                           Reserved                                    |
  374. -----|-----------------------------------------------------------------------|
  375.  3   |                           Reserved                                    |
  376. -----|-----------------------------------------------------------------------|
  377.  4   |                           Reserved                                    |
  378. -----|-----------------------------------------------------------------------|
  379.  5   |                           Control                                     |
  380. ==============================================================================
  381. .aw on
  382. .pm 3
  383.  
  384.  
  385. ááThσ SYNCHRONIZ┼ BUFFE╥ commanΣ (Tablσ 1░-7⌐ provide≤ ß mean≤ fo≥ aε ì
  386. initiato≥ t∩ ensurσ tha⌠ thσ datß havσ beeε successfull∙ printeΣ prio≥ t∩ ì
  387. releasinτ thσ periphera∞ device«  Thi≤ i≤ usefu∞ fo≥ application≤ tha⌠ wisΦ t∩ ì
  388. handlσ an∙ erro≥ o≥ exceptioε condition≤ (e.g.¼ enΣ-oµ-medium⌐ prio≥ t∩ ì
  389. terminatioε oµ thσ application.
  390.  
  391. ááWheε al∞ buffereΣ datß arσ actuall∙ printeΣ thσ commanΣ shal∞ bσ terminateΣ ì
  392. witΦ ß GOO─ status«  Iµ i⌠ i≤ no⌠ possiblσ t∩ finisΦ printinτ al∞ oµ thσ ì
  393. buffereΣ datß (duσ t∩ aε erro≥ o≥ exceptioε conditioε oε thσ periphera∞ ì
  394. device)¼ theε thi≤ commanΣ shal∞ bσ terminateΣ witΦ ß CHEC╦ CONDITIO╬ statu≤ ì
  395. anΣ thσ appropriatσ sensσ key.
  396.  
  397. ááThσ printe≥ option≤ pagσ iε thσ MOD┼ SELEC╘ command¼ iµ implemented¼ ì
  398. provide≤ additiona∞ contro∞ ove≥ terminatioε sequence≤ wheε usinτ thi≤ ì
  399. command.
  400.  
  401.  
  402. .cp 20è.aw off
  403. .pm 0
  404. 10.3. Parameter≤ fo≥ Printer Devices
  405. .aw on
  406. .pm 3
  407.  
  408. .cp 10
  409. .aw off
  410. .pm 0
  411. 10.3.1. Diagnostic Paramete≥s
  412. .aw on
  413. .pm 3
  414.  
  415. ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ diagnostiπ parameter≤ ì
  416. useΣ witΦ printe≥ devices« 
  417.  
  418. ááThσ diagnostiπ pagσ code≤ fo≥ printe≥ device≤ arσ defineΣ iε Tablσ 1░-8.
  419.  
  420. .aw off
  421. .pm 0
  422. .cp 15
  423.                       Table 10-8: Diagnostiπ Page Codes
  424.  
  425. ==============================================================================
  426.   Page Code    Description                                          Section
  427. ------------------------------------------------------------------------------
  428. .pm 4         
  429. .lm 16
  430. .aw on
  431.  
  432. ááá00h         SupporteΣ Diagnostiπ Page≤                           7.3.1.1
  433. ááá01h-3Fh     ReserveΣ (fo≥ al∞ devicσ typσ pages⌐                 
  434. ááá40h-7Fh     Reserved
  435. ááá80h-FFh     Vendo≥-specifiπ pages
  436. .lm 1
  437. .pm 0
  438. ==============================================================================
  439. .aw on
  440. .pm 3
  441. .lm 1
  442.  
  443.  
  444. .cp 5
  445. .aw off
  446. .pm 0
  447. 10.3.2. Log Paramete≥s
  448. .aw on
  449. .pm 3
  450.  
  451. ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ loτ parameter≤ useΣ witΦ ì
  452. printe≥ devices« 
  453.  
  454. ááThσ loτ pagσ code≤ fo≥ printe≥ device≤ arσ defineΣ iε Tablσ 1░-9.
  455.  
  456. .aw off
  457. .pm 0
  458. .cp 15
  459.                           Table 10-9: Log Page Codes
  460.  
  461. ==============================================================================
  462.   Page Code   Description                                           Section
  463. ------------------------------------------------------------------------------
  464. .pm 4         
  465. .lm 16
  466. .aw on
  467. ááá01h        Buffe≥ Ove≥-Run/Unde≥-Ruε Pagσ                        7.3.2.1
  468. ááá07h        Las⌠ ε Erro≥ Event≤ Pagσ                              7.3.2.3
  469. ááá06h        Noε-Mediuφ Erro≥ Pagσ                                 7.3.2.4
  470. ááá00h        SupporteΣ Loτ Page≤                                   7.3.2.5
  471. ááá02h - 05h  ReserveΣ                              
  472. ááá08h - 2Fh  ReserveΣ                              
  473. ááá3Fh        ReserveΣ                              
  474. ááá30h - 3Eh  Vendo≥-specifiπ pages
  475. .aw off
  476. ==============================================================================
  477. .aw on
  478. .pm 3
  479. .lm 1
  480.  
  481.  
  482. .cp 10
  483. .aw off
  484. .pm 0
  485. 10.3.3. Mode Paramete≥s
  486. .aw on
  487. .pm 3
  488.  
  489. .cp 2
  490. ááThi≤ sectioε define≤ thσ descriptor≤ anΣ page≤ fo≥ modσ parameter≤ useΣ witΦ ì
  491. printe≥ devices« 
  492.  
  493. .cp 2
  494. ááThσ modσ paramete≥ list¼ includinτ thσ modσ paramete≥ heade≥ anΣ modσ blocδ ì
  495. descripto≥ arσ describeΣ iε 7.3.3.
  496.  
  497. .cp 2
  498. ááThσ mediuφ-typσ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ heade≥ (seσ ì
  499. Tablσ ╖-6▒ anΣ ╖-62)«  Thi≤ fielΣ i≤ reserveΣ fo≥ printe≥ devices.è
  500. .cp 3 
  501. ááThσ devicσ specifiπ paramete≥ fielΣ i≤ containeΣ iε thσ modσ paramete≥ ì
  502. heade≥ (seσ Tablσ ╖-6▒ anΣ ╖-62)«  Tablσ 1░-1░ define≤ thσ devicσ specifiπ ì
  503. paramete≥ useΣ fo≥ printe≥ devices« 
  504.  
  505. .cp 10
  506. .aw off
  507. .pm 0
  508.                 Table 10-10: Printe≥ Devicσ Specifiπ Parameter
  509.  
  510. ==============================================================================
  511.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  512. ==============================================================================
  513.      ⁿReservedⁿ      BuffereΣ Modσ       ⁿ             Reserved              |
  514. ==============================================================================
  515. .aw on
  516. .pm 3
  517.  
  518.  
  519. ááWheε usinτ thσ MOD┼ SELEC╘ command¼ ß buffereΣ modσ oµ zer∩ indicate≤ tha⌠ ì
  520. thσ targe⌠ shal∞ no⌠ repor⌠ ß GOO─ statu≤ oε PRIN╘ command≤ o≥ SLE╫ AN─ PRIN╘ ì
  521. command≤ unti∞ thσ datß arσ actuall∙ printed«  ┴ buffereΣ modσ oµ onσ ì
  522. indicate≤ tha⌠ thσ targe⌠ ma∙ repor⌠ ß GOO─ statu≤ oε PRIN╘ command≤ o≥ SLE╫ ì
  523. AN─ PRIN╘ command≤ a≤ sooε a≤ thσ datß havσ beeε transferreΣ t∩ thσ SCS╔ ì
  524. devicσ buffer«  Thσ datß froφ onσ o≥ morσ command≤ ma∙ bσ buffereΣ prio≥ t∩ ì
  525. printing«  BuffereΣ mode≤ oµ 2Φ througΦ 7Φ arσ reserved.
  526.  
  527. ááWheε usinτ thσ MOD┼ SENS┼ command¼ thσ buffereΣ modσ fielΣ return≤ thσ ì
  528. curren⌠ valuσ oµ thi≤ parameter.
  529.  
  530. ááThσ densit∙ codσ fielΣ i≤ containeΣ iε thσ modσ paramete≥ blocδ descripto≥ ì
  531. (seσ Tablσ ╖-63)«  Thi≤ fielΣ i≤ reserveΣ fo≥ printe≥ devices.
  532.  
  533. .cp 25
  534. ááThσ modσ pagσ code≤ fo≥ printe≥ device≤ arσ showε iε Tablσ 1░-11.
  535.  
  536. .aw off
  537. .pm 0
  538.                          Table 10-11: Modσ Page Codes
  539.                                                                     
  540. ==============================================================================
  541.   Page Code   Description                                           Section
  542. ------------------------------------------------------------------------------
  543. ááá00h        Vendo≥ Specifiπ (doe≤ no⌠ requirσ pagσ format⌐
  544.    0AΦ        Contro∞ Modσ Page                                     7.3.3.1      
  545. ááá02h        Disconnect-Reconnec⌠ Page                             7.3.3.2
  546. ááá03h        Paralle∞ Printe≥ Interfacσ Parameter≤                10.3.3.1
  547.    09Φ        Periphera∞ Devicσ Pagσ                                7.3.3.3    
  548. ááá05h        Printe≥ Option≤                                      10.3.3.2
  549. ááá04h        Seria∞ Printe≥ Interfacσ Parameter≤                  10.3.3.3
  550. ááá01h        Reserved
  551. 06h - 08h     Reserved
  552. 0Bh - 1Fh     Reserved
  553. 20h - 3Eh     Vendo≥ Specifiπ (pagσ forma⌠ required)
  554. ááá3Fh        Return≤ al∞ page≤ (valiΣ onl∙ fo≥ thσ MOD┼ SENS┼ command)
  555. ==============================================================================
  556. .aw on
  557. .pm 3
  558.  
  559.  
  560. .cp 25è.aw off
  561. .pm 0
  562. 10.3.3.1. Parallel Printe≥ Interfacσ Parameter≤ Page
  563. .aw on
  564. .pm 3
  565.  
  566. ááThi≤ pagσ (Tablσ 1░-12⌐ i≤ intendeΣ t∩ suppor⌠ printe≥ device≤ whicΦ usσ thσ ì
  567. industr∙-standarΣ linσ printe≥ interface.
  568.  
  569. .aw off
  570. .pm 0
  571. .cp  20
  572.               Table 10-12: Parallel Printe≥ Interfacσ Parameters
  573.                      
  574. ==============================================================================
  575.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  576. Byte |        |        |        |        |        |        |        |        |
  577. ==============================================================================
  578.  0   ⁿ   P╙   |Reserved|            Page Code (03h)                          |
  579. -----|-----------------------------------------------------------------------|
  580.  1   |                           Parameter Length (03h)                      |
  581. -----|-----------------------------------------------------------------------|
  582.  2   |  Parit∙ Selec⌠  ⁿ  PIP├  ⁿReserved|  VCB╨  |  VCB╙  ⁿ  VE╙   ⁿ Autofd |
  583. -----|-----------------------------------------------------------------------|
  584.  3   |                           ReserveΣ                                    |
  585. ==============================================================================
  586. .aw on
  587. .pm 3
  588.  
  589.  
  590. ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command«  ì
  591. Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command«  ┴ P╙ bi⌠ oµ onσ indicate≤ ì
  592. tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
  593. specifiπ location.
  594.  
  595. .cp 15
  596. ááThσ parit∙ selec⌠ fielΣ specifie≤ parit∙ generatioε oε thσ printe≥ interfacσ ì
  597. anΣ i≤ defineΣ a≤ follows:
  598.  
  599. .aw off
  600. .pm 0
  601. .cp  6
  602.                       Code    Parity Select
  603.                       ----    -------------------------
  604.                       00b     No parity generation
  605.                       01b     Even Parity
  606.                       10b     Odd Parity
  607.                       11Γ     Reserved
  608. .aw on
  609. .pm 3
  610.  
  611.  
  612. .cp 5
  613. áá┴ pape≥ instructioε parit∙ checδ (PIPC⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ ì
  614. printe≥ interfacσ "Pape≥ Instructionó signa∞ i≤ includeΣ iε parit∙ generatioε ì
  615. oε thσ printe≥ interfacσ b∙ thσ target«  ┴ PIP├ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ ì
  616. "Pape≥ Instructionó signa∞ i≤ no⌠ includeΣ iε parit∙ generatioε oε thσ printe≥ ì
  617. interfacσ b∙ thσ target.
  618.  
  619. .cp 30è.lm 3
  620. ááIMPLEMENTOR╙ NOTES:
  621. áá(1⌐ Thσ forma⌠ oµ thσ vertica∞ form≤ uni⌠ (VFU⌐ contro∞ bytσ i≤ specifieΣ b∙ ì
  622. ááthσ VCBP¼ VCBS¼ anΣ VE╙ bits«  Thσ VF╒ contro∞ bytσ i≤ no⌠ par⌠ oµ thi≤ ì
  623. áástandard¼ howeve≥ ß discussioε oµ i⌠ i≤ includeΣ herσ fo≥ ß bette≥ ì
  624. ááunderstanding«  Thi≤ VF╒ contro∞ bytσ (seσ table¼ below⌐ include≤ ß contro∞ ì
  625. áábi⌠ (C⌐ t∩ selec⌠ whethe≥ t∩ sle≈ ove≥ ß numbe≥ oµ line≤ o≥ t∩ ski≡ t∩ ß ì
  626. áávertica∞ form≤ uni⌠ (VFU⌐ channe∞ number«  Thi≤ bi⌠ ma∙ bσ locateΣ iε tw∩ ì
  627. áádifferen⌠ bi⌠ position≤ anΣ ma∙ havσ eithe≥ polarity«  
  628. áá(2⌐ Thσ numbe≥ oµ line≤ t∩ sle≈ ove≥ ma∙ bσ codeΣ a≤ aε unsigneΣ fou≥-bi⌠ ì
  629. áánumbe≥ (NNNN⌐ o≥ aε unsigneΣ si°-bi⌠ numbe≥ (EENNNN)«  Thσ uppe≥ tw∩ bit≤ oµ ì
  630. ááthσ si°-bi⌠ numbe≥ (EE⌐ ma∙ bσ positioneΣ contiguousl∙ witΦ thσ lowe≥ fou≥ ì
  631. áábit≤ (NNNN⌐ o≥ the∙ ma∙ bσ separateΣ froφ thσ lowe≥ fou≥ bit≤ b∙ thσ contro∞ ì
  632. áábi⌠ (C)«  Furthermore¼ thσ uppe≥ tw∩ bit≤ ma∙ o≥ ma∙ no⌠ bσ supported.
  633. áá(3⌐ Thσ VF╒ channe∞ t∩ selec⌠ i≤ specifieΣ b∙ aε unsigneΣ fou≥-bi⌠ numbe≥ ì
  634. áá(NNNN⌐ iε thσ VF╒ contro∞ byte.
  635. áá(4⌐ Pictorially¼ thσ contro∞ bytσ i≤ a≤ follows:
  636.  
  637. .aw off
  638. .pm 0
  639. .cp 6 
  640.          VFU Control Byte  Description
  641.          7 6 5 4 3 2 1 0
  642.          ---------------   ------------------------------------------
  643.          0 E E C N N N N   Advance (EE)NNNN lines   (C = line skip)
  644.          0 0 0 C N N N N   Skip to VFU channel NNNN (C = VFU channel)
  645.          0 C E E N N N N   Advance (EE)NNNN lines   (C = line skip)
  646.          0 C 0 0 N N N N   Skip to VFU channel NNNN (C = VFU channel)
  647.  
  648. áá   Key║ ├ i≤ thσ VF╒ contro∞ bit.
  649. .aw on
  650. .pm 3
  651. .lm 1
  652.  
  653.  
  654. áá┴ VF╒ contro∞ bi⌠ polarit∙ (VCBP⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ thσ VF╒ ì
  655. contro∞ bi⌠ (C⌐ i≤ truσ fo≥ ß VF╒ channe∞ commanΣ anΣ falsσ fo≥ ß linσ ski≡ ì
  656. command«  ┴ VCB╨ bi⌠ oµ zer∩ indicate≤ thσ oppositσ polarity« 
  657.  
  658. áá┴ VF╒ contro∞ bi⌠ selec⌠ (VCBS⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ contro∞ bi⌠ ì
  659. (C⌐ i≤ iε bi⌠ positioε ╢ anΣ thσ E┼ bit≤ arσ iε bi⌠ position≤ ╡ anΣ 4«  ┴ VCB╙ ì
  660. bi⌠ oµ zer∩ indicate≤ tha⌠ thσ contro∞ bi⌠ (C⌐ i≤ iε bi⌠ positioε ┤ anΣ thσ E┼ ì
  661. bit≤ arσ iε bi⌠ position≤ ╢ anΣ 5.
  662.  
  663. áá┴ VF╒ extendeΣ ski≡ (VES⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ E┼ bit≤ arσ ì
  664. supporteΣ fo≥ linσ ski≡ operations«  ┴ VE╙ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ E┼ ì
  665. bit≤ arσ no⌠ supported.
  666.  
  667. ááFo≥ MOD┼ SELEC╘ aε automatiπ linσ feeΣ (Autofd⌐ bi⌠ oµ onσ specifie≤ tha⌠ ì
  668. thσ targe⌠ asser⌠ thσ printe≥ interfacσ "Aut∩ Linσ Feedó signal«  Aε AutofΣ ì
  669. bi⌠ oµ zer∩ specifie≤ tha⌠ thσ targe⌠ negatσ thσ printe≥ interfacσ "Aut∩ Linσ ì
  670. Feedó signal«  Fo≥ MOD┼ SENS┼ thσ targe⌠ shal∞ returε thσ curren⌠ valuσ oµ ì
  671. thi≤ bit.
  672.  
  673. .cp 35è.aw off
  674. .pm 0
  675. 10.3.3.2. Printer Option≤ Page
  676. .aw on
  677. .pm 3
  678.  
  679. ááThσ printe≥ option≤ pagσ (Tablσ 1░-13⌐ support≤ contro∞ anΣ reportinτ oµ ì
  680. variou≤ targe⌠ function≤ anΣ features.
  681.  
  682. .aw off
  683. .pm 0
  684. .cp  35
  685.                          Table 10-13: Printer Options
  686.                      
  687. ==============================================================================
  688.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  689. Byte |        |        |        |        |        |        |        |        |
  690. ==============================================================================
  691.  0   ⁿ   P╙   |Reserved|            Page Code (05h)                          |
  692. -----|-----------------------------------------------------------------------|
  693.  1   |                           Parameter Length (0Ah)                      |
  694. -----|-----------------------------------------------------------------------|
  695.  2   |  EVFU  ⁿ                  Font Identificatioε                         |
  696. -----|-----------------------------------------------------------------------|
  697.  3   |     Reserved    ⁿ    Sle≈ Modσ    ⁿ    ReserveΣ     |  SCT┼  ⁿ  AFC   |
  698. -----|-+---------------------------------------------------------------------|
  699.  4   | (MSB)                                                                 |
  700. -----|--¡                        Maximuφ Linσ LengtΦ                      ---|
  701.  5   |                                                                 (LSB⌐ |
  702. -----|-----------------------------------------------------------------------|
  703.  6   |                           EVF╒ Forma⌠ Star⌠ Character                 |
  704. -----|-----------------------------------------------------------------------|
  705.  7   |                           EVF╒ Forma⌠ Sto≡ Characte≥                  |
  706. -----|-+---------------------------------------------------------------------|
  707.  ╕   |  Linσ Sle≈ option≤                ⁿ  Forφ Sle≈ Options                |
  708. -----|-----------------------------------------------------------------------|
  709.  ╣   |  Datß Terminatioε Option≤         ⁿ         ReserveΣ                  |
  710. -----|-----------------------------------------------------------------------|
  711.  10  ⁿ                           ReserveΣ                                    |
  712. -----|-----------------------------------------------------------------------|
  713.  11  ⁿ                           ReserveΣ                                    |
  714. ==============================================================================
  715. .aw on
  716. .pm 3
  717.  
  718.  
  719. ááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command«  ì
  720. Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command«  ┴ P╙ bi⌠ oµ onσ indicate≤ ì
  721. tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
  722. specifiπ location.
  723.  
  724. ááAε electroniπ vertica∞ form≤ uni⌠ (EVFU⌐ bi⌠ oµ onσ indicate≤ tha⌠ ß tapσ o≥ ì
  725. electroniπ vertica∞ form≤ uni⌠ i≤ presen⌠ iε thσ printe≥ device«  Aε EVF╒ bi⌠ ì
  726. oµ zer∩ indicate≤ tha⌠ thσ electroniπ vertica∞ form≤ uni⌠ shoulΣ no⌠ bσ useΣ ì
  727. o≥ tha⌠ thσ uni⌠ i≤ no⌠ presen⌠ iε thσ printe≥ device«  
  728.  
  729. .cp 10èááFo≥ thσ MOD┼ SELEC╘ command¼ thσ fon⌠ identificatioε fielΣ specifie≤ whicΦ ì
  730. fon⌠ i≤ t∩ bσ used«  Fo≥ thσ MOD┼ SENS┼ command¼ thi≤ fielΣ identifie≤ thσ ì
  731. currentl∙ selecteΣ font«  Thσ fon⌠ identificatioε code≤ arσ defineΣ a≤ ì
  732. follows:
  733.  
  734. .aw off
  735. .pm 0
  736. .cp  5
  737.                           Codσ     Fon⌠ Identification
  738.                         ---------  --------------------
  739.                            00h     Defaul⌠ Font
  740.                         01Φ ¡ 3FΦ  Reserved
  741.                         40Φ ¡ 7FΦ  Vendor specific Font
  742. .aw on
  743. .pm 3
  744.  
  745. .cp 5
  746. ááFo≥ thσ MOD┼ SELEC╘ command¼ thσ sle≈ modσ fielΣ control≤ thσ target'≤ ì
  747. behavio≥ wheε ß SLE╫ AN─ PRIN╘ commanΣ i≤ receiveΣ witΦ ß channe∞ bi⌠ oµ zer∩ ì
  748. (seσ 10.2.4)«  Fo≥ thσ MOD┼ SENS┼ command¼ thi≤ fielΣ report≤ thσ curren⌠ sle≈ ì
  749. mode«  Thi≤ sle≈ modσ i≤ defineΣ a≤ follows:
  750.  
  751. .pm 1
  752. .cp 15
  753. .lm 9
  754. Code    Sle≈ Mode
  755. ----    ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-
  756. 00b     SLE╫ AN─ PRIN╘ command≤ witΦ ß channe∞ bi⌠ oµ zer∩ arσ supporteΣ ì
  757. ááááááááwithou⌠ an∙ requireΣ setup.
  758. 01b     SLE╫ AN─ PRIN╘ command≤ witΦ ß channe∞ bi⌠ oµ zer∩ arσ onl∙ accepteΣ ì
  759. ááááááááafte≥ thσ initiato≥ issue≤ ß FORMA╘ commanΣ witΦ ß forma⌠ typσ oµ "se⌠ ì
  760. ááááááááformó (t∩ initializσ thσ electroniπ vertica∞ form≤ unit).
  761. 10b     SLE╫ AN─ PRIN╘ command≤ witΦ ß channe∞ bi⌠ oµ zer∩ arσ alway≤ ì
  762. ááááááááaccepted«  Thσ targe⌠ shal∞ usσ thσ electroniπ vertica∞ form≤ uni⌠ iµ ì
  763. áááááááái⌠ ha≤ previousl∙ beeε initializeΣ o≥ i⌠ shal∞ initializσ thσ ì
  764. ááááááááelectroniπ vertica∞ form≤ uni⌠ fo≥ linσ skippinτ b∙ sendinτ thσ EVF╒ ì
  765. áááááááástar⌠ forma⌠ characte≥ immediatel∙ followeΣ b∙ thσ EVF╒ sto≡ forma⌠ ì
  766. áááááááácharacte≥ (botΦ arσ defineΣ below⌐ prio≥ t∩ executinτ thσ SLE╫ AN─ ì
  767. ááááááááPRIN╘ command.
  768. 11b     Reserved
  769. .pm 3
  770. .lm 1
  771.  
  772. ááFo≥ thσ MOD┼ SELEC╘ command¼ ß ste≡ coun⌠ truncatσ enablσ (SCTE⌐ bi⌠ oµ onσ ì
  773. indicate≤ tha⌠ thσ targe⌠ shal∞ assumσ thσ printe≥ truncate≤ sle≈ value≤ iε ì
  774. SLE╫ AN─ PRIN╘ command≤ s∩ tha⌠ thσ datß i≤ printeΣ oε thσ firs⌠ linσ oµ thσ ì
  775. nex⌠ form«  ┴ SCT┼ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ assumσ thσ ì
  776. printe≥ continue≤ t∩ sle≈ ove≥ form≤ boundarie≤ iε SLE╫ AN─ PRIN╘ command≤ iµ ì
  777. thσ sle≈ valuσ exceed≤ thσ numbe≥ oµ remaininτ line≤ oε thσ curren⌠ form«  Thσ ì
  778. targe⌠ shal∞ returε thσ curren⌠ valuσ oµ thi≤ fielΣ iε thσ MOD┼ SENS┼ data.
  779.  
  780. ááAε ASCI╔ form≤ contro∞ (AFC⌐ bi⌠ oµ onσ indicate≤ tha⌠ thσ printe≥ support≤ ì
  781. ASCI╔ form≤ contro∞ characters«  Aε AF├ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ printe≥ ì
  782. doe≤ no⌠ suppor⌠ ASCI╔ form≤ contro∞ characters.
  783.  
  784. ááThσ maximuφ linσ lengtΦ fielΣ specifie≤ thσ maximuφ transfe≥ lengtΦ (maximuφ ì
  785. numbe≥ oµ byte≤ pe≥ line⌐ t∩ bσ accepteΣ iε thσ SLE╫ AN─ PRIN╘ command«  ┴ ì
  786. valuσ oµ 0000Φ iε MOD┼ SELEC╘ specifie≤ tha⌠ thσ targe⌠ shal∞ usσ it≤ defaul⌠ ì
  787. value«  Iε an∙ case¼ thσ targe⌠ shal∞ repor⌠ it≤ actua∞ valuσ iε thσ MOD┼ ì
  788. SENS┼ datß (no⌠ 0000h).
  789.  
  790. .cp 3
  791. ááThσ EVF╒ forma⌠ star⌠ characte≥ fielΣ specifie≤ thσ characte≥ codσ t∩ bσ ì
  792. useΣ b∙ thσ targe⌠ t∩ star⌠ thσ initializatioε oµ thσ electroniπ vertica∞ ì
  793. form≤ uni⌠ iµ sle≈ modσ optioε 10Γ i≤ selected.
  794.  
  795. .cp 4èááThσ EVF╒ forma⌠ sto≡ characte≥ fielΣ specifie≤ thσ characte≥ codσ t∩ bσ useΣ ì
  796. b∙ thσ targe⌠ t∩ sto≡ thσ initializatioε oµ thσ electroniπ vertica∞ form≤ uni⌠ ì
  797. iµ sle≈ modσ optioε 10Γ i≤ selected.
  798.  
  799. .cp 20
  800. ááThσ linσ sle≈ option≤ fielΣ specifie≤ thσ implementatioε oµ thσ linσ sle≈ ì
  801. (usinτ ASCI╔ form≤ contro∞ characters⌐ iε thσ SLE╫ AN─ PRIN╘ command«  Codσ ì
  802. value≤ iε thi≤ fielΣ arσ defineΣ a≤ follows║ 
  803.  
  804. .lm 9
  805. .pm 1
  806. Code    Linσ Sle≈ Option
  807. -----   ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-
  808. 0h      No⌠ implemented«  (SLE╫ AN─ PRIN╘ command≤ causσ CHEC╦ CONDITIO╬ ì
  809. áááááááástatu≤ witΦ ILLEGA╠ REQUES╘ sensσ key.)
  810. 1h      Thσ targe⌠ shal∞ inser⌠ aε ASCI╔ carriagσ returε characte≥ (0Dh⌐ fo≥ ì
  811. ááááááááeacΦ linσ t∩ sle≈ over.
  812. 2h      Thσ targe⌠ shal∞ inser⌠ aε ASCI╔ linσ feeΣ characte≥ (0Ah⌐ fo≥ eacΦ ì
  813. áááááááálinσ t∩ sle≈ over.
  814. 3h      Thσ targe⌠ shal∞ inser⌠ aε ASCI╔ carriagσ returε characte≥ (0Dh⌐ anΣ ì
  815. áááááááálinσ feeΣ characte≥ (0Ah⌐ fo≥ eacΦ linσ t∩ sle≈ over.
  816. 4h-7h   Reserved
  817. 8h-Fh   Vendo≥ Unique
  818. .lm 1
  819. .pm 3
  820.  
  821. ááThσ forφ sle≈ option≤ fielΣ specifie≤ thσ implementatioε oµ forφ slewinτ iε ì
  822. thσ SLE╫ AN─ PRIN╘ command«  Codσ value≤ iε thi≤ fielΣ arσ defineΣ a≤ follows:
  823.  
  824. .lm 9
  825. .pm 1
  826. Code    Forφ Sle≈ Option
  827. -----   ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-
  828. 0h      No⌠ implemented«  (SLE╫ AN─ PRIN╘ command≤ causσ CHEC╦ CONDITIO╬ ì
  829. áááááááástatu≤ witΦ ILLEGA╠ REQUES╘ sensσ key.)
  830. 1h      Thσ targe⌠ shal∞ inser⌠ aε ASCI╔ forφ feeΣ characte≥ (0Ch⌐ t∩ movσ t∩ ì
  831. ááááááááthσ beginninτ oµ thσ nex⌠ form.
  832. 2h      Thσ targe⌠ shal∞ inser⌠ aε ASCI╔ carriagσ returε characte≥ (0Dh⌐ anΣ ì
  833. ááááááááforφ feeΣ characte≥ (0Ch⌐ t∩ movσ t∩ thσ beginninτ oµ thσ nex⌠ form.
  834. 3h-7h   Reserved
  835. 8h-Fh   Vendo≥ Unique
  836. .lm 1
  837. .pm 3
  838.  
  839. .cp 25èááThσ datß terminatioε option≤ fielΣ specifie≤ thσ terminatioε sequencσ t∩ bσ ì
  840. issueΣ t∩ thσ printe≥ devicσ wheε ß SYNCHRONIZ┼ BUFFE╥ commanΣ i≤ received«  ì
  841. Codσ value≤ fo≥ thi≤ fielΣ arσ defineΣ a≤ follows:
  842.  
  843. .cp 18
  844. .pm 1
  845. .lm 9
  846. Code    Datß Terminatioε Option
  847. -----   ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡-
  848. 0h      Select≤ thσ targe⌠ defaul⌠ implementatioε (MOD┼ SELECT).
  849. 1h      N∩ terminatioε sequence«  (Thσ targe⌠ send≤ an∙ remaininτ datß iε it≤ ì
  850. áááááááábuffe≥ t∩ thσ printe≥ devicσ witΦ n∩ terminatioε sequence.)
  851. 2h      Thσ targe⌠ shal∞ prin⌠ an∙ buffereΣ datß followeΣ b∙ aε ASCI╔ carriagσ ì
  852. ááááááááreturε characte≥ (0Dh).
  853. 3h      Thσ targe⌠ shal∞ prin⌠ an∙ buffereΣ datß followeΣ b∙ aε ASCI╔ linσ ì
  854. ááááááááfeeΣ characte≥ (0Ah).
  855. 4h      Thσ targe⌠ shal∞ prin⌠ an∙ buffereΣ datß followeΣ b∙ aε ASCI╔ carriagσ ì
  856. ááááááááreturn¼ linσ feeΣ characte≥ sequencσ (0Dh¼ 0Ah).
  857. 5h      Thσ targe⌠ shal∞ senΣ an∙ buffereΣ datß followeΣ b∙ aε ASCI╔ forφ feeΣ ì
  858. áááááááácharacte≥ (0Ch).
  859. 6h      Thσ targe⌠ shal∞ prin⌠ an∙ buffereΣ datß followeΣ b∙ aε ASCI╔ carriagσ ì
  860. ááááááááreturn¼ forφ feeΣ characte≥ sequencσ (0Dh¼ 0Ch).
  861. 7h      Thσ targe⌠ shal∞ issuσ ß zer∩ linσ sle≈ commanΣ t∩ thσ printe≥ device.
  862. 8h-Bh   Reserved
  863. Ch-Fh   Vendo≥ Unique
  864. .lm 1
  865. .pm 3
  866.  
  867. .cp 30
  868. .aw off
  869. .pm 0
  870. 10.3.3.3. Serial Printe≥ Interfacσ Parameter≤ Page
  871. .aw on
  872. .pm 3
  873.  
  874.  
  875. ááThi≤ pagσ (Tablσ 1░-14⌐ i≤ intendeΣ t∩ suppor⌠ printe≥ device≤ whicΦ usσ thσ ì
  876. industr∙-standarΣ seria∞ interfacσ usuall∙ referreΣ t∩ a≤ EI┴ R╙-232C.
  877.  
  878. .aw off
  879. .pm 0
  880. .cp  20
  881.                Table 10-14: Serial Printe≥ Interfacσ Parameters
  882.                      
  883. ==============================================================================
  884.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  885. Byte |        |        |        |        |        |        |        |        |
  886. ==============================================================================
  887.  0   ⁿ   PS   |Reserved|            Page Code (04h)                          |
  888. -----|-----------------------------------------------------------------------|
  889.  1   |                           Parameter Length (06h)                      |
  890. -----|-----------------------------------------------------------------------|
  891.  2   |     ReserveΣ    ⁿ         Sto≡ Bi⌠ LengtΦ                             |
  892. -----|-----------------------------------------------------------------------|
  893.  3   |     Parit∙ Selectioε     |Reservedⁿ        Bit≤ pe≥ Character         |
  894. -----|-+---------------------------------------------------------------------|
  895.  4   |  RT╙   ⁿ  CT╙   ⁿ     ReserveΣ    ⁿ        Pacinτ Protocol            |
  896. -----|-----------------------------------------------------------------------|
  897.  5   | (MSB⌐                                                                 |
  898. -----|--¡                                                                 ---|
  899.  6   |                           BauΣ Ratσ                                   |
  900. -----|--¡                                                                 ---|
  901.  7   ⁿ                                                                 (LSB⌐ |
  902. ==============================================================================
  903. .aw on
  904. .pm 3
  905.  
  906.  
  907. .cp 4èááThσ parameter≤ savablσ (PS⌐ bi⌠ i≤ onl∙ useΣ witΦ thσ MOD┼ SENS┼ command«  ì
  908. Thi≤ bi⌠ i≤ reserveΣ witΦ thσ MOD┼ SELEC╘ command«  ┴ P╙ bi⌠ oµ onσ indicate≤ ì
  909. tha⌠ thσ targe⌠ i≤ capablσ oµ savinτ thσ pagσ iε ß noε-volatilσ vendo≥-ì
  910. specifiπ location.
  911.  
  912. ááThσ sto≡ bi⌠ lengtΦ fielΣ specifie≤ thσ lengtΦ oµ thσ sto≡ bit(s⌐ iε unit≤ ì
  913. oµ 1/1╢ bit«  Thσ targe⌠ ma∙ rounΣ thi≤ fielΣ a≤ describeΣ iε 6.5.4«  ┴ sto≡ ì
  914. bi⌠ lengtΦ oµ zer∩ iε thσ MOD┼ SELEC╘ commanΣ indicate≤ tha⌠ thσ targe⌠ shal∞ ì
  915. usσ it≤ defaul⌠ value.
  916.  
  917. .cp 15
  918. ááThσ parit∙ selectioε fielΣ specifie≤ parit∙ generatioε anΣ checkinτ a≤ ì
  919. defineΣ iε thσ followinτ table:
  920.  
  921. .aw off
  922. .pm 0
  923. .cp  10
  924.                            Code    Parity Selection
  925.                            ---¡    ----------------
  926.                            000b    None    
  927.                            001b    Mark    
  928.                            010Γ    Space   
  929.                            011Γ    Odd     
  930.                            100b    Eveε    
  931.                            101b    Reserved
  932.                            110b    Reserved
  933.                            111b    Reserved
  934. .aw on
  935. .pm 3
  936.  
  937.  
  938. ááThσ bit≤ pe≥ characte≥ fielΣ specifie≤ thσ numbe≥ oµ bit≤ iε eacΦ character«  ì
  939. ┴ valuσ oµ zer∩ iε thσ MOD┼ SELEC╘ commanΣ indicate≤ tha⌠ thσ targe⌠ shal∞ usσ ì
  940. it≤ defaul⌠ characte≥ size.
  941.  
  942. .cp 5
  943. ááFo≥ thσ MOD┼ SELEC╘ command¼ ß reques⌠ t∩ senΣ (RTS⌐ bi⌠ oµ onσ specifie≤ ì
  944. tha⌠ thσ targe⌠ shal∞ insurσ thσ "Reques⌠ t∩ Sendó (RTS⌐ signa∞ iε thσ seria∞ ì
  945. interfacσ follow≤ thσ linσ statσ oµ thσ "Datß Termina∞ Readyó (DTR⌐ signa∞ iε ì
  946. thσ seria∞ interface«  ┴ RT╙ bi⌠ oµ zer∩ specifie≤ tha⌠ thσ targe⌠ shal∞ se⌠ ì
  947. thσ "Reques⌠ t∩ Sendó (RTS⌐ signa∞ t∩ "highó wheneve≥ thσ targe⌠ powe≥ i≤ on«  ì
  948. Fo≥ thσ MOD┼ SENS┼ command¼ thσ targe⌠ shal∞ repor⌠ thσ curren⌠ valuσ oµ thi≤ ì
  949. field.
  950.  
  951. .cp 5
  952. ááFo≥ thσ MOD┼ SELEC╘ command¼ ß clea≥ t∩ senΣ (CTS⌐ bi⌠ oµ onσ specifie≤ tha⌠ ì
  953. thσ targe⌠ shal∞ dela∙ datß transmissioε t∩ thσ printe≥ devicσ unti∞ thσ ì
  954. printe≥ devicσ assert≤ thσ "Clea≥ t∩ Sendó (CTS⌐ signa∞ iε thσ seria∞ ì
  955. interface«  ┴ CT╙ bi⌠ oµ zer∩ indicate≤ tha⌠ thσ targe⌠ shal∞ ignorσ thσ ì
  956. "Clea≥ t∩ Sendó signal«  Fo≥ thσ MOD┼ SENS┼ command¼ thσ targe⌠ shal∞ repor⌠ ì
  957. thσ curren⌠ valuσ oµ thi≤ field.
  958.  
  959. .cp 15èááThσ codσ value≤ fo≥ thσ pacinτ protoco∞ fielΣ arσ defineΣ a≤ follows:
  960.  
  961. .aw off
  962. .pm 0
  963. .cp  10
  964.                            Code    Pacinτ Protocol
  965.                            ----    ---------------
  966.                             0h     None
  967.                             1Φ     XON/XOFF
  968.                             2Φ     ETX/ACK
  969.                             3Φ     DTR
  970.                            4h-7Φ   Reserved
  971.                            8h-FΦ   Vendo≥ specific
  972. .aw on
  973. .pm 3
  974.  
  975. ááThσ bauΣ ratσ fielΣ specifie≤ thσ bauΣ ratσ iε bit≤ pe≥ second«  Thσ targe⌠ ì
  976. ma∙ rounΣ thi≤ valuσ a≤ describeΣ iε 6.5.4«  ┴ bauΣ ratσ oµ zer∩ iε thσ MOD┼ ì
  977. SELEC╘ commanΣ specifie≤ tha⌠ thσ targe⌠ shal∞ usσ it≤ defaul⌠ bauΣ rate.
  978.  
  979. ..end of section
  980. .paè
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001. áá                     (Thi≤ pagσ i≤ intentionall∙ blank.)
  1002. .paè