home *** CD-ROM | disk | FTP | other *** search
- Copyright (c) Les Hancock 1990
-
- Utility for listing files to HP DeskJet printer in landscape mode.
- Written in C++, compiled with Zortech 2.0.
-
- usage: djprint [-n] [-tx] [-qx] [-vx] [-hxx] [[-]?] [-ofnam] file [file...]
-
- -n: no page headers (headers by default)
- -tx: expand tabs to x spaces (default 3)
- -qx: printer quality 0, 1 or 2; 0 = lowest (default 0)
- -vx: x = 6 or 8 lines per inch (default 6)
- -hxx: xx = 10, 16 or 20 characters per inch (default 20)
- ? or -?: show this help message
- -ofnam: output to file 'fnam' (default: LPT1)
-
- parms can't be stacked (separate -[option] required for each)
- multiple output file specs: take only last file named
- order of options/filenames isn't significant
- minimal validation and error checking
-
- Author: Les Hancock, CIS 74156,3262
- Revision history: 1.0, 2/10/1990 -- original code
-