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

2013-06-14 Thread Sebastien Vauban
Myles English wrote: Eric S Fraga writes: 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. Have you checked to see if the postscript version uses the right paper size? Just

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

2013-06-14 Thread Eric S Fraga
Myles English mylesengl...@gmail.com writes: Eric, Eric S Fraga writes: 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. Thanks for the suggestions. I looked into this for my Arch Linux but

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

2013-06-14 Thread Myles English
Hi Seb, Sebastien Vauban writes: Myles English wrote: I wonder if we need to allow a set of options to be passed to ps2pdf as we do for ps? And setting that in a custom command? #+begin_src emacs-lisp (add-to-list 'org-agenda-custom-commands '(L Call list

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

2013-06-14 Thread Sebastien Vauban
Hi Myles, Myles English wrote: Sebastien Vauban writes: Myles English wrote: I wonder if we need to allow a set of options to be passed to ps2pdf as we do for ps? And setting that in a custom command? #+begin_src emacs-lisp (add-to-list 'org-agenda-custom-commands '(L

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

2013-06-13 Thread Christian Egli
Myles English mylesengl...@gmail.com 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 I wonder if we need to allow a set of options to be passed to ps2pdf as we do for ps?

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

2013-06-13 Thread Eric S Fraga
Myles English mylesengl...@gmail.com 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

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

2013-06-13 Thread Rainer Stengele
Am 13.06.2013 10:11, schrieb Christian Egli: Myles English mylesengl...@gmail.com 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 I wonder if we need to allow a set of

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

2013-06-13 Thread Myles English
Christian Egli writes: Myles English mylesengl...@gmail.com 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 I wonder if we need to allow a set of options to be passed

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

2013-06-13 Thread Myles English
Eric, Eric S Fraga writes: Myles English mylesengl...@gmail.com 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,

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

2013-06-13 Thread Nick Dokos
Myles English mylesengl...@gmail.com writes: Eric, Eric S Fraga writes: Myles English mylesengl...@gmail.com 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

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

2013-06-12 Thread Christian Egli
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

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

2013-06-12 Thread Myles English
Hi Christian, Christian Egli writes: 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. Have you tried setting this variable with the custom interface, i.e. M-x

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

2013-06-12 Thread Eric S Fraga
Myles English mylesengl...@gmail.com writes: Hi Christian, Christian Egli writes: 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. Have you tried setting this variable

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

2013-06-12 Thread Myles English
Eric S Fraga writes: 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. Have you checked to see if the postscript version uses the right paper size? Just in case the ps -

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

2013-06-11 Thread Myles English
Hello, 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)*) and setting this doesn't fix it either: (eval-after-load