<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flex Tutorial &#187; PrintText</title>
	<atom:link href="http://flextutorial.org/tag/printtext/feed/" rel="self" type="application/rss+xml" />
	<link>http://flextutorial.org</link>
	<description>Rich Internet Application Development by Adobe Flex</description>
	<lastBuildDate>Fri, 11 Dec 2009 05:54:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Printing Multiple Pages using FlexReport</title>
		<link>http://flextutorial.org/2009/06/02/printing-multiple-pages-using-flexreport/</link>
		<comments>http://flextutorial.org/2009/06/02/printing-multiple-pages-using-flexreport/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 21:39:38 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[Flex Print]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[FlexReport]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[print multiple pages]]></category>
		<category><![CDATA[PrintDataGrid]]></category>
		<category><![CDATA[PrintText]]></category>

		<guid isPermaLink="false">http://flextutorial.org/?p=412</guid>
		<description><![CDATA[What is the problem In the previous tutorial, we saw How to Print Multiple Pages Using Flex PrintDataGrid. It works fine when your application just contains one big DataGrid. In the real world, however, you often need a combination of contains and controls like VBox, HBox, Text, Image, plus DataGrid. Then guess what? You still [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff6600;"><strong>What is the problem</strong></span></p>
<p>In the previous tutorial, we saw <a title="Printing Multiple Pages Using PrintDataGrid" href="http://flextutorial.org/2009/05/28/printing-multiple-pages-using-printdatagrid/">How to Print Multiple Pages Using Flex PrintDataGrid</a>. It works fine when your application just contains one big DataGrid. In the real world, however, you often need a combination of contains and controls like <em>VBox, HBox, Text, Image,</em> plus <em>DataGrid</em>. Then guess what? You still have trouble with the Flex print job.</p>
<p>In fact, this is not the only challenge you are facing&#8230; How about the  <strong>Print Preview</strong> function? Why do you need it? Because we are in recession! Oh, yeah, your boss would try to squeeze every penny for the sake of Cost Reduce. No one likes to see you print 100 pages then realize it is a wrong report. Plus saving paper is good for our mother earth.</p>
<p>Unfortunately,  till Flex 3,  Adobe has not provided a good solution to either Multiple Pages Printing or Print Preview (without client-side installation like PDF Printer).</p>
<p><span id="more-412"></span></p>
<p><span style="color: #ff6600;"><strong>FlexReport</strong></span></p>
<p>As I mentioned before, my first Flex job was to find a better way to print multiple pages. So I did a lot of research on the 3rd party solutions. I was quite frustrated at that time. It seemed like everyone was focusing on Flex Layout, Animation, and Backend System Integration. Nobody cared about such a lower level job &#8211; Print. No wonder Adobe is not in hurry to provide a better support for Flex Print.</p>
<p>Finally, there was one open source project got my attention. It&#8217;s called <strong>FlexReport</strong>. After thoroughly reviewed its source code and demo application, I would have to say FlexReport is by far the closet solution to the Flex Print problem.</p>
<p>You can find the information about the FlexReport from the following URLs:</p>
<blockquote>
<pre><strong>1. FlexReport Introduction</strong>
   <a title="FlexReport Introduction" href="http://www.kemelyon.com/bts/2008/01/14/flexreport/">http://www.kemelyon.com/bts/2008/01/14/flexreport/</a>

<strong>2. FlexReport Demo Application</strong>
   <a title="Flex Report" href="http://www.kemelyon.com/flexreport/0_2rc1/">http://www.kemelyon.com/flexreport/0_2rc1/</a>

<strong>3. FlexReport Source File Download</strong>
   <a title="Flex Report" href="http://www.kemelyon.com/flexreport/srcview/FlexReport.zip">http://www.kemelyon.com/flexreport/srcview/FlexReport.zip</a>

   <span style="color: #ff6600;">Notes:
   If you counter any troubles to run the original FlexReport
   from the above link. You can <a title="Download FlexReport Demo" href="http://flextutorial.org/wp-content/uploads/2009/06/flexreportdemo.zip">Download My Working Version Here</a>.
   I fixed some class reference problems and ran it fine in Flex 3.</span></pre>
</blockquote>
<p><span style="color: #ff6600;"><strong>How can FlexReport help you<br />
</strong></span></p>
<p>The best way to see how much <strong>FlexReport </strong>can help you is to <strong>Try It</strong>. Download a copy and run it in your Flex Builder.</p>
<p>I found FlexReport was pretty cool in the following 3 areas:</p>
<blockquote>
<pre><strong>1. Print preview</strong>
   Provides a nice preview by generating print pages through Bitmaps.
   Has a built-in PDF Printer, No extra software required to end users.

<strong>2. Report layout</strong>
   Creates dynamic reports without knowing how many pages in advance.

<strong>3. Multi-page text printing </strong>
   Except PrintDataGrid, adds a PrintText for long Text printing.</pre>
</blockquote>
<p><span style="color: #ff6600;"><strong>What is FlexReport missing</strong></span></p>
<p>The biggest problem of <strong>FlexReport </strong>is:<strong> </strong>it assumes your Flex Components (Controls and Contains) are mainly<strong> Vertical-Stacked. </strong>For example, you have a  TextArea at the top, then a DataGrid starting after the bottom of the TextArea, then an Image after the DataGrid.</p>
<p>However, many corporate forms are not like that, they usually mix Vertical and Horizontal Layout. For instance, you may have 3 Labels, 2 Text Areas, and 2 Images horizontal-aligned while other 2 DataGrids, 2 Texts, 3 Images vertical-aligned. <strong>FlexReport </strong>might give you some weird results in this case.</p>
<p><span style="color: #ff6600;"><strong>Conclusion</strong></span></p>
<p><strong>FlexReport </strong>is a nice solution to none-critical Flex printing  jobs. It enhances Flex Print function in terms of Print Preview, Report Layout, and Multi-page Text Printing. However,  <strong>FlexReport </strong>still has some issues to handle complex corporate reports especially with mixed Vertical and Horizontal Layout.</p>
<p>So, how can you further improve from <strong>FlexReport</strong>? To do so, you need to know some concepts and implementations of Flex Framework. This will be covered in our next tutorial &#8211; <a title="Understanding Flex Print Job from A to Z" href="http://flextutorial.org/2009/06/23/understanding-flex-print-job-from-a-to-z/">Understanding Flex Print Job from A to Z</a>.</p>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://flextutorial.org/2009/06/02/printing-multiple-pages-using-flexreport/&amp;t=Printing+Multiple+Pages+using+FlexReport&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://flextutorial.org/2009/06/02/printing-multiple-pages-using-flexreport/&amp;title=Printing+Multiple+Pages+using+FlexReport&amp;t=1 ' height='80' width='52' scrolling='no' frameborder='0' ></iframe></td> <td><script type="text/javascript">tweetmeme_url='http://flextutorial.org/2009/06/02/printing-multiple-pages-using-flexreport/'; tweetmeme_style = 'normal';tweetmeme_source = 'flextutorial'; </script><script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js" ></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->]]></content:encoded>
			<wfw:commentRss>http://flextutorial.org/2009/06/02/printing-multiple-pages-using-flexreport/feed/</wfw:commentRss>
		<slash:comments>55</slash:comments>
		</item>
		<item>
		<title>How to Print in Adobe Flex</title>
		<link>http://flextutorial.org/2009/05/21/how-to-print-in-adobe-flex/</link>
		<comments>http://flextutorial.org/2009/05/21/how-to-print-in-adobe-flex/#comments</comments>
		<pubDate>Thu, 21 May 2009 15:37:33 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[Flex Print]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[Flex Report]]></category>
		<category><![CDATA[FlexReport]]></category>
		<category><![CDATA[how to print]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[print multiple pages]]></category>
		<category><![CDATA[PrintDataGrid]]></category>
		<category><![CDATA[PrintText]]></category>

		<guid isPermaLink="false">http://flextutorial.org/?p=305</guid>
		<description><![CDATA[Believe it or not, my first Flex job had nothing to do with even 1% of Rich Internet Application. It was to print multiple pages in Flex. I know what you are thinking right now. Why should I care printing in Flex? Is Flex supposed to be used for creating cool stuffs rather than this [...]]]></description>
			<content:encoded><![CDATA[<p>Believe it or not, my first Flex job had nothing to do with even 1% of Rich Internet Application. It was to <strong>print multiple pages in Flex.</strong></p>
<p>I know what you are thinking right now. Why should I care printing in Flex? Is Flex supposed to be used for creating cool stuffs rather than this kind of low-level system function? That was exactly what I thought at that time. But job is job, especially when the pay is good.</p>
<p>The interesting thing is I actually learned a lot from this printing job. Because it touched many key areas of Flex framework, such as: Container Framework, Component Construction, and Layout Management. The fact is, once you know something from inside out, you will feel some fun of doing it.</p>
<p><span id="more-305"></span></p>
<p>Over the next week, I want to write a series of 4 tutorials about How to Print in Flex. Here are the topics we will be covering:</p>
<ol>
<li><a title="Using Flex Build-in Print Function" href="http://flextutorial.org/2009/05/21/using-flex-build-in-print-function/">Using Flex Build-in Print Function</a></li>
<li><a title="Printing Multiple Pages Using PrintDataGrid" href="http://flextutorial.org/2009/05/28/printing-multiple-pages-using-printdatagrid/">Printing Multiple Pages using PrintDataGrid</a></li>
<li><a title="Printing Multiple Pages using FlexReport" href="http://flextutorial.org/2009/06/02/printing-multiple-pages-using-flexreport/">Printing Multiple Pages using FlexReport</a></li>
<li><a title="Understanding Flex Print Job from A to Z" href="http://flextutorial.org/2009/06/23/understanding-flex-print-job-from-a-to-z/">Understanding Flex Print Job from A to Z</a></li>
</ol>
<p>To follow along with this series, make sure you <a href="http://flextutorial.org/feed/">subscribe to our RSS feed</a> or bookmark and come back to this page.</p>
<p>Stay tuned for the next post of this tutorial series on <a title="Using Flex Build-in Print Function" href="http://flextutorial.org/2009/05/21/using-flex-build-in-print-function/"><strong>Using Flex Build-in Print Function</strong></a>.</p>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://flextutorial.org/2009/05/21/how-to-print-in-adobe-flex/&amp;t=How+to+Print+in+Adobe+Flex&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><iframe src='http://widgets.dzone.com/links/widgets/zoneit.html?url=http://flextutorial.org/2009/05/21/how-to-print-in-adobe-flex/&amp;title=How+to+Print+in+Adobe+Flex&amp;t=1 ' height='80' width='52' scrolling='no' frameborder='0' ></iframe></td> <td><script type="text/javascript">tweetmeme_url='http://flextutorial.org/2009/05/21/how-to-print-in-adobe-flex/'; tweetmeme_style = 'normal';tweetmeme_source = 'flextutorial'; </script><script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js" ></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->]]></content:encoded>
			<wfw:commentRss>http://flextutorial.org/2009/05/21/how-to-print-in-adobe-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

