On 02/10/2014 2:55 am, "Andrea Amparore" <[email protected]> wrote: > > Thanks Andreas! > > Actually I need to do it with a script, because the serial printing is a part of a much more complex script. > > It works on QGIS 2.2, but on QGIS 2.4 it drives me crazy…
Two things: - QgsMapRenderer is deprecated in 2.4 and above. You should update your code to use the new replacement QgsMapSettings object. - Why don't you try saving the XML templates from your script to qpt files and then try loading them manually into QGIS? That might give you a better idea where your script is breaking. Nyall
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
