Receiving PCL(Printer command language), extract information and write in xml document
I want you to write a printer driver, which will get the document sent from any application like word, pdf etc, it will parse the document to fetch the important information and write that information into an xml file.
for example, suppose there is a pdf document which along with other information contains patient name, age, address etc. User clicks file-->print in adobe.
This print request will be received in the printer driver application you will write, as this application will receive the file, it will extract patient name, age, address etc from the PCL Stream and will write this information in an xml file.