Hi Wilson,

%s is the placeholder for the templ file. I guess you should replace all other 
"%" by "%%". 

Thanks,
Mars 

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Wilson Herrera
Sent: Thursday, August 19, 2010 4:11 AM
To: [email protected]
Subject: [mapguide-users] Error When Printing in Fusion


Good day, 

i am working in  some development for the fusion platform with mapguide.

one part of the development is to create custom print layouts, for that i tried 
to extend the native print widget but i have been experiencing this problem.

i tried to pass parameters on a single page, with excelent results ( you can 
see the result in the attached image capture.jpg). but when i try to "fuse"
it with the print widget i get the following exception

Warning: sprintf() [function.sprintf]: Too few arguments in C:\Program 
Files\Autodesk\MapGuide\WebServerExtensions\www\fusion\widgets\Print\printablepage.php
on line 63

i am sure that i wont have to modify the php code, but then the problem resides 
on my implementation ( filename: printablepage.templ attached to this message), 
i dont know where the error is,  i have a very simple implementation that works 
well, but the main difference is the use of div's in this, while the first one, 
were just cells in a table ( can attach it if you need it ).

can you help me please to discover what is the reason for this error? thanks in 
advance.

dont hesitate to ask if you need adittional info.

Wilson

http://osgeo-org.1803224.n2.nabble.com/file/n5437688/Capture.JPG Capture.JPG 
http://osgeo-org.1803224.n2.nabble.com/file/n5437688/printablepage.templ
printablepage.templ
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Error-When-Printing-in-Fusion-tp5437688p5437688.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to