From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: Agenda printing: org-agenda-write doesn't use ps-paper-type Date: Thu, 13 Jun 2013 15:32:48 +0200 Message-ID: <51B9CA00.8050806@online.de> References: <87a9mwdtrh.fsf@gmail.com> <87y5afkcoa.fsf@sbs.ch> <878v2fej7n.fsf@gmail.com> <871u87nwrs.fsf@ucl.ac.uk> <87y5afc7q2.fsf@gmail.com> <87txl2jupr.fsf@sbs.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un7e1-0000US-Uc for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 09:32:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Un7e0-0004l2-NU for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 09:32:53 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:57858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un7e0-0004kN-Dc for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 09:32:52 -0400 In-Reply-To: <87txl2jupr.fsf@sbs.ch> 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: Christian Egli Cc: Myles English , emacs-orgmode@gnu.org Am 13.06.2013 10:11, schrieb Christian Egli: > 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=a4" >> >> 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 > +1 under Windows I see the same problem and like to set to 'a4 somewhere. Rainer