In iShare GIS the user can select to print the map at different scales. After clicking the print button, a new window opens providing the user with different options. This allows the user to generate a PDF from the current state of map with all active layers displayed.
Astun supply two print templates which you will find in the \Web\print folder for your iShare application:
- astun-A4-portrait.html
- astun-A4-landscape.html
...
As the application simply displays the file name it is advisable to make these something meaningful to the user especially if you are going to have several selections. Perhaps include page size, orientation, font size, margins etc. in the name.
See the topic on Creating your own Legacy Print Template for details on how to create your own Print Templates.
Setting a Default Print Template
From v5.2.6 of iShare there is a new DefaultPrintTemplate entry under the Web heading on the General Settings tab which allows you to specify the name of a default print template to use. If this is left blank then iShare will select the first one it finds in the \Web\print folder.
Note |
---|
The file extension must be .html. |
From V5.8.0 there are two ways you can Print your map to PDF:
- HiDPI PDF
- Legacy PDF
HiDPI Printing
If you wish to use the new HiDPI Print plugin then you will need to Enable the HiDPI Print Plugin for iShare GIS. Once this has been done you may then Create your own HiDPI Print Templates or use those supplied with iShare GIS.
Legacy Printing
To use the Legacy Print plugin then you will need to Enable the Legacy Print Plugin for iShare GIS. Once this has been done you may then Create your own Legacy Print Templates or use those supplied with iShare GIS.