home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / 2col52.zip / DEMO2COL.BAT < prev    next >
DOS Batch File  |  1993-10-14  |  5KB  |  110 lines

  1. @echo off
  2. echo This is an eight page demonstration of 2COL features.
  3. if "%1"=="9" goto 9
  4. if "%1"=="24" goto 24
  5. if "%1"=="J" goto J
  6. if "%1"=="j" goto J
  7. echo.
  8. echo To run this demo on a 9-pin printer type:  DEMO2COL 9 (enter)
  9. echo.
  10. echo If your 9-pin printer does not support 20 char/inch,type:DEMO2COL 9 -W68 (enter)
  11. echo.
  12. echo To run this demo on a 24-pin (LQ type) printer type:DEMO2COL 24 (enter)
  13. echo.
  14. echo To run this demo on a Deskjet type: DEMO2COL J (enter)
  15. echo.
  16. goto end
  17. :9
  18. echo.
  19. echo Some of the printing modes demonstrated are available only to registered users.
  20. echo Various options can be combined on the command line, if separated by spaces.
  21. echo.
  22. echo 2col prints with its default settings: 2COL 2COL.DOC >prn
  23. 2COL 2COL.DOC -K -F1 %2
  24. echo For more than 102 lines/page 2col uses small type: 2COL 2COL.DOC -L180>prn
  25. 2COL 2COL.DOC -K -F1 -L170 %2
  26. echo To retain all blank lines in original document type: 2COL 2COL.DOC -C66>prn
  27. 2COL 2COL.DOC -K -F1 -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 -F0 -D -N %2
  31. echo To print at 17 char/inch,use a columnwidth less than 69: 2COL 2COL.DOC -W68>prn
  32. 2COL 2COL.DOC -K -F1 -W68
  33. echo Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 >prn
  34. echo This feature is available to registered users only.>prn
  35. 2COL 2COL.DOC -K -F0 -U8 %2
  36. echo You can print exactly two pages/column by typing:2COL 2COL.DOC -X2>prn
  37. echo This feature is available to registered users only.>prn
  38. 2COL 2COL.DOC -K -F0 -X2 %2
  39. if "%2"=="-W68" goto endr
  40. if "%2"=="-w68" goto endr
  41. echo Registered users can reformat documents to different widths:2COL 2COL.DOC -&R78>prn
  42. 2COL 2COL.DOC -K -F1 -&R78
  43. goto endr
  44. :J
  45. echo 2COL will print demonstration pages in the following order:>prn
  46. echo (A 4 line top margin has been added to all printouts using -F4)>prn
  47. echo.>prn
  48. echo 1.default settings: 2COL 2COL.DOC -J>prn
  49. echo.>prn
  50. echo 2.Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 -J>prn
  51. echo   This feature is available to registered users only.>prn
  52. echo.>prn
  53. echo 3.Registered users can reformat to different widths:2COL 2COL.DOC -&R78>prn
  54. echo.>prn
  55. echo 4.For more than 102 lines/page 2COL uses 6 point type: 2COL 2COL.DOC -L170 -J>prn
  56. echo.>prn
  57. echo 5.To retain all blank lines in original document type: 2COL 2COL.DOC -C66 -J>prn
  58. echo.>prn
  59. echo 6.Original source pages can be delimited by typing: 2COL 2COL.DOC -D -J>prn
  60. echo   Pages can be numbered at the bottom by typing 2COL 2COL.DOC -N -J>prn
  61. echo.>prn
  62. echo 7.You can print exactly 2 pages/column by typing: 2COL 2COL.DOC -X2 -D -J>prn
  63. echo   This feature is for registered users only.>prn
  64. echo.>prn
  65. echo 8.To print at 17 cpi, use a column width of less than 69:2COL 2COL.DOC -W68 -J>prn
  66. echo   Since the Deskjet actually prints at 16.67 cpi, you must be careful when>prn
  67. echo   using the -W68 or -W67 options because up to 4 characters could be >prn
  68. echo   truncated on the right side of the page as shown in this example.>prn
  69. echo &l2C&l0L >prn
  70. 2col 2col.doc -K -f4 -J
  71. 2col 2col.doc -K -f4 -U8 -J
  72. 2col 2col.doc -K -F4 -&R78 -J
  73. 2col 2col.doc -K -F4 -L170 -J
  74. 2col 2col.doc -K -F4 -C66 -J
  75. 2col 2col.doc -K -F4 -D -N -J
  76. 2col 2col.doc -K -F4 -X2 -D -J
  77. 2col 2col.doc -K -F4 -W68 -J
  78. goto endr
  79. :24
  80. echo.
  81. echo Some of the printing modes demonstrated are available only to registered users.
  82. echo Various options can be combined on the command line, if separated by spaces.
  83. echo When using a 24-pin printer the -Q option must always be used.
  84. echo.
  85. echo 2col prints with its default settings: 2COL 2COL.DOC -Q >prn
  86. 2COL 2COL.DOC -K -F1 -Q
  87. echo 24-Pin printers use taller fonts. Your printing will appear less crowded >prn
  88. echo if you choose 82 lines per page : 2COL 2COL.DOC -L82 -Q >prn
  89. 2COL 2COL.DOC -K -F0 -L82 -Q
  90. echo For more than 102 lines/page 2col uses small type: 2COL 2COL.DOC -L160 -Q>prn
  91. 2COL 2COL.DOC -K -F1 -L160 -Q
  92. echo To retain all blank lines in original document type: 2COL 2COL.DOC -C66>prn
  93. 2COL 2COL.DOC -K -F1 -C66 -Q
  94. echo Original source pages can be delimited by typing:2COL 2COL.DOC -D>prn
  95. echo Pages can be numbered at the bottom by typing:2COL 2COL.DOC -N>prn
  96. 2COL 2COL.DOC -K -F0 -D -N -Q
  97. echo To print at 17 char/inch,use a columnwidth less than 69: 2COL 2COL.DOC -W68>prn
  98. 2COL 2COL.DOC -K -F1 -W68 -Q
  99. echo Automargin creates an 8 space left margin: 2COL 2COL.DOC -U8 -Q >prn
  100. echo This feature is available to registered users only.>prn
  101. 2COL 2COL.DOC -K -F0 -U8 -Q
  102. echo You can print exactly two pages/column by typing:2COL 2COL.DOC -X2>prn
  103. echo This feature is available to registered users only.>prn
  104. 2COL 2COL.DOC -K -F0 -X2 -Q
  105. echo Registered users can reformat documents to different widths:2COL 2COL.DOC -&R78>prn
  106. 2COL 2COL.DOC -K -F1 -&R78
  107. :endr
  108. copy register.doc prn
  109. :end
  110.