Hi Alastair, Tossing ideas can be fun and creative. Protecting SVG, I believe is a possible goal. I don't quite know how to get there yet, but I'm working on it. I think this would be a neat feature for SVG.
I don't quite understand why dynamic SVG would be 'out the window' by using your suggestion. After, all, the viewer just wants a snapshot of what he sees in the browser. Can't we have some kinda WYSIWYG in the print? --- In svg-developers@yahoogroups.com, "Alastair Fettes" <[EMAIL PROTECTED]> wrote: > > Just tossing out ideas now. > > This could be a way of protecting your SVG content. Convert your SVG > graphics to PDF and encrypt, then return the output PDF. People can > view your SVG static graphics but not regain their source. This would > also lead to no cross-browser viewing issues. Of course dynamic SVG > would be out the window with this one I'm afraid. > > Alastair > > --- In svg-developers@yahoogroups.com, "Alastair Fettes" > <[EMAIL PROTECTED]> wrote: > > > > Write yourself a simply client side script and server application. To > > print get the user to click a button of some sort that calls a ECMA > > function that captures the current zoom level, what is visible - the > > current viewbox. Take this and send it over a redirect URL to your > > server side application. On the server side, have your > > php/jsp/whatever take this viewbox and set it on a copy of the SVG > > server side (in a variable in your app) and have a pre-authored XSL-FO > > file that simply references the SVG. Then convert this to PDF with > > FOP and redirect the user to the PDF. > > > > Done. > > > > Cheers, > > Alastair > > > > --- In svg-developers@yahoogroups.com, "Peter Kalev" <[EMAIL PROTECTED]> > wrote: > > > > > > Hi Francis, > > > > > > I have the following setup: IE6, ASV3, HTML page with embedded SVG, I > > > use JavaScript to zoom and pan then simply print the web page and the > > > result is a printed page of the area that was visible on the screen. > > > > > > In order to avoid "squashing" of the svg image while printed, I use > > > absolute dimensions in the style sheets used for print media (11in x > > > 8.5in). Also make sure you set your printer to LANDSCAPE... > > > > > > Peter Kalev > > > Senior Developer, > > > SWF, LLC > > > > > > > > > -----Original Message----- > > > From: Francis Hemsher [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, November 09, 2005 7:03 PM > > > To: svg-developers@yahoogroups.com > > > Subject: [svg-developers] Today's Joke: Printing SVG in IE > > > > > > Hi, > > > I would like the user to be able to print the segment of the SVG > image > > > that happens to be displayed, after they zoom into a specific > area. I'm > > > sure not going to waste much effort in this, because I think it's > > > probably impossible at this time. Anyway, If anyone has a magic > bullet > > > to accomplish this, I will be so, so happy, and surprised. > > > > > > Franicis > > > > > > > > > > > > > > > > > > > > > > > > ----- > > > To unsubscribe send a message to: > > > [EMAIL PROTECTED] > > > -or- > > > visit http://groups.yahoo.com/group/svg-developers and click "edit my > > > membership" > > > ---- > > > Yahoo! Groups Links > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/