cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mmrius
Frequent Visitor

Setting base64 PDF document to A4 size

Hi,

I have a base64 PDF, which I'm converting to a PDF document using "compose" action like this:

 

{
"$content-type": "application/pdf",
"$content": "@{outputs('Get_Label')?['body/result/base64pdf']}"
}

 

This works fine, but as an additional step, I'd like to set the document size to A4. Is that possible, if so, how would I do that? Any help would be really appreciated!

 

Many thanks

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @mmrius,

Do you want to convert the PDF file into A4 size using flow?

 

If you want to achieve this using the Flow, I am afraid that there is no way to achieve this currently. Here is a similar idea you could vote for:

Paper size parameter on OneDrive's Create file act... - Power Platform Community (microsoft.com)

 

As an alternative solution, I think you could set it in your Printer. Just go to default settings and set the A4 size by default.

Best Regards,
Qi

View solution in original post

2 REPLIES 2
v-qiaqi-msft
Community Support
Community Support

Hi @mmrius,

Do you want to convert the PDF file into A4 size using flow?

 

If you want to achieve this using the Flow, I am afraid that there is no way to achieve this currently. Here is a similar idea you could vote for:

Paper size parameter on OneDrive's Create file act... - Power Platform Community (microsoft.com)

 

As an alternative solution, I think you could set it in your Printer. Just go to default settings and set the A4 size by default.

Best Regards,
Qi
mmrius
Frequent Visitor

Hi Qi,

Yes, that's exactly what I wanted to do. Shame this action isn't available now.

Thanks for the link though, I've put a vote on it!

Kind regards

Marius

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,905)