Prepare for Print in Power Automate
Prepare for Print is a Power Automate action by PDF4me that converts any PDF into a print-ready PDF by standardizing its paper size, color mode, and page layout. Use it to build handouts with n-up layouts, switch invoices or reports to grayscale before mailing, or fit a document to a non-standard sheet size before it reaches a printer or print vendor.
What this action does
PDF4me Prepare for Print rewrites a PDF for physical printing: pick a standard paper size or a custom width and height, choose Color or GrayScale, and arrange multiple source pages per printed sheet with Columns per Page and Rows per Page. The result is a single print-ready file your flow can route straight to a printer, a print vendor upload, or an archive library, no desktop design tool required.
How Do I Authenticate My Power Automate Flow?
To call PDF4me through Power Automate, the flow needs a valid PDF4me API key on the PDF4me Connect connector. Authentication ensures secure communication and validates your identity as an authorized user.
Important Facts You Should Not Miss
Paper Size to Custom and the connector reveals Page Height in MM and Page Width in MM. These only apply when Paper Size is Custom; they are ignored for standard formats like A4 or Letter.File Content is marked required in the Power Automate UI.Columns per Page: 3 with Rows per Page: 2 puts 6 source pages on one printed sheet, a fast way to build compact handouts or thumbnail proof sheets.
With Paper Size set to Custom, the panel adds Page Height in MM and Page Width in MM below the standard fields.
Parameters
Required in the action: File Content only. Page Height in MM and Page Width in MM are Conditional, they apply only when Paper Size is set to Custom. Every other field is Optional and carries a working default.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Paper Size | Optional | Paper size to prepare the PDF for. After you choose it, the fields for that paper size are loaded into the action card. Options: Default, A0, A1, A2, A3, A4, A5, A6, B5, PageLetter, PageLegal, PageLedger, P11x17, Custom. Defaults to `A4`. | A4 |
| Print Profile | Optional | Color profile to prepare the PDF with: Color or GrayScale. Options: Color, GrayScale. Defaults to `GrayScale`. | GrayScale |
| Columns per Page | Optional | Number of columns in the page. Defaults to `1`. | 1 |
| Rows per Page | Optional | Number of rows in the page. Defaults to `1`. | 1 |
| File Content | Required | Content of the PDF to prepare for printing. Map it from the file content returned by a previous action, such as SharePoint or OneDrive Get file content. | @{body('Get_file_content')?['$content']} |
| File Name | Optional | Name of the PDF to prepare for printing, including its extension (for example `document.pdf`). Map it from the file name returned by a previous action. | document.pdf |
| Page Height in MM | Conditional | You can specify page height in MM. Defaults to `0`. Shown when Paper Size is Custom. | 0 |
| Page Width in MM | Conditional | You can specify page width in MM. Defaults to `0`. Shown when Paper Size is Custom. | 0 |
Standard Paper Size options
| Group | Values | Typical use |
|---|---|---|
| ISO A-series | A0, A1, A2, A3, A4, A5, A6 | General documents, most international print shops default here. |
| ISO B-series | B5 | Books and some brochure formats. |
| North American | Letter, Legal, Ledger | US and Canada standard office and legal formats. |
| Tabloid | 11x17 | Posters, spreadsheets, and oversized handouts. |
| Custom | Set via Page Height in MM / Page Width in MM | Receipt rolls, non-standard brochure trims, or any size not covered above. |
How Do I Set Up Prepare for Print in Power Automate?
- Add Prepare for Print to your flow as a new step.
- Sign in to PDF4me Connect with your API key.
- Map File Content from a previous action (Get file content from SharePoint or OneDrive).
- Choose Paper Size: a standard format, or Custom plus Page Height in MM and Page Width in MM.
- Set Print Profile to Color or GrayScale.
- Set Columns per Page and Rows per Page for an n-up layout (leave both at 1 for a single page per sheet).
- Set File Name with the
.pdfextension. - Run the flow. Route the returned File Content to a printer, a print vendor upload, or an archive library.
Output
| Field | Type | Description |
|---|---|---|
| File Content | File content | Content of the print-ready PDF. Map it into the next action, for example the File Content field of SharePoint or OneDrive Create file. |
| File Name | Text | File name of the print-ready PDF, as returned by PDF4me. Use it as the file name when saving the file. |
| Page Count | Text | Page count reported by PDF4me for the processed document. Returned as text; wrap it in int() to use it as a number. |
Typical Setups
- Trigger when a training session is scheduled.
- Get the slide deck PDF from SharePoint.
- Run Prepare for Print with Columns per Page 3, Rows per Page 2, Print Profile GrayScale, Paper Size A4.
- Save the output to the print queue folder and notify the trainer.
- Trigger on a nightly schedule.
- Get the list of documents queued for printing.
- Apply to each: Prepare for Print with Paper Size Letter, Print Profile GrayScale.
- Upload the batch to the network print queue and update a tracking list.
- Trigger when marketing approves a campaign asset.
- Get the digital PDF from SharePoint.
- Run Prepare for Print with Paper Size Custom and the vendor's exact Page Height in MM / Page Width in MM.
- Send the output to the print vendor's upload endpoint.
Practical Tips
Page Height in MM and Page Width in MM are ignored unless Paper Size is Custom. Setting them while a standard format is selected has no effect.
Ask your print vendor or printer for exact millimeter dimensions rather than guessing; a small mismatch on a Custom size produces unexpected margins or cropping.
Leave Columns per Page and Rows per Page at 1 for a standard single-page-per-sheet print. Only raise them when you specifically want an n-up handout or proof sheet.
Use GrayScale to cut print cost on internal drafts and handouts. Keep Color for anything where brand colors or color-coded content (charts, highlighted regions) must stay legible.
Run Columns per Page / Rows per Page combinations on a single test file before wiring the settings into a nightly batch flow, so an unreadable layout does not reach a full print run.
Cheat Sheet
| Goal | Paper Size | Print Profile | Columns x Rows |
|---|---|---|---|
| Standard single-page print | A4 or Letter | Color | 1 x 1 |
| 6-up training handout | A4 | GrayScale | 3 x 2 |
| 4-up thumbnail proof sheet | Letter | Color | 2 x 2 |
| Non-standard receipt or ticket | Custom (set MM fields) | Color | 1 x 1 |