tochunky(1)
tochunky - Convert an SGI image to CHUNKY printer data format
Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.
NAME tochunky - Convert an SGI image to CHUNKY printer data format SYNOPSIS tochunky [ -P printer_database ] [ -a xsize ysize ] [ -l xdpi ydpi ] [ -d K, CMY, or CMYK ] [ -z zoomfactor ] inimage.rgb DESCRIPTION tochunky converts an SGI image file into SGI CHUNKY data format, for use by CHUNKY format printer drivers. However, the SGI CHUNKY chunky format has been superseded by Stream TIFF (STIFF). Conversions from SGI Image File format to STIFF are most efficiently accomplished by converting from SGI Image File format to PostScript using the program sgi2ps and then converting the PostScript to STIFF using the program psrip. New development work should not use the SGI CHUNKY format. PROGRAM USAGE By default, tochunky assumes a zoomfactor of 1.0, and thus scales the image to be printed as large as possible without cropping. The -P option is followed by the full path to the printer's POD this option is given all settings except the zoomfactor are filled in from the config file, and need not be given unless the user wishes to override the settings in the POD database. The -a option specifies the printer's imageable area in dots in the horizontal (xsize) and vertical (ysize) directions. These values are normally derived from the POD database, which is kept up to date with the currently loaded paper size. The -l option specifies the printer resolution in dots per inch in the horizontal (xdpi) and vertical (ydpi) directions. These values are normally derived from the POD database, which is kept up to date with the current printer configuration. The -d option specifies the printer data format, one of the following: K (black only), CMY (CMY only), or CMYK (CMYK data). The data format is normally derived from the POD database, which is kept up to date with the current printer configuration. If the -z option is given, then the image will be resized based on zoomfactor. Zoomfactor is a floating point value between 0.0 and 1.0, inclusive. The zoomfactor argument specifies a relative scaling: the scaling is proportional to the area of page which should be filled, and zoomfactor may be considered to be a percentage fill argument when its value is between 0.01 and 1.00. However, -z 0.0 is the exception to the rule: -z 0.0 indicates that tochunky should not zoom the image, but should print exactly one printer dot per image pixel. The resultant image is never cropped and is always centered on the page. SEE ALSO sgi2ps(1), psrip(1) KNOWN BUGS 1. The -P option currently requires a full pathname to the printer's require just the printer name. 2. The -z option does not currently rotate the image if the image could be printed larger when printed 90 degrees rotated. 3. Since the -p ppi "pixels per inch" option is not implemented, setting the -l option will have no effect on the output image. FILES /usr/lib/print/tochunky Program file TRADEMARKS PostScript is a registered trademark of Adobe Systems, Inc. WARNING This program has been obsoleted. All new development should be done with sgi2ps and psrip and should use the STIFF file format. The tochunky program is provided for compatibility with previous releases of the Impressario product and may be removed from future releases.