From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Egli Subject: Re: Agenda printing: org-agenda-write doesn't use ps-paper-type Date: Thu, 13 Jun 2013 10:11:44 +0200 Message-ID: <87txl2jupr.fsf@sbs.ch> References: <87a9mwdtrh.fsf@gmail.com> <87y5afkcoa.fsf@sbs.ch> <878v2fej7n.fsf@gmail.com> <871u87nwrs.fsf@ucl.ac.uk> <87y5afc7q2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un2dX-0005Px-Nx for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 04:12:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Un2dS-0002JJ-Ql for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 04:12:03 -0400 Received: from mail02.sbs.ch ([194.29.15.70]:45122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un2dS-00028i-J5 for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 04:11:58 -0400 Received: from localhost (localhost [127.0.0.1]) by mail02.sbs.ch (Postfix) with ESMTP id E0D08E91 for ; Thu, 13 Jun 2013 10:11:45 +0200 (CEST) Received: from mail02.sbs.ch ([127.0.0.1]) by localhost (mail02.sbs.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EEVqS2Oi13Oo for ; Thu, 13 Jun 2013 10:11:45 +0200 (CEST) In-Reply-To: <87y5afc7q2.fsf@gmail.com> (Myles English's message of "Wed, 12 Jun 2013 22:57:57 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Myles English Cc: emacs-orgmode@gnu.org Myles English writes: > Thanks for checking it. Yes, I had to change this line in > org-agenda.el: > > - (call-process "ps2pdf" nil nil nil > + (call-process "ps2pdf" nil nil nil "-sPAPERSIZE=3Da4" > > I wonder if we need to allow a set of options to be passed to ps2pdf as > we do for ps? Where do we pass options for ps? A quick rgrep shows that ps2pdf is used in the agenda and two of the exporters (groff and man) so a better option might be to set the papersize via the environment (GS_OPTIONS). Christian --=20 Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Z=C3=BCrich, Switzerland ----- Tag der offenen Tuer Die SBS laedt Sie herzlich ein: 29. Juni 2013 von 9 bis 16 Uhr. Mehr Informationen erhalten Sie unter http://www.sbs.ch/offenetuer