home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 9005 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.9 KB  |  47 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!drivax!frotz
  3. From: frotz@dri.com (Frotz)
  4. Subject: Re: using DR DOS 6 Script utility
  5. Message-ID: <M9YPBLY@dri.com>
  6. Sender: frotz@novell.com
  7. Reply-To: frotz@novell.com
  8. Organization: Desktop Systems Group/Novell, Monterey CA/USA
  9. References: <1992Aug17.150555.391@cine88.cineca.it>
  10. Date: Wed, 2 Sep 92 20:55:19 GMT
  11. Lines: 34
  12.  
  13. Marco Simionato <simion@iveuncc.unive.it> writes:
  14.  
  15. ]I have DR DOS 6 on my 386sx machine, which is connected to a PostScript
  16. ]Apple Personal LaserWriter NTR. The Script utility allows me to print
  17. ]text files from the Dos command line. This utility can be installed as
  18. ]TSR, so that it will intercept and elaborate all jobs directed to the
  19. ]printer. Despite this, I cannot have files printed from basic Dos apps,
  20. ]such as MS Edit or DR DOSBOOK. The fact is that, to be installed as a
  21. ]TSR, Script requires two parameters: an input peripheral and an output
  22. ]peripheral. The two parameters cannot be the same. Now, my printer is
  23. ]connected to LPT1. If we assume that, for example, MS Edit prints by
  24. ]default to LPT1, I would have to tell Script to take all jobs directed to
  25. ]LPT1, elaborate them and send them to, say, LPT2 - which I just don't
  26. ]have.
  27.  
  28. I see the confusion.  I use it all the time and don't pay attention to
  29. the manual or the usage;-}
  30.  
  31. The correct usage on a single port machine for script is:
  32.  
  33.     SCRIPT LPT1
  34.  
  35. This takes all data sent to LPT1, converts it to postscript and then
  36. outputs it to the actual port.  I believe that the interception point
  37. is INT17.  Anyone writing to the port below this will probably bypass
  38. SCRIPT, but you'd have to check the trapped interrupts to verify that.
  39. --
  40. John "Frotz" Fa'atuai    frotz@novell.com        (email@domain)
  41. Desktop Systems        uunet!novell.com!frotz        (bang address)
  42.   Group/Novell        NOVELL:FROTZ  or  FROTZ@NOVELL    (MHS address)
  43. c/o TS Dept.        408/645-2067            (vmail)
  44. 80 Garden Court        408/649-8209            (fax)
  45. Monterey, CA  93940
  46.  
  47.