m (username removed) (log details removed) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Textbox|boxtype=warning|header=Review PDF export compatibility!|text=The [[en4:Setup:Installation_Guide/Advanced/Maintenance_scripts/export|PDF export script for BlueSpice 4]] is different.|icon=yes}} | {{Textbox|boxtype=warning|header=Review PDF export compatibility!|text=The [[en4:Setup:Installation_Guide/Advanced/Maintenance_scripts/export|PDF export script for BlueSpice 4]] is different.|icon=yes}} | ||
== 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 | |||
__FORCETOC__ | __FORCETOC__ |
Revision as of 07:53, 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