home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / text / misc / cvt / scripts / stripcsi.cvt < prev    next >
Text File  |  1994-05-30  |  6KB  |  151 lines

  1. /*
  2.    ANSI X3.64 style COMMANDS  (taken from printer.doc)
  3. */
  4.  
  5. "\033c"           -> ;         // aRIS      hard reset
  6. "\033#1"          -> ;         // aRIN      initialize to defaults
  7. "\033D"           -> ;         // aIND      true linefeed (lf)
  8. "\033E"           -> ;         // aNEL      return,lf
  9. "\033M"           -> ;         // aRI       reverse lf              *
  10.  
  11. "\033[0m"         -> ;         // aSGR0     normal character set
  12. "\033[3m"         -> ;         // aSGR3     italics on
  13. "\033m"           -> ;         // aSGR23    italics off
  14. "\033[4m"         -> ;         // aSGR4     underline on
  15. "\033[24m"        -> ;         // aSGR24    underline off
  16. "\033[1m"         -> ;         // aSGR1     boldface on
  17. "\033[22m"        -> ;         // aSGR22    boldface off
  18.  
  19. // SGR30-39       -> ;         // aSFC      set foreground color
  20. // SGR40-49       -> ;         // aSBC      set background color
  21.  
  22. "\033[0w"         -> ;         // aSHORP0   normal pitch
  23. "\033[2w"         -> ;         // aSHORP2   elite on
  24. "\033[1w"         -> ;         // aSHORP1   elite off
  25. "\033[4w"         -> ;         // aSHORP4   condensed on
  26. "\033[3w"         -> ;         // aSHORP3   condensed off
  27. "\033[6w"         -> ;         // aSHORP6   enlarged on
  28. "\033[5w"         -> ;         // aSHORP5   enlarged off
  29.  
  30. "\033[6\"z"       -> ;         // aDEN6     shadow print on
  31. "\033[5\"z"       -> ;         // aDEN5     shadow print off
  32. "\033[4\"z"       -> ;         // aDEN4     doublestrike on
  33. "\033[3\"z"       -> ;         // aDEN3     doublestrike off
  34. "\033[2\"z"       -> ;         // aDEN2     Near Letter Quality (NLQ) on
  35. "\033[1\"z"       -> ;         // aDEN1     NLQ off
  36.  
  37. "\033[2v"         -> ;         // aSUS2     superscript on
  38. "\033[1v"         -> ;         // aSUS1     superscript off
  39. "\033[4v"         -> ;         // aSUS4     subscript on
  40. "\033[3v"         -> ;         // aSUS3     subscript off
  41. "\033[0v"         -> ;         // aSUS0     normalize the line      *
  42. "\033L"           -> ;         // aPLU      partial line up         *
  43. "\033K"           -> ;         // aPLD      partial line down       *
  44.  
  45. "\033(B"          -> ;         // aFNT0     US char set (default)   or Font 0
  46. "\033(R"          -> ;         // aFNT1     French char set         or Font 1
  47. "\033(K"          -> ;         // aFNT2     German char set         or Font 2
  48. "\033(A"          -> ;         // aFNT3     UK char set             or Font 3
  49. "\033(E"          -> ;         // aFNT4     Danish I char set       or Font 4
  50. "\033(H"          -> ;         // aFNT5     Sweden char set         or Font 5
  51. "\033(Y"          -> ;         // aFNT6     Italian char set        or Font 6
  52. "\033(Z"          -> ;         // aFNT7     Spanish char set        or Font 7
  53. "\033(J"          -> ;         // aFNT8     Japanese char set       or Font 8
  54. "\033(6"          -> ;         // aFNT9     Norweign char set       or Font 9
  55. "\033(C"          -> ;         // aFNT10    Danish II char set      or Font 10
  56.  
  57. "\033[2p"         -> ;         // aPROP2    proportional on         *
  58. "\033[1p"         -> ;         // aPROP1    proportional off        *
  59. "\033[0p"         -> ;         // aPROP0    proportional clear      *
  60. "\033[n E"        -> ;         // aTSS      set proportional offset *
  61. "\033[5 F"        -> ;         // aJFY5     auto left justify       *
  62. "\033[7 F"        -> ;         // aJFY7     auto right justify      *
  63. "\033[6 F"        -> ;         // aJFY6     auto full justify       *
  64. "\033[0 F"        -> ;         // aJFY0     auto justify off        *
  65. "\033[3 F"        -> ;         // aJFY3     letter space (justify)  *
  66. "\033[1 F"        -> ;         // aJFY1     word fill(auto center)  *
  67.  
  68. "\033[0z"         -> ;         // aVERP0    1/8" line spacing
  69. "\033[1z"         -> ;         // aVERP1    1/6" line spacing
  70. "\033[nt"         -> ;         // aSLPP     set form length n
  71. "\033[nq"         -> ;         // aPERF     set perforation skip to n lines (n>0)
  72. "\033[0q"         -> ;         // aPERF0    perforation skip off
  73.  
  74. "\033#9"          -> ;         // aLMS      Left margin set         *
  75. "\033#0"          -> ;         // aRMS      Right margin set        *
  76. "\033#8"          -> ;         // aTMS      Top margin set          *
  77. "\033#2"          -> ;         // aBMS      Bottom margin set       *
  78. "\033[Pn1;Pn2r"   -> ;         // aSTBM     set T&B margins         *
  79. "\033[Pn1;Pn2s"   -> ;         // aSLRM     set L&R margin          *
  80. "\033#3"          -> ;         // aCAM      Clear margins
  81.  
  82. "\033H"           -> ;         // aHTS      Set horiz tab           *
  83. "\033J"           -> ;         // aVTS      Set vertical tabs       *
  84. "\033[0g"         -> ;         // aTBC0     Clr horiz tab           *
  85. "\033[3g"         -> ;         // aTBC3     Clear all h tab         *
  86. "\033[1g"         -> ;         // aTBC1     Clr vertical tabs       *
  87. "\033[4g"         -> ;         // aTBC4     Clr all v tabs          *
  88. "\033#4"          -> ;         // aTBCALL   Clr all h & v tabs      *
  89. "\033#5"          -> ;         // aTBSALL   Set default tabs (every 8)
  90.  
  91. "\033[Pn\"x"      -> ;         // aEXTEND   Extended commands
  92.                               //           This is a mechanism for printer drivers to
  93.                               //           support extra commands which can be called
  94.                               //           by ANSI control sequences
  95. "\033[Pn\"r"      -> ;         // aRAW      Next 'Pn' chars are raw (ie. they are not
  96.                               //           parsed by the printer device, instead they
  97.                               //           are sent directly to the printer.
  98.  
  99.  
  100. //  (*) indicates that sending this command may cause unexpected results
  101. //      on a large number of printers.
  102.  
  103.  
  104. "\2330m" -> ;
  105. "\2333m" -> ;
  106. "\2334m" -> ;
  107. "\23324m" -> ;
  108. "\2331m" -> ;
  109. "\23322m" -> ;
  110. "\2330w" -> ;
  111. "\2332w" -> ;
  112. "\2331w" -> ;
  113. "\2334w" -> ;
  114. "\2333w" -> ;
  115. "\2336w" -> ;
  116. "\2335w" -> ;
  117. "\2336\"z" -> ;
  118. "\2335\"z" -> ;
  119. "\2334\"z" -> ;
  120. "\2333\"z" -> ;
  121. "\2332\"z" -> ;
  122. "\2331\"z" -> ;
  123. "\2332v" -> ;
  124. "\2331v" -> ;
  125. "\2334v" -> ;
  126. "\2333v" -> ;
  127. "\2330v" -> ;
  128. "\2332p" -> ;
  129. "\2331p" -> ;
  130. "\2330p" -> ;
  131. "\233n E" -> ;
  132. "\2335 F" -> ;
  133. "\2337 F" -> ;
  134. "\2336 F" -> ;
  135. "\2330 F" -> ;
  136. "\2333 F" -> ;
  137. "\2331 F" -> ;
  138. "\2330z" -> ;
  139. "\2331z" -> ;
  140. "\233nt" -> ;
  141. "\233nq" -> ;
  142. "\2330q" -> ;
  143. "\233Pn1;Pn2r" -> ;
  144. "\233Pn1;Pn2s" -> ;
  145. "\2330g" -> ;
  146. "\2333g" -> ;
  147. "\2331g" -> ;
  148. "\2334g" -> ;
  149. "\233Pn\"x" -> ;
  150. "\233Pn\"r" -> ;
  151.