home *** CD-ROM | disk | FTP | other *** search
- =============================================================
- INFORMATION ON THE "printer.dat" FILE
- =============================================================
-
- CLEAR provides a mechanism with which you can control the
- escape sequences being sent to the printer when text is
- being printed. This is accomplished with "printer.dat" file.
-
- If this file is present in the CCLEAR System directory, it is
- read and used to send printer commands during Source Print,
- Cross Reference and Prototype File WHEN THESE ARE SENT TO A
- LINE PRINTER (Not file).
-
- The form of "printer.dat" is:
-
- B
- beginning-page-printer-string
- E
- ending-page-printer-string
-
- The "beginning-page-printer-string" is sent when any header
- is printed; the "ending-page-printer-string" is sent after any
- pagefeed is printed. Escape characters may be included in
- either string as "\nnn" (where "nnn" is decimal representation
- of any character).
-
- The following sample "printer.dat" file:
-
- B
- \027(s16.66H
- E
- \027(s10H
-
- will change the default Courier font of the HP LaserJet printer
- to the Line Printer font (which is smaller) for each page of
- the text diagram being printed, and then change it back to the
- default setting.
-
-
-