home *** CD-ROM | disk | FTP | other *** search
/ Best Objectech Shareware Selections / UNTITLED.iso / boss / util / menu / 003 / printdoc.bat < prev    next >
Encoding:
DOS Batch File  |  1989-03-03  |  2.2 KB  |  50 lines

  1. ECHO OFF
  2. IF NOT EXIST README GOTO ERROR
  3. IF NOT EXIST MAX-MENU.FRM GOTO ERROR
  4. CLS
  5. ECHO ┌─────────────────────────────────────────────────────────────────┐
  6. ECHO │        PrintDoc will print the README file and the              │
  7. ECHO │         comment/registration form on your printer.              │
  8. ECHO ├─────────────────────────────────────────────────────────────────┤
  9. ECHO │                                                                 │
  10. ECHO │ Please make sure your printer is on and set to TOP OF FORM.     │
  11. ECHO │                                                                 │
  12. ECHO │ This document is about 7 pages long.  If you do not want to     │
  13. ECHO │ print it at this time, hold down the Ctrl key and press C.      │
  14. ECHO └─────────────────────────────────────────────────────────────────┘
  15. ECHO  
  16. ECHO The printing will begin as soon as you
  17. PAUSE
  18. ECHO  
  19. ECHO Now printing README file to printer.  This file contains information
  20. ECHO about Max-Menu that is more current than the manual.....
  21. COPY README PRN: >NUL
  22. ECHO  
  23. ECHO Now printing the comment/registration form.......
  24. COPY MAX-MENU.FRM PRN: >NUL
  25. IF NOT EXIST MAX-MENU.DOC GOTO NOTSHARE
  26. CLS
  27. ECHO ┌─────────────────────────────────────────────────────────────────┐
  28. ECHO │        PrintDoc will now print the manual to your printer.      │
  29. ECHO ├─────────────────────────────────────────────────────────────────┤
  30. ECHO │                                                                 │
  31. ECHO │ Please make sure your printer is on and set to TOP OF FORM.     │
  32. ECHO │                                                                 │
  33. ECHO │ This document is about 55 pages long.  If you do not want to    │
  34. ECHO │ print it at this time, hold down the Ctrl key and press C.      │
  35. ECHO └─────────────────────────────────────────────────────────────────┘
  36. ECHO  
  37. ECHO The printing will begin as soon as you
  38. PAUSE
  39. ECHO  
  40. ECHO Now printing the manual.......
  41. COPY MAX-MENU.DOC PRN: >NUL
  42. :NOTSHARE
  43. ECHO  
  44. ECHO Max-Menu documentation has been printed.
  45. GOTO LEAVE
  46. :ERROR
  47. ECHO Please change to the directory Max-Menu was installed in before
  48. ECHO running PrintDoc.  README or MAX-MENU.FRM file could not be found.
  49. :LEAVE
  50.