Yeah, that's what I was thinking, too...  Just wanted to see if that was
really the case, or if there was some easy way to make Flex send text
without a major hack.  This thing is so hacked already because of our
needing to print without dialogue-boxes, that I'm really not interested in
hacking it further...  LOL

They can wait the 5 seconds it takes for the printer to process each badge,
dammit.  :-)

L.

On Tue, Jan 25, 2011 at 11:50 AM, Douglas Knudsen
<[email protected]>wrote:

>
> Basically you are printing what is "drawn" on the screen by way of Flash
> Player.  No way I know of to send the plain text in a print job in Flex.
>  What you might be able to pull off is using a External Interface call and
> pushing the plain text to JavaScript then out to the printer.
>
>
> Douglas Knudsen
> [email protected]
>
>
>
> On Jan 18, 2011, at 4:10 PM, Laurence MacNeill wrote:
>
> > It seems that all my print-jobs are being rendered as graphics, even when
> they're only text.  I can understand Flex/Flash choosing to render a page as
> graphics when it contains a bitmap (like a PDF417 bar-code bitmap, for
> example) but when it's just text, it should be sending the job as plain
> text, which would print far faster...  (Clients are complaining about the
> delay between the time you click 'Print' and the time the first badge pops
> out of the printer.  Geez...  You'd think they'd be appreciative of the fact
> that it actually works with no pop-up dialogues.  LOL)
> >
> > Any ideas on how to get Flex/Flash to send a PrintJob as plain text
> instead of graphics?  Or is this just something I'm gonna have to live with?
> >
> > Perhaps it's the way I'm constructing the print-job itself?  I'm
> basically making a <mx:canvas> that's the size of the printer's printable
> area, and adding stuff like 'TextArea's and 'Label's to that canvas, then
> adding the canvas to the PrintJob using the addPage method...  Don't really
> know of any other way to do it -- if y'all have any suggestions with regards
> to that too, I'm open to ideas.
> >
> > Oh, and I've tried setting the printMethod property of a PrintJobOptions
> object -- either PrintMethod.BITMAP or PrintMethod.VECTOR don't seem to make
> any difference in the speed.  It's all graphics anyway, and these
> badge-printers are just slow processing graphics of any sort...  I'd like to
> figure out how to make it send just plain text in the proper True-Type
> Font...
> >
> > Thanks,
> > Laurence MacNeill
> > Mableton, Georgia, USA
> >
>
>
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in
> the subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by http://www.fusionlink.com
> -------------------------------------------------------------
>
>
>

Reply via email to