Each show's badge is laid out differently... I've got all the code in my Flex program to properly format the FlexPrintJob for the badge(s)... Was just hoping to create that FlexPrintJob as-is, and pass it to the AIR program... Just me bein' lazy... :-)
Worst-case scenario, I simply copy that code from the Flex app to the AIR app and run it from there, sending just a couple of lines of XML thru the LocalConnection, containing the registration ID# and attendee # -- stuff the AIR app can use to lookup all the data it needs to generate the FlexPrintJob properly. L. On Wed, Sep 8, 2010 at 3:24 PM, Scott Talsma <[email protected]> wrote: > If you are just printing badges, how much info is there really to deal > with? It seems to me that you can easily serialize the necessary data > (backgroundImage, first, last, company, title) into xml. That can be sent > to AIR, deserialized, laid out, etc. Then create the PrintJob on that side. > > > I thought that you were trying to print arbitrary stuff; if it is only > simple stuff, there probably isn't too much business logic to recreate on > the AIR side. (And I have never done printing from Flash Player where I > didn't have to go back and re-layout everything specifically for the print > job anyway, so you will have specialized logic.) >
