After the svg is zoomed, use a button on the php/html page to call
"window.print()" and that should do it...

Peter Kalev
Senior Developer,
SWF, LLC


-----Original Message-----
From: wayhang8303 [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 12, 2005 5:59 PM
To: [email protected]
Subject: [svg-developers] Re: print zoomed portion of svg map



Mmm...I have 2 files, app.php & map.svg, i embed the map.svg inside 
the app.php. So the user is able to perform zoom in & zoom out at 
the map. When he zoomed at a particular area, he would like to print 
it out. So how can i capture the current zoomed portion of the map, 
then display it in a new pop up window, & then print it out? Or is 
there any other way?


Thanks a lot!


--- In [email protected], "Peter Kalev" <[EMAIL PROTECTED]> 
wrote:
> I am not sure how to do it in a stand-alone SVG, but if you have 
an html
> "wrapper" with javascript you can "window.print()"...
> 
> But be aware that the svg may appear a bit distorted, which can be
> corrected with styles by using "real" measurement units (i.e. 
inch, cm,
> etc.)
> 
> Hope that helps...
> 
> Peter Kalev
> Senior Developer,
> SWF, LLC
> 
> 
> -----Original Message-----
> From: wayhang8303 [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, January 12, 2005 4:24 AM
> To: [email protected]
> Subject: [svg-developers] print zoomed portion of svg map
> 
> 
> 
> Hi, 
> 
> I provide svg map for user to view. When user zoom in a particular 
> area and would like to print that particular zoomed area on a 
paper, 
> how can i provide that print function? 
> 
> 
> Any help would be most appreciated! 
> Thanks!!
> 
> 
> 
> 
> 
> -----
> 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 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 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/
 



Reply via email to