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!

Text not on print version...

Status
Not open for further replies.

wouter

Technical User
Jul 3, 2000
45
NL
Hello,

i have a printable version of my website. But i don't want users to see the printable version in their screen. So i made a little popup box what said: "Now printing" (or something like that). But i'd prefer no text at all in the screen, because this text appears on the print too, which looks kinda odd. Is it possible to have text on my screen (now printing) but that it is left out of my print?

Maybe my next question is easier:
Is is possible to have a print button on my page, which prints not the current page, but a page which is given with an url?

Thx Wouter

Wouter
zure_zult@hotmail.com
To me, boxing is like a ballet, except there's no music, no choreography, and the dancers hit each other.
 
you should use css and the @page property that is especially here to do what you want to (prepare html pages to b printed)
you can also use your trick of the button, you just have to set document equal to the printable version of the page before calling the document.print() command !!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top