home *** CD-ROM | disk | FTP | other *** search
- PCLaser
-
- LaserJet II, IIp, or III Printing Utility
-
- Bob White
- November 25, 1990
-
-
- PCLaser is the combination of two very handy PC Magazine utility programs
- for the LaserJet series, PCBook and LaserLst. PCBook, written by Jay
- Munro, prints README and similar ASCII files in booklet format. LaserLst,
- written by Michael Holmes and Bob Flanders, prints ASCII files with two
- pages side-by-side in landscape format. PCBook printed in landscape format
- as well, and was set up to allow the paper to be reinserted in the LaserJet
- so the page could be printed on both sides, with the end result being four
- 66-line pages printed on one sheet of paper. LaserLst was initially set up
- for only printing on one side of the page, although I did manage to modify
- it to the extent where it could also print on both sides of the page by
- sending the back sides to a disk file.
-
- PCLaser differs from both PCBook and LaserLst in that it is written in
- Turbo Pascal, where PCBook was originally written in QuickBASIC and
- LaserLst was written in Microsoft Assembler. It also has the feature of
- being able to print wide files with one page on the front and a second on
- the back. This allows wide files to be printed easily, using less paper.
- PCLaser also allows you to select only a certain range of pages to be
- printed, so that you don't use more paper than necessary. There are a
- bunch of other minor changes in functionality, such as being able to handle
- wildcard file specifications and some minor heading changes.
-
- Format:
-
- PCLaser [path] [/A] [/B] [/BACK] [/C] [/D] [/F] [/FRONT]
- [/H] [/L] [/P] [/S] [/T] [/W] [/2]
-
- All of the options above are toggles with the exception of the filename to
- be printed and the /H help option. You may also get help by specifying /?
- or ? instead of /H. After displaying the help screen, PCLaser returns to
- DOS.
-
- The [path] may be a fully-qualified path name to the file to be printed.
- The path name may contain the DOS wildcards "*" or "?". If wildcards are
- specified, each file is printed completely before continuing with the next
- file.
-
- The /A option prompts for an alternate output file where the program's
- output is sent. You may redirect output to LPT2 by specifying /2. /BACK
- prints only the back sides of the page, while /FRONT prints only the front
- sides. Combining these with /A allows you to redirect output to different
- files and put the output together by copying them to the printer as
- appropriate.
-
- PCLaser produces output by default in a format similar to LaserLst, where
- two consecutive 66-line pages are side-by-side. PCLaser keeps this format,
- although it does print two more pages on the back side of each sheet of
- paper. Specify /B or /BOOK to print a file in booklet format like PCBook.
- /L allows you to print wide lineprinter-style reports on the front and back
- of each sheet. You cannot specify both /L and /B together.
-
- /R causes PCLaser to prompt for a beginning and ending range of pages to be
- printed. Note that this is physical page number, not based on the page
- numbering found in the file. You may print one page or all pages in the
- file.
-
- /T prompts you for a title to be used in the heading. PCLaser uses by
- default the file revision date (/D option), the file name (/F option) and
- the page numbers (/P option) as the contents of the heading, which is
- underlined. If you specify a heading, PCLaser doesn't use the file
- revision date or file name, and will use the page numbers if the specified
- title isn't too long. You may enter up to 80 characters for the narrow
- pages, and up to 170 characters for the wide pages. If the print file
- contains a heading already, PCLaser's heading may be turned off by specify-
- ing the /D, /F, and /P options again on the command line.
-
- If /C is specified on the command line, PCLaser pauses after counting the
- number of pages and asks you to press any key to continue or escape to
- stop. If escape is pressed, the program quits, even if there are more
- files to be processed. /S turns on the beeps at the various prompts. /W
- turns on line wrap. By default, output is truncated at the right margin
- unless you specify /W.
-
- PCLaser prints the pages so that all of the pages printed on side one are
- printed in one pass. The sheets may then be put back into the LaserJet
- paper tray and the back sides of the page may be printed. If you're using
- the top output bin on the LaserJet, the sheets may be reinserted in the
- paper tray without resorting. If you have used the rear output tray, the
- sheets must be reversed in order for proper printing.