<?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: AS_PDF, generating a PDF-document with some plsql</title>
	<atom:link href="http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=as_pdf-generating-a-pdf-document-with-some-plsql</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Anton Scheffer</title>
		<link>http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/#comment-6366</link>
		<dc:creator>Anton Scheffer</dc:creator>
		<pubDate>Wed, 01 Feb 2012 20:47:51 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=8650#comment-6366</guid>
		<description><![CDATA[@Franco
As I said, &quot;Not complete backward compatible&quot;. I had no need for that procedure, so I didn&#039;t included it.
But I think you can add the old show_pdf procedure yourself.]]></description>
		<content:encoded><![CDATA[<p>@Franco<br />
As I said, &#8220;Not complete backward compatible&#8221;. I had no need for that procedure, so I didn&#8217;t included it.<br />
But I think you can add the old show_pdf procedure yourself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franco G.</title>
		<link>http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/#comment-6365</link>
		<dc:creator>Franco G.</dc:creator>
		<pubDate>Wed, 01 Feb 2012 10:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=8650#comment-6365</guid>
		<description><![CDATA[Anton

thank you very much for your quick reply and for having confirmed that the solution could be fine.
I download the new version of as_pdf but i didn&#039;t see the show_pdf function. Why?
Franco]]></description>
		<content:encoded><![CDATA[<p>Anton</p>
<p>thank you very much for your quick reply and for having confirmed that the solution could be fine.<br />
I download the new version of as_pdf but i didn&#8217;t see the show_pdf function. Why?<br />
Franco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Scheffer</title>
		<link>http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/#comment-6364</link>
		<dc:creator>Anton Scheffer</dc:creator>
		<pubDate>Sat, 28 Jan 2012 19:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=8650#comment-6364</guid>
		<description><![CDATA[@Franco G.
Nothing wrong with your version. It does not do exactly the same as my version, but if it works for you, use it!]]></description>
		<content:encoded><![CDATA[<p>@Franco G.<br />
Nothing wrong with your version. It does not do exactly the same as my version, but if it works for you, use it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franco G.</title>
		<link>http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/#comment-6363</link>
		<dc:creator>Franco G.</dc:creator>
		<pubDate>Sat, 28 Jan 2012 13:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=8650#comment-6363</guid>
		<description><![CDATA[Hi Anton
First of all tank you very much for your usefull work.
I had a problem with some browser that not recongnized the pdf file.
I solved the problem with a little modification to a &quot;show&quot;Â  procedure and i&#039;d like to know your opinion about it.
---- original &quot;show&quot; function
procedure show_pdf
 is
 begin
 finish_pdf;
 owa_util.mime_header( &#039;application/pdf&#039;, false );
 htp.print( &#039;Content-Length: &#039; &#124;&#124; dbms_lob.getlength( pdf_doc ) );
 htp.print( &#039;Content-disposition: inline&#039; );
 htp.print( &#039;Content-Description: Generated by as_xslfo2pdf&#039; );
 owa_util.http_header_close;
 wpg_docload.download_file( pdf_doc );
 dbms_lob.freetemporary( pdf_doc );
 end;
------ modified &quot;show&quot; function
procedure show_pdf (p_name in varchar2)
 is
 begin
 finish_pdf;
 owa_util.mime_header( &#039;application/pdf&#039;, false );
 htp.print( &#039;Content-Length: &#039; &#124;&#124; dbms_lob.getlength( pdf_doc ) );
-- modified and added line
 htp.print( &#039;Content-disposition: attachment; filename=&quot;&#039;&#124;&#124;p_name&#124;&#124;&#039;&quot;&#039; );
 htp.print( &#039;Content-type: application/pdf&#039; );
----
 htp.print( &#039;Content-Description: Generated by as_xslfo2pdf&#039; );
 owa_util.http_header_close;
 wpg_docload.download_file( pdf_doc );
 dbms_lob.freetemporary( pdf_doc );
 end;
Â ]]></description>
		<content:encoded><![CDATA[<p>Hi Anton<br />
First of all tank you very much for your usefull work.<br />
I had a problem with some browser that not recongnized the pdf file.<br />
I solved the problem with a little modification to a &#8220;show&#8221;Â  procedure and i&#8217;d like to know your opinion about it.<br />
&#8212;- original &#8220;show&#8221; function<br />
procedure show_pdf<br />
 is<br />
 begin<br />
 finish_pdf;<br />
 owa_util.mime_header( &#8216;application/pdf&#8217;, false );<br />
 htp.print( &#8216;Content-Length: &#8216; || dbms_lob.getlength( pdf_doc ) );<br />
 htp.print( &#8216;Content-disposition: inline&#8217; );<br />
 htp.print( &#8216;Content-Description: Generated by as_xslfo2pdf&#8217; );<br />
 owa_util.http_header_close;<br />
 wpg_docload.download_file( pdf_doc );<br />
 dbms_lob.freetemporary( pdf_doc );<br />
 end;<br />
&#8212;&#8212; modified &#8220;show&#8221; function<br />
procedure show_pdf (p_name in varchar2)<br />
 is<br />
 begin<br />
 finish_pdf;<br />
 owa_util.mime_header( &#8216;application/pdf&#8217;, false );<br />
 htp.print( &#8216;Content-Length: &#8216; || dbms_lob.getlength( pdf_doc ) );<br />
&#8211; modified and added line<br />
 htp.print( &#8216;Content-disposition: attachment; filename=&#8221;&#8216;||p_name||&#8217;&#8221;&#8216; );<br />
 htp.print( &#8216;Content-type: application/pdf&#8217; );<br />
&#8212;-<br />
 htp.print( &#8216;Content-Description: Generated by as_xslfo2pdf&#8217; );<br />
 owa_util.http_header_close;<br />
 wpg_docload.download_file( pdf_doc );<br />
 dbms_lob.freetemporary( pdf_doc );<br />
 end;<br />
Â </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Scheffer</title>
		<link>http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/#comment-6362</link>
		<dc:creator>Anton Scheffer</dc:creator>
		<pubDate>Tue, 17 Jan 2012 21:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=8650#comment-6362</guid>
		<description><![CDATA[@Mike
Not that I know of]]></description>
		<content:encoded><![CDATA[<p>@Mike<br />
Not that I know of</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/#comment-6361</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 17 Jan 2012 17:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=8650#comment-6361</guid>
		<description><![CDATA[Hi Anton,
Just came across the as_pdf Â package. Â Thanks very much for sharing.
Is there possibly a simply was to convert an html page to a PDF without re coding and formatting each line?
Mike
Â ]]></description>
		<content:encoded><![CDATA[<p>Hi Anton,<br />
Just came across the as_pdf Â package. Â Thanks very much for sharing.<br />
Is there possibly a simply was to convert an html page to a PDF without re coding and formatting each line?<br />
Mike<br />
Â </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Scheffer</title>
		<link>http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/#comment-6360</link>
		<dc:creator>Anton Scheffer</dc:creator>
		<pubDate>Wed, 11 Jan 2012 21:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=8650#comment-6360</guid>
		<description><![CDATA[@Mohammed Haris
No, I haven&#039;t any examples for that version available.]]></description>
		<content:encoded><![CDATA[<p>@Mohammed Haris<br />
No, I haven&#8217;t any examples for that version available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammed Haris</title>
		<link>http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/#comment-6359</link>
		<dc:creator>Mohammed Haris</dc:creator>
		<pubDate>Wed, 11 Jan 2012 13:03:28 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=8650#comment-6359</guid>
		<description><![CDATA[Anton,
Do you have any code for prototyping this new version, like you had in your previous one ?
Â ]]></description>
		<content:encoded><![CDATA[<p>Anton,<br />
Do you have any code for prototyping this new version, like you had in your previous one ?<br />
Â </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Scheffer</title>
		<link>http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/#comment-6358</link>
		<dc:creator>Anton Scheffer</dc:creator>
		<pubDate>Wed, 11 Jan 2012 08:09:10 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=8650#comment-6358</guid>
		<description><![CDATA[The write procedure isn&#039;t meant for outputting text outside the page margins. You have to use put_txt for that.]]></description>
		<content:encoded><![CDATA[<p>The write procedure isn&#8217;t meant for outputting text outside the page margins. You have to use put_txt for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://technology.amis.nl/2010/10/20/as_pdf-generating-a-pdf-document-with-some-plsql/#comment-6357</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 11 Jan 2012 02:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=8650#comment-6357</guid>
		<description><![CDATA[Anton,
Thank you this has resolved this problem.Â  Unfortunately now I am looking at one that makes no sense to me. Instead of the following lines ending up generating 1 line in the PDF they generate multiple lines on different pages.Â  The intent is that I output the header and footer on each page and then start outputting the body.Â  Any ideas on what is causing this?
-- this is the page header
as_pdf2a.write(&#039;Output by XYZ&#039;,p_y=&gt;500, p_x=&gt;350); --, p_alignment=&gt; &#039;center&#039;);
-- This is the page footer
as_pdf2a.write(&#039;Date: &#039;&#124;&#124;TO_CHAR(pi_as_of,&#039;dd-MON-rr HH:MI AM&#039;),p_y=&gt;40, p_x=&gt;30, p_alignment=&gt; &#039;left&#039;);
as_pdf2a.set_font(p_family=&gt; &#039;TIMES&#039;, p_style=&gt; &#039;N&#039;, p_fontsize_pt=&gt; 18);
as_pdf2a.write(&#039;Output by XYZ&#039;,p_y=&gt;40, p_x=&gt;350, p_alignment=&gt; &#039;center&#039;);
as_pdf2a.set_font(p_family=&gt; &#039;TIMES&#039;, p_style=&gt; &#039;N&#039;, p_fontsize_pt=&gt; 10);
as_pdf2a.write(&#039;Page: &#039;&#124;&#124;pi_page_nbr,p_y=&gt;40, p_x=&gt;740, p_alignment=&gt; &#039;right&#039;);]]></description>
		<content:encoded><![CDATA[<p>Anton,<br />
Thank you this has resolved this problem.Â  Unfortunately now I am looking at one that makes no sense to me. Instead of the following lines ending up generating 1 line in the PDF they generate multiple lines on different pages.Â  The intent is that I output the header and footer on each page and then start outputting the body.Â  Any ideas on what is causing this?<br />
&#8211; this is the page header<br />
as_pdf2a.write(&#8216;Output by XYZ&#8217;,p_y=&gt;500, p_x=&gt;350); &#8211;, p_alignment=&gt; &#8216;center&#8217;);<br />
&#8211; This is the page footer<br />
as_pdf2a.write(&#8216;Date: &#8216;||TO_CHAR(pi_as_of,&#8217;dd-MON-rr HH:MI AM&#8217;),p_y=&gt;40, p_x=&gt;30, p_alignment=&gt; &#8216;left&#8217;);<br />
as_pdf2a.set_font(p_family=&gt; &#8216;TIMES&#8217;, p_style=&gt; &#8216;N&#8217;, p_fontsize_pt=&gt; 18);<br />
as_pdf2a.write(&#8216;Output by XYZ&#8217;,p_y=&gt;40, p_x=&gt;350, p_alignment=&gt; &#8216;center&#8217;);<br />
as_pdf2a.set_font(p_family=&gt; &#8216;TIMES&#8217;, p_style=&gt; &#8216;N&#8217;, p_fontsize_pt=&gt; 10);<br />
as_pdf2a.write(&#8216;Page: &#8216;||pi_page_nbr,p_y=&gt;40, p_x=&gt;740, p_alignment=&gt; &#8216;right&#8217;);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
