home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / refbas21.zip / EPSON.DOC < prev    next >
Text File  |  1989-07-31  |  8KB  |  162 lines

  1.  
  2.  
  3.  
  4. EPSON.EXE -- Printer Setup Utility for the Epson FX Series Printers.
  5.  
  6.  
  7. EPSON.EXE was born out of need.  I needed a printer control program
  8.   for my Epson FX-85 which was fairly quick, was NOT memory resident,
  9.   allowed me to input all combinations of printer font control codes,
  10.   allowed setting of NLQ modes and sending of Formfeeds and Linefeeds
  11.   from the keyboard.  After wasting a lot of time downloading
  12.   cumbersome printer control programs, I found a Turbo Pascal file
  13.   called FXRX80.PAS which was a modified version (by Phil Wheeler) of
  14.   a program called FX80 originally written by Mark Davis.  After
  15.   adding a few lines here and there, I think I got a workable version
  16.   of what I need.  I hope it proves useful for others as well.
  17.  
  18. If you have a hard disk, put the program in your UTILITY subdirectory
  19.   or any other subdirectory which is on your system's PATH.  Prior to
  20.   printing a text file, you may enter EPSON from any DOS prompt and
  21.   use the program to set virtually anything settable with the EPSON
  22.   escape code sequences by just entering the right numbers (or
  23.   combination of numbers).  You may even eject the current page,
  24.   advance to a new line, turn on NLQ and even turn off the dreaded
  25.   "Paper Out" sensor (although some printer ports seem to turn it
  26.   right back on again!).  The program is run from a menu, and is VERY
  27.   simple to use.
  28.  
  29. While named EPSON.EXE, if you like something else for a name (like
  30.   PSET or something), just rename the file to anyname.EXE and use
  31.   that.
  32.  
  33. The program is written in Turbo Pascal, and I have source code for
  34. both Turbo Versions 3.0 and 4.0.  The present version was compiled
  35. with version 4.0 and is very small and fast.  The control codes work
  36. on my FX-85, and should be pretty generic for any Epson-compatible
  37. printer except that (naturally) control codes for non-supported
  38. features on older printers won't work.  The source code is available
  39. to anyone who wants it by sending $5 to:
  40.  
  41.                        James R. Connolly
  42.                         C&J Consultants
  43.                          3923 Smith SE
  44.                      Albuquerque, NM  87108
  45.  
  46. You will get a floppy disk by return mail within 2 weeks (usually
  47. less).  The code is VERY simple, and can be modified pretty easily for
  48. other printers and recompiled as long as you have a Turbo Pascal
  49. compiler.  I have a version for a Tandy DMP-430 printer in the works,
  50. but haven't gotten all the bugs out yet.
  51.  
  52.  
  53.                                 Page 1
  54.  
  55.  
  56.  
  57.  
  58.  
  59. EPSON.EXE -- WHAT IT WON'T DO:
  60. -------------------------------------
  61.  
  62.   --> It DOES NOT automatically perform a printer reset when first
  63.       called (an irritating feature of many printer control programs).
  64.       A printer reset AFTER you are at the top of the form is a good
  65.       idea before setting a bunch of options.
  66.  
  67.   --> It IS NOT memory resident.  It may be called only from DOS or
  68.       from programs which run a DOS command.  If you have programs
  69.       which DO NOT shell to DOS (Turbo Pascal is an example), you
  70.       might look for the program HOTDOS by Robert Best.  It may be
  71.       found on many BBSs and allows you to set aside a portion of your
  72.       RAM as a partition to which you can "shell" from any program.
  73.       EPSON.EXE uses well under 20 K of RAM to run.
  74.  
  75.   --> The program DOES NOT check the printer status.  You need to make
  76.       sure your printer is turned on before you execute any commands.
  77.       Escape sequences for printer control are sent immediately, not
  78.       saved up and sent on exit as with some other programs.  Some
  79.       varieties of BIOS will halt your program, so if things get stuck
  80.       and you don't know why, make sure the printer is on.
  81.  
  82.   --> Printer output goes to LPT1 (Turbo Pascal's Default LST
  83.       address).  If you have a serial printer you need to use DOS'
  84.       MODE command to may the PRN (Printer) output to COM1.  Consult
  85.       your DOS manual. Printers assigned to LPT2 will not work without
  86.       some redirection tricks.
  87.  
  88.   --> It wont make your RX-80 or FX-80 do things it is not capable of
  89.       (like NLQ and some other things).  It should be usable with
  90.       those printers, however, without any problems.  It will NOT work
  91.       properly with the IBM Graphics or Proprinters since the escape
  92.       sequences are somewhat different.  If you have Turbo Pascal and
  93.       a manual for your printer, you can pretty easily modify those
  94.       escape codes which don't work for your printer and recompile the
  95.       program.
  96.  
  97.  
  98.                                  Page 2
  99.  
  100.  
  101.  
  102.  
  103. EPSON.EXE -- WHAT IT CAN DO:
  104. ---------------------------------
  105.   --> It CAN be used to set (and unset) most normal type styles
  106.       (Elite, Pica, Near Letter Quality, Compressed, Italics,
  107.       Proportional, Subscript, Superscript).  I added one combination
  108.       for Compressed- Elite on the menu, but for most "combination"
  109.       modes just enter a series of commands.  For instance for "tiny"
  110.       type, select subscript, then compressed, then double strike and
  111.       set the line spacing desired using the n/72 command with a value
  112.       of less than 8.  Some of the modes cannot be combined (for
  113.       instance Proportional and Compressed, and NLQ and Elite or
  114.       Compressed are not valid combinations).
  115.     
  116.   --> It can reset to the default (Pica 10 pitch) type without
  117.       resetting other modes (line spacing, underline, etc.).
  118.  
  119.   --> It can send line- and form-feeds without requiring you to take
  120.       the printer offline.
  121.  
  122.   --> It can set perforation skip on/off (handy for unformatted text
  123.       files). The skip is based on the top-of-form setting, so the
  124.       best way to do this use the ADVANCE 1 LINE command 3 times so
  125.       your perforation is 3 lines above the top of the printer ribbon,
  126.       then enter a RESET, followed by a SKIP OVER PERF ON.  Then enter
  127.       any character setting commands you want, and the text will be
  128.       properly centered when printed with DOS' "PRINT filename" or
  129.       "COPY filename.ext PRN".
  130.  
  131.   --> It can set left and right margins to any values you select (as
  132.       long as they are within the bounds allowed by the printer).
  133.       This is very handy for printing text files with a binding margin
  134.       on the left. If the file you want to print is 80 column's wide
  135.       (like this one), setting print to Elite and a left margin of 12
  136.       will let you get a left binding margin and not overrun the right
  137.       margin.
  138.  
  139.   --> If you have a hard disk, put EPSON.EXE in a subdirectory on
  140.       your system path and it may be accessed from anywhere.  If you
  141.       have a dual- or single-floppy system, put it in a RAM disk and
  142.       put the RAM disk on your system path and you can run it without
  143.       having the disk with the program file in the machine all the
  144.       time.
  145.  
  146. The TURBO PASCAL source code is available for anyone who wants to
  147. tinker with the program for their own use.  With a printer manual in
  148. hand and a TURBO PASCAL compiler, it should be little trouble
  149. modifying the program to send escape sequences which are specific to
  150. your printer.  The PASCAL code is rather simple, the only trick being
  151. the IF statement in the Give_printer procedure to NOT send the ESC
  152. character when sending control codes like FF and LF.
  153.  
  154. My thanks to Mark Davis for writing the original version of this
  155. program and to Phil Wheeler for his alterations.  I hope you find this
  156. program to be of use. The program is very much in the public domain,
  157. so feel free to modify the code for your own uses.
  158.  
  159.  
  160.                                  Page 3
  161.  
  162.