HI All, We are using Mapguide but unfortunately while printing a map it is giving the error saying that "Returned statement outside of function". Can any body please help me to resolve the problem? I have checked that the ActiveX viewer has been installed successfully and i am using the windows XP operating system. Thanks Balaji y