home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / PRINTING / 4PR415.ZIP / TESTPRIN.BAT < prev    next >
DOS Batch File  |  1992-11-29  |  4KB  |  85 lines

  1. @echo off
  2. echo off
  3. echo.  
  4. echo              4PRINT and 4BOOK Version 4.10 Printer Test
  5. echo            to eliminate paper shuffling for double-sided
  6. echo                  documents on non-duplex printers
  7. echo.  
  8. echo     Note that you do not need any paper handling options if you are
  9. echo     using a duplex printer such as the IID or IIID.  In this case,
  10. echo     be sure to specify the -d or -ds option to 4Print or 4Book to
  11. echo     take advantage of your printer's duplex capability!
  12. echo.  
  13. set temp4=%1
  14. if not .%1 == . goto gotit
  15. echo usage:   TESTPRIN device
  16. echo example: TESTPRIN LPT2:
  17. echo.  
  18. echo If you do not specify a device, this program will assume
  19. echo that your laser printer is attached to DOS device "PRN:"
  20. echo.  
  21. echo Press Ctrl-C now to stop this program, or any other key
  22. echo to continue as if you had typed TESTPRIN PRN:
  23. pause
  24. echo.  
  25. set temp4=PRN:
  26. :gotit
  27. echo Take two sheets of blank paper and write "one" on one sheet and "two"
  28. echo on the other.  Place them in your printer's tray facing up, with
  29. echo "one" on top and "two" underneath, like this:
  30. echo.  
  31. echo                _______one___________  top of first sheet
  32. echo                ---------------------  bottom of first sheet
  33. echo                _______two___________  top of second sheet
  34. echo                ---------------------  bottom of second sheet
  35. echo                _____________________  other blank pages in the tray
  36. echo                ---------------------
  37. echo.  
  38. echo I'll be printing on these two sheets momentarily,
  39. echo so please make sure your printer is online.
  40. pause
  41. echo.  
  42. echo FIRST SECOND >%temp4%
  43. set temp4=
  44. echo Now take the two sheets out of your printer's output tray without
  45. echo disturbing their order.  The following diagram will show which 4Print
  46. echo and 4Book options to use so that no paper shuffling will be required:
  47. echo.  
  48. echo    ____FIRST____one____      ____________________
  49. echo    --------------------      ----SECOND---two----
  50. echo    ____SECOND___two____  or  ____________________  use -r
  51. echo    --------------------      ----FIRST----one----
  52. echo.  
  53. echo    _____FIRST__________      _____________two____
  54. echo    --------------one---      ----SECOND----------
  55. echo    _____SECOND_________  or  _____________one____  use -r -rf         
  56. echo    --------------two---      ----FIRST-----------
  57. echo.  
  58. echo    _____SECOND___two___      ____________________
  59. echo    --------------------      ----FIRST----one----
  60. echo    _____FIRST____one___  or  ____________________  no options needed
  61. echo    --------------------      ----SECOND---two----
  62. echo.  
  63. echo    _____SECOND_________      _____________one____
  64. echo    --------------two---      ----FIRST-----------
  65. echo    _____FIRST__________  or  _____________two____  use -rf
  66. echo    --------------one---      ----SECOND----------
  67. pause
  68. echo.
  69. echo If you use the suggested options, you should not have to do any paper
  70. echo shuffling between or after front and back print passes to get perfect
  71. echo 4Print and 4Book printouts.  You will have to determine whether to
  72. echo turn the entire stack over and/or around before reinserting the pages
  73. echo for the back pass.  One 4Print or 4Book test run should enable you to
  74. echo figure this out.
  75. echo.  
  76. echo Note that once you've determined the proper paper handling options to
  77. echo use, you can enter them in your 4PRINT environment variable and then
  78. echo forget about them.  For example, if you have a IIP or IIIP and are
  79. echo using the normal paper path, chances are you need both the -r and -rf
  80. echo options.  Adding this line to your AUTOEXEC.BAT will yield perfect
  81. echo 4Print and 4Book printouts every time:
  82. echo.  
  83. echo         SET 4PRINT=-r -rf
  84. echo.  
  85.