View Single Post

   
  #8 (permalink)  
Old 02-15-2008, 04:52 PM
Michel Donais
 
Posts: n/a
Default Re: PDF creation in Unix

> > > I am interested in any PDF creation software for Unix.
> > > I have OS5.0.7.

I do it for Hylafax with Sco 5.0.4

The output is from a PCL printer or read a file
cat outfile$ | /tmp/fax3 $PHONE $SERVER $SENDER 2>/dev/null

My script: fax3
---------------------------cut here ---------------------
#!/bin/sh
PHONE=$1
SERVER=$2
SENDER=$3
cat $4 > /tmp/temp.$$
# /usr/local/bin/pcl2ps /tmp/temp2.$$ /tmp/temp3.$$
/usr/local/bin/pcl2pdf /tmp/temp2.$$ /tmp/temp3.$$

# sent to fax
/usr/local/bin/sendfax -m -n -d $PHONE -h $SERVER -D $SENDER /tmp/temp3.$$
1>/dev/null

rm -f /tmp/temp.$$
rm -f /tmp/temp2.$$
rm -f /tmp/temp3.$$
exit 0
------------------------------------end cut ---------------------------

I do it using ghostscript found at
ftp://ftp2.sco.com/pub/skunkware/osr...-6.51-VOLS.tar

and ghostpcl already build under SCO 5.0.7 by Brian K. White
http://www.aljex.com/bkw/sco/ghostpcl.tar.bz2

Michel


Reply With Quote