HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Postscript / Perl Parse



> What is the best way to do this. Is there a way to convert it now or do
> I need to have them redesign it?

Make sure they're using (unique!) dummy text in each field you wish to
replace, like XXY_FIELD1_YXX, etc.

Then just "Print to Postscript" (Print to File with a very basic Postscript
printer driver, like the Apple Laserwriter II or HP Laserjet 4PS, etc).

That will be a pure ASCII Postscript file.

You can then easily look for the unique field names and replace them on the
fly with your desired text.

Be careful though - if you have "multi-line" data, you will need to have
dummy text for each one, or handle the wrapping of the text on your own. 
THIS IS NOT DONE FOR YOU IN POSTSCRIPT.

=R=

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxxxxx*




Project hosted by iFAX Solutions