we need Delphi code that does the following:
1. mem the default printer
2. mem the PDFCreator settings ([login to view URL]**pdfcreator**/)
3. set the computer default printer to PDFCreator
4. set Autosave for PDFCreator (the files must be printed silently)
5. set the file name to [login to view URL]
6. call the printing procedure (avaiable as a callback)
7. transmit the printed file to an external server via HTTP
8. reset the PDFCreator settings to the original values
9. reset the default printer to the original value
The code must work for Delphi5.
All the code must be incapsulated into 2 objects.
Please see the attachments for details.
The procedure that calls the 2 objects is also attached.
For HTTP, ICS library will be used ([login to view URL]) .
Code is attached that does almost all of what is required.
The coder will 'massage' the provided code so that it meets the specs and fully test it.
The coder may choose to write his own original code, provided the returned code meets the specs.