David wrote:
> I have looked for documentation on creating a custom printing template
> to use when hosting your own mwserver. I have the collection
> extensions working and can produce PDF's sucessfully. However, I
> cannot find a template or information on how to customize a template.
>
You need to create a customconfig.py file (details on this can be found at
http://groups.google.com/group/mwlib/browse_thread/thread/e134e15d68f9dd21?hl=en)
Make sure the file is in a directory which is in your PYTHONPATH.
There is no real documentation about what you can set in the
customconfig.py file, but hints are given in the pdfstyles.py file
(http://code.pediapress.com/git/mwlib.rl?p=mwlib.rl;a=blob;f=mwlib/rl/pdfstyles.py;hb=HEAD)
Regards,
Volker
--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstraße 64
fax +49 6131 2116392 55118 mainz
[email protected] http://www.brainbot.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---