No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
] | ] | ||
} | } | ||
Start export form CLI | Start export form CLI:<syntaxhighlight lang="php"> | ||
php extensions/PDFCreator/maintenance/CreatePDF.php cache/specification.json | php extensions/PDFCreator/maintenance/CreatePDF.php cache/specification.json | ||
</syntaxhighlight> | |||
__FORCETOC__ | __FORCETOC__ |
Revision as of 08:00, 25 April 2025
Review PDF export compatibility!The PDF export script for BlueSpice 4 is different.
Export PDF from cli
After creating a specificaton json file, the pdf export can be triggered from CLI.
Example json content
{ "module": "batch", "params": { "filename": "MyExport.pdf", "filesystem-path": "/app/d/pdfcreator/cache", "target": "filesystem", "user": "WikiSysop" }, "options": { "attachments" : true }, "pages": [ { "type": "page", "target": "Main_Page" } ] }
Start export form CLI:
php extensions/PDFCreator/maintenance/CreatePDF.php cache/specification.json