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 |
|---|---|---|---|
| File Content | Required | The source PDF's binary content, mapped from a previous action such as Get file content (SharePoint, OneDrive) or an email attachment. | File Content from Get file content |
| Paper Size | Optional | Output paper format. Standard ISO A-series (A0-A6), ISO B5, North American Letter, Legal, Ledger, Tabloid (11x17), or Custom to set exact dimensions. | A4 |
| Print Profile | Optional | Color mode for the output. Color preserves original colors; GrayScale converts all content to grayscale to reduce ink or toner cost. | Color |
| Columns per Page | Optional | Number of source-page columns placed on one printed sheet. Combine with Rows per Page for n-up layouts. Defaults to 1. | 1 |
| Rows per Page | Optional | Number of source-page rows placed on one printed sheet. Combine with Columns per Page for n-up layouts. Defaults to 1. | 1 |
| Page Height in MM | Conditional | Custom sheet height in millimeters. Applies only when Paper Size is set to Custom. | 54 |
| Page Width in MM | Conditional | Custom sheet width in millimeters. Applies only when Paper Size is set to Custom. | 85 |
| File Name | Optional | The source file's name including the .pdf extension. Used for processing context and trace logging. | test.pdf |
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 | Binary | Print-ready PDF with the chosen paper size, color mode, and page layout applied. |
| File Name | String | Name of the output print-ready PDF file. |
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 |