[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printing.el PS preview creates world-readable files in /tmp
From: |
Glenn Morris |
Subject: |
Re: printing.el PS preview creates world-readable files in /tmp |
Date: |
Mon, 15 Nov 2004 15:50:13 +0000 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Vinicius Jose Latorre wrote:
> The pr-file-modes default value is 0600, that is, only the owner
> session have permissions to handle the newly created files by
> printing package.
Great, thank you.
Two other trivial things I noticed:
line 3885: "pr-gs-switches" should be "pr-ps-switches", I guess
line 4003: typo - `postcsript-options'
Also, PS printing does not seem to work:
emacs -q --no-site-file
(require 'printing)
(pr-ps-buffer-print 1)
fails to print, with the following message in the *Printing Command
Output* buffer:
/usr/bin/lpr ("" "-Plp2" "/tmp/prspool.ps")
lpr: Unable to access "" - No such file or directory
Exit status: 1
There is an extra "" from somewhere that is messing things up.
Possibly relevant variables (as initialized by printing.el):
pr-ps-command = "lpr"
pr-ps-printer = "lp2"
pr-ps-switches = nil