Prints plain text to a printer.
print-text prints plain text to a printer specified by
, and defaulting to the current printer.
is called repeatedly with no arguments to enumerate the lines of text. It should return
nil when the text is exhausted.
argument, which defaults to 8, specifies the number of spaces printed when a tab character is encountered.
print-text starts a new page when a line consisting of just a formfeed character (ASCII 12) is found in the text.
t, then a print dialog is displayed. This is the default behavior.
should be a
gp:font object, or a Font Description object, or a symbol which is a font alias as defined by define-font-alias. The printed text is line wrapped on the assumption that the font is fixed width, so be sure to pass a suitable font. The default value of
is a Font Description for a fixed pitch font of size 10.
CAPI User Guide and Reference Manual (Windows version) - 25 Feb 2015