Skip to main content
April 29, 2013
Question

Parsing postscript file

  • April 29, 2013
  • 1 reply
  • 3241 views

Hi.

To extract Purchase Order number from postscript file after Cristal Report 8.5 in current environment (Windows 2003 (32 bit.), Cristal report 8.5)

we re parsing this file with gawk/awk and renaming file using this number,  as result Vendor will receive .pdf file named as PO number.

Same task for Cristal Report 11.5 fails (Windows 8 (64 bit), Cristal Report 11.5, Virtual printer Apple(or HP), gawk/awk does not work.

Could you please let us know what technology we can use to extract this information now.

Thanks.

This topic has been closed for replies.

1 reply

Participating Frequently
April 29, 2013

Please post (an URL to)  sample files for both versions for me to look into.

Helge

April 29, 2013

Thank you for response, Helge.

Can I send these files by email?

Thnaks,

Alex

April 29, 2013

This image below shows the string we are looking for in good/old postscript file (Cristal Report 8.5).

Postscript file form CR 11.5 does not have this section at all, neither we can not find requested string at all

(looking in ASCI).

When we reconvert PS file from CR 11.5 with ps2txt.exe we can find something relative to our numbers but we are not sure if this is only way.

Thanks.