Loading...
 
Skip to main content

History: Mod mozilla2ps

Source of version: 4 (current)

Copy to clipboard
            {syntax type="markdown"  editor="wysiwyg"} {BOX()} Take a look at ((wkhtmltopdf)), for which support is built-in to Tiki {BOX}

### 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

- http://acksyn.org/mozilla2ps/index.html
- [http://en.wikipedia.org/wiki/XULRunner|XULRunner]

#### 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":

{CODE(wrap=>1)}

{CODE}

#### Example

If this Mod is related to a plugin, the following code, 
{CODE(wrap=>1)}

{CODE}

Would produce:




{DIV(class=titlebar)}Related pages{DIV}


- ((Mods))
- ((Mods User))
- ((Mods Admin))
- ((Mods Details))
- ((Mods List))

Table of contents:{toc}