mpdf has the ability to combine multiple pdfs into one document
MPDF has the ability to add overlay text to an existing PDF
I've tried to recreate the graphics from our branded brochures using HTML in the cover.html and back.html files so that I can use dw2pdf template to create custom docs that look like our branded docs but HTML is not working for DTP type layouts.
Our branded docs are able to be output in PDF format so I can create an exact copy of the layout with a space for the title.
The idea is that if cover.pdf exists in the template folder then dw2pdf looks for a file called cover_layout.conf where it finds a list of dw2pdf replacement patterns and coordinates that mPDF needs to place that text to be overlaid into the cover.pdf file.
dw2pdf then adds the content pages to the PDF and then looks for back.pdf and back_layout.conf to create the back page[s].
If no cover.pdf or back.pdf exist it uses the cover.html and back.html files instead.
According to the specs for mPDF this should be technically possible.
I have tweaked dw2pdf previously to remove HTML links for local resources where the pdf is to be shared externally but i think this is a step above my level of coding. This is what i used to see if it was feasible : https://chatgpt.com/s/t_6967759abe7c81919c3023bcf568f66b
If the coders amongst you think that this is feasible I might give it a go to see how far I get but if someone has already tried it or can explain why this won't work please let me know so I don't waste my time on this project at this time.
mpdf has the ability to combine multiple pdfs into one document
MPDF has the ability to add overlay text to an existing PDF
I've tried to recreate the graphics from our branded brochures using HTML in the cover.html and back.html files so that I can use dw2pdf template to create custom docs that look like our branded docs but HTML is not working for DTP type layouts.
Our branded docs are able to be output in PDF format so I can create an exact copy of the layout with a space for the title.
The idea is that if cover.pdf exists in the template folder then dw2pdf looks for a file called cover_layout.conf where it finds a list of dw2pdf replacement patterns and coordinates that mPDF needs to place that text to be overlaid into the cover.pdf file.
dw2pdf then adds the content pages to the PDF and then looks for back.pdf and back_layout.conf to create the back page[s].
If no cover.pdf or back.pdf exist it uses the cover.html and back.html files instead.
According to the specs for mPDF this should be technically possible.
I have tweaked dw2pdf previously to remove HTML links for local resources where the pdf is to be shared externally but i think this is a step above my level of coding. This is what i used to see if it was feasible : https://chatgpt.com/s/t_6967759abe7c81919c3023bcf568f66b
If the coders amongst you think that this is feasible I might give it a go to see how far I get but if someone has already tried it or can explain why this won't work please let me know so I don't waste my time on this project at this time.