Creating printable (portrait) electronic forms with Plumsail

Greetings,

We're wanting to create simple electronic forms that display on roughly a third of our 1980 x 1080 pixel monitors and, more importantly, print to letter size paper in portrait format. I'm wondering if anyone can share suggestions on the best strategy for accomplishing that with Plumsail Forms for SharePoint Online, and/or if anyone has a CSS stylesheet for accomplishing that, which they'd be willing to share.

We've determined that the built-in export functionality uses the @media screen CSS rather than the @media print CSS but are finding we can either set the form to be stretched across the screen and then formatted nicely for exporting to PDF, - or formatted nicely on the screen and then squished or cut off when we export to PDF.

If we try to just use the browser PRINT functionality we get the first page of the form, nicely formatted, but not any subsequent pages.

In my view this is a relatively simple use-case and I'm hoping there's an equally straightforward solution.

Thank-you,

Adam

Hi @ABeaton,

Have you considered setting the page size and orientation with JavaScript before exporting?

fd.exportToPDF('FileName', {
    paperSize: 'Letter',
    landscape: false
})

You can find more information and code examples here:

If that doesn't help, try creating the PDFs using Plumsail Documents. This would allow the creation of documents with a layout that doesn't correspond to the form.