Incomplete form of -Jown option is treated as no authentication setting being made. In such case, if authentication
setting is made with the environmental variable, it is used as setting information.
To convert the program list of the file.txt file into the PostScript language program that sets the paper to the landscape
orientation and prints in the 2-up mode, type as follows:
% txt2ps2 -r -2 file.txt | lp
To convert file.txt to the PostScript language program and output it to the file.ps file, type as follows:
% txt2ps2 file.txt > file.ps
% lp file.ps
To convert the output result of the command into the PostScript language program using txt2ps2 and print it to the
printer, type as follows:
% ls -alF | txt2ps2 | lp
Optional settings based on the environmental variable. To output in the 2-up mode, 8 points and the landscape
orientation, type as follows:
% setenv TXT2PS2OPTION "-2 -s8 -r"
To use the same options as those of the dellpsif filter specified by printcap, type as follows:
% setenv TXT2PS2OPTION "<dellpsif>"
This is the default command option setting file for individual users.
When the same option is specified twice, the later setting will prevail. As TXT2PS2OPTION is analyzed before the
option of the command line, it is possible to temporarily modify the options already set in TXT2PS2OPTION by typing
at the command line.
The comment description (%%page:m n) of the page number cannot be output to the PostScript program file which
is output by the default option of txt2ps2. Thus, when the output of txt2ps2 is to be taken as the output of another
application (psrev of TRANSCRIPT, etc.), add the page number description by inserting the line command (-
If a BS code is found at the beginning of a line, the print position of the next character will be located at the left of
the beginning of the line.
When there are multiple tab codes in one line, the tab position may be off as a result of automatic line feed. In
such case, use the -I or -w option.
The number of columns specified by the -w option is not the actual number of printed characters. The actual
number of single-byte characters to be printed is derived by deducting the output column position (outcolumns)
specified by the o option from the number of columns specified by the -w option.
The -mg option cannot be specified when -w, -l, -o, and -L option are specified.
The start positions of margin of the margin command (-mg=u:b:r:l) are not set against the edge of the paper. The
margins are set against the printable area of the paper allowed by the printer.