From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Printing on M$ Date: Mon, 21 Jan 2008 09:29:04 +0000 Message-ID: <479465E0.8070307@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200907772 18344 80.91.229.12 (21 Jan 2008 09:29:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2008 09:29:32 +0000 (UTC) Cc: "Lennart Borgman \(gmail\)" , Emacs Devel To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 10:29:50 2008 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 1JGsyT-0005xh-D3 for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 10:29:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGsy3-0004K2-4y for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 04:29:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGsxt-0004Gu-SA for emacs-devel@gnu.org; Mon, 21 Jan 2008 04:29:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGsxr-0004F9-UU for emacs-devel@gnu.org; Mon, 21 Jan 2008 04:29:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGsxr-0004Ey-Oh for emacs-devel@gnu.org; Mon, 21 Jan 2008 04:29:11 -0500 Original-Received: from mk-outboundfilter-3.mail.uk.tiscali.com ([212.74.114.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGsxr-0005sE-Fh for emacs-devel@gnu.org; Mon, 21 Jan 2008 04:29:11 -0500 Original-X-Trace: 23277084/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAOf0k0dTQxds/2dsb2JhbAAIqmE X-IP-Direction: OUT Original-Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Jan 2008 09:29:10 +0000 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:87198 Archived-At: dhruva wrote: > Hi, > > On Jan 21, 2008 11:44 AM, dhruva wrote: > >> I am exploring the GDI interface and seems quite structured (compared >> to other things on M$) >> > > Do I concentrate on getting RAW text printing using GDI interfaces? I > have written a small tool from which I can get the printer selection > dialog box (with default printer selected) and print the file I have > given from the command prompt. I am in the process of adding page > break support and that should make a working command/code. > That could be a useful interim solution as a substitute for the "print" command, which is not available on some versions of Windows. If it could send postscript files directly to printers that can support them, and reject them with a warning dialog otherwise then we could use it for ps-print too.