using pcl2pdf macro in AIX
Bruce Easton
bruce at stn.com
Wed Nov 10 23:25:41 PST 2010
On 11/10/10 11:18 PM, Kenneth Brody wrote:
> On 11/10/2010 2:56 PM, daN baueR wrote:
> [...]
>>>> usage: pcl2pdf.sh<INPUTFILENAME> <OUPUTFILENAME>
>>>> e.g. pcl2pdf.sh filename.prt filname.pdf
>>>> sh: newwood: not found.
>>> Many utilities accept "-" as a filename to mean "use stdin".
>> at the prompt I entered this:
>>
>> # newwood | pcl2pdf
>> and that returned an error message saying the correct syntax was
>> pcl2pdf file.pcl file.pdf
> Why didn't you try "-" as the filename, to see if it takes that for stdin,
> as I suggested?
>
> newwood | pcl2pdf - /tmp/output.pdf
>
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. But I'm wondering if I'm looking at the right product. 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. but another PDF guide online says an AXIAR product - well it does
mention the other site: visual.co.uk at the bottom. So I guess this is
all the same thing.
OK, well now I did find something for version 6.0 of pcl2pdf:
* Support for *piping in PCL print data* from the stdin console added
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:-
C> type test.pcl | PCL2PDF con test.pdf
-pages (Windows)
cat test.pcl | ./PCL2PDF con test.pdf
-pages (Unix)
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.
Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20101111/518a9e85/attachment.html
More information about the Filepro-list
mailing list