FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version