printer friendly version

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

printer friendly version

Post by Burrito »

I have come across a million web sites that offer a "printer friendly" version of some of the pages. Most of them take you to a new page with a print button on them that you can click to print what's on the screen using window.print() I'm sure....however I came across one the other day (maybe mapquest...cant' remember for sure) where I clicked the print button and my pritner dialogue popped up and I clicked print like a good little boy, but when I ran to the print device I was pleasantly surprised to see ONLY THE INFO I WANTED! I'm wondering how in they did this? could it be they had a hidden Iframe or something on the page and then printed just that frame with all of the goods?

if anyone has some ideas / suggestions as to how to make a "good" printer friendly version, please shed some light.

thx,

Burrito
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

cool man, thx.

Burr
Post Reply