Develop a virtual print driver that can be installed on a desktop or as a network driver. This virtual printer will be used to print invoices only with header, body and footer structure.
The virtual printer should export two files from the print event:
1. Image file in a PDF format
2. XML file with the header and footer data, e.g. invoice number, total amount, vat amount, invoice date, supplier name, customer name, etc.
The two files will be saved in a network directory in a unique file names, with same name to the two files, one with extension of PDF and the other with XML extension.