This question about Using an extension: Asked
Usage of GenPDFWeasyPlugin
--
İsteUtopya - 06 May 2018
Hello Foswiki Support Team,
I have already installed "GenPDFWeasyPlugin" (
https://utopya.isteutopyaisg.com/bin/view/System/GenPDFWeasyPlugin ) for my foswiki. But I am unable to convert my pages to pdf file as intended by
GenPDFWeasyPlugin.
Could you please review this support question and inform me about "how to get a pdf file" of an ordinary topic of my foswiki. For example we can try this topic:
https://utopya.isteutopyaisg.com/bin/view/Isteutopya/EgitimKatilimFormu
I will be very glad if you inform me about step by step "to do" s for getting pdf file of above mentioned topic.
Thanks in advance
Sinan GUL
We can find below plugin documentation about how to do that:
Get a PDF by adding
contenttype=application/pdf
to the view url like this:
%SCRIPTURL{"view"}/%WEB%/%TOPIC%?contenttype=application/pdf&cover=print
Optionally an url parameter
outfile
can be used to specifiy the target filename of the pdf being generated.
If not specified explicitly it defaults to
genpdf_%!TOPIC%.pdf
%SCRIPTURL{"view"}/%WEB%/%TOPIC%?contenttype=application/pdf&cover=print&outfile=myreport.pdf
According to above explanation could you please inform me
what/where should I write to get the pdf file of my foswiki topic of "
https://utopya.isteutopyaisg.com/bin/view/Isteutopya/EgitimKatilimFormu "
According to above explanation could you please inform me what/where should I write to get the pdf file of my foswiki topic of "
https://utopya.isteutopyaisg.com/bin/view/Isteutopya/EgitimKatilimFormu " ?
--
İsteUtopya - 10 May 2018
Maybe like your
%SCRIPTURL{"view"}
is missing a trailing % character. Should be
%SCRIPTURL{"view"}%
perhaps.
--
ChristianKern - 26 June 2020
Try installing
NatSkin: it comes with all knobs set already, as well as better print css.
--
MichaelDaum - 28 Jun 2020