Hope you can help me. I have Postscript 1 and 2 files that have patient demographic info in them. When I open them up in a text editor I can not make out the patient's name or account number or any data that displays when the file is opened in a viewer so I don't know who the file belongs to. They display fine in a postscript viewer. The postscript files are a form so they have fields like PATIENT: JOE BLOW and ACCOUNT #: 99999999 , etc. I have a process that will file these documents to the patient's record but I need to extract this info first in order to attach the document to the patient's record. Some postscript files I receive I can find these labels in a textual format with my application and can then determine where the corresponding value is and extract it with my application. Others I can not.
Is there a utility that can scan the postscript code looking for these strings (like ACCOUNT#: ) in the postscript language, and then extract the value associated with it (like 99999999) and give me the textual, not postscript, value written out to a file or passed back to my program? Or, Is there a utility that will just rewrite the entire postscript file in it's textual representation. Then my process can read the generated file and pick out the values. I really only need to know the account number.
Any information you can give me would be greatly appreciated.
In reply to Postscript to Text Values by GThorne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |