Standalone map printing service for IIS based on the MapFish print module and PyISAPIe.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


MapFish Print Module controller for IIS

These modules implement the MapFish print protocol and allow you to run
the MapFish print module on a IIS server configured with PyISAPIe.

Support and feedback:
	Adrià Mercader ( -

Special thanks to:
    Seth Girvin ( -

	* Python 2.5+
	* IIS 7.0 (Not tested under IIS 6.0)
	* PyISAPIe 1.1.0+
	* JDK 1.5+
	* MapFish print module JAR file
	1.	Compile the MapFish print module JAR file following these
		Copy the resulting JAR file in the directory of your choice.
	2.	Copy a YAML configuration file for the print service in the
		directory of your choice and edit it as needed. You can find
		samples in the 'samples' directory of the MapFish print module
		source downloaded in the previous point. For a full reference of
		the configuration options you can check the following page:
	3.	Install and configure PyISAPIe. The most up-to-date instructions
		seem to be the ones described in the README file included with
		PyISAPIe. If you want to run a 64 bit version, have a look at
		this post:
	4.	Copy the files contained in this package (Http and WWW modules
		and the printer.ini file) where the PyISAPIe DLL can find them.
		The easier choice is in the same folder as the DLL. . You may
		want to move Http and WWW, e.g to site-packages, but the
		printer.ini file must be located in the DLL directory.
	5.	Edit printer.ini to define the configuration options:
		-	Path to the compiled MapFish print module JAR file.
		-	Path to the YAML configuration file for the print service
		-	The temporary directory that will use the service to store
			the generated files. Please note that the user running the
			application on IIS must have full access to this directory 
			(i.e. write and delete files). If commented out in the 
			printer.ini file, the application will try to use the
			default OS temporary directory (the one	returned by 
	6.	Create a virtual directory in IIS, and add the PyISAPIe DLL as a
		Wildcard Script Map.
	7.	Restart ISS and visit the following URL:
		You should receive a JSON response with the capabilities of the
		printing service.

    * MapFish print module home:

    * PyISAPIe home:

    This code is released under the GNU GENERAL PUBLIC LICENSE version 3
    (GPLv3). Please check the following URL for the full details of this