From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: patch: handle PS/PDF in Gnus Date: Thu, 12 Jul 2007 11:35:39 +0200 Message-ID: <4695F5EB.2070703@swipnet.se> References: <86r6nl8s13.fsf@lola.quinscape.zz> <8480CDB2-EDBB-4B62-A3CC-D8A13A8E5A46@gmail.com> <469550FD.6010804@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184233923 20531 80.91.229.12 (12 Jul 2007 09:52:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2007 09:52:03 +0000 (UTC) Cc: david.reitter@gmail.com, Eli Zaretskii , Stefan Monnier , YAMAMOTO Mitsuharu , emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 12 11:52:00 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I8vL2-0001gW-Vo for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2007 11:51:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8vL2-0004Q2-BL for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2007 05:51:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I8v5l-0004rZ-FD for emacs-devel@gnu.org; Thu, 12 Jul 2007 05:36:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I8v5j-0004qI-Kq for emacs-devel@gnu.org; Thu, 12 Jul 2007 05:36:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8v5h-0004pe-KT for emacs-devel@gnu.org; Thu, 12 Jul 2007 05:36:06 -0400 Original-Received: from av9-2-sn2.hy.skanova.net ([81.228.8.180]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I8v5e-0006to-BH; Thu, 12 Jul 2007 05:36:02 -0400 Original-Received: by av9-2-sn2.hy.skanova.net (Postfix, from userid 502) id EF198385C8; Thu, 12 Jul 2007 11:35:59 +0200 (CEST) Original-Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av9-2-sn2.hy.skanova.net (Postfix) with ESMTP id CD0BB385BD; Thu, 12 Jul 2007 11:35:59 +0200 (CEST) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 91FFC37E4E; Thu, 12 Jul 2007 11:35:57 +0200 (CEST) User-Agent: Thunderbird 1.5.0.12 (X11/20070604) In-Reply-To: <469550FD.6010804@gnu.org> X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74686 Archived-At: Jason Rumney skrev: > > On Windows, there are two dialogs involved in printing. The "Page Setup" > dialog for choosing papertype, margins, features like 2-up etc, and the > Print Dialog, where you can choose the printer, print quality, and other > features. > Gtk+ has this also. > Due to the number of things you can set in both these dialogs, I think > the interface could be a function that takes a list of properties to use > for initialising the dialog, and returns a list of properties reflecting > the user's choices. If some options are not supported on some platforms, > they can just be ignored, or defaults returned. Since the setup and print dialog are platform specific, why not just keep the settings in data structures in the C code? That would simplify things. On the other hand, it would probably be harder to save/restore between Emacs sessions, if that is what we want. Jan D. > > Page Setup Dialog > :units [hundredths-of-mm|thousandths-of-inch] > :paper-dimensions (x y) > :min-margins [(left top right bottom)|default] > :margins [(left top right bottom)|disable] > :device (driver-name printer-name port-name) > :enable-network [nil|t] > :device-mode (:printer-friendly-name > :orientation [portrait|landscape|disable] > :paper-size [letter|legal|a4....|disable] > :paper-length > :paper-width > :scale-percent > :copies > :paper-source [auto|cassette|envelope|first|upper|lower...] > :print-quality [high|medium|low|draft] > :color [t|nil] > :duplex [t|nil] > :y-dpi > :font [bitmap|download|download-outline|substitute] > :collate [t|nil] > :form-name > :n-up [spooler|application] > :icm-method [none|system|driver|device] > :icm-intent > [abs-color-imetric|color-imetric|contrast|saturate] > :media [plain|glossy|transparency|driver defined integer] > :dither > [none|coarse|fine|line-art|error-diffusion|grayscale] > > Print Dialog > :device (driver-name printer-name port-name) > :device-mode (see above) > :enable-pages [nil|t] > :enable-selection [nil|t] > :pages (from to)|all|selection > :enable-print-to-file [nil|t] > :to-file [nil|t] > :enable-network [nil|t] > :copies > :collate [nil|t] > > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel