Yeah, I asked this question on Flexcoders but got no answer at all.
Any code would be greatly appreciated :)

The funny thing is this printing a block of multipage text seems like
such a basic thing but there are no examples in the docs and it seems
as thought this issue was never considered as a basic thing people
would need to do.

Regards,
Hank

On 8/18/06, Peter O'Brien <[EMAIL PROTECTED]> wrote:
I have the same problem as the original poster.

I don't suppose anyone can provide more info as a solution than Hans, or
Hans if you're there I would love to see some code.

What are flash mc dimensions to match an A4 page?  Doesn't it vary according
to screen resolution?

How can you efficiently fill a textfield to the point in which you know it
is completely full?

Cheers,
Pete


On 4/24/06, Van De Velde Hans <[EMAIL PROTECTED]> wrote:
>
> You get your text from the textarea and you do this:
>
> Dynamically attach a movieclip from the library with a preformatted
> textfield that exactly fits an A4 page (set movieclip to _visible = false
> to
> do it invisibly)
> and fill the textfield up with the text from your textarea until the
> textfield is full.
>
> Then you add to movieclip to the printjob and push the reference to the
> movieclip to an array.
>
> Cut the remaining text and fill up the next one...
> Create a loop of this to write out all your text.
>
> After all text is written out, you execute the printjob and remove all
> the movieclips with removeMovieClip by looping the array of movieclips.
>
> NOTE : this is easier than it seems.
>
>
> Been there, done that,
>
> Regards,
>
> Hans.
>
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of julian
> atienza
> Sent: maandag 24 april 2006 17:26
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several
> PAGES
>
> Hi.
> I wanted to Print contents of a long Scrollable textArea  with Flash, but
> it's a kind of nightmare.
>
> I tried to made a class to manage Printing (with a PrintJob object inside)
> ,
> and one empty swf that Creates Dynamically the TextArea and the Class to
> ManagePrinting, who feeds textArea with contents and scroll TextArea
> adding
> page by page contents.
>
> Problems:
>
> - The Scrolled area in Screen doesn't appeared to be the same than the
> printable area (each Page, i see repeated contents... why? i just don't
> know
> . IT's like the scroll doesn't scroll propertly).
>
> - Of course, sometimes, appeared incomplete text (with a cut at the
> middle)
> because i don't know any mechanism to avoid it at the moment.
>
>
> Somebody have any idea -> the contents to print will be sometimes of 5 or
> 6
> pages DIN A-4
>
> thanks in advance
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to