MapServer / MapServer-import

3 stars 2 forks source link

php/mapscript all in one page does not print well #1855

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: woodbri@swoodbridge.com Date: 2006/08/09 - 05:26

http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/referencemanual-all-pages

The url above does not print well. It in fact does not page wrap properly
resulting in most content that exceeds a page to be lost.

Specifically, the content related to the LayerObj, MapObj, and the ShapeObj are
all truncated.

This is happening in Firefox ver. 1.5.0.6
tbonfort commented 12 years ago

Author: hobu Date: 2006/08/09 - 06:35

each page has a little pdf icon that you can use to print.  

http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/html2pdf  for
that one
tbonfort commented 12 years ago

Author: hobu Date: 2006/08/16 - 20:54

Can I close this one?
tbonfort commented 12 years ago

Author: woodbri@swoodbridge.com Date: 2006/08/16 - 22:59

Since you have a print button, and it does not print correctly, I think you need
to hold it or fix it. The fix is to set up a separate css like:

<link rel="stylesheet" type="text/css" href="print.css" media="print" />

that will flow the text across the page breaks. I can take a look at the page
and the css and offer some concrete suggestions if you need them.

The pdf works for printing, but it is not intuitive that that is the work around
to this problem.
tbonfort commented 12 years ago

Author: hobu Date: 2006/08/16 - 23:18

I propose to either remove the "print" icon to avoid this confusion, or hand
this off to someone with time to deal with it.  Plone does have separate CSS for
printing but the restructure text transformer isn't handling the "print" case
evidently.  The upgrade sandbox <http://shell.osgeo.org:8080/ms_plone> should
also be tested in case things have changed since going to the latest plone version.
tbonfort commented 12 years ago

Author: tomkralidis Date: 2009/02/04 - 14:33 Closing given new website.