I managed to get the bitmapData of my scene and add it to the movieclip
printMC, which shows it perfectly if added to stage:
*view.session = new BitmapRenderSession();
var bmp:Bitmap = new Bitmap(view.getBitmapData());
printMC.addChild(bmp);*
But when I try to print printMC, I get the following error:
*Warning: Filter will not render. The DisplayObject's filtered dimensions
(3971, 8565) are too large to be drawn.*
Here is how I try to print:
*var printJob:PrintJob = new PrintJob();
var success = printJob.start();
if ( success ) {
printJob.addPage(printMC, new Rectangle(0, 0, printJob.pageWidth,
printJob.pageHeight));
// Send print job to printer
// Note: If the job is cancelled at this point, it will send a blank page to
the printer on my system. Have not tracked down the bug yet.
printJob.send();
// Delete job from memory
printJob = null;
}*
Any ideas??
Thanks!
k.//
On Tue, May 25, 2010 at 2:30 AM, Makc <[email protected]> wrote:
> Just to throw more fuel into fireplace :)
>
> On Tue, May 18, 2010 at 4:54 PM, Rob Bateman <[email protected]>
> wrote:
> > tried you application out - saved the print output to pdf rather than the
> > printer and the textures all seem to render ok for me.
>
> I just did the same twice (with 2 different scenes and 2 different
> printers) and pdfs are complete mess. Looks very different from
> http://www.rascal.gr/transfer/printed01.jpg too.
>