<?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: Custom Printing with Flex, Part 2: Generating PDFs with AlivePDF</title>
	<atom:link href="http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/</link>
	<description>The Dead Tree Blog</description>
	<lastBuildDate>Thu, 08 Jul 2010 13:25:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Kalen Gibbons</title>
		<link>http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/comment-page-2/#comment-6817</link>
		<dc:creator>Kalen Gibbons</dc:creator>
		<pubDate>Wed, 26 May 2010 20:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.kalengibbons.com/blog/?p=191#comment-6817</guid>
		<description>Anders,
  No, as far as I know, there is no way to skip the PDF generation process and push directly to the printer.</description>
		<content:encoded><![CDATA[<p>Anders,<br />
  No, as far as I know, there is no way to skip the PDF generation process and push directly to the printer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/comment-page-2/#comment-6790</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Tue, 25 May 2010 13:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.kalengibbons.com/blog/?p=191#comment-6790</guid>
		<description>Ok, here is an odd question but does anyone know if it&#039;s possible to print the PDF that is generated with AlivePDF and AS3. I mean instead of writing the PDF to disc and then print it, is it possible to send it directly as a print job?</description>
		<content:encoded><![CDATA[<p>Ok, here is an odd question but does anyone know if it&#8217;s possible to print the PDF that is generated with AlivePDF and AS3. I mean instead of writing the PDF to disc and then print it, is it possible to send it directly as a print job?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalen Gibbons</title>
		<link>http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/comment-page-2/#comment-6728</link>
		<dc:creator>Kalen Gibbons</dc:creator>
		<pubDate>Thu, 20 May 2010 19:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.kalengibbons.com/blog/?p=191#comment-6728</guid>
		<description>Chitra,
  AlivePDF basically takes a screenshot of your application and uses that for the PDF.  So if you (the user) cannot see part of your application or it&#039;s data, then AlivePDF won&#039;t be able to print it.  If you have a large dataset that you&#039;d like to print, I would suggest reading the next article in this series.

http://www.kalengibbons.com/blog/index.php/2009/04/custom-printing-with-flex-part-3-printing-data/</description>
		<content:encoded><![CDATA[<p>Chitra,<br />
  AlivePDF basically takes a screenshot of your application and uses that for the PDF.  So if you (the user) cannot see part of your application or it&#8217;s data, then AlivePDF won&#8217;t be able to print it.  If you have a large dataset that you&#8217;d like to print, I would suggest reading the next article in this series.</p>
<p><a href="http://www.kalengibbons.com/blog/index.php/2009/04/custom-printing-with-flex-part-3-printing-data/" rel="nofollow">http://www.kalengibbons.com/blog/index.php/2009/04/custom-printing-with-flex-part-3-printing-data/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chitra</title>
		<link>http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/comment-page-2/#comment-6722</link>
		<dc:creator>Chitra</dc:creator>
		<pubDate>Thu, 20 May 2010 06:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.kalengibbons.com/blog/?p=191#comment-6722</guid>
		<description>Hi Kalen,
Im using flexbuilder3.I have two vboxes in my application.Im trying to generate pdf from first Vbox which has a grid.It works fine with the visible data.But the problem is, it s not displaying all pages.Plz help me with tis problem.Im attaching my code with this.


import org.alivepdf.images.ResizeMode;
		import mx.effects.Resize;
		import org.alivepdf.fonts.Style;
		import org.alivepdf.colors.RGBColor;
		import org.alivepdf.fonts.FontFamily;
		import mx.core.IFontContextComponent;
		import org.alivepdf.saving.Method;
		import org.alivepdf.layout.Layout;
		import org.alivepdf.display.Display;
		import org.alivepdf.layout.Size;
		import org.alivepdf.layout.Unit;
		import org.alivepdf.layout.Orientation;
		import org.alivepdf.pdf.PDF;
		
		import org.mart3.pdfGeneration.CreatePDF;

public function doGeneratePDF():void
            {
                 var myPDF : PDF = new PDF ( Orientation.PORTRAIT,     Unit.MM, Size.A4 );
                  myPDF.setDisplayMode( Display.FULL_PAGE, Layout.SINGLE_PAGE );
                  
                  myPDF.addPage();
                  // add a background image
                  
                  myPDF.addImage(idScreen1,0,0,0,0,&quot;PNG&quot;,100,1,ResizeMode.RESIZE_PAGE,BlendMode.NORMAL);
                  //myPDF.addImage (, 1 , null, null, false, ImageFormat.JPG, 100, 0, 0, 0, 0);
                  
                  var f:FileStream = new FileStream();
                  var file:File = File.desktopDirectory.resolvePath(&quot;MyPDF.pdf&quot;);
                  f.open(file, FileMode.WRITE);
                  var bytes : ByteArray = myPDF.save(Method.LOCAL);
                  f.writeBytes(bytes);
                  f.close();
            }</description>
		<content:encoded><![CDATA[<p>Hi Kalen,<br />
Im using flexbuilder3.I have two vboxes in my application.Im trying to generate pdf from first Vbox which has a grid.It works fine with the visible data.But the problem is, it s not displaying all pages.Plz help me with tis problem.Im attaching my code with this.</p>
<p>import org.alivepdf.images.ResizeMode;<br />
		import mx.effects.Resize;<br />
		import org.alivepdf.fonts.Style;<br />
		import org.alivepdf.colors.RGBColor;<br />
		import org.alivepdf.fonts.FontFamily;<br />
		import mx.core.IFontContextComponent;<br />
		import org.alivepdf.saving.Method;<br />
		import org.alivepdf.layout.Layout;<br />
		import org.alivepdf.display.Display;<br />
		import org.alivepdf.layout.Size;<br />
		import org.alivepdf.layout.Unit;<br />
		import org.alivepdf.layout.Orientation;<br />
		import org.alivepdf.pdf.PDF;</p>
<p>		import org.mart3.pdfGeneration.CreatePDF;</p>
<p>public function doGeneratePDF():void<br />
            {<br />
                 var myPDF : PDF = new PDF ( Orientation.PORTRAIT,     Unit.MM, Size.A4 );<br />
                  myPDF.setDisplayMode( Display.FULL_PAGE, Layout.SINGLE_PAGE );</p>
<p>                  myPDF.addPage();<br />
                  // add a background image</p>
<p>                  myPDF.addImage(idScreen1,0,0,0,0,&#8221;PNG&#8221;,100,1,ResizeMode.RESIZE_PAGE,BlendMode.NORMAL);<br />
                  //myPDF.addImage (, 1 , null, null, false, ImageFormat.JPG, 100, 0, 0, 0, 0);</p>
<p>                  var f:FileStream = new FileStream();<br />
                  var file:File = File.desktopDirectory.resolvePath(&#8220;MyPDF.pdf&#8221;);<br />
                  f.open(file, FileMode.WRITE);<br />
                  var bytes : ByteArray = myPDF.save(Method.LOCAL);<br />
                  f.writeBytes(bytes);<br />
                  f.close();<br />
            }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J. Taniguchi</title>
		<link>http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/comment-page-2/#comment-6678</link>
		<dc:creator>J. Taniguchi</dc:creator>
		<pubDate>Mon, 17 May 2010 13:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.kalengibbons.com/blog/?p=191#comment-6678</guid>
		<description>Hi all,
Just got started with AlivePDF and I got stuck in less than 5 min.! (must be a WW record!)
I&#039;m trying to set custom WIDTH x HEIGHT using Size() class. My code:

[code]
var customsize:Size = new Size([150,87], &quot;custom&quot;, [150/25.4,87/25.4], [150,87]); // 150/25.4 = inches
var pdf:PDF = new PDF(Orientation.PORTRAIT,Unit.MM,customsize);
pdf.addPage();
pdf.save(Method.REMOTE,&#039;lib/engine/display_pdf.php&#039;,Download.INLINE,_get_hash + &#039;.pdf&#039;);
[/code]

I got the PDF on browser but it displays a wrong size (52,9X30,7 mm).
I&#039;m sure I&#039;m screwing something up here but I&#039;m not sure exactly what....
Any help would be appreciated! (admin@beyondmaster.com)

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi all,<br />
Just got started with AlivePDF and I got stuck in less than 5 min.! (must be a WW record!)<br />
I&#8217;m trying to set custom WIDTH x HEIGHT using Size() class. My code:</p>
<p>[code]<br />
var customsize:Size = new Size([150,87], "custom", [150/25.4,87/25.4], [150,87]); // 150/25.4 = inches<br />
var pdf:PDF = new PDF(Orientation.PORTRAIT,Unit.MM,customsize);<br />
pdf.addPage();<br />
pdf.save(Method.REMOTE,'lib/engine/display_pdf.php',Download.INLINE,_get_hash + '.pdf');<br />
[/code]</p>
<p>I got the PDF on browser but it displays a wrong size (52,9X30,7 mm).<br />
I&#8217;m sure I&#8217;m screwing something up here but I&#8217;m not sure exactly what&#8230;.<br />
Any help would be appreciated! (admin@beyondmaster.com)</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Mendez</title>
		<link>http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/comment-page-1/#comment-6487</link>
		<dc:creator>Luis Mendez</dc:creator>
		<pubDate>Sun, 09 May 2010 21:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.kalengibbons.com/blog/?p=191#comment-6487</guid>
		<description>i have a question...somebody could try this code but in asp ??  ... i need it but in asp, if aby can help me please...

thanks in advance...</description>
		<content:encoded><![CDATA[<p>i have a question&#8230;somebody could try this code but in asp ??  &#8230; i need it but in asp, if aby can help me please&#8230;</p>
<p>thanks in advance&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalen Gibbons</title>
		<link>http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/comment-page-1/#comment-6422</link>
		<dc:creator>Kalen Gibbons</dc:creator>
		<pubDate>Thu, 06 May 2010 04:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.kalengibbons.com/blog/?p=191#comment-6422</guid>
		<description>Check out the section &quot;Save locally from Flash&quot; in the next article in this series.  It briefly demonstrates how to save your PDF locally without any server interaction. 
http://www.kalengibbons.com/blog/index.php/tag/custom-printing-with-flex/</description>
		<content:encoded><![CDATA[<p>Check out the section &#8220;Save locally from Flash&#8221; in the next article in this series.  It briefly demonstrates how to save your PDF locally without any server interaction.<br />
<a href="http://www.kalengibbons.com/blog/index.php/tag/custom-printing-with-flex/" rel="nofollow">http://www.kalengibbons.com/blog/index.php/tag/custom-printing-with-flex/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dragos B</title>
		<link>http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/comment-page-1/#comment-6413</link>
		<dc:creator>Dragos B</dc:creator>
		<pubDate>Wed, 05 May 2010 18:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.kalengibbons.com/blog/?p=191#comment-6413</guid>
		<description>Your solution si great. However, when it comes to releasing an AIR standalone application, you must do all the job clientside. So, a solution that does&#039;t include server scripts would be wonderful.</description>
		<content:encoded><![CDATA[<p>Your solution si great. However, when it comes to releasing an AIR standalone application, you must do all the job clientside. So, a solution that does&#8217;t include server scripts would be wonderful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Umair Shahzad</title>
		<link>http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/comment-page-1/#comment-5950</link>
		<dc:creator>Umair Shahzad</dc:creator>
		<pubDate>Thu, 08 Apr 2010 07:21:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.kalengibbons.com/blog/?p=191#comment-5950</guid>
		<description>dear all,
i will be very thankfull to you, if any body can tell me how to use alivePDF with flash , starting from which release i should download from www.alivepdf.org and how to setup this with flash, please it very urgent if somebody can do it i will pay for it as a gift.</description>
		<content:encoded><![CDATA[<p>dear all,<br />
i will be very thankfull to you, if any body can tell me how to use alivePDF with flash , starting from which release i should download from <a href="http://www.alivepdf.org" rel="nofollow">http://www.alivepdf.org</a> and how to setup this with flash, please it very urgent if somebody can do it i will pay for it as a gift.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalen Gibbons</title>
		<link>http://www.kalengibbons.com/blog/index.php/2009/03/custom-printing-with-flex-part-2-generating-pdfs-with-alivepdf/comment-page-1/#comment-5683</link>
		<dc:creator>Kalen Gibbons</dc:creator>
		<pubDate>Fri, 19 Mar 2010 19:50:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.kalengibbons.com/blog/?p=191#comment-5683</guid>
		<description>Hi Dan,
  If the ColdFusion code displayed in the browser I would assume that you&#039;re not running a ColdFusion server.  Your web server needs to support ColdFusion for it to run.</description>
		<content:encoded><![CDATA[<p>Hi Dan,<br />
  If the ColdFusion code displayed in the browser I would assume that you&#8217;re not running a ColdFusion server.  Your web server needs to support ColdFusion for it to run.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
