<?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: Concatenate PDF in PHP</title> <atom:link href="http://neo22s.com/concatenate-pdf-in-php/feed/" rel="self" type="application/rss+xml" /><link>http://neo22s.com/concatenate-pdf-in-php/</link> <description>Web development, scripts, source code and IT stuff</description> <lastBuildDate>Tue, 27 Jul 2010 07:16:23 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>By: Jan Thelen</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1952</link> <dc:creator>Jan Thelen</dc:creator> <pubDate>Wed, 05 May 2010 10:58:26 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1952</guid> <description>Many thanky from Germany</description> <content:encoded><![CDATA[<p>Many thanky from Germany</p> ]]></content:encoded> </item> <item><title>By: Jez</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1939</link> <dc:creator>Jez</dc:creator> <pubDate>Thu, 29 Apr 2010 15:19:51 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1939</guid> <description>And thanks from me. :D This has been driving me nuts for weeks.</description> <content:encoded><![CDATA[<p>And thanks from me. :D<br /> This has been driving me nuts for weeks.</p> ]]></content:encoded> </item> <item><title>By: Balkanski</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1689</link> <dc:creator>Balkanski</dc:creator> <pubDate>Tue, 23 Mar 2010 10:07:43 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1689</guid> <description>Thanks from me too :)</description> <content:encoded><![CDATA[<p>Thanks from me too :)</p> ]]></content:encoded> </item> <item><title>By: Chema</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1579</link> <dc:creator>Chema</dc:creator> <pubDate>Fri, 19 Mar 2010 16:10:44 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1579</guid> <description>thanks ;)</description> <content:encoded><![CDATA[<p>thanks ;)</p> ]]></content:encoded> </item> <item><title>By: adrianbj</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1577</link> <dc:creator>adrianbj</dc:creator> <pubDate>Fri, 19 Mar 2010 15:31:13 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1577</guid> <description>Alternative way to get rid of the annoying horizontal line in the header if you want to keep using TCPDFJust add these lines after: $pdf =&amp; new concat_pdf();// remove default header/footer $pdf-&gt;setPrintHeader(false); $pdf-&gt;setPrintFooter(false);</description> <content:encoded><![CDATA[<p>Alternative way to get rid of the annoying horizontal line in the header if you want to keep using TCPDF</p><p>Just add these lines after: $pdf =&amp; new concat_pdf();</p><p>// remove default header/footer<br /> $pdf-&gt;setPrintHeader(false);<br /> $pdf-&gt;setPrintFooter(false);</p> ]]></content:encoded> </item> <item><title>By: Balkanski</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1268</link> <dc:creator>Balkanski</dc:creator> <pubDate>Tue, 02 Feb 2010 11:17:16 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1268</guid> <description>I solved the problem by using FPDF and ignoring the &#039;fpdi2tcpdf_bridge.php&#039; script, which is loaded by default if an already included TCPDF class is found.Actually, the original example uses it, instead of TCPDF.http://www.setasign.de/products/pdf-php-solutions/fpdi/demos/concatenate-fake/Now the annoying line above the header is gone.</description> <content:encoded><![CDATA[<p>I solved the problem by using FPDF and ignoring the &#8216;fpdi2tcpdf_bridge.php&#8217; script, which is loaded by default if an already included TCPDF class is found.</p><p>Actually, the original example uses it, instead of TCPDF.</p><p><a href="http://www.setasign.de/products/pdf-php-solutions/fpdi/demos/concatenate-fake/" rel="nofollow">http://www.setasign.de/products/pdf-php-solutions/fpdi/demos/concatenate-fake/</a></p><p>Now the annoying line above the header is gone.</p> ]]></content:encoded> </item> <item><title>By: Chema</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1266</link> <dc:creator>Chema</dc:creator> <pubDate>Tue, 02 Feb 2010 09:05:32 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1266</guid> <description>I think you should go to the support forums of TCPDF, no?</description> <content:encoded><![CDATA[<p>I think you should go to the support forums of TCPDF, no?</p> ]]></content:encoded> </item> <item><title>By: Balkanski</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1265</link> <dc:creator>Balkanski</dc:creator> <pubDate>Tue, 02 Feb 2010 08:58:57 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1265</guid> <description>Hi again.Here is what I have done step by step:Download TCPDF - Version: 4.8.031 Download FPDF_TPL-1.1.4 Download FPDI_1.3.2Extract the archives in one dir in my localhost workspace.Move &#039;fpdf_tpl.php&#039; file to &#039;FPDI_1.3.2&#039; dir in order it could be loaded properly.Create an index.php file.Copy the upper &#039;concat_pdf&#039; class in it.Copy the upper &#039;Usage&#039; code.Use a standart PDF file in the setFiles() method, downloaded from the web, not previously generated with TCPDF. (By the way, If I use a file, which is generated by TCPDF, the result is the same)Launch the script.The output is the same as the source PDF file with one difference - on each page there is a line 2 or 3 mm below the top edge of the page. It starts from the &#039;left_margin&#039; position and ends to the &#039;right_margin&#039; position.If we use TCPDF to build a page, the same result may be achieved by the following code used in the Header() method:$this-&gt;Line($this-&gt;left_margin, 3, $this-&gt;getPageWidth() - $this-&gt;right_margin, 3);</description> <content:encoded><![CDATA[<p>Hi again.</p><p>Here is what I have done step by step:</p><p>Download TCPDF &#8211; Version: 4.8.031<br /> Download FPDF_TPL-1.1.4<br /> Download FPDI_1.3.2</p><p>Extract the archives in one dir in my localhost workspace.</p><p>Move &#8216;fpdf_tpl.php&#8217; file to &#8216;FPDI_1.3.2&#8242; dir in order it could be loaded properly.</p><p>Create an index.php file.</p><p>Copy the upper &#8216;concat_pdf&#8217; class in it.</p><p>Copy the upper &#8216;Usage&#8217; code.</p><p>Use a standart PDF file in the setFiles() method, downloaded from the web, not previously generated with TCPDF.<br /> (By the way, If I use a file, which is generated by TCPDF, the result is the same)</p><p>Launch the script.</p><p>The output is the same as the source PDF file with one difference &#8211; on each page there is a line 2 or 3 mm below the top edge of the page. It starts from the &#8216;left_margin&#8217; position and ends to the &#8216;right_margin&#8217; position.</p><p>If we use TCPDF to build a page, the same result may be achieved by the following code used in the Header() method:</p><p>$this-&gt;Line($this-&gt;left_margin, 3, $this-&gt;getPageWidth() &#8211; $this-&gt;right_margin, 3);</p> ]]></content:encoded> </item> <item><title>By: Chema</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1264</link> <dc:creator>Chema</dc:creator> <pubDate>Mon, 01 Feb 2010 16:45:32 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1264</guid> <description>No there&#039;s nothing in my code that is doing that.Regards and thanks!</description> <content:encoded><![CDATA[<p>No there&#8217;s nothing in my code that is doing that.</p><p>Regards and thanks!</p> ]]></content:encoded> </item> <item><title>By: Balkanski</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1263</link> <dc:creator>Balkanski</dc:creator> <pubDate>Mon, 01 Feb 2010 16:03:31 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1263</guid> <description>First of all, great script!Second, I have a question: When I concatenate pdf files I get one horizontal line on each page just above my header. It is situated 2 or 3 mm from the top end of the paper.Is it a feature or a bug, and if the first, is there a way I could hide it?Thanks in advance and keep writing such great scripts.</description> <content:encoded><![CDATA[<p>First of all, great script!</p><p>Second, I have a question:<br /> When I concatenate pdf files I get one horizontal line on each page just above my header.<br /> It is situated 2 or 3 mm from the top end of the paper.</p><p>Is it a feature or a bug, and if the first, is there a way I could hide it?</p><p>Thanks in advance and keep writing such great scripts.</p> ]]></content:encoded> </item> <item><title>By: Chema</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1092</link> <dc:creator>Chema</dc:creator> <pubDate>Tue, 29 Dec 2009 21:25:31 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1092</guid> <description>Thanks!ufff, I&#039;m sorry now I really can&#039;t remember but I&#039;m certain there&#039;s a way :S</description> <content:encoded><![CDATA[<p>Thanks!</p><p>ufff, I&#8217;m sorry now I really can&#8217;t remember but I&#8217;m certain there&#8217;s a way :S</p> ]]></content:encoded> </item> <item><title>By: Jim Geraci</title><link>http://neo22s.com/concatenate-pdf-in-php/comment-page-1/#comment-1091</link> <dc:creator>Jim Geraci</dc:creator> <pubDate>Tue, 29 Dec 2009 19:19:19 +0000</pubDate> <guid isPermaLink="false">http://neo22s.com/?p=255#comment-1091</guid> <description>First off, AWESOME!Second, is there a way to check for a returned error?  I&#039;m using this on a form and I want to have the user return to the previous page to try again if the creation fails.Thanks, Jim</description> <content:encoded><![CDATA[<p>First off, AWESOME!</p><p>Second, is there a way to check for a returned error?  I&#8217;m using this on a form and I want to have the user return to the previous page to try again if the creation fails.</p><p>Thanks,<br /> Jim</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using xcache
Page Caching using xcache (user agent is rejected)
Database Caching 6/24 queries in 0.025 seconds using xcache

Served from: neo22s.com @ 2010-07-30 12:14:18 -->