home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / busi / excheq22.zip / PRINTDOC.BAT < prev    next >
DOS Batch File  |  1990-04-11  |  1KB  |  37 lines

  1. ECHO OFF
  2. CLS
  3. ECHO This batch file will print the Exchequer documentation 
  4. ECHO files XC.DOC, EXAMPLES.DOC (if it exists) and DISCOUNT 
  5. ECHO to printer port LPT1:
  6. ECHO Please check that the printer is on !
  7. ECHO Please check that you have enough paper to print
  8. ECHO the entire manual (72 pages).
  9. ECHO Press any key to begin (Ctrl-Break to exit)....
  10. PAUSE
  11. CLS
  12. IF NOT EXIST XC.DOC GOTO :NOTFOUND
  13. ECHO Now printing XC.DOC...
  14. COPY XC.DOC LPT1:
  15. ECHO XC.DOC printed...
  16. GOTO :DISCOUNT
  17. :NOTFOUND
  18. ECHO The file XC.DOC was not found.  Please check your disk....
  19. :DISCOUNT
  20. IF NOT EXIST DISCOUNT GOTO :NODISC
  21. ECHO Now printing DISCOUNT...
  22. COPY DISCOUNT LPT1:
  23. ECHO DISCOUNT printed...
  24. GOTO :EXAMPLES
  25. :NODISC
  26. ECHO The file DISCOUNT was not found.  Please check your disk...
  27. :EXAMPLES
  28. IF NOT EXIST EXAMPLES.DOC GOTO :NOEXAMPLE
  29. ECHO Now printing EXAMPLES.DOC...
  30. COPY EXAMPLES.DOC LPT1:
  31. ECHO EXAMPLES.DOC printed...
  32. GOTO :END
  33. :NOEXAMPLE
  34. ECHO The file EXAMPLES.DOC was not found.  It is included only if
  35. ECHO you received Exchequer on a 3-1/2 inch disk.
  36. :END
  37.