Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multi-page print preview

Status
Not open for further replies.

flyrodder

Programmer
Aug 19, 2002
18
US
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.



 
Thanks for your reply. I have it working now. I used a picture file and saved it out as a binary file to be emailed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top