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: Wed, 12 Jun 2013 09:31:33 +0200 Message-ID: <87y5afkcoa.fsf@sbs.ch> References: <87a9mwdtrh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmfX2-0008Lj-S3 for emacs-orgmode@gnu.org; Wed, 12 Jun 2013 03:31:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UmfX1-0002gm-UO for emacs-orgmode@gnu.org; Wed, 12 Jun 2013 03:31:48 -0400 Received: from plane.gmane.org ([80.91.229.3]:52859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmfX1-0002ga-Np for emacs-orgmode@gnu.org; Wed, 12 Jun 2013 03:31:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UmfWz-0008TU-Mc for emacs-orgmode@gnu.org; Wed, 12 Jun 2013 09:31:45 +0200 Received: from alouette.sbs.ch ([194.29.12.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Jun 2013 09:31:45 +0200 Received: from christian.egli by alouette.sbs.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Jun 2013 09:31:45 +0200 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: emacs-orgmode@gnu.org Myles English writes: > Trying to print an agenda to pdf always results in the paper size being > US letter even though ps-paper-type is set to a4. > > This is how I try to print it: > > (org-agenda-write "/home/myles/tmp/agenda.pdf" nil nil "*Org Agenda(a)*") org-agenda-write uses ps-print to do the work so setting ps-paper-type should indeed help. > and setting this doesn't fix it either: > > (eval-after-load "ps-print" > '(setq ps-paper-type 'a4)) > Have you tried setting this variable with the custom interface, i.e. M-x customize-variable RET ps-paper-type RET? HTH Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland