ghostpdl
Brian K. White
brian at aljex.com
Tue Feb 17 00:04:37 PST 2009
----- Original Message -----
From: "Jean-Pierre A. Radley" <appl at jpr.com>
To: "FilePro Mailing List" <filepro-list at lists.celestial.com>
Sent: Monday, February 16, 2009 5:18 PM
Subject: Re: ghostpdl
> Brian K. White propounded (on Sun, Feb 08, 2009 at 04:59:09AM -0500):
> | I have started using the openSUSE build service and just made new packages of ghostpdl-1.54 for opensuse 10.3 to 11.1, i586 and x86_64 for each.
>
> ...the included pcl2fax script outputs data that hylafax does not have
> to translate or convert at all to fax it so theres no wasted cpu.
>
> Well, after you generate a PCL file, sure, you can filter it through
> pcl2fax on its way to Hylafax, or you can let Hylafax itself invoke the
> filtering (using the following entry in the typerules file). It uses no
> more and no less CPU cycles.
>
> 0 short 0x1b45 tiff pcl6 -dNOPAUSE -sDEVICE=tiffg3 -sOutputFile=- %i > %o
Oh definitely.
For dumping filepro output directly into hylafax that's the only way to go.
As it happens, I use pcltotif from vsifax for that because it's about a zillion times faster and renders graphics about a zillion times better, and because we actually have vsifax licenses. You can also use the one from the free downloadable vsifax demo. The overall vsifax demo expires in 30 days but you can get pcltotif to run forever.
My typerules:
# 20070219 bkw - HP Printer Control Language
# Using pcltotif (JetPCL) from VSI-FAX (free from the downloadable VSI-FAX demo).
0 string .E tiff pcltotif -h off -E fine -o %o %i
0 string .%-12345X tiff pcltotif -h off -E fine -o %o %i
# Using GhostPDL:
#0 string .E tiff pcl6 -dNOPAUSE -dBATCH -dSAFER=true -sDEVICE=tiffg3 -sPAPERSIZE=letter -dFIXEDMEDIA -r203.29x196 -sOutputFile=%o %i
#0 string .%-12345X tiff pcl6 -dNOPAUSE -dBATCH -dSAFER=true -sDEVICE=tiffg3 -sPAPERSIZE=letter -dFIXEDMEDIA -r203.29x196 -sOutputFile=%o %i
The ghostpdl lines wrapped of course, sorry, and the "." in ".E" and ".%-12345X" are litteral esc characters since I couldn't find any sort of plain text representation like \E or \033 or ^[ that worked, nor does the documentation suggest there is any.
I think I like your way better for excatly that reason.
--
Brian K. White brian at aljex.com http://profile.to/KEYofR
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!
More information about the Filepro-list
mailing list