<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: my package of the day &#8211; htmldoc &#8211; for converting html to pdf on the fly</title>
	<atom:link href="http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly</link>
	<description></description>
	<lastBuildDate>Wed, 01 Feb 2012 19:40:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: tony</title>
		<link>http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/comment-page-1/#comment-65963</link>
		<dc:creator>tony</dc:creator>
		<pubDate>Tue, 29 Nov 2011 20:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/#comment-65963</guid>
		<description>hi,
does this script work on windows platform?
since my hosting is on windows .</description>
		<content:encoded><![CDATA[<p>hi,<br />
does this script work on windows platform?<br />
since my hosting is on windows .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel Pardo</title>
		<link>http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/comment-page-1/#comment-26022</link>
		<dc:creator>Manuel Pardo</dc:creator>
		<pubDate>Wed, 17 Nov 2010 02:15:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/#comment-26022</guid>
		<description>Can you tell me how to feed the html without a temporary file?

I can create a pdf without a pdf temp file.
But to achieve this I need to create a html temp file.
Is there any solution?

ob_start();
system(&quot;htmldoc --webpage --format pdf --landscape teste.html&quot;);
header(&#039;Content-Type: application/pdf&#039;);
ob_end_flush(); 

Someone can help me? I don&#039;t want to use teste.html , instead I want to use a string with HTML code.

Thanks.</description>
		<content:encoded><![CDATA[<p>Can you tell me how to feed the html without a temporary file?</p>
<p>I can create a pdf without a pdf temp file.<br />
But to achieve this I need to create a html temp file.<br />
Is there any solution?</p>
<p>ob_start();<br />
system(&#8220;htmldoc &#8211;webpage &#8211;format pdf &#8211;landscape teste.html&#8221;);<br />
header(&#8216;Content-Type: application/pdf&#8217;);<br />
ob_end_flush(); </p>
<p>Someone can help me? I don&#8217;t want to use teste.html , instead I want to use a string with HTML code.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ccm</title>
		<link>http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/comment-page-1/#comment-12874</link>
		<dc:creator>ccm</dc:creator>
		<pubDate>Sun, 16 Aug 2009 09:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/#comment-12874</guid>
		<description>ups. the html got killed from the comment

you should use a font tag inside the html of the document like

font size=&quot;-1&quot;</description>
		<content:encoded><![CDATA[<p>ups. the html got killed from the comment</p>
<p>you should use a font tag inside the html of the document like</p>
<p>font size=&#8221;-1&#8243;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ccm</title>
		<link>http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/comment-page-1/#comment-12873</link>
		<dc:creator>ccm</dc:creator>
		<pubDate>Sun, 16 Aug 2009 09:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/#comment-12873</guid>
		<description>@Valentina: You should try using a &lt;font&gt; tag like

&lt;font size=&quot;-1&quot;&gt; .... &lt;/font&gt;

That worked for me.</description>
		<content:encoded><![CDATA[<p>@Valentina: You should try using a <font> tag like</p>
<p></font><font size="-1"> &#8230;. </font></p>
<p>That worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valentina</title>
		<link>http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/comment-page-1/#comment-12820</link>
		<dc:creator>Valentina</dc:creator>
		<pubDate>Fri, 14 Aug 2009 09:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/#comment-12820</guid>
		<description>Hi all,

I&#039;m trying to use htmldoc, and it works. But I&#039;ve some problems with the font-size option. If i change it nothing happens in the pdf.

Could you help me maybe? 

My code :

	$passthru = &#039;htmldoc --quiet --textfont helvetica \
	--bodyfont helvetica --fontsize 8 \
	--size A4 -t pdf14 \
	--webpage &#039;.$filename;

Thanks</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>I&#8217;m trying to use htmldoc, and it works. But I&#8217;ve some problems with the font-size option. If i change it nothing happens in the pdf.</p>
<p>Could you help me maybe? </p>
<p>My code :</p>
<p>	$passthru = &#8216;htmldoc &#8211;quiet &#8211;textfont helvetica \<br />
	&#8211;bodyfont helvetica &#8211;fontsize 8 \<br />
	&#8211;size A4 -t pdf14 \<br />
	&#8211;webpage &#8216;.$filename;</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zizo</title>
		<link>http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/comment-page-1/#comment-6494</link>
		<dc:creator>zizo</dc:creator>
		<pubDate>Fri, 09 Jan 2009 11:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/#comment-6494</guid>
		<description>i want to know what is the solution for print document html to pdf width footer and  header,when i specified the value of footer it get me a number of pagination but i want character</description>
		<content:encoded><![CDATA[<p>i want to know what is the solution for print document html to pdf width footer and  header,when i specified the value of footer it get me a number of pagination but i want character</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/comment-page-1/#comment-5861</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Wed, 03 Dec 2008 03:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/#comment-5861</guid>
		<description>You can feed stdin to htmldoc htmldoc using the standard notation for stdin :- &#039;--webpage -&#039;.

It can also be configured as a cgi script; see http://www.easysw.com/htmldoc/htmldoc.html#9_4_3 for details.

Thanks for the pointer to this utility; it&#039;s saved me &#039;so viel angst&#039; :-)

Pete.</description>
		<content:encoded><![CDATA[<p>You can feed stdin to htmldoc htmldoc using the standard notation for stdin :- &#8216;&#8211;webpage -&#8217;.</p>
<p>It can also be configured as a cgi script; see <a href="http://www.easysw.com/htmldoc/htmldoc.html#9_4_3" rel="nofollow">http://www.easysw.com/htmldoc/htmldoc.html#9_4_3</a> for details.</p>
<p>Thanks for the pointer to this utility; it&#8217;s saved me &#8216;so viel angst&#8217; <img src='http://www.screenage.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Pete.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ccm</title>
		<link>http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/comment-page-1/#comment-3580</link>
		<dc:creator>ccm</dc:creator>
		<pubDate>Mon, 15 Sep 2008 07:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/#comment-3580</guid>
		<description>You mean running it as a cgi script? I am afraid not as it does not render out the necessary headers as long as I know.</description>
		<content:encoded><![CDATA[<p>You mean running it as a cgi script? I am afraid not as it does not render out the necessary headers as long as I know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sally</title>
		<link>http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/comment-page-1/#comment-3560</link>
		<dc:creator>Sally</dc:creator>
		<pubDate>Sun, 14 Sep 2008 10:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/#comment-3560</guid>
		<description>Hi.

Can I simply install HTMLDoc into the cgi-bin folder?</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>Can I simply install HTMLDoc into the cgi-bin folder?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ccm</title>
		<link>http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/comment-page-1/#comment-1703</link>
		<dc:creator>ccm</dc:creator>
		<pubDate>Wed, 09 Jul 2008 14:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenage.de/blog/2008/07/07/my-package-of-the-day-htmldoc-for-converting-html-to-pdf-on-the-fly/#comment-1703</guid>
		<description>@DurchR_PW:

I&#039;ll need to check if htmldoc is able to read from stdin. Thanks for the suggestion, I&#039;ll check that.

@Reine:

Thank you for the hint. You are right, when you only want to convert files on a desktop. The method described is for automated processing on a server.</description>
		<content:encoded><![CDATA[<p>@DurchR_PW:</p>
<p>I&#8217;ll need to check if htmldoc is able to read from stdin. Thanks for the suggestion, I&#8217;ll check that.</p>
<p>@Reine:</p>
<p>Thank you for the hint. You are right, when you only want to convert files on a desktop. The method described is for automated processing on a server.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

