![background image](/i/dell/157615/dell-3100cn/h/dell-3100cn-131.png)
Example
To convert the XWD image into the PostScript language program and output it to a file, type as follows.
To output the XWD image to a printer, type as follows.
Important
l
When
-s
and
-S
are specified at the same time or when the same option is specified twice, the later setting will prevail.
l
When the output size option (
-s
,
-S
) is not specified, scaling will be executed taking one pixel of the TIFF data as one pixel of the printer.
l
If the print position option (
-l
left bottom
) specifies a point beyond the printable area of the printer, data beyond the printable area will not be printed.
dellpsif (Linux)
Format
% xwd2ps2 file.xwd > file.ps
% xwd2ps2 file.xwd | lpr
(for Linux)
% xwd2ps2 file.xwd | lp
(for Solaris/HP-UX)
/usr/local/dellbin3100cn/dellpsif -w
width
-l
length
-i
indent
-n
login
-h
host accountfile
Function
If the first two characters of the input data are not
%!
, the dellpsif filter will convert it to the PostScript language program that can be output according to the
paper size. If the first two characters of the input data are
%!
, it will be considered the PostScript language program and no data conversion will be executed.
The following control codes are interpreted for the conversion of input data.
LF
Line feed
FF
Form feed
TAB
8-column tab stop
BS
Backspace 1 character
The dellpsif is the hard link file of txt2ps2.
The dellpsif filter will be used as the IF filter specified by
/etc/printcap
.
The lpd daemon will specify the following command options and start up the dellpsif filter.
dellpsif -w
width
-l
length
-i
indent
-n
login
-h
host accountfile
In addition, options useable by txt2ps2 can be specified by the
/usr/local/dellbin3100cn/.dellpsdefault3100cn
file. With this option, detailed control can be
achieved. However, if the input data are PostScript files, only the following options of txt2ps2 will become valid.
-d
Enables the short-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so