Click to See Complete Forum and Search --> : Newbie needs help with printing issue


Claus
06-22-2003, 10:17 PM
I'm very new in the Web developement area, mainly working with Dreamweaver and trying to understand VisualStudio. I managed to put some websites together and also had my first success with accessing SQL.

I would like to accomplish something where I can't find any documentation or books. I would like to put a print button on a page (that's the easy part).

Now comes the part where I don't have a clue: When the user clicks on this button a hidden page should call the Windows Print UI and be printed. I would like this page to be pre-formatted as "printer-friendly" (whatever that means...can it be a word document?). The page will always be the same, except I need to grab 2 variables for images on the page that has the print button and place them into place holders on the page that needs to be printed.

I have no clue how to go about this and would appreciate any help that could get me going....books, sample code... anything.

Thanks

Claus

Claus
06-23-2003, 07:57 AM
David,

Thanks for the answer. I do understand your first suggestion which I believe can be hooked onto an image. But where do I put the reference to the document in your button example?

Also, do you know of any good books or "How to" on line that will teach me to construct a "printer friendly" document that will accept variables on the fly?

Given that I work quite a bit with VB I think I can extract the needed knowledge from sample scripts as well.

Any help that gets this newbie started would be very much appreciated.

Thanks