Skip to content

Add word to PDF option #2

@jawrainey

Description

@jawrainey

Use docx2pdf to batch convert the generated .docx documents into .pdfs. In my experience, I had to run docx2pdf once, grant access to Microsoft Word, and could then run the whole batch nicely. I first moved all generated .docx to a folder to use the folder-batch from docx2pdf easily. I might turn this together into a bash script in the future.

@davidverweij -- that would be really useful. Maybe you could expand your CLI to pipe the output into docx2pdf:

poetry csv2docx <params> | poetry docx2pdf <params>

*Assuming your programme has a name change to docx-csv-mailmerge

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions