7.5

Table Of Contents
The line printer emulation does not have any options other than the general text-based emulation options (see "Text-Based
Emulation Properties" (page 81))
ASCII Emulation
ASCII emulation tells the document to treat the input data as a stream of ASCII characters. The document reads the data
stream one character at a time, constructs a line, and adds that line to the data page buffer.
In this emulation, you can define how the document handles carriage returns that are not followed by line feeds and how it han-
dles tabs. You can also define whether you want the document to remove any Hewlett Packard Printer Control Language (HP
PCL) escape sequences it encounters.
If you use an ASCII emulation, you need to know if your printer supports binary mode as this is the recommended mode for
ASCII emulation. On printers that support binary mode, you can switch the printer to binary mode using the printer keypad or
by sending the appropriate PostScript code to the printer.
In binary mode, the printer reads the end of line characters (carriage return [CR], line feed [LF], and carriage return followed
by a line feed [CRLF]) as they appear in the data stream and does not perform any substitution. A printer that does not support
binary mode or is not running in binary mode replaces any CR, LF, or CRLF that appears at the end of a line of data with a LF.
A form feed signals the end of a data page in ASCII emulation. If no form feed occurs in the data stream, the emulation adds
data to the data page buffer until the buffer is full.
ASCII emulation options
l Tab on carriage return:Select this option to fix formatting problems caused by isolated CR characters found within
the data. When this option is selected, isolated CR characters are spaces, as defined in the Number of spaces in
the tab box below. Note that this option is available only when the Read in binary mode option is selected.
l Number of spaces in the tab: Enter the number of spaces you want the application to use when an isolated
carriage return character is found within the data. This number typically corresponds to the maximum column
number. If your data is formatted so as to occupy a maximum of 120 characters on each line, enter a value of
120 in this box, so when an isolated CR character is found, the data following the CR character will appear start-
ing from column 121. Note that this option is available only when the Tab on carriage return option is
selected
l Number of spaces per tab: Enter the number of spaces you want to use when actual TAB characters are found
within the data.
l Remove HP PCL escapes: Select if you want all Hewlett Packard Printer Control Language escape sequences to be
removed from the data.
Comma Separated Value (CSV) Emulation
CSV emulation tells the document to read the input data one line at a time and to treat each line as a database record. It also
specifies the field delimiter the document uses to distinguish the different fields of a record. The document reads the data
stream one line at a time and puts each field of the database record on a separate line in the data page buffer.
In CSV emulation, the emulation adds lines to the data page buffer until the buffer is full. You can force a new data page for
each record when you set up the emulation.
Note that a double text delimiter within a field is not considered a normal character when not using the Optimized PostScript
Stream option or when printing using a Windows printer driver.
©2010 Objectif Lune Inc - 82 -