Tiff2ps2 (linux/solaris/hp-ux), Example, Important – Dell 3110cn Color Laser Printer User Manual

Page 399: Format, Function

Advertising
background image

Example

To output the displayed screen image to a file using the snapshot command and convert the file into the
PostScript language program using the sunras2ps2 command, type as follows.

% sunras2ps2 file.rs > file.ps

To output the displayed screen image to a file using the snapshot command, convert the file into the
PostScript language program using the sunras2ps2 command and output it to a printer, type as follows.

% sunras2ps2 file.rs | lp

Important

When -s and -S are specified at the same time or when the same option is specified twice, the later
setting will prevail.

If the output size option (-s, -S) is not specified, scaling will be executed taking one pixel of the raster
data as one pixel of the printer.

If the print position option specifies a point beyond the printable area of the printer, data beyond the
printable area will not be printed.

tiff2ps2 (Linux/Solaris/HP-UX)

Format

/usr/local/dellbin3110/tiff2ps2 [-d] [-D] [-Itray-input] [-t] [-r] [-n] [-l=left,bottom] [-

s=width,height] [-S=width] [-E] [-Nc=copies] [-Cl] [-Hd=position:format] [-Hffont] [-MSI] [-

M=type] [-Mfo=mode] [-Pon] [-St=mode] [-Sp] [-Sb] [-Cm=mode] [-Pr=mode] [-Cc=mode] [-

Gc=mode] [-Sc=mode] [-Gg=mode] [-Ct] [-Br= mode] [-RGBc= mode] [-RGBPr= mode] [-RGBTp= mode]

[-Cb=cyan-low:cyan-middle:cyanhigh:magenta-low:magenta-middle:magenta-high:yellow-

low;yellow-middle:yellow high:black-low:black-middle:black-high] [-

Hld=PrintType:UserID:Password:DocumentName] [-Jown= jobownername:password] [filename...]

Function

Reads TIFF data, converts it to the PostScript language program and writes to standard output. If the
filename is not specified, the standard input will be taken as the command input. TIFF files with a pixel depth
of 1, 4, 8, 24, and 32 bits can be specified.
There are four types of supported compression formats.
Huffman compression (CCITT Group 3 transformed Huffman run length encoding)
Fax-CCITT3 compression (facsimile-compatible CCITT Group 3)
PackBits compression
Non-compression
Even in the above compression format, the TIFF file that has multiple images in one file is not supported.
tiff2ps2 takes filename as having been created in 72 dpi and calculates the output size. Thus, to convert TIFF
files created in other resolutions, specify the size option (-s, -S) explicitly for conversion.

Advertising