home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 036 / lman603a.zip / PRINTDOC.BAT < prev    next >
DOS Batch File  |  1994-09-24  |  8KB  |  126 lines

  1. @echo off
  2.         goto START
  3.  ╔═════════════════════════════════════════════════════════════════════╗
  4.  ║  PRINT THE LASR_MAN DOCUMENTATION AND THEN OPTIONALLY ERASE IT      ║
  5.  ║                                                                     ║
  6.  ║    This routine will either copy the LASR_MAN documentation file    ║
  7.  ║    to the printer or setup LASR_MAN to print it.                    ║
  8.  ║                                                                     ║
  9.  ║   Copyright 1993-1994, MicroMetric, All Rights Reserved             ║
  10.  ╚═════════════════════════════════════════════════════════════════════╝
  11. :START
  12.         if NOT EXIST lasr_man.doc goto NODOC
  13.         cls
  14.         echo ╔═══════════════════════════════════════════════════════════════════════════╗
  15.         echo ║         LASR_MAN SHAREWARE DOCUMENTATION PRINT METHOD SELECTION           ║
  16.         echo ╠═══════════════════════════════════════════════════════════════════════════╣
  17.         echo ║  Set up to print the LASR_MAN documentation in the following manner...... ║
  18.         echo ╟───────────────────────────────────────────────────────────────────────────╢
  19.         echo ║  1. Copy to printer - uses DOS COPY and should work with any type printer ║
  20.         echo ║     one text page/sheet of paper (will print about 150 sheets)            ║
  21.         echo ║       █▌The following methods require a HP LaserJet IIP printer or higher▐║
  22.         echo ║       █▌(or compatible). The documentation will be printed by LASR_MAN▐███║
  23.         echo ║       █▌with each paper sheet being printed on one side only.▐████████████║
  24.         echo ║  2. 1 page/sheet (150)                                                    ║
  25.         echo ║  3. 2 pages/sheet (75)                                                    ║
  26.         echo ║  4. 4 pages/sheet (38)                                                    ║
  27.         echo ║  5. 8 pages/sheet (19)                                                    ║
  28.         echo ║       █▌The following methods require a HP LaserJet IIP/higher, LASR_MAN,▐║
  29.         echo ║       █▌pamphlet form, each sheet will need to be printed on both sides.▐█║
  30.         echo ║  6. 4 pages/sheet (38)                                                    ║
  31.         echo ║  7. 8 pages/sheet (19)                                                    ║
  32.         echo ║  8. 16 pages/sheet (10)                                                   ║
  33.         echo ║       █▌The following method require a HP LaserJet/DeskJet printer (or▐███║
  34.         echo ║       █▌compatible), LASR_MAN, and all options will need to be set.▐██████║
  35.         echo ║  9. 4 pages/sheet (38) (may be changed to any other style of output)      ║
  36.         echo ╚═══════════════════════════════════════════════════════════════════════════╝
  37. :DRIVE
  38.         askn ■■ Enter the Documentation Setup you desire (1-9) 
  39.         echo  
  40.         set D=NONE
  41.         if ERRORLEVEL 1 if NOT ERRORLEVEL 2 set D=1
  42.         if ERRORLEVEL 2 if NOT ERRORLEVEL 3 set D=2
  43.         if ERRORLEVEL 3 if NOT ERRORLEVEL 4 set D=3
  44.         if ERRORLEVEL 4 if NOT ERRORLEVEL 5 set D=4
  45.         if ERRORLEVEL 5 if NOT ERRORLEVEL 6 set D=5
  46.         if ERRORLEVEL 6 if NOT ERRORLEVEL 7 set D=6
  47.         if ERRORLEVEL 7 if NOT ERRORLEVEL 8 set D=7
  48.         if ERRORLEVEL 8 if NOT ERRORLEVEL 9 set D=8
  49.         if ERRORLEVEL 9 if NOT ERRORLEVEL 10 set D=9
  50.                 if NOT .%D%==.1 goto LM
  51.         cls
  52.         echo ╔═══════════════════════════════════════════════════════════════════════════╗
  53.         echo ║                  LASR_MAN SHAREWARE DOCUMENTATION PRINTING                ║
  54.         echo ╠═══════════════════════════════════════════════════════════════════════════╣
  55.         echo ║                                                                           ║
  56.         echo ║  The LASR_MAN documentation will be printed using the DOS COPY function.  ║
  57.         echo ║                                                                           ║
  58.         echo ╚═══════════════════════════════════════════════════════════════════════════╝
  59.         copy lasr_man.doc prn
  60.                 goto DONE
  61. :LM
  62.         if .%D%=.NONE goto NONE
  63.         if NOT EXIST lm_doc_%D%.lmo goto NOLMO
  64.         cls
  65.         echo ╔═══════════════════════════════════════════════════════════════════════════╗
  66.         echo ║           LASR_MAN SHAREWARE DOCUMENTATION PRINT INSTRUCTIONS             ║
  67.         echo ╠═══════════════════════════════════════════════════════════════════════════╣
  68.         echo ║                                                                           ║
  69.         echo ║  LASR_MAN will now be loaded and set to print, using the method that you  ║
  70.         echo ║  have selected.                                                           ║
  71.         echo ║                                                                           ║
  72.         echo ║  In order to print the documentation using your selected method and the   ║
  73.         echo ║  default options shown, you will only need to press [┘] at each prompt.  ║
  74.         echo ║                                                                           ║
  75.         echo ║  You should check the PRINT function, PAPER SOURCE option and set it      ║
  76.         echo ║  correctly if it does no specify the paper source that is correct for     ║
  77.         echo ║  your printer.                                                            ║
  78.         echo ║                                                                           ║
  79.         echo ║  If your laser printer IS NOT an HP IIP/IIP/III/IV or compatable, you     ║
  80.         echo ║  must select the proper printer. Press [U] for the SETUP function, [F8]   ║
  81.         echo ║  to display ADVANCED menu option, [T] for PRINTER, and select the         ║
  82.         echo ║  desired PRINTER. When you have returned to the SETUP menu, press [F] to  ║
  83.         echo ║  return to FILES SELECT.                                                  ║
  84.         echo ║                                                                           ║
  85.         echo ║  You may, at any prompt, change any option that you desire, after which   ║
  86.         echo ║  you should return to the option that was displayed and press [┘].       ║
  87.         echo ║                                                                           ║
  88.         echo ╚═══════════════════════════════════════════════════════════════════════════╝
  89.         pause
  90.         if NOT .%1==. set D=%D%%1
  91.         if .%D%==.9 set D=%D% /u2 
  92.         lasr_man /olm_doc_%D%
  93. :DONE
  94.         cls
  95.         echo ╔═══════════════════════════════════════════════════════════════════════════╗
  96.         echo ║           LASR_MAN SHAREWARE DOCUMENTATION PRINTING COMPLETE              ║
  97.         echo ╠═══════════════════════════════════════════════════════════════════════════╣
  98.         echo ║                                                                           ║
  99.         echo ║  1. Return to DOS (default).                                              ║
  100.         echo ║  2. Erase the LASR_MAN.DOC file and the LASR_MAN documentation print      ║
  101.         echo ║     option files first, before returning to DOS.                          ║
  102.         echo ║                                                                           ║
  103.         echo ╚═══════════════════════════════════════════════════════════════════════════╝
  104.         askn ■■ Enter the Exit option you desire (1-2) 
  105.         echo  
  106.         if ERRORLEVEL 2 if NOT ERRORLEVEL 3 goto ERASE
  107.                 goto EXIT
  108. :NONE
  109.         echo ■■■ YOU HAVE SELECTED NOT TO PRINT THE LASR_MAN DOCUMENTATION AT THIS TIME ■■■
  110.         pause
  111.                 goto DONE
  112. :NODOC
  113.         echo ■■■ THERE IS NO LASR_MAN.DOC FILE TO PRINT ■■■
  114.         pause
  115.                 goto EXIT
  116. :NOLMO
  117.         echo ■■■ THERE IS NO LASR_MAN LM_DOC_%D%.LMO OPTION FILE TO USE FOR PRINTING ■■■
  118.         pause
  119.                 goto EXIT
  120. :ERASE
  121.         erase lasr_man.doc
  122.         erase lm_doc_*.lmo
  123. :EXIT
  124.         set D=
  125.  
  126.