Loading...
 
Skip to main content
Take a look at wkhtmltopdf, for which support is built-in to Tiki


Mod mozilla2ps


mozilla2ps is a XUL application to transform HTML (with CSS) into PDF format. It requires the following applications to be installed on the server: xulrunner (to run XUL applications), Xvfb (or another X server) on display :1 or xvfb-run, ps2pdf, and some basic fonts to be used by the X server. This mod supports everything that firefox supports and will generate a PDF that really looks like what the user sees in it's browser, even with complex Cascading Style Sheets. It's also faster than html2pdf or dompdf


Install

See Mods Admin for instructions on how to install a Mod.

Usage

Once installed, you will see some new lines under the Wiki "edit > wiki help > Show Plugins Help":

Copy to clipboard


Example

If this Mod is related to a plugin, the following code,

Copy to clipboard


Would produce:


Related pages

Table of contents: