I have a sales order acknowledgement document that is, based on variable data stored in our database, and generated through code in Visual Basic and printed on a HP laser jet printer in landscape orientation using the 'printer.print' method. This document may be from 1 up to 20 pages in length, and be printed in duplex or simplex depending on the country of the customer and document requirements.
My users have asked to be capable of e-mailing a copy of the document to their customer. They would also like to have the capability of previewing the document before they print it, and save the document in a file to attach and e-mail it.
The e-mail part is not the problem. I have that part worked out. The problem that I have is I don't have the slightest idea of how to give them the print preview option and how to save the document as a multiple page document in a file format that the customer will be able to view and print.
I am new to VB and am at a loss as how to give them these capabilities from within the program that they are using (written by myself). Can this be done, and what are the steps to do it.
Any help would be appreciated.
My users have asked to be capable of e-mailing a copy of the document to their customer. They would also like to have the capability of previewing the document before they print it, and save the document in a file to attach and e-mail it.
The e-mail part is not the problem. I have that part worked out. The problem that I have is I don't have the slightest idea of how to give them the print preview option and how to save the document as a multiple page document in a file format that the customer will be able to view and print.
I am new to VB and am at a loss as how to give them these capabilities from within the program that they are using (written by myself). Can this be done, and what are the steps to do it.
Any help would be appreciated.