Thanks everybody for the replies... I've been thinking about rendering an HTML table into a TextField inside a sprite... But as far as I know, TextFields in flash does not support HTML tables.
What else is recomended? On Thu, Feb 26, 2009 at 7:52 PM, Anthony Pace <[email protected]>wrote: > You beat me to it. I was going to say that he could lat it out someway > like outputing it all as html inside an mc like eric said, convert the mc > to a bitmap like you suggested, and then use printJob(); > > Here is a decent tutorial... > > > http://blog.tikikitchen.com/2008/04/18/printing-in-flash-in-1000000000-simple-steps > > > > > Glen Pike wrote: > >> Omar Fouad wrote: >> >>> Hi all,I am working on a POS application in AIR and SQLite, and I am >>> stuck >>> with this little problem. I need to send to a printer, some data from an >>> array and create a table.. in other words, I need to print a receipt. >>> >>> Is there any way to create dinamically a table and fill it with strings >>> and >>> print it out? >>> >>> Thanks in advance >>> >>> >>> >> Hi, >> >> Not sure about the dynamic table, but you can use the PrintJob class in >> ActionScript. The best thing to do with this is to create a MovieClip the >> size of the thing to print and put a Bitmap inside it. Do a grab of your >> Receipt table / MovieClip into the bitmap and use the PrintJob to print - >> this gets around problems with vector vs bitmap in printing because you are >> always printing a bitmap. As long as you have a way of laying out your >> "receipt" you can print it from AS if you like... >> >> Glen >> _______________________________________________ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Omar M. Fouad - ActionScript Developer www.omar-fouad.net Cellular: (+20) 1011.88.534 Mail: [email protected] This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

