home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- rem -
- rem - Batch routine to print the user's manual.
- rem -
- CLS
- ECHO -
- ECHO - (c) Copyright 1991 Zambini Brothers Software, All rights Reserved.
- ECHO -
- IF "%1" == "" GOTO HELP
- IF "%1" == "?" GOTO HELP
- IF "%1" == "/" GOTO HELP
- IF NOT EXIST LJMANUAL.BIN GOTO NOFILE
- rem -
- rem - tell the user what's happening.
- rem -
- ECHO - This routine will produce a printed hard copy of the User's Manual
- ECHO - for LJPLOT.
- ECHO -
- ECHO - NOTE: THE OUTPUT WILL BE SENT TO DEVICE [ %1 ] .
- ECHO -
- ECHO - It requires that your LaserJet II be ONLINE and READY. This routine
- ECHO - will NOT work properly with any printer that doesn't accept HP's
- ECHO - PCL level 4 commands.
- ECHO -
- ECHO - When everything is ready, press any key to continue.
- ECHO -
- ECHO - To terminate at this point, without printing, press your BREAK
- ECHO - key (usually CTRL-C) and answer Y when asked if you want to
- ECHO - terminate.
- ECHO -
- PAUSE
- rem -
- rem -
- rem -
- ECHO -
- ECHO - COPY LJMANUAL.BIN /B %1
- COPY LJMANUAL.BIN /B %1
- ECHO -
- ECHO - All done.
- GOTO EOJ
- rem -
- rem - Ooops, can't find the binary version of the manual.
- rem -
- :NOFILE
- ECHO -
- ECHO - E R R O R -
- ECHO -
- ECHO - Unable to locate the file LJMANUAL.BIN, which is required
- ECHO - to produce the User's Manual.
- ECHO -
- ECHO - Printing process terminated.
- ECHO -
- GOTO EOJ
- rem -
- rem - Ye Olde Help Routine
- rem -
- :HELP
- ECHO -
- ECHO - LJMANUAL HELP SCREEN
- ECHO -
- ECHO - Format: LJMANUAL dev_name
- ECHO -
- ECHO - This program will send the binary version of the user's manual
- ECHO - to the output device you specify. That device MUST be able to
- ECHO - accept Hewlett Packard's PLC level 4 command set. The HP
- ECHO - LaserJet II or III, and it's clones, will work fine.
- ECHO -
- ECHO - For non-network printers you can usually specify PRN or LPT1 as
- ECHO - a device name. ie. LJMANUAL PRN
- ECHO -
- ECHO - For networked printers you will have to find out the device name
- ECHO - set up by your system's operator and use that name for a parameter.
- ECHO -
- ECHO -
- rem -
- rem -
- rem -
- :EOJ