Flex: Printed data grid makes huge files
I've an开发者_如何转开发 AIR app which prints a couple of DataGrids with approximately 3 pages worth of data each. I get great-looking printouts, but the printing is slow - I noticed that printing these 6 pages + a title page and a page of lightweight images was sent to the printer in a file of almost 50 MB (on Windows). Is this a normal size for a printed DataGrid? Is there anything I can do to make it smaller and faster?
Related: Printing from AIR/Flex application causes large files being sent to printer
Its basically sending an image to the printer, hence it being great looking but huge.
A totally unscientific experiment messing around with Photoshop, I managed to hit 100 Megs for 3 sides of A4 pretty easily.
Other than messing around with stage quality setting, or experimenting with printing as bitmap / vector... There aren't many options!
Take away message, printing in Flash / AIR isn't good enough yet... but Adobe are aware of that.
精彩评论