Skip to main content
jascomp
Known Participant
Oct 25, 2023 7:15 PM UTC
Question

cfhtmltopdf orientation not working

This is my code:

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


This is my output:

    48 replies

    dwaynea8754223
    Known Participant
    Oct 30, 2024 2:20 AM UTC

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

    Translate
    Charlie Arehart
    Community Expert
    Community Expert
    Oct 30, 2024 2:34 AM UTC

    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. 

    Translate
    /Charlie (troubleshooter, carehart. org)
    dwaynea8754223
    Known Participant
    Oct 30, 2024 3:58 AM UTC

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

    Translate
    jascomp
    jascompAuthor
    Known Participant
    Jun 17, 2024 4:24 PM UTC

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

    Translate
    BKBK
    Community Expert
    Community Expert
    Jun 22, 2024 1:10 PM UTC
    jascomp
    jascompAuthor
    Known Participant
    Oct 25, 2023 7:16 PM UTC

    Using ColdFusion 2023 Update 4

    Translate
    Charlie Arehart
    Community Expert
    Community Expert
    Oct 25, 2023 10:15 PM UTC

    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

    Translate
    /Charlie (troubleshooter, carehart. org)