Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6DE239A62 for ; Mon, 6 Feb 2012 20:32:32 +0000 (UTC) Received: (qmail 25851 invoked by uid 500); 6 Feb 2012 20:32:32 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 25782 invoked by uid 500); 6 Feb 2012 20:32:31 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 25774 invoked by uid 99); 6 Feb 2012 20:32:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 20:32:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.47] (HELO mail-bk0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 20:32:23 +0000 Received: by bke17 with SMTP id 17so5293960bke.6 for ; Mon, 06 Feb 2012 12:32:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.154.140 with SMTP id o12mr9192234bkw.102.1328560322172; Mon, 06 Feb 2012 12:32:02 -0800 (PST) Received: by 10.204.188.76 with HTTP; Mon, 6 Feb 2012 12:32:02 -0800 (PST) X-Originating-IP: [35.8.29.149] In-Reply-To: References: <4F2D5774.1030706@leichtgewicht.at> <4F2EB68F.7070007@leichtgewicht.at> Date: Mon, 6 Feb 2012 15:32:02 -0500 Message-ID: Subject: Re: [Discussion] Printing from Flex From: Nicholas Kwiatkowski To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0015175df1ce10d86604b8518ea9 X-Virus-Checked: Checked by ClamAV on apache.org --0015175df1ce10d86604b8518ea9 Content-Type: text/plain; charset=ISO-8859-1 While not a GREAT component, we do have the PrintDataGrid, which actually handles the last two items you requested. Multi-page printing is handled by queuing multiple pages into the print queue. The options to set the DPI, page size, etc. is pretty limited, but it does exist... I have a blog post on it from 2006, but it is still accurate for the most part : http://quetwo.com/2006/10/01/printing-in-flex-part-1/ -Nick On Mon, Feb 6, 2012 at 2:40 AM, Haykel BEN JEMIA wrote: > Flex could also add features for making the native flash printing system > easier to use. Some of the functionality I can think of: > > - Handle scaling based on DPI and page setup options (page size, > orientation etc.). > - Handle multi-page printing. > - Make Flex components printable, e.g. with skins for printing like CSS > for different media. For example a DataGrid could have a skin for > printing > where it does not include scrollbars. Some components could also require > more than just a special skin for printing. > > > Haykel > > > > On 5 February 2012 18:04, Martin Heidegger wrote: > > > Hello Omar, > > > > as far as I can tell we were talking about flex specific printing. Having > > problems with the flash player is a reality that needs to be dealt with. > > For one: If we encounter bugs during implementation we should document & > > report them properly. But also: We need to choose a implementation > strategy > > based on the things that work. There is a bunch of options to choose from > > that I can think of: > > > > *) A system that prints using a standardized online service > > *) A system that uses native extensions > > *) A system that generates pdf on the client > > *) A system that works within the limitations of flash player printing > > > > yours > > Martin. > > > --0015175df1ce10d86604b8518ea9--