[Feature request] Make page size / format available

Hi,

I am missing a setting in the invoice design that is available in v4: Select page size:

In v4 you can choose you paper size. Most european countries use DIN A4. Currently v5 only export PDFs in the north american format Letter.

Could you please add this option again?

Thank you very much :blush:
Gijs

Hey there, thanks for the suggestion.

It’d be best if you could just copy your message on GitHub so we can track the progress right there.
Thanks!

Hi Ben,

Feature Request has been added:

Thanks,
Gijs

1 Like

@ben has postet a workaround in Github.

The workaround, for now, can be set thru custom design, here’s an example:

image

… and after you set a property on @page level:

@page { 
     size: A4 landscape; 
}

image

Supported values for this:
A5, A5, A3, B5, B4, JIS-B5, JIS-B4, letter, legal, ledger (and corresponding combinations with portrait/landscape).

You can see all values here: https://developer.mozilla.org/en-US/docs/Web/CSS/@page/size

Of course, you can always set page size with your custom values if provided presets don’t fit.

@page { 
     size: 4in 6in; 
}
2 Likes