[GeoNetwork-devel] printing to PDF

Apologies for cross-posting but since I did not get any response on -users, thought I'd try the developers list. Does anyone have any thoughts/assistance?

TIA!
---Kathy

________________________________________

Sent: Friday, October 23, 2015 12:56 PM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] printing to PDF

Came across an old (2013) query in OSGEO regarding printing to pdf (see original post below). This answers a question I was having around better printing of the metadata (since the print to pdf option from the GeoNetwork menu does not print the full pdf record). So a few questions on this:

1) I really like the first one Jesse lists for end users. While not a requirement, just wondering if there is a way to modify the current print to pdf option in the GN interface to look like what you can do with the browser command line?

2) I also really like what geocat.ch has done for my purposes as admin/editor - it lays out the metadata exactly like it is in the edit mode which is what I need for checking documents or for sending examples to colleagues. Therefore, can someone tell me how to implement what geocat has done (not sure what Jesse means by 'have to be ported to the system')?

3) Where is this sort of thing documented (using the command pdf?)? I stumbled on this purely by accident and don't find anything in the documentation that gives me info about this capability. Which makes me wonder what other command line types of things I could be doing that I don't even know about.

In the new version there is a PDF print option. FOr example:

http://ids.pigma.org/geonetwork/srv/fre/pdf?uuid=23fd6088-0e69-4e16-89a0-ad0854119e5e<http://ids.pigma.org/geonetwork/apps/georchestra/?hl=fre>

I think that is more or less the default PDF print now. (With some custom branding I am sure).

Also with a bit of development you can have an output like geocat.ch<http://geocat.ch> has:

http://www.geocat.ch/geonetwork/srv/eng/pdf?uuid=b7630e06-7e06-4ab0-9ed5-9fd2e66b6433

The difference between the two is that the first is an xslt transform that creates a PDF. This means that >>> it is not identical to the output of the metadata.show service. The second option (the one used by
geocat). Takes the HTML and converts it a PDF it is literally identical to the output of the metadata.show >>> output.

The first is available in 2.8 and 2.10. The second would have to be ported to the system.

Jesse

Kathy