Skip to main content
jascomp
Known Participant
October 25, 2023
Question

cfhtmltopdf orientation not working

  • October 25, 2023
  • 3 replies
  • 4923 views

This is my code:

<cfhtmltopdf orientation="landscape">
<h3>Test Landscape Output</h3>
</cfhtmltopdf>


This is my output:

    3 replies

    dwaynea8754223
    Known Participant
    October 30, 2024

    just installed 2023 update 11 and it's still not working

    Charlie Arehart
    Community Expert
    October 30, 2024

    Dwayne, did you clear the felix-cache? The steps are in the update technote, to help with other issues related to the htmltopdf package. It may help with yours. I've confirmed landscape does work after the update, a bug fix it specifically addressed as you may know.

     

    Let us know if it helps or not. 

    /Charlie (troubleshooter, carehart. org)
    dwaynea8754223
    Known Participant
    October 30, 2024

    I did. After the update, output didn't work at all. Cleared the cache folder and output works, just not landscape.

    jascomp
    jascompAuthor
    Known Participant
    June 17, 2024

    Eight months and 3 updates later, the problem still exists. 

    BKBK
    Community Expert
    June 22, 2024
    jascomp
    jascompAuthor
    Known Participant
    October 25, 2023

    Using ColdFusion 2023 Update 4

    Charlie Arehart
    Community Expert
    October 25, 2023

    I can confirm the same (and on update 5 as well, or with no updates at all). Thanks for sharing it.

     

    I have filed a bug report for this (saving you the trouble, and adding a bit more info for interested readers):

    https://tracker.adobe.com/#/view/CF-4219706

    /Charlie (troubleshooter, carehart. org)