Note that there are some explanatory texts on larger screens.

plurals
  1. POSet properties for temp print file
    primarykey
    data
    text
    <p>Having a bit of a problem setting the properties for a temporary file that is created to be printed later by the user.</p> <p>To get into the details of the flow:</p> <ol> <li><p>Customer presses a "Print Map Area" button in the site.</p></li> <li><p>Menu comes up asking preferred dimensions (e.g. A4 Vertical, A4 Horizontal, A3 Vertical..etc)</p></li> <li><p>The customer chooses one and temp file is created with these dimensions and shown in a new window for the customer to print to page from browser.</p></li> </ol> <p><b>NOTE: I am not trying to nor do I wish to attempt to change the customer's browser print settings, These settings are to create a temp file to help the user when the actual print to paper(or PDF) is done, actual printing is done manually by the user.</b></p> <p>I am currently using the OpenLayers 'tile stiching' print function, while this does half of what I am trying to achieve it does not address the other issues like page size and direction, and just prints the full screen.</p> <p>Have been searching online for a solution to this that relates to the OpenLayers 'tile stitching' print function but have not been able to find anything useful(or anything for that matter).</p> <p>If you know a way I can do this while still using the 'tile stitching' or another way to implement this would be greatly appreciated. The code I am using for this print function can be found at <a href="http://trac.osgeo.org/openlayers/wiki/Printing" rel="nofollow">http://trac.osgeo.org/openlayers/wiki/Printing</a>.</p> <p>Thanks would appreciate any help. If there is any part of this you feel is hard to understand would be happy to elaborate further.</p> <p><b>Further Information:</b> I was able to get A4Vertical and A4Horizontal by using two functions. The problem now is that I can't just change the tile size for A3 as I want the print boundaries the same but just fitting on a larger paper size.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload