emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Agenda printing: org-agenda-write doesn't use ps-paper-type


From: Christian Egli
Subject: Re: [O] Agenda printing: org-agenda-write doesn't use ps-paper-type
Date: Wed, 12 Jun 2013 09:31:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Myles English <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]