<?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: Generating a PDF-document with some plsql: as_pdf_mini =&gt; as_pdf3</title>
	<atom:link href="http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3</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/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7316</link>
		<dc:creator>Anton Scheffer</dc:creator>
		<pubDate>Wed, 19 Dec 2012 17:59:16 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=17718#comment-7316</guid>
		<description><![CDATA[Try escaping the quote, i.e. put two quotes in it.]]></description>
		<content:encoded><![CDATA[<p>Try escaping the quote, i.e. put two quotes in it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: francesco.patea@bticino.it</title>
		<link>http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7315</link>
		<dc:creator>francesco.patea@bticino.it</dc:creator>
		<pubDate>Wed, 19 Dec 2012 08:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=17718#comment-7315</guid>
		<description><![CDATA[HI Anton, Thanks a lot, now it&#039;w work fine!
So I&#039;ve a question for you; if the variable v_test contain a sting with quota charater the entire block is not displayed because the syntax is in error.
Have you an idea to solve the problem? Now I user to replace comma char with blank char..
thanks a lot , have a good day 
Francesco.

Ps. merry christmas]]></description>
		<content:encoded><![CDATA[<p>HI Anton, Thanks a lot, now it&#8217;w work fine!<br />
So I&#8217;ve a question for you; if the variable v_test contain a sting with quota charater the entire block is not displayed because the syntax is in error.<br />
Have you an idea to solve the problem? Now I user to replace comma char with blank char..<br />
thanks a lot , have a good day<br />
Francesco.</p>
<p>Ps. merry christmas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Scheffer</title>
		<link>http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7313</link>
		<dc:creator>Anton Scheffer</dc:creator>
		<pubDate>Tue, 11 Dec 2012 21:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=17718#comment-7313</guid>
		<description><![CDATA[That&#039;s because you use q&#039;~ to start a string :)

as_pdf3.set_page_proc( q’~
 begin
 as_pdf3.set_font( ‘helvetica’, 8 );
 as_pdf3.put_txt( 10, 15, ‘Page #PAGE_NR# of “PAGE_COUNT#’ );
 as_pdf3.set_font( ‘helvetica’, 12 );
 as_pdf3.put_txt( 350, 15, ‘This is a footer text’ );
 as_pdf3.set_font( ‘helvetica’, ‘B’, 15 );
 as_pdf3.put_txt( 200, 780, ‘This is a header text’ );
 as_pdf3.put_txt( 200, 750, ~‘ &#124;&#124; v_test&#124; &#124; q&#039;~’ );
 end;~’ );]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s because you use q&#8217;~ to start a string <img src='http://technology.amis.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>as_pdf3.set_page_proc( q’~<br />
 begin<br />
 as_pdf3.set_font( ‘helvetica’, 8 );<br />
 as_pdf3.put_txt( 10, 15, ‘Page #PAGE_NR# of “PAGE_COUNT#’ );<br />
 as_pdf3.set_font( ‘helvetica’, 12 );<br />
 as_pdf3.put_txt( 350, 15, ‘This is a footer text’ );<br />
 as_pdf3.set_font( ‘helvetica’, ‘B’, 15 );<br />
 as_pdf3.put_txt( 200, 780, ‘This is a header text’ );<br />
 as_pdf3.put_txt( 200, 750, ~‘ || v_test| | q&#8217;~’ );<br />
 end;~’ );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: francesco.patea@bticino.it</title>
		<link>http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7312</link>
		<dc:creator>francesco.patea@bticino.it</dc:creator>
		<pubDate>Tue, 11 Dec 2012 08:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=17718#comment-7312</guid>
		<description><![CDATA[I Anton, thanks for your reply. I Improve Your suggest but doesn&#039;t work; in the page I see the string &#124;&#124; v_test &#124;&#124; . Can You Help me to found the error? I attacch my procedure
thanks a lot
Francesco

CREATE OR REPLACE procedure prova 
as 
v_test varchar2(20) := &#039;DDDDDDDDDDDDDDDDDDD&#039;;
bbb blob;
begin
as_pdf3.init();
as_pdf3.set_page_proc( q&#039;~
begin
as_pdf3.set_font( &#039;helvetica&#039;, 8 );
as_pdf3.put_txt( 10, 15, &#039;Page #PAGE_NR# of &quot;PAGE_COUNT#&#039; );
as_pdf3.set_font( &#039;helvetica&#039;, 12 );
as_pdf3.put_txt( 350, 15, &#039;This is a footer text&#039; );
as_pdf3.set_font( &#039;helvetica&#039;, &#039;B&#039;, 15 );
as_pdf3.put_txt( 200, 780, &#039;This is a header text&#039; );
as_pdf3.put_txt( 200, 750, &#039;&#124;&#124;v_test&#124;&#124;&#039; );
end;~&#039; );
as_pdf3.save_pdf (null,&#039;prova.pdf&#039;);
end;]]></description>
		<content:encoded><![CDATA[<p>I Anton, thanks for your reply. I Improve Your suggest but doesn&#8217;t work; in the page I see the string || v_test || . Can You Help me to found the error? I attacch my procedure<br />
thanks a lot<br />
Francesco</p>
<p>CREATE OR REPLACE procedure prova<br />
as<br />
v_test varchar2(20) := &#8216;DDDDDDDDDDDDDDDDDDD&#8217;;<br />
bbb blob;<br />
begin<br />
as_pdf3.init();<br />
as_pdf3.set_page_proc( q&#8217;~<br />
begin<br />
as_pdf3.set_font( &#8216;helvetica&#8217;, 8 );<br />
as_pdf3.put_txt( 10, 15, &#8216;Page #PAGE_NR# of &#8220;PAGE_COUNT#&#8217; );<br />
as_pdf3.set_font( &#8216;helvetica&#8217;, 12 );<br />
as_pdf3.put_txt( 350, 15, &#8216;This is a footer text&#8217; );<br />
as_pdf3.set_font( &#8216;helvetica&#8217;, &#8216;B&#8217;, 15 );<br />
as_pdf3.put_txt( 200, 780, &#8216;This is a header text&#8217; );<br />
as_pdf3.put_txt( 200, 750, &#8216;||v_test||&#8217; );<br />
end;~&#8217; );<br />
as_pdf3.save_pdf (null,&#8217;prova.pdf&#8217;);<br />
end;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Scheffer</title>
		<link>http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7310</link>
		<dc:creator>Anton Scheffer</dc:creator>
		<pubDate>Sat, 01 Dec 2012 14:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=17718#comment-7310</guid>
		<description><![CDATA[This works for me:
declare
  t_query varchar2(1000);
  t_rc sys_refcursor;
begin
  as_pdf3.init;
  t_query := &#039;select 1, 2, 3, 4, 5 from dual&#039;;
  as_pdf3.query2table( t_query );
  open t_rc for t_query;
  as_pdf3.refcursor2table( t_rc, as_pdf3.tp_col_widths( 100, 40, 50, 120, 110 ) );
  as_pdf3.save_pdf;
end;]]></description>
		<content:encoded><![CDATA[<p>This works for me:<br />
declare<br />
  t_query varchar2(1000);<br />
  t_rc sys_refcursor;<br />
begin<br />
  as_pdf3.init;<br />
  t_query := &#8216;select 1, 2, 3, 4, 5 from dual&#8217;;<br />
  as_pdf3.query2table( t_query );<br />
  open t_rc for t_query;<br />
  as_pdf3.refcursor2table( t_rc, as_pdf3.tp_col_widths( 100, 40, 50, 120, 110 ) );<br />
  as_pdf3.save_pdf;<br />
end;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DarkZoro79</title>
		<link>http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7308</link>
		<dc:creator>DarkZoro79</dc:creator>
		<pubDate>Fri, 30 Nov 2012 22:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=17718#comment-7308</guid>
		<description><![CDATA[Anton I hope you get my comment this time. I&#039;m trying to post this 3 times already and nothing.

I want to be able to set the width of all the different columns that I use on my query (report) but so far I can&#039;t make it work.
This is what I&#039;m using, so can you please let me know an example on how I need to make this happen?
t_query := &#039;select c1, c2, c3, c4, c5, c6, c7 from c_table&#039;; as_pdf3.query2table( t_query );
open t_rc for t_query;
as_pdf3.refcursor2table( t_rc, as_pdf3.tp_col_widths(100, 40, 50, 120, 110, 60, 50));
Thanks]]></description>
		<content:encoded><![CDATA[<p>Anton I hope you get my comment this time. I&#8217;m trying to post this 3 times already and nothing.</p>
<p>I want to be able to set the width of all the different columns that I use on my query (report) but so far I can&#8217;t make it work.<br />
This is what I&#8217;m using, so can you please let me know an example on how I need to make this happen?<br />
t_query := &#8216;select c1, c2, c3, c4, c5, c6, c7 from c_table&#8217;; as_pdf3.query2table( t_query );<br />
open t_rc for t_query;<br />
as_pdf3.refcursor2table( t_rc, as_pdf3.tp_col_widths(100, 40, 50, 120, 110, 60, 50));<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Scheffer</title>
		<link>http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7307</link>
		<dc:creator>Anton Scheffer</dc:creator>
		<pubDate>Fri, 30 Nov 2012 20:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=17718#comment-7307</guid>
		<description><![CDATA[@francesco.patea@bticino.it
That&#039;s because you&#039;re put_txt is part of the input parameter for as_pdf3.set_page_proc, it&#039;s just part of a string.
Use .... as_pdf3.put_txt( 350, 15, &#039; &#124;&#124; v_test &#124;&#124; &#039; ); ........]]></description>
		<content:encoded><![CDATA[<p>@francesco.patea@bticino.it<br />
That&#8217;s because you&#8217;re put_txt is part of the input parameter for as_pdf3.set_page_proc, it&#8217;s just part of a string.<br />
Use &#8230;. as_pdf3.put_txt( 350, 15, &#8216; || v_test || &#8216; ); &#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: francesco.patea@bticino.it</title>
		<link>http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7306</link>
		<dc:creator>francesco.patea@bticino.it</dc:creator>
		<pubDate>Fri, 30 Nov 2012 13:25:55 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=17718#comment-7306</guid>
		<description><![CDATA[Hi Anton, I use last version of your package, but now I try to pass at AS_PDF3. So I&#039;ve a problem during the spcification of set_page_proc. In this section I need to insert a variable defined in pl/sql block , but If I insert the variable the result is not draw

es

declare
v_test varchar2(20) := &#039;header info&#039;;
begin
as_pdf3.init();
as_pdf3.set_page_proc( q&#039;~
begin
as_pdf3.set_font( &#039;helvetica&#039;, 8 );
as_pdf3.put_txt( 10, 15, &#039;Page #PAGE_NR# of &quot;PAGE_COUNT#&#039; );
as_pdf3.set_font( &#039;helvetica&#039;, 12 );
as_pdf3.put_txt( 350, 15, v_test );
end;~&#039; );
end;

thanks a lot 
Francesco.]]></description>
		<content:encoded><![CDATA[<p>Hi Anton, I use last version of your package, but now I try to pass at AS_PDF3. So I&#8217;ve a problem during the spcification of set_page_proc. In this section I need to insert a variable defined in pl/sql block , but If I insert the variable the result is not draw</p>
<p>es</p>
<p>declare<br />
v_test varchar2(20) := &#8216;header info&#8217;;<br />
begin<br />
as_pdf3.init();<br />
as_pdf3.set_page_proc( q&#8217;~<br />
begin<br />
as_pdf3.set_font( &#8216;helvetica&#8217;, 8 );<br />
as_pdf3.put_txt( 10, 15, &#8216;Page #PAGE_NR# of &#8220;PAGE_COUNT#&#8217; );<br />
as_pdf3.set_font( &#8216;helvetica&#8217;, 12 );<br />
as_pdf3.put_txt( 350, 15, v_test );<br />
end;~&#8217; );<br />
end;</p>
<p>thanks a lot<br />
Francesco.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Scheffer</title>
		<link>http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7305</link>
		<dc:creator>Anton Scheffer</dc:creator>
		<pubDate>Tue, 27 Nov 2012 21:37:13 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=17718#comment-7305</guid>
		<description><![CDATA[@Ruben
&quot;the width of all the columns is fixed&quot;: Not true
&quot;fix that problem&quot;: It&#039;s no problem
&quot;I don’t want to have a huge empty space&quot;: Then why don&#039;t you use the parameter p_widths?]]></description>
		<content:encoded><![CDATA[<p>@Ruben<br />
&#8220;the width of all the columns is fixed&#8221;: Not true<br />
&#8220;fix that problem&#8221;: It&#8217;s no problem<br />
&#8220;I don’t want to have a huge empty space&#8221;: Then why don&#8217;t you use the parameter p_widths?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruben</title>
		<link>http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/#comment-7304</link>
		<dc:creator>Ruben</dc:creator>
		<pubDate>Tue, 27 Nov 2012 18:58:59 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/?p=17718#comment-7304</guid>
		<description><![CDATA[Hi there Anton,
I have a quick question. I have created a pdf file and it works great but I noticed that the width of all the columns is fixed.
Can you let me know how to fix that problem so my query can have a report with different size columns? I don&#039;t want to have a huge empty space for just a column with a 1 (number)
Thanks in advance Ruben]]></description>
		<content:encoded><![CDATA[<p>Hi there Anton,<br />
I have a quick question. I have created a pdf file and it works great but I noticed that the width of all the columns is fixed.<br />
Can you let me know how to fix that problem so my query can have a report with different size columns? I don&#8217;t want to have a huge empty space for just a column with a 1 (number)<br />
Thanks in advance Ruben</p>
]]></content:encoded>
	</item>
</channel>
</rss>
