Myles English <mylesengl...@gmail.com> 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