home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / t / tsprn16.zip / TSPRN.INF < prev    next >
Text File  |  1992-06-20  |  13KB  |  273 lines

  1.                            - 1 -
  2. Sat 20-June-1992
  3.  
  4. About TSPRN in General
  5. ======================
  6.  
  7. This package may be used and distributed freely for NON-COMMERCIAL,
  8. NON-INSTITUTIONAL, PRIVATE purposes, provided it is not changed in
  9. any way. (Repacking with another method is ok, though.) For ANY
  10. other usage, such as use in a business enterprise or a university,
  11. contact the author for registration. Uploading to bulletin boards is
  12. encouraged. Please do not distribute any part of this package
  13. separately.
  14.  
  15. The programs are under development. Comments and contacts are
  16. solicited. If you have any questions, please do not hesitate to use
  17. electronic mail for communication.
  18. InterNet address: ts@chyde.uwasa.fi         (preferred)
  19. Bitnet address:   SALMI@FINFUN.BITNET
  20. Funet address:    GADO::SALMI
  21.  
  22. The author shall not be liable to the user for any direct, indirect
  23. or consequential loss arising from the use of, or inability to use,
  24. any program or file howsoever caused. No warranty is given that the
  25. programs will work under all circumstances.
  26.  
  27. Timo Salmi
  28. Professor of Accounting and Business Finance
  29. Faculty of Accounting & Industrial Management
  30. University of Vaasa
  31. P.O. BOX 297, SF-65101 Vaasa, Finland
  32.  
  33.  
  34. SUMMARY:
  35.  
  36. TSPRN16         Print text files by Timo Salmi
  37. Filename        Comment
  38. --------        --------------------------------
  39. PRNDAISY.EXE    Daisy Bubble parallel Jet
  40. PRNDICO.EXE     Diconix parallel ink jets
  41. PRNG8008.EXE    Gabriele 8008 serial daisy-wheel
  42. SETDAISY.EXE    Set Daisy Bubble Jet from menu
  43. SETDICO.EXE     Set Diconix InkJet from menu
  44. SETHP.EXE       Set HP DeskJet 500 from menu
  45. TSPRN.INF       Document
  46. TSPRN.NWS       News announcements about tsprn
  47. TSPROG.INF      List of PD programs from T.Salmi
  48. VAASA.INF       Info: Finland, Vaasa, U of Vaasa
  49. ----            ------             ------  -----
  50. 0010
  51.  
  52.  
  53.                            - 2 -
  54.  
  55. COMMON FEATURES:
  56.  
  57. The programs in this collection are for printing text files to the
  58. following printers. Diconix parallel inkjet printers, Gabriele 8008
  59. serial daisy-wheel printer, and Daisy Bubble parallel Jet Printer.
  60. FILEPRNT.EXE in TSFCOM package has some additional printer options.
  61. (See the end of this file.)
  62.  
  63. These programs (PRNDICO.EXE and PRNG8008) have been customized for
  64. the use with a Zenith laptop, and (PRNDAISY.EXE) with an Osborne
  65. 06AT, but they can be used with other computers as well. Currently,
  66. I use PRNDAISY.EXE with an Osborne 386.
  67.  
  68.   ╔═════════════════════════════════════════════════════════════╗
  69.   ║  Zenith laptop owners using any serial printer should study ║
  70.   ║  the instructions for PRNG8008.EXE below!                   ║
  71.   ╚═════════════════════════════════════════════════════════════╝
  72.  
  73. The programs can handle discontinuous paper. Before printing, you
  74. are asked for the number of lines you want to print at one go. Then
  75. there is a pause (which you can use for changing paper). A pause is
  76. also caused by a formfeed character <FF> or the text .PAGE on any
  77. line. (This is the same system as used by the author's FILEPAGE
  78. program.) The line with .PAGE or linefeed on it, is not printed out.
  79. -  Printing can be aborted by pressing CTRL Y.
  80.                                                                                
  81. The text sent to the printer will be echoed on the screen.                     
  82.                                                                                
  83. The programs have their own error handlers to cover the most common
  84. printer offline  situations. If the offline condition arises while
  85. the printing is taking place, it takes awhile (up to one minute)
  86. before the handler can take over.
  87.  
  88. The FILEPAGE.EXE program referred to in the above is part of the
  89. author's collection TSFCOMxx.ARC. The contents of TSFCOMxx.ARC is
  90. given at the end of this file.
  91.  
  92.  
  93. PRNDICO (Ver 1.2)   PRiNt to DICOnix parallel ink jet
  94. =================
  95.                                                                                
  96. PRNDICO.EXE prints text files to Diconix parallel inkjet printer.
  97.                                                                                
  98. As Diconix is a parallel printer, it must be attached to the printer
  99. port. This program uses Diconix 150 EPSON Mode. Therefore, emulation
  100. dip switch 6 must be set on.
  101.  
  102. FONTS:                                                                    
  103.  1) Elite, Condensed                                                      
  104.  2) Elite, Condensed, Emphasized
  105.  3) Elite                                                                 
  106.  4) Elite, Emphasized                                                     
  107.  5) Wide condensed                                                        
  108.  6) Wide condensed, Emphasized                                            
  109.  7) Sample text to printer to demonstrate the fonts                       
  110.  
  111. Release notes for PRNDICO
  112. ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙
  113.  
  114. Version 1.2: The off-line response times are now up to about 7x
  115. shorter than in the previous versions. This is important, since
  116. depending on your hardware the default off-line response time can be
  117. up to one minute, which is really annoying. This is a feature of the
  118. PC (actually its BIOS), not a feature of the printer. The new
  119. release reduces the print retrys from the default 20 down to only 3.
  120. The original default is restored at program termination.
  121.   BTW, if you want to be able to set the default retrys of your
  122. printer, you can do it with my SETPRT utility, which is included in
  123. my TSUTLD15.ARC (or later) package.
  124.   When the program asks for your input, you can now edit your input
  125. using CursorLeft, CursorRight, Home, End, Delete, Backspace, Insert,
  126. and Esc keys (that is you have line-editing potential). You can also
  127. recall previous input by using the PageUp key. Furthermore, if you
  128. press ctrl-c or Break, the program will ask for confirmation.
  129.   The file to be printed can now optionally be given on the command
  130. line, that is the usage has been changed to PRNDICO [FileName].
  131.   The situations were the printer is turned off, or runs out of
  132. paper in the middle of printing are now (hopefully) better handled.
  133.  
  134.  
  135. PRNDAISY (Ver. 1.2)   PRiNt to DAISY parallel ink jet
  136. ===================
  137.  
  138. PRNDAISY.EXE prints text files to Daisy Bubble parallel Jet Printer.
  139.  
  140. As Daisy is a parallel printer, it must be attached to the printer
  141. port.
  142.  
  143. FONTS:                                                                  
  144.  1) Condensed                                                           
  145.  2) Normal, draft                                                       
  146.  3) Normal, NLQ                                                         
  147.  4) Condensed-enlarged                                                  
  148.  5) Sample text to printer to demonstrate the fonts                     
  149.  6) Normal, double pass NLQ                                             
  150.  
  151. Release notes: Version 1.2: See the release notes of PRNDICO.
  152.  
  153.  
  154. PRNG8008 (Ver. 1.2)   PRiNt to Gabriele 8008 serial daisy-wheel
  155. ===================
  156.  
  157. PRNG8008.EXE prints text files to Gabriele 8008 serial daisy-wheel
  158. printer.
  159.  
  160. As Gabriele 8008 is a serial printer, it must be attached to the
  161. RS232C port. Before using a serial printer you must first have
  162. configured your system. See your MS-DOS and/or Owner's manual for
  163. details. (Zenith laptop owners should look at mode and configur.com
  164. commands.) LPT must redirected to COM. If you have not done it, do
  165. it as follows in MsDos:
  166.   mode com1:4800,e,7,2
  167.   mode lpt1:=com1:                                                             
  168. and print something with the print command to try it out.
  169.  
  170. You may experice difficulties in using the serial port with the
  171. Zenith laptop with any printer. The key is to select suitable delays
  172. with the configur.com. IMPORTANT WARNING for Zenith owners:
  173. configur.com alters the hidden operating system files. Apply
  174. configur.com on a separate diskette only! The parallel port may not
  175. work properly after configuring. Knowing this may spare you
  176. considerable strife.
  177.                                                                              
  178. Since Gabriele 8008 is a daisy-wheel printer there are no font
  179. options. The density of the text is optional, though.
  180.  
  181. Release notes: Version 1.2: See the release notes of PRNDICO.
  182.  
  183.  
  184. SETDAISY (Ver 1.4)  Set Daisy Bubble Jet from menu
  185. ==================
  186.  
  187. See the description of SETDICO.
  188.  
  189.  
  190. SETDICO (Ver 1.4)  Set Diconix InkJet from menu
  191. =================
  192.  
  193. I decided to try my hand at the advanced user interface with
  194. pull-down menus and dos gateways. For this a selected a task that in
  195. itself it simple enough, that is sending setup commands to a Diconix
  196. parallel InkJet printer. This resulted in the setdico.exe program
  197. now included in the TSPRN package.
  198.  
  199. The pull-down menu in this program is similar to those appearing in
  200. many commercial programs. At the top there is the main menu (Spacing
  201. Fonts Misc Quit). One moves around with the cursor keys (home and
  202. end keys work as well), and makes the choice by pressing the enter
  203. (return) key. In the main menu the first letters of the options can
  204. also be used for moving around. In the submenus (e.g. 60, 75, 80,
  205. 90, 100, 125, 138, 150, 175, 200 for Spacing) the choices are made
  206. in the same way. After the choice there will be a result message
  207. about the success of setting the printer accordingly. Alt-X can be
  208. used at any time for a quick exit. F9 can be used to escape to
  209. MsDos, and exit to return as is customary.
  210.  
  211. Inside the program (unseen by the user) the essential trick in
  212. building this kind of a pull-down menu program is being able quickly
  213. to save and restore screens. (This program needs to save a maximum
  214. of three screens.) Some minor additional tricks needed are e.g.
  215. hiding the cursor for the duration of the program, and restoring it
  216. when the program is ended. Of course the pulldown menus themselves
  217. contain a lot of code, but this part involves no difficult
  218. programming tricks, just a lot of careful juggling. Good windowing
  219. subroutines are essential, but these I already had developed for my
  220. earlier programs. The MsDos gateway part of the code is relatively
  221. simple. The crucial part is locating the command processor (usually
  222. command.com). Testing the printer status by using interrupts is also
  223. relatively easy, but has little to do with the user interface as
  224. such.
  225.  
  226. Release notes: Version 1.1. I have added the option of setting the
  227. left margin in setdico.exe. From programming point of view this
  228. meant developing a new window routine for entering data. All the
  229. menus in version 1.0 were strictly pulldown menus involving only the
  230. cursor keys, escape, etc., but no factual data entry.
  231.  
  232. Version 1.3: The off-line response times are now up to about 7x
  233. shorter than in the previous versions. This is important, since
  234. depending on your hardware the default off-line response time can be
  235. up to one minute, which is really annoying. This is a feature of the
  236. PC (actually its BIOS), not a feature of the printer. The new
  237. release reduces the print retrys from the default 20 down to only 3.
  238. The original default is restored at program termination.
  239.    The exit (F9) to Dos shell now alter the prompt by adding a [TS]
  240. to it so that it is easier to know when you are in a shell.
  241.  
  242. Version 1.4: The changes are minor stylistic byproducts of writing
  243. the set program for HP Desk Jet 500.
  244.  
  245.  
  246. SETHP (Ver 1.0)  Set HP Desk Jet 500 from menu
  247. ===============
  248.  
  249. See the description of SETDICO.
  250.  
  251.  
  252. INFORMATION ON TSFCOM          Available e.g. by anonymous ftp from
  253. =====================          garbo.uwasa.fi, Vaasa, Finland
  254.  
  255. garbo.uwasa.fi:/pc/ts/tsfcom23.zip File manipulation by Timo Salmi
  256. Filename        Comment                             Date      Time
  257. --------        --------------------------------    ----      ----
  258. CRYPTER.EXE     Protects files with a password    07-08-90  19:58:54
  259. FILEADD.EXE     Joins text files side by side     09-30-89  11:49:26
  260. FILECUT.EXE     Cuts a text file in parts         09-29-89  11:26:50
  261. FILEDUMP.EXE    Decimal dump of a file            07-08-90  20:18:10
  262. FILEPAGE.EXE    Prepares files for printing       07-08-90  20:11:34
  263. FILEPALN.EXE    Counts page lengths and widths    07-08-90  19:46:56
  264. FILEPRNT.EXE    Text-file to various printers     07-09-90  00:16:22
  265. FILETRAN.EXE    Scandinavian conversions          09-29-89  14:44:30
  266. FILETRIM.EXE    Trims or pads text file rows      07-08-90  20:04:06
  267. TSFCOM.INF      Document                          07-09-90  00:35:38
  268. TSFCOM.NWS      News concerning this package      07-09-90  00:32:06
  269. TSPROG.INF      List of PD programs from T.Salmi  04-03-90  17:37:40
  270. VAASA.INF       Info: Finland, Vaasa, U of Vaasa  02-02-90  11:52:54
  271. ----            ------             ------  -----
  272. 0013
  273.