PCLCOMP(1) PCLCOMP(1) NAME pclcomp - Compress PCL graphics files. SYNOPSIS pclcomp [ -0123drsvz ] [ -n num ] [ inputfile [ outputfile ]] DESCRIPTION Pclcomp compresses (or decompresses) HP-PCL (Printer Control Language) graphics data. The supported compression modes are 0 (uncompressed), 1, 2 and 3. Pclcomp will read files using any of the modes 0 through 3, and will output using the modes which will give the best compression. This compressed version of the file may be sent directly to a PCL compatible printer, thus reducing I/O bandwidth. Pictures may also be saved in compressed form, reducing disk usage. In addition, PCL "imaging" files for the PaintJet XL are also supported. The options to pclcomp control the compression modes. By default, pclcomp will use all modes it knows about, but the user may restrict which output modes it uses by specifying them on the command line with the -0, -1, -2 and -3 options. To decompress a file, simply specify -0 as the only mode to use for output. Mode 0 ( -0 ) should always be allowed since modes 1, 2 and 3 cannot be guaranteed to be better than mode 0 for all types of pictures. The -z option disables the zero "strip" feature. Since most printers do zero "filling", pclcomp, by default, "strips" the trailing zeros of each row (or plane) of data. Some printers or programs may require that zero "stripping" be disabled. By default, pclcomp expects the input raster width to be 2400 pixels (8" at 300 dpi), and if it is different (e.g. PaintJet), then the raster width should be specified by the Source Raster Width escape sequence <esc*r#S>. However, many applications do not set the width and assume a default, therefore, the user may use the -n option to pclcomp to specify a new default raster width. For PaintJet (8" at 180 dpi), the number should be 1440. If the PCL file contains the Source Raster Width escape sequence, it will override this default. If pclcomp thinks that more data is coming in than the specified width, it will generate a warning, and continue processing (and perhaps truncating) data. The -r option causes pclcomp to append a reset sequence (<esc>E) to the end of the job. Use the -d option to pclcomp if the output is to be sent to a DeskJet printer. - 1 - Formatted: April 30, 1991 PCLCOMP(1) PCLCOMP(1) Some applications erroneously send <esc>*rB and <esc>*rA sequences between every row of graphics data. The -s option to pclcomp will "strip" all <esc>*rB sequences, and all <esc>*rA sequences after the first occurrence of this sequence. In addition, text and control characters residing between <esc>*rA and <esc>*rB sequences will be discarded. While this will work well for many jobs, it may have problems on multi-page or complex jobs. The -v option simply gives statistics to stderr about which compression modes were used. EXAMPLES To compress a PCL file for LaserJet III, use: pclcomp infile outfile To compress a PCL file for the PaintJet (A size page at 180 dpi), use: pclcomp -01 -n 1440 infile outfile To compress a PCL file for DeskJet, use: pclcomp -d012 infile outfile To fully decompress a PCL file, use: pclcomp -0z < infile > outfile WARNINGS The -z option can cause the output to be larger than the input. The -s option is useful, but it can cause erroneous output. AUTHOR Tony Parkhurst, Hewlett-Packard, San Diego Division (firstname.lastname@example.org) - 2 - Formatted: April 30, 1991
|file: /Techref/language/pcl/grphcomp/pclcompm.txt, 3KB, , updated: 1991/4/30 12:14, local time: 2022/6/26 07:17,
|©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://piclist.com/techref/language/pcl/grphcomp/pclcompm.txt"> language pcl grphcomp pclcompm</A>
|Did you find what you needed?|
PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220626
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to piclist.com!