home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / print / 2col.zip / DEMO2COL.BAT < prev    next >
DOS Batch File  |  1992-06-10  |  3KB  |  66 lines

  1. @echo off
  2. if "%1"=="9" goto 9
  3. if "%1"=="24" goto 24
  4. echo.
  5. echo To run this demo on a 9-pin printer type:  DEMO2COL 9 (enter)
  6. echo.
  7. echo If your 9-pin printer does not support 20 char/inch,type:DEMO2COL 9 -W68 (enter)
  8. echo.
  9. echo To run this demo on a 24-pin (LQ type) printer type:DEMO2COL 24 (enter)
  10. echo.
  11. goto end
  12. :9
  13. echo.
  14. echo Some of the printing modes demonstrated are available only to registered users.
  15. echo Various options can be combined on the command line, if separated by spaces.
  16. echo.
  17. echo 2col prints with its default settings: 2COL 2COL.DOC >prn
  18. 2COL 2COL.DOC -K -F2 %2
  19. echo Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 >prn
  20. echo This feature is available to registered users only.>prn
  21. 2COL 2COL.DOC -K -F1 -U8 %2
  22. echo Maximum # of lines/page with full size type is 102: 2COL 2COL.DOC -L102 >prn
  23. 2COL 2COL.DOC -K -F2 -L102 %2
  24. echo For more than 102 lines/page 2col uses small type: 2COL 2COL.DOC -L180>prn
  25. 2COL 2COL.DOC -K -F2 -L180 %2
  26. echo To retain all blank lines in original document type: 2COL 2COL.DOC -C66>prn
  27. 2COL 2COL.DOC -K -F2 -C66 %2
  28. echo Original source pages can be delimited by typing:2COL 2COL.DOC -D>prn
  29. echo Pages can be numbered at the bottom by typing:2COL 2COL.DOC -N>prn
  30. 2COL 2COL.DOC -K -F1 -D -N %2
  31. echo You can print exactly two pages/column by typing:2COL 2COL.DOC -X2>prn
  32. echo This feature is available to registered users only.>prn
  33. 2COL 2COL.DOC -K -F1 -X2 %2
  34. echo To print at 17 char/inch,use a columnwidth less than 69: 2COL 2COL.DOC -W68>prn
  35. 2COL 2COL.DOC -K -F2 -W68
  36.  
  37. goto endr
  38. :24
  39. echo.
  40. echo Some of the printing modes demonstrated are available only to registered users.
  41. echo Various options can be combined on the command line, if separated by spaces.
  42. echo When using a 24-pin printer the -Q option must always be used.
  43. echo.
  44. echo 2col prints with its default settings: 2COL 2COL.DOC -Q >prn
  45. 2COL 2COL.DOC -K -F1 -Q
  46. echo Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 -Q >prn
  47. echo This feature is available to registered users only.>prn
  48. 2COL 2COL.DOC -K -F1 -U8 -Q
  49. echo Maximum # of lines/page with full size type is 102: 2COL 2COL.DOC -L102 -Q >prn
  50. 2COL 2COL.DOC -K -F2 -L102 -Q
  51. echo For more than 102 lines/page 2col uses small type: 2COL 2COL.DOC -L180 -Q>prn
  52. 2COL 2COL.DOC -K -F2 -L180 -Q
  53. echo To retain all blank lines in original document type: 2COL 2COL.DOC -C66>prn
  54. 2COL 2COL.DOC -K -F2 -C66 -Q
  55. echo Original source pages can be delimited by typing:2COL 2COL.DOC -D>prn
  56. echo Pages can be numbered at the bottom by typing:2COL 2COL.DOC -N>prn
  57. 2COL 2COL.DOC -K -F1 -D -N -Q
  58. echo You can print exactly two pages/column by typing:2COL 2COL.DOC -X2>prn
  59. echo This feature is available to registered users only.>prn
  60. 2COL 2COL.DOC -K -F1 -X2 -Q
  61. echo To print at 17 char/inch,use a columnwidth less than 69: 2COL 2COL.DOC -W68>prn
  62. 2COL 2COL.DOC -K -F2 -W68 -Q
  63. :endr
  64. copy register.doc prn
  65. :end
  66.