home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / tsprn17.zip / TSPRN.INF < prev    next >
Text File  |  1996-03-31  |  12KB  |  272 lines

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