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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save/Print multiple web pages

Status
Not open for further replies.

RandyBlackburn

Programmer
Joined
Oct 1, 2002
Messages
153
Location
US
I want to save two of my summary web pages as a single document (preferably) for later emailing or printing. One has a bunch of text (titles, etc), a logo, some buttons, and a data grid. The second has the same, but a table vs a datagrid. They need to print in landscape mode. Of course, I don't want to print the buttons, so I guess I can move to separate "print" pages (or hide them). And I will need a button to initiate the printing.

I could use crystal, but am not sure how to install it onto the client's server.

I've seen references to CSS @media, but I don't really understand how it all fits together.

I'd appreciate a simple example that shows all the pieces.

Thanks,
Randy (obviously a newbie)
 
I've seen references to CSS @media
That's definately the best route to go down. You'll have to set up a seperate stylesheet for the page layout that you want when the page is printed, and then simply imclude a link to that stylesheet with the media attribute set to print (the browser will take care of the rest). Also, if you want a button to initiate the printing, you'll have to use JavaScript.

If you have any problems with either of those solutions, I'd suggest asking in the respective HTML and JavaScrip forums.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top