Syntax %%IncludeFeature:criscrlf
(value)
Purpose Controls the default line termination mode (the
<ESC>&k#G
command). Specifies the line termination treatment of a carriage
return.
Variable
value
Purpose Specifies whether a carriage return is treated simply
as a carriage return, or as a carriage return-line feed
combination.
Range Off/false—Treat line feed as a line feed.
On/true—Treat line feed as a carriage return-line
feed combination.
Default Printer configuration dependent
Format Boolean
Notes The result of various settings for these parameters is
shown in table below, in terms of the equivalent code
passed to the PCL line termination command
(
<ESC>&k#G
). The second setting (lfiscrlf on, criscrlf
off) is correct for most ASCII listings printed from
UNIX machines. PC listings should usually be done
with both items set to off, and Macintosh listings
usually require the third setting (lfiscrlf off, criscrlf on).
The following table shows the criscrlf/lfiscrlf
commands and the corresponding PCL Line
Termination command parameters.
LFISCRLF CRISCRLF PCL Code Comments
Off Off 0 CR→CR,LF→LF,FF→FF
On Off 2 CR→CR,LF→CR-LF,FF→CR-FF
Off On 1 CR→CR-LF,LF→LF,FF→FF
On On 3 CR→CR-LF,LF→CR-LF,FF→CR-FF