Item1680: GenPDFPrincePlugin has an error in the pdf holding the documentation
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Picture of the error
The PDF cannot be viewed.
--
IngoKappler - 03 Jun 2009
Ups, I made a screenshot and then found this line in the topic code:
Here's the complete Foswiki documentation in [[%SCRIPTURL{"view"}%/%SYSTEMWEB%/CompleteDocumentation?contenttype=application/pdf][PDF]].
Obviously one must have the plugin installed in order to get this working. Can the complete documentation be attached to the topic directly? Then users which have not installed the plugin will be able to view it too. The
test link can be kept too but should be clearly marked as such.
--
IngoKappler - 03 Jun 2009
Ok, another misunderstanding. :-|
You are referring with
complete Foswiki documentation not to the complete Foswiki
GenPDFPrincePlugin configuration but to the real Foswiki documenation about Foswiki. Could have seen that directly but had in mind this all refers to the plugin.
Anyhow, maybe it could be expressed in a way which is less confusing for people like me unless you believe I am the only problem here.
In the meantime I installed it even and it basically works. But using the link:
%SCRIPTURL{"view"}%/%SYSTEMWEB%/CompleteDocumentation?contenttype=application/pdf
creates this
PDF with just 2 pages not even holding the full TOC. I also looked at other topics which where not completely presented either. It seems only 1 page is rendered and the second will only hold the footer.
--
IngoKappler - 03 Jun 2009
I can reproduce this using
PatternSkin.
Try
%SCRIPTURL{"view"}%/%SYSTEMWEB%/CompleteDocumentation?contenttype=application/pdf;skin=plain
There might be a problem with
PatternSkin's css for print media. Using skin=plain will at least work around it.
--
MichaelDaum - 03 Jun 2009
The work around you suggested works, therefore I added to the
GenPDFPrincePlugin topic in my installation the following:
Get a PDF by adding =contenttype=application/pdf;skin=plain= to the view url like this if the former link has issues as listed in [[http://foswiki.org/Tasks/Item1680][Item1680]]:
<verbatim class="tml">
%SCRIPTURL{"view"}/%WEB%/%TOPIC%?contenttype=application/pdf;skin=plain
</verbatim>
Here's the complete Foswiki documentation in [[%SCRIPTURL{"view"}%/%SYSTEMWEB%/CompleteDocumentation?contenttype=application/pdf;skin=plain][PDF with appended ;skin=plain]]
This confirms to move the issue from
GenPDFPrincePlugin to
PatternSkin.
--
IngoKappler - 04 Jun 2009
This may be related to
Item8615. Changing state to confirmed.
--
MichaelTempest - 24 Jun 2010
Item8615 was fixed in 1.0.10 and 1.1.0, so a retest should confirm this. Waiting for me now.
--
IngoKappler - 15 Apr 2011
3+ years, no feedback, setting to No Action.
--
GeorgeClark - 08 Jan 2015