Eric S Fraga writes: >>> Myles English <[email protected]> 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. > > Have you checked to see if the postscript version uses the right paper > size? Just in case the ps -> pdf conversion is at fault? The pdf is > created from the ps file. In any case, both ps and pdf work just fine > for me to A4 with ps-paper-type set to 'a4.
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? Myles
