Hi,

when I enter http://gis.idn12.com/qgis/qgis_mapserv.fcgi?map=c:/projects/pt1.qgs&SERVICE=WMS&VERSION=1.3&REQUEST=GetPrint&FORMAT=pdf&EXCEPTIONS=application/vnd.ogc.se_inimage&TRANSPARENT=true&SRS=EPSG:3005&DPI=300&TEMPLATE=Composer%201&map0:extent=1239568.1,1322608.4,1401071.9,1452611.6&map0:rotation=0&map0:scale=500000&map0:grid_interval_x=2000&map0:grid_interval_y=2000&LAYERS=UWR
I get a valid pdf document (Win7 Firefox) and no internal server error.

Starting QWC with http://gis.idn12.com/qgiswebclient.html?map=c:/projects/pt1.qgs and trying to print results in an AdobeReader error 'File does not begin with "%PDF-"...' on Win7 (Firefox) and the print being displayed on Linux (seems not to be pdf, though).

Your QWC seems quite old, which version of QGIS server are yu running?

Bernhard

Am 29.05.2013 17:04, schrieb cdp:
Hi everyone,

When using the print option from the QGIS Web Client to print pdf, an
internal server error is returned.  The composer template used is a simple
view port with no other map items (eg. scales, legends, text boxes). we've
tried printing just a simple point with no background, a WMS aerial photo
with no additional layers, and several layers of varying style complexity
with no luck.

I've managed to change the default print format to png which works with no
issue in all cases, however PDF is really the preferred output.  Here is the
GetPrint link

http://gis.idn12.com/qgis/qgis_mapserv.fcgi?map=c:/projects/pt1.qgs&SERVICE=WMS&VERSION=1.3&REQUEST=GetPrint&FORMAT=png&EXCEPTIONS=application/vnd.ogc.se_inimage&TRANSPARENT=true&SRS=EPSG:3005&DPI=300&TEMPLATE=Composer%201&map0:extent=1239568.1,1322608.4,1401071.9,1452611.6&map0:rotation=0&map0:scale=500000&map0:grid_interval_x=2000&map0:grid_interval_y=2000&LAYERS=UWR

Anyone have any ideas of what the issue could be.

We are running QGIS Server with QGIS Web Client on a windows rackspace
server.

Thanks
C



__________ Information from ESET Mail Security, version of virus signature 
database 8390 (20130529) __________

The message was checked by ESET Mail Security.
http://www.eset.com


_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to