From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Printing Date: Thu, 2 Apr 2009 22:56:27 +0200 Message-ID: References: <5f0660120903281352v5d7ab83cy44fcff3cbf4581cb@mail.gmail.com> <20090402100822.GC28589@tomas> <20090402115119.GA29256@tomas> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1238705816 23033 80.91.229.12 (2 Apr 2009 20:56:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Apr 2009 20:56:56 +0000 (UTC) Cc: Eli Zaretskii , tomas@tuxteam.de, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 02 22:58:13 2009 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 1LpTzE-0005yy-61 for ged-emacs-devel@m.gmane.org; Thu, 02 Apr 2009 22:58:09 +0200 Original-Received: from localhost ([127.0.0.1]:46658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LpTxq-0007Ch-FA for ged-emacs-devel@m.gmane.org; Thu, 02 Apr 2009 16:56:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LpTxk-00079o-U1 for emacs-devel@gnu.org; Thu, 02 Apr 2009 16:56:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LpTxf-00073z-TI for emacs-devel@gnu.org; Thu, 02 Apr 2009 16:56:36 -0400 Original-Received: from [199.232.76.173] (port=50049 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LpTxf-00073r-P4 for emacs-devel@gnu.org; Thu, 02 Apr 2009 16:56:31 -0400 Original-Received: from mail-bw0-f167.google.com ([209.85.218.167]:50433) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LpTxe-0001zM-8L; Thu, 02 Apr 2009 16:56:30 -0400 Original-Received: by bwz11 with SMTP id 11so687555bwz.42 for ; Thu, 02 Apr 2009 13:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xRJ0sJ68SVucy5GBwChS8SalXyqMHnMNbk9Nasx9zEo=; b=Z7mI6nhJDljrXm/jOzSjeAE2+Ta8SSQv2Qn4nkcI56WkugHEJO9jzYIYA4SXQwjCnP TvkZvO7w3ZGrX0MiplouNUDjCg0VCl2NlPeIapCOvUqwlemdm+TKrChC41ubxKZWgSL6 Gr3fiiVDKpj5QaKx5Bg+buDLtOaN9mivk9xVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=evd7uvdCYz1VN4zX2d8jLAF6nawprTiezfkch8QZJXESmo8gek3PeP9+SDVBBP4F7V UMlpzZz2qqvN4a5gt7YcVEC0T7YMiyAHdVkBdbruO364NurDIjjMbn/qiTBsFStsccJB q/ERtnMg6A5C6ICY6qlFL1C7HC3uOkQ/82EnY= Original-Received: by 10.223.122.15 with SMTP id j15mr415898far.10.1238705787730; Thu, 02 Apr 2009 13:56:27 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:110022 Archived-At: On Thu, Apr 2, 2009 at 6:15 PM, Stefan Monnier w= rote: >>>> Writing a pdf-file would of course allow printing on w32 more simple >>>> too - if you install some software to read and print pdf. >>> Considering that I'd rather not encourage people to install proprietary >>> software, is it really significantly easier to install support for >>> printing PDF than support for printing Postscript (in Windows)? >> Yes, I think so since most people already have a viewer for PDF >> installed. And that viewer can be used to print. > > AFAIK, Windows comes neither with a Postscript viewer/printer nor with > a PDF viewer/printer. =C2=A0So for ps-print.el we have to ask people to > install Ghostscript on such systems. =C2=A0Assuming we had pdf-print.el, > which other software would we tell people to install? =C2=A0As mentioned > non-proprietary options are unacceptable. > > This said, maybe ps-print.el could be changed so it can run `gs' > directly (under Windows); this would mean that the user only needs to > install Ghostscript without configuring something like redmon and > creating a special postscript virtual printer. An easy way would perhaps be to write a temporary pdf-file and then call w32-shell-execute on that file with "print" as the operation.