home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ENTERPRS / CPM / UTILS / S / VDE-GEM.ZIP / GEMINI.INF next >
Text File  |  1990-04-13  |  6KB  |  143 lines

  1. Using VDE With the
  2. Star Gemini 10-X Printer
  3. 26 June 1988 
  4. Copyright 1988 by Benjamin H. Cohen
  5. All rights reserved
  6.  
  7. Permission is hereby given to individual users,
  8. non-profit computer user groups and to bulletin
  9. boards <in the traditional sense> which do not
  10. charge for connect time to reproduce this document
  11. and the related VDP file so long as no charge is
  12. made except a nominal charge for media and copying
  13. service when the same are provided.)
  14.  
  15. Here's how I have set up my copy of VDE Version 
  16. 65 for use with my Star Gemini 10-X printer.  The 
  17. following toggles have been enabled:
  18.  
  19.     ^B   Bold
  20.     ^D   Double-Wide
  21.     ^Y   Italics
  22.     ^S   Underscore
  23.  
  24. I have installed ^D (normally double strike) as 
  25. double-wide printing.  The double strike feature 
  26. doesn't seem to terribly important.
  27.  
  28. The following switches have been set up:
  29.  
  30.     ^Q   Elite On
  31.     ^W   Pica  On
  32.     ^E   8 lines per inch
  33.     ^R   6 lines per inch
  34.  
  35. You can install these toggles and switches in your
  36. copy of VDE with the GEMINI.VDP file in this
  37. library.  Simply enter:
  38.  
  39.      VINST265 VDE265.COM GEMINI.VDP<cr>
  40.  
  41. At the menu enter S to save (after making any
  42. changes you want).
  43.  
  44. If you want to make changes you can select the "P" option from the menu and 
  45. make any changes you want.  Most of the entries come up with a prompt that 
  46. ends something like this:   (00): 
  47.  
  48. That means you should enter the number of bytes and the HEX code for the bytes 
  49. to be sent.  The following table shows most of the possibilities that you 
  50. might want to use. 
  51.  
  52. When entering the bytes in VINST do not attempt to enter the comma.  I have 
  53. shown it in the table below only to clarify that there are two characters to 
  54. each byte that you will enter. That's because you are entering hexadecimal 
  55. codes rather than the characters themselves.  For example, to turn elite (12 
  56. characters per inch) on you need to enter ESC,E.  In hex that translates to 
  57. 1B,45. 
  58.  
  59. There are two types of embedded commands you can control with VDE's printer 
  60. installation, toggles and switches.  The toggles (with their usual WordStar 
  61. uses) are ^S (underscore), ^B (bold), ^D (WordStar's double strike toggle ) 
  62. and ^Y (ribbon color).  Each toggle has two values, an ON value and an OFF 
  63. value.  As long as you understand that your documents will work very 
  64. differently if others use them or if you use them with other printers or other 
  65. programs (unless you have customized them in the same way) you can assign any 
  66. function to any toggle.  It's not, however, a very good idea if you put any of 
  67. these commands in files that you give to others, so unless you're a real lone 
  68. wolf it's probably best to stick with the usual WordStar uses of these (though 
  69. I have strayed by using ^Y for proportional spacing and ^D for double wide.) 
  70.  
  71. The switches are for commands, ^Q, ^W, ^E, and ^R that are 'user assignable' 
  72. in WordStar.  As you can see I choose to use them for elite on and off and to 
  73. change the line spacing to eight lines per inch and back to six lines per 
  74. inch.  Select the commands that you find most useful. 
  75.  
  76. Because VDE allows you to store selections in a VDP file you can do several 
  77. installations, saving the results in VDP files, and then loading them onto VDE 
  78. whenever you need them.  Each VDP file is only one unit of space on your disk 
  79. while extra copies of VDE itself are about 14K for version 2.65.  If you want 
  80. a special copy that gives you three types of double-wide fonts for flyer type 
  81. memos, make a special VDP file or a special VDE file just for that. 
  82.  
  83. --------------------------------------------------
  84.     Function:                      Hex Bytes
  85.     -------------                  ------------
  86.     Pica on:                       1B,42,01
  87.     Elite on:                      1B,42,02
  88.     Condensed on:                  1B,42,03
  89.     Double wide on:                1B,57,01
  90.     Double wide off:               1B,57,00
  91.     Emphasized (Bold) on:          1B,45
  92.     Emphasized (Bold) off:         1B,46
  93.     Double-strike on:              1B,47
  94.     Double-strike off:             1B,48
  95.     Super-script on:               1B,53,00
  96.     Sub-script on:                 1B,53,01
  97.     Super/Sub-script off:          1B,54
  98.     Underline on:                  1B,2D,01
  99.     Underline off:                 1B,2D,00
  100.     Six lines per inch:            1B,4D,08
  101.     Eight lines per inch:          1B,4D,06
  102.     Italics on:                    1B,34
  103.     Italics off:                   1B,35
  104.  
  105. --------------------------------------------------
  106.  
  107. To be sure that the ^B toggle works correctly (with WordStar as well as VDE) 
  108. be sure that you set DIP switch 1-2 to the "ON" position to start the printer 
  109. with emphasized print OFF.  Otherwise the printer will be ind 
  110. emphasized/bold status until you hit the second embedded ^B and then 
  111. switch to 'normal' print.  
  112.  
  113. Note that the left margin is set according to the 'current' pitch setting.  
  114. Thus, if you switch from one setting to another on a line be sure to terminate 
  115. the alternate setting before or at the end of the line.  If necessary, turn it 
  116. on at the beginning of the next line, if necessary.  For example, if the title 
  117. to this article were set to double-wide with ^PD at the beginning of the first 
  118. line and reset to normal width with ^PD at the end of the second line the 
  119. second line would be offset to the right by several spaces because the left 
  120. margin offset would be set in double-wide spaces like this: 
  121.  
  122. Using VDE With the
  123. Star Gemini 10-X Printer
  124.  
  125. To preserve the left margin setting ^PD was set at 
  126. the beginning and the end of each line.
  127.  
  128. Note, that if you are using a line of double-wide text you need to cut the 
  129. margin in half.  If you want to embed double-wide text characters in the text 
  130. you need to adjust the margin setting for that line by adding extra spaces or 
  131. characters and deleting them later. 
  132.  
  133.  
  134. No doubt experience will teach additional tricks.
  135.  
  136. --------------------------------------------------
  137.  
  138. Benjamin H. Cohen
  139. Co-Sysop, CFOG II  [312] 764-5162
  140. Box 1674
  141. Chicago, IL 60690
  142. 
  143.