Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## print-text-file

Arguments: pathname-string &key font left-margin-in-inches right-margin-in-inches newline-spacing-in-lines just-return-text-height-p

Prints a text file located at pathname-string on a printer in a particular font, using a particular left-margin-in-inches and right-margin-in-inches. Wraps text as needed at spaces to prevent it from exceeding the right margin.

If newline-spacing-in-lines is greater than zero, then this additional amount of space will be left between lines where there is an explicit newline in the text (but not where text wraps automatically).

If just-return-text-height-p is true, then no printing is done, and instead a number is returned indicating the total vertical pixel height of all of the text. This can be used to determine the amount of space or number of pages that a particular font would require, for example.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version