Creating landscape PDF from Excel using Adobe PDF Services API | Community
Skip to main content
June 10, 2022
Solved

Creating landscape PDF from Excel using Adobe PDF Services API

  • June 10, 2022
  • 1 reply
  • 1005 views

We've been exploring the creation of PDF files from Excel files using the Adobe PDF Services API. Obviously converting from XLS->PDF can be tricky in terms of the printable area, orientation, etc.

 

We managed to get the basics working, but in one example we have, the Excel file is converted to a PDF but the last column is split to a second page.

 

I can't find much info on it in terms of any options that might be available when calling the API. I've looked through the SDK JavaDocs and the "Create PDF" HowTo page. For example, I can see that for HTML->PDF you can use PageLayout and SetPageSize, but I don't see this available for XLS->PDF.

 

Any suggestions? Are there options that can be applied or are we out of luck here?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by tmj

Hello @tonybrandner - this is a question better answered on the Document Cloud forums. I'd recommend reposting it here - https://community.adobe.com/t5/document-services-apis/ct-p/ct-Document-Cloud-SDK 

1 reply

tmj
Adobe Employee
tmjAdobe EmployeeAccepted solution
Adobe Employee
June 13, 2022

Hello @tonybrandner - this is a question better answered on the Document Cloud forums. I'd recommend reposting it here - https://community.adobe.com/t5/document-services-apis/ct-p/ct-Document-Cloud-SDK