How to add height and width to save_pdf? #365
-
The documentation says that 'height' and 'width' are parameters for save_pdf. I would like my pdf to have vertical A4 dimensions. I have the following code: This gives me the following error: What am I doing wrong and how can I fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the solution myself: |
Beta Was this translation helpful? Give feedback.
I found the solution myself:
save_pdf file: 'cards.pdf', width: '210mm', height: '297mm'