Embedded Systems Building Blocks, Second Edition

HPLISTC and TO are MS-DOS utilities that are provided in both executable and source form for your convenience.
HPLISTC is an MS-DOS utility to print C source files on an HP Laserjet printer. HPLISTC will print your source code in compressed mode; 17 characters per inch (CPI). An 8 1/2" 11" page ( portrait) will accommodate up to 132 characters. An 11" 8 1/2" page ( landscape) will accommodate up to 175 characters. Once the source code is printed, HPLISTC return the printer to its normal print mode.
The main directory for HPLISTC is C:\SOFTWARE\HPLISTC. HPLISTC is provided in two files: HPLISTC.EXE (see C:\SOFTWARE\HPLISTC\EXE) is the MS-DOS executable and HPLISTC.C (see C:\SOFTWARE\HPLISTC\SOURCE) is the source code.
HPLISTC prints the current date and time, the filename, its extension, and the page number at the top of each page. An optional title can also be printed at the top of each page. As HPLISTC prints the source code, it looks for two special comments: /*$TITLE=*/ or /*$title=*/ and /*$PAGE*/ or /*$page*/.
The /*$TITLE=*/ comment is used to specify the title to be printed on the second line of each page. You can define a new title for each page by using the /*$TITLE=*/ comment. The new title will be printed at the top of the next page. For example:
/*$TITLE=Matrix Keyboard Driver*/
will set the title...