home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / PRINTING / SETPRINT.ZIP / CITIZEN.BAT next >
DOS Batch File  |  1988-04-18  |  4KB  |  155 lines

  1. BAT * 512
  2. bat -begin cls begtype
  3. ╔════════════════════════════════════════════════════════════════════════╗
  4. ║                   Citizen Printer Setup Program                        ║
  5. ║                                                                        ║
  6. ║          1.  IBM Mode                     2. Epson                     ║
  7. ║          3.  Correspondence               4. Draft                     ║
  8. ║          5.  Pica                         6. Elite                     ║
  9. ║          7.  Expanded on                  8. Off                       ║
  10. ║          9.  Compressed on               10. Off                       ║
  11. ║         11.  Emphasized on               12. Off                       ║
  12. ║         13.  Italics on (Epson only)     14. Off                       ║
  13. ║         15.  Auto line feed              16. Off                       ║
  14. ║         17.  Underline on                18. Off                       ║
  15. ║         19.  Overscoring on (IBM only)   20. Off                       ║
  16. ║         21.  Reverse print               22. Off                       ║
  17. ║         23.  Reverse print               24. Off                       ║
  18. ║         25.  Tall letters on             26. Off                       ║
  19. ║         99   Exit                                                      ║
  20. ║                                                                        ║
  21. ╚════════════════════════════════════════════════════════════════════════╝
  22.  
  23. End
  24. bat READ Function Code? ==> %8
  25. bat * Skipping is quicker than goto's, but only goes forward.
  26. bat if %8 <> 1 goto -not.1
  27.         SETPRINT ~51
  28.         BAT GOTO -BEGIN
  29. BAT -NOT.1
  30. bat if %8 <> 2 goto -not.2
  31.         SETPRINT ~50
  32.         BAT GOTO -BEGIN
  33.  
  34. BAT -NOT.2
  35. bat if %8 <> 3 goto -not.3
  36.         SETPRINT x1
  37.         BAT GOTO -BEGIN
  38.  
  39. BAT -NOT.3
  40. bat if %8 <> 4 goto -not.4
  41.         SETPRINT x0
  42.         BAT GOTO -BEGIN
  43.  
  44. BAT -NOT.4
  45. bat if %8 <> 5 goto -not.5
  46.         SETPRINT P
  47.         BAT GOTO -BEGIN
  48.  
  49. BAT -NOT.5
  50. bat if %8 <> 6 goto -not.6
  51.         SETPRINT M
  52.         BAT GOTO -BEGIN
  53.  
  54. BAT -NOT.6
  55. bat if %8 <> 7 goto -not.7
  56.         SETPRINT W1
  57.         BAT GOTO -BEGIN
  58.  
  59. BAT -NOT.7
  60. bat if %8 <> 8 goto -not.8
  61.         SETPRINT W0
  62.         BAT GOTO -BEGIN
  63.  
  64. BAT -NOT.8
  65. bat if %8 <> 9 goto -not.9
  66.         SETPRINT \0F
  67.         BAT GOTO -BEGIN
  68.  
  69. BAT -NOT.9
  70. bat if %8 <> 10 goto -not.10
  71.         SETPRINT \12
  72.         BAT GOTO -BEGIN
  73.  
  74. BAT -NOT.10
  75. bat if %8 <> 11 goto -not.11
  76.         SETPRINT E
  77.         BAT GOTO -BEGIN
  78.  
  79. BAT -NOT.11
  80. bat if %8 <> 12 goto -not.12
  81.         SETPRINT F
  82.         BAT GOTO -BEGIN
  83.  
  84. BAT -NOT.12
  85. bat if %8 <> 13 goto -not.13
  86.         SETPRINT 
  87.         BAT GOTO -BEGIN
  88.  
  89. BAT -NOT.13
  90. bat if %8 <> 14 goto -not.14
  91.         SETPRINT 
  92.         BAT GOTO -BEGIN
  93.  
  94. BAT -NOT.14
  95. bat if %8 <> 15 goto -not.15
  96.         SETPRINT 
  97.         BAT GOTO -BEGIN
  98.  
  99. BAT -NOT.15
  100. bat if %8 <> 16 goto -not.16
  101.         SETPRINT 
  102.         BAT GOTO -BEGIN
  103.  
  104. BAT -NOT.16
  105. bat if %8 <> 17 goto -not.17
  106.         SETPRINT -1
  107.         BAT GOTO -BEGIN
  108.  
  109. BAT -NOT.17
  110. bat if %8 <> 18 goto -not.18
  111.         SETPRINT -0
  112.         BAT GOTO -BEGIN
  113.  
  114. BAT -NOT.18
  115. bat if %8 <> 19 goto -not.19
  116.         SETPRINT _1
  117.         BAT GOTO -BEGIN
  118.  
  119. BAT -NOT.19
  120. bat if %8 <> 20 goto -not.20
  121.         SETPRINT _0
  122.         BAT GOTO -BEGIN
  123.  
  124. BAT -NOT.20
  125. bat if %8 <> 21 goto -not.21
  126.         SETPRINT ~21
  127.         BAT GOTO -BEGIN
  128.  
  129. BAT -NOT.21
  130. bat if %8 <> 22 goto -not.22
  131.         SETPRINT ~20
  132.         BAT GOTO -BEGIN
  133.  
  134. BAT -NOT.22
  135. bat if %8 <> 23 goto -not.23
  136.         SETPRINT G
  137.         BAT GOTO -BEGIN
  138.  
  139. BAT -NOT.23
  140. bat if %8 <> 24 goto -not.24
  141.         SETPRINT H
  142.         BAT GOTO -BEGIN
  143.  
  144. BAT -NOT.24
  145. bat if %8 <> 25 goto -not.25
  146.         SETPRINT h
  147.         BAT GOTO -BEGIN
  148.  
  149. BAT -NOT.25
  150. bat if %8 <> 26 goto -not.26
  151.         SETPRINT u
  152.         BAT GOTO -BEGIN
  153.  
  154. BAT -NOT.26
  155.