<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Forcing Portrait</title>
        <description>Guys,
I am trying to force a page to show in portrait instead of landscape however it doesn't appear to be working. Heres the code I am using:


$client = new Pdfcrowd('*USERNAME*', '*API_KEY*');
$client-&amp;gt;setPageWidth('8.5in');
$client-&amp;gt;setPageHeight('11in');
try {
    header('Content-type: application/pdf');
    //header('Content-Disposition: attachment; filename=&amp;quot;test.pdf&amp;quot;');
    echo $client-&amp;gt;convertHtml($reportData);
}
catch(PdfcrowdException $e) {
    echo $e-&amp;gt;getMessage();
}

What am I doing wrong?</description>
        <link>http://pdfcrowd.com/forums/read.php?3,146,146#msg-146</link>
        <lastBuildDate>Tue, 18 Jun 2013 18:31:42 -0400</lastBuildDate>
        <generator>Phorum 5.2.14</generator>
        <item>
            <guid>http://pdfcrowd.com/forums/read.php?3,146,152#msg-152</guid>
            <title>Re: Forcing Portrait</title>
            <link>http://pdfcrowd.com/forums/read.php?3,146,152#msg-152</link>
            <description><![CDATA[I apologize, it looks like that was the case, thank you for your help.]]></description>
            <dc:creator>spyke01</dc:creator>
            <category>Pdfcrowd Support Forum</category>
            <pubDate>Mon, 18 Oct 2010 07:53:18 -0400</pubDate>
        </item>
        <item>
            <guid>http://pdfcrowd.com/forums/read.php?3,146,148#msg-148</guid>
            <title>Re: Forcing Portrait</title>
            <link>http://pdfcrowd.com/forums/read.php?3,146,148#msg-148</link>
            <description><![CDATA[Your code should produce portrait -- we run your code and it works as expected.<br />
<br />
Are you sure you are not getting a cached pdf?]]></description>
            <dc:creator>support</dc:creator>
            <category>Pdfcrowd Support Forum</category>
            <pubDate>Mon, 18 Oct 2010 01:22:12 -0400</pubDate>
        </item>
        <item>
            <guid>http://pdfcrowd.com/forums/read.php?3,146,146#msg-146</guid>
            <title>Forcing Portrait</title>
            <link>http://pdfcrowd.com/forums/read.php?3,146,146#msg-146</link>
            <description><![CDATA[Guys,<br />
I am trying to force a page to show in portrait instead of landscape however it doesn't appear to be working. Heres the code I am using:<br />
<br />
<pre class="bbcode">
$client = new Pdfcrowd('*USERNAME*', '*API_KEY*');
$client-&gt;setPageWidth('8.5in');
$client-&gt;setPageHeight('11in');
try {
    header('Content-type: application/pdf');
    //header('Content-Disposition: attachment; filename=&quot;test.pdf&quot;');
    echo $client-&gt;convertHtml($reportData);
}
catch(PdfcrowdException $e) {
    echo $e-&gt;getMessage();
}</pre>
<br />
What am I doing wrong?]]></description>
            <dc:creator>spyke01</dc:creator>
            <category>Pdfcrowd Support Forum</category>
            <pubDate>Sun, 17 Oct 2010 23:14:57 -0400</pubDate>
        </item>
    </channel>
</rss>
