[Geomoose-users] GeoMoose Printing

Brian Fischer bfischer at houstoneng.com
Sun Oct 7 12:17:40 PDT 2012


This would be a great addition.  Would it support the markups?  I know that is an important feature to many users.

Brian Fischer, CFM
Principal | GIS Project Manager 
Houston Engineering, Inc.
O 763.493.4522 | D 763.493.6664 | M 763.229.2734


-----Original Message-----
From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Jim Klassen
Sent: Thursday, September 27, 2012 1:56 PM
To: geomoose-users at lists.osgeo.org List
Subject: [Geomoose-users] GeoMoose Printing

I've been playing around a bit with the idea of printing using HTML5/CSS3 instead of needing a server side component.  My idea is a print tool would create a new window with a new OpenLayers map in some HTML/CSS template that would be simplified and scaled using real units ("in", "cm", etc.) instead of relative units ("em", "px").  I think this could forcing the map width and height in pixels to be ~ 300 dpi on the printed page.

Before spending a lot of time trying to implement this, I made a simple example to see how the different browsers would react.

http://www.geomoose.org/10inprint/

It seems not all browsers are quite up to spec though.

Page Margins: Chrome works, Safari/Firefox ignore it.
Image DPI: Chrome, Safari, Firefox work (i.e. it will actually print at 300dpi instead of scaling the 96dpi screen render)
Layout: All three seem to honor the layout/stacking/positioning/transparency.
Media: All three honor selecting a stylesheet for printing.

Firefox and Chrome print to scale (10" is actually 10") Safari is printing large (which is funny because this is usually the one point Apple is anal about).

Thoughts? Ideas?

Jim

_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geomoose-users


More information about the Geomoose-users mailing list