[Qgis-user] Qgis server getPrint problems
    mirko 
    mirko.lavalle78 at gmail.com
       
    Sat Dec 15 02:59:24 PST 2012
    
    
  
Hi Marco, 
thank you for your reply. I solved changing FORMAT output (in getPrint
request) from "pdf" to "png". So i have only to convert the output image to
pdf before sending file to client.
If someone uses qgis-web-client the code to modify is the following:
  In WebgisInit.js file:
- Define variable "formatPrintOut": 
   
   var formatPrintOut = "png"   (or "pdf" for restore default output).
   
  In QGISExtensions.js file.
- Section: QGIS.PrintProvider
- Add the following parameter where printUrl is defined:  
    ... + '&FORMAT=' + formatPrintOut + ' ... 
Mirko
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Qgis-server-getPrint-problems-tp5023188p5023196.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
    
    
More information about the Qgis-user
mailing list