home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / PRINTING / PCLCM128.ZIP / PCLCOMP.MAN < prev    next >
Text File  |  1991-04-30  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.      PCLCOMP(1)                         PCLCOMP(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.       pclcomp - Compress PCL graphics files.
  10.  
  11.      SYNOPSIS
  12.       pclcomp [ -0123drsvz ] [ -n num ] [ inputfile [ outputfile ]]
  13.  
  14.  
  15.      DESCRIPTION
  16.       Pclcomp compresses (or decompresses) HP-PCL (Printer Control
  17.       Language) graphics data.  The supported compression modes
  18.       are 0 (uncompressed), 1, 2 and 3.  Pclcomp will read files
  19.       using any of the modes 0 through 3, and will output using
  20.       the modes which will give the best compression.  This
  21.       compressed version of the file may be sent directly to a PCL
  22.       compatible printer, thus reducing I/O bandwidth.  Pictures
  23.       may also be saved in compressed form, reducing disk usage.
  24.       In addition, PCL "imaging" files for the PaintJet XL are
  25.       also supported.
  26.  
  27.       The options to pclcomp control the compression modes.  By
  28.       default, pclcomp will use all modes it knows about, but the
  29.       user may restrict which output modes it uses by specifying
  30.       them on the command line with the -0, -1, -2 and -3 options.
  31.       To decompress a file, simply specify -0 as the only mode to
  32.       use for output.  Mode 0 ( -0 ) should always be allowed
  33.       since modes 1, 2 and 3 cannot be guaranteed to be better
  34.       than mode 0 for all types of pictures.
  35.  
  36.       The -z option disables the zero "strip" feature.  Since most
  37.       printers do zero "filling", pclcomp, by default, "strips"
  38.       the trailing zeros of each row (or plane) of data.  Some
  39.       printers or programs may require that zero "stripping" be
  40.       disabled.
  41.  
  42.       By default, pclcomp expects the input raster width to be
  43.       2400 pixels (8" at 300 dpi), and if it is different (e.g.
  44.       PaintJet), then the raster width should be specified by the
  45.       Source Raster Width escape sequence <esc*r#S>. However, many
  46.       applications do not set the width and assume a default,
  47.       therefore, the user may use the -n option to pclcomp to
  48.       specify a new default raster width.  For PaintJet (8" at 180
  49.       dpi), the number should be 1440.  If the PCL file contains
  50.       the Source Raster Width escape sequence, it will override
  51.       this default.  If pclcomp thinks that more data is coming in
  52.       than the specified width, it will generate a warning, and
  53.       continue processing (and perhaps truncating) data.
  54.  
  55.       The -r option causes pclcomp to append a reset sequence
  56.       (<esc>E) to the end of the job.
  57.  
  58.       Use the -d option to pclcomp if the output is to be sent to
  59.       a DeskJet printer.
  60.  
  61.  
  62.  
  63.                    - 1 -    Formatted:    April 30, 1991
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      PCLCOMP(1)                         PCLCOMP(1)
  71.  
  72.  
  73.  
  74.       Some applications erroneously send <esc>*rB and <esc>*rA
  75.       sequences between every row of graphics data.  The -s option
  76.       to pclcomp will "strip" all <esc>*rB sequences, and all
  77.       <esc>*rA sequences after the first occurrence of this
  78.       sequence. In addition, text and control characters residing
  79.       between <esc>*rA and <esc>*rB sequences will be discarded.
  80.       While this will work well for many jobs, it may have
  81.       problems on multi-page or complex jobs.
  82.  
  83.       The -v option simply gives statistics to stderr about which
  84.       compression modes were used.
  85.  
  86.      EXAMPLES
  87.       To compress a PCL file for LaserJet III, use:
  88.            pclcomp infile outfile
  89.  
  90.       To compress a PCL file for the PaintJet (A size page at 180 dpi), use:
  91.            pclcomp -01 -n 1440 infile outfile
  92.  
  93.       To compress a PCL file for DeskJet, use:
  94.            pclcomp -d012 infile outfile
  95.  
  96.       To fully decompress a PCL file, use:
  97.            pclcomp -0z < infile > outfile
  98.  
  99.      WARNINGS
  100.       The -z option can cause the output to be larger than the
  101.       input.
  102.  
  103.       The -s option is useful, but it can cause erroneous output.
  104.  
  105.      AUTHOR
  106.       Tony Parkhurst, Hewlett-Packard, San Diego Division
  107.       (tony@sdd.hp.com)
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                    - 2 -    Formatted:    April 30, 1991
  130.  
  131.  
  132.  
  133.