From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Agenda printing: org-agenda-write doesn't use ps-paper-type Date: Thu, 13 Jun 2013 08:50:59 +0100 Message-ID: <87d2rqa1p8.fsf@ucl.ac.uk> 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 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un3xf-0008DW-7H for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 05:36:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Un3xd-0007Gl-M5 for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 05:36:55 -0400 Received: from ch1ehsobe001.messaging.microsoft.com ([216.32.181.181]:1088 helo=ch1outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un3xd-0007Gg-H4 for emacs-orgmode@gnu.org; Thu, 13 Jun 2013 05:36:53 -0400 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, 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" If you use a4 sized paper all (or most of) the time, you can set this in /etc/papersize on Linux. I think this is what ps2pdf looks at by default. I think paperconfig (8) is used to set this property properly. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.3-193-g334581