Ensure the converter can create print-ready proofs for print-on-demand jobs · Issue #583 · OWASP/cornucopia (original) (raw)

Is your feature request related to a problem? Please describe.

In order to drive the project further and create print ready proofs for print-on-demand we need to be able to script the idml to pdf convertion.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Scribus looks promising: https://wiki.scribus.net/canvas/Command_line_scripts#Usefull_'Create_PDF_out_of_existing_scribus_document'_script

There is an api interface module that is written in Python: https://impagina.org/scribus-scripter-api/

The api lacks support for idml, but Scribus has this support.

And a repository which should have all the script files we need: https://github.com/aoloe/scribus-script-repository

Describe alternatives you've considered

Indesign server is an alternative, but it’s a commercial product.

Additional context

Currently we are not delivering print ready design files. A designer always have install the fonts, open the idml document, clone the back of the card 79 times to the correct place and export to pdf.
Instead we should just be able to deliver final pdfs and not idml with embedded art works.

Please be advised I tried to open the current files in Scribus, but because they have been created with indesign, the result is bad. In order to make this work, we may have to create new layouts and templates using Scribus and save them as scribus documents (sla). We probably need to write an extension to the converter for this. It would be nice if we also improve the installation and deployment of the converter or at least keep that in mind or later.

Scribus does support idml https://github.com/scribusproject/scribus/blob/master/scribus/plugins/import/idml/importidmlplugin.cpp

but I haven’t been able to relink the images without the images getting skewed. This could be due to some issue with the positioning or the image. More investigations needed.