This is what I've done in the past as well, allows your user to just "print" the page they are staring at and have the browser do the right thing in using an alternative style sheet for rendering the page -- this includes using a lot of display:none to trim down the parts of the page that you don't want printing. This way all you need on your page is a "Print" link that invokes the Print dialog, no other popups ontop of popups.
Some info: http://www.scottklarr.com/topic/15/css-create-a-style-sheet-for-print-only/ <http://www.scottklarr.com/topic/15/css-create-a-style-sheet-for-print-only/> http://webdesign.about.com/cs/css/a/aa042103a.htm On Sat, Feb 27, 2010 at 4:54 PM, Alex Rass <[email protected]> wrote: > Josh, > > This doesn't answer your question directly (about a popup). > But a MUCH simpler way is to make your page printer friendly by supplying > an > alternative CSS for printing format (google on that). Makes life much > easier. > > When you tell your page which css to use, you can say "use this CSS for > printing only". All transparent to the user. > > - Alex > > > -----Original Message----- > From: Josh Chappelle [mailto:[email protected]] > Sent: Friday, February 26, 2010 4:09 PM > To: [email protected] > Subject: Print friendly panel > > Hi, > > > > Does anyone know of a suggested method to render a printer friendly panel > to > a separate browser window so that user's can print? The only thing I have > found is the following article and it looks a little clunky. > > > > http://cwiki.apache.org/WICKET/rendering-panel-to-a-string.html > > > > Basically I just need to be able to place a link that when clicked will pop > up a new browser window with only the contents to the target panel. That > way > users can print that panel from there. > > > > Thanks, > > > > Josh > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
