<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 11/10/10 11:18 PM, Kenneth Brody wrote:
    <blockquote cite="mid:4CDB6EB2.5060503@spamcop.net" type="cite">
      <pre wrap="">On 11/10/2010 2:56 PM, daN baueR wrote:
[...]
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">usage: pcl2pdf.sh&lt;INPUTFILENAME&gt;    &lt;OUPUTFILENAME&gt;
   e.g. pcl2pdf.sh filename.prt filname.pdf
sh: newwood:  not found.
</pre>
          </blockquote>
          <pre wrap="">
Many utilities accept "-" as a filename to mean "use stdin".
</pre>
        </blockquote>
        <pre wrap="">
at the prompt I entered this:

# newwood | pcl2pdf
and that returned an error message saying the correct syntax was
  pcl2pdf file.pcl file.pdf
</pre>
      </blockquote>
      <pre wrap="">
Why didn't you try "-" as the filename, to see if it takes that for stdin, 
as I suggested?

newwood | pcl2pdf - /tmp/output.pdf

</pre>
    </blockquote>
    I tried that earlier and it just came back with usage instructions
    for the command which did not include, from what I could tell, any
    way to use stdin.&nbsp; But I'm wondering if I'm looking at the right
    product.&nbsp; One site that has such a product is for a company called
    G-Futures t/as Visual Software, and their command guide seems to
    match the usage I saw.&nbsp; but another PDF guide online says an AXIAR
    product - well it does mention the other site: visual.co.uk at the
    bottom.&nbsp; So I guess this is all the same thing.&nbsp; <br>
    <br>
    OK, well now I did find something for version 6.0 of pcl2pdf:<br>
    <br>
    <ul>
      <li><font face="Verdana" size="2">Support for <b>piping in PCL
            print data</b> from the stdin console added</font>
        <blockquote>
          <p><font face="Verdana" size="2">Pcl2pdf can now accept PCL
              print data piped in from the stdin console. This can be
              particularly useful for Unix developers wishing to script
              the conversion process and avoid unnecessary temporary
              files. Example console command line usages are:-</font></p>
          <blockquote>
            <p><font face="Verdana" size="1">C&gt; type test.pcl |
                PCL2PDF con test.pdf -pages&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Windows)</font></p>
            <p><font face="Verdana" size="1">cat test.pcl | ./PCL2PDF
                con test.pdf -pages&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Unix)</font></p>
          </blockquote>
          <p><font face="Verdana" size="2">The pseudo filename "con"
              instructs Pcl2pdf to read the PCL print data from stdin
              instead of a disk based file. Note that Pcl2pdf cannot
              write the output PDF document data to stdout due to the
              highly structured and cross referenced nature of the PDF
              file format specification.</font></p>
        </blockquote>
      </li>
    </ul>
    Bruce<br>
    <br>
    <br>
    <br>
  </body>
</html>