home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / PRINTER / ZBPLT101.ZIP / LJMANUAL.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-03-15  |  2.1 KB  |  79 lines

  1. ECHO OFF
  2. rem -
  3. rem - Batch routine to print the user's manual.
  4. rem -
  5.   CLS
  6.   ECHO -
  7.   ECHO - (c) Copyright 1991 Zambini Brothers Software, All rights Reserved.
  8.   ECHO -
  9.   IF "%1" == ""  GOTO HELP
  10.   IF "%1" == "?"  GOTO HELP
  11.   IF "%1" == "/"  GOTO HELP
  12.   IF NOT EXIST  LJMANUAL.BIN  GOTO NOFILE
  13. rem -
  14. rem - tell the user what's happening.
  15. rem -
  16.   ECHO - This routine will produce a printed hard copy of the User's Manual
  17.   ECHO - for LJPLOT.
  18.   ECHO -
  19.   ECHO - NOTE: THE OUTPUT WILL BE SENT TO DEVICE [ %1 ] .
  20.   ECHO -
  21.   ECHO - It requires that your LaserJet II be ONLINE and READY.  This routine
  22.   ECHO - will NOT work properly with any printer that doesn't accept HP's
  23.   ECHO - PCL level 4 commands.
  24.   ECHO -
  25.   ECHO - When everything is ready, press any key to continue.
  26.   ECHO -
  27.   ECHO - To terminate at this point, without printing, press your BREAK
  28.   ECHO - key (usually CTRL-C) and answer Y when asked if you want to
  29.   ECHO - terminate.
  30.   ECHO -
  31.   PAUSE
  32. rem -
  33. rem -
  34. rem -
  35.   ECHO -
  36.   ECHO - COPY LJMANUAL.BIN /B %1
  37.          COPY LJMANUAL.BIN /B %1
  38.   ECHO -
  39.   ECHO - All done.
  40.   GOTO EOJ
  41. rem -
  42. rem - Ooops, can't find the binary version of the manual.
  43. rem -
  44. :NOFILE
  45.   ECHO -
  46.   ECHO - E R R O R -
  47.   ECHO -
  48.   ECHO - Unable to locate the file LJMANUAL.BIN, which is required
  49.   ECHO - to produce the User's Manual.
  50.   ECHO -
  51.   ECHO - Printing process terminated.
  52.   ECHO -
  53.   GOTO EOJ
  54. rem -
  55. rem - Ye Olde Help Routine
  56. rem -
  57. :HELP
  58.   ECHO -
  59.   ECHO - LJMANUAL  HELP  SCREEN
  60.   ECHO -
  61.   ECHO - Format:  LJMANUAL dev_name
  62.   ECHO -
  63.   ECHO - This program will send the binary version of the user's manual
  64.   ECHO - to the output device you specify.  That device MUST be able to
  65.   ECHO - accept Hewlett Packard's PLC level 4 command set.  The HP
  66.   ECHO - LaserJet II or III, and it's clones, will work fine.
  67.   ECHO -
  68.   ECHO - For non-network printers you can usually specify PRN or LPT1 as
  69.   ECHO - a device name.    ie. LJMANUAL PRN
  70.   ECHO -
  71.   ECHO - For networked printers you will have to find out the device name
  72.   ECHO - set up by your system's operator and use that name for a parameter.
  73.   ECHO -
  74.   ECHO -
  75. rem -
  76. rem -
  77. rem -
  78. :EOJ
  79.