From: "Andrés Ramírez" <sunshavi@fastmail.fm>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24367@debbugs.gnu.org
Subject: bug#24367: 25.1.50; ps-print-buffer-with-faces
Date: Mon, 05 Sep 2016 10:41:18 -0500 [thread overview]
Message-ID: <87mvjmtkv5.fsf@fastmail.fm> (raw)
In-Reply-To: <83a8fmcrnw.fsf@gnu.org>
More info:
on emacs -Q (M-x apropos ps-postscript-code-directory RETURN)
--8<---------------cut here---------------start------------->8---
ps-postscript-code-directory’s value is
"/usr/share/emacs/25.1.50/etc/
Documentation:
Directory where it’s located the PostScript prologue file used by ps-print.
By default, this directory is the same as in the variable ‘data-directory’.
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 20 of Emacs.
[back]
--8<---------------cut here---------------end--------------->8---
The same on emacs with my dot emacs
--8<---------------cut here---------------start------------->8---
ps-postscript-code-directory’s value is nil
Documentation:
Directory where it’s located the PostScript prologue file used by ps-print.
By default, this directory is the same as in the variable ‘data-directory’.
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 20 of Emacs.
[back]
--8<---------------cut here---------------end--------------->8---
I have searched the directory ".emacs.d" for the string
"ps-postscript-code-directory" with no result.
On Mon, 05 Sep 2016 10:06:28 -0500,
Eli Zaretskii wrote:
>
> > From: sunshavi@fastmail.fm (Andrés Ramírez)
> > Date: Sun, 04 Sep 2016 19:12:12 -0500
> >
> >
> > Hi. The function "ps-print-buffer-with-faces" is not working as it was
> > working in previous versions of emacs.
> >
> > When I export a buffer from emacs 23.4 it generates right. (C-u M-x ps-print-buffer-with-faces)
> > Then I try to do the same with emacs 25.1 and when running the command
> > (ps2pdf file.ps). it gives me an error. See files below:
> >
> > See those files:
> > 1 https://transfer.sh/gpf6V/wl-message8-emacs-23.4.ps
> >
> > 2 https://transfer.sh/10FYjK/wl-message8-emacs-23.4.pdf
> >
> > 3 https://transfer.sh/KswKD/wl-message8-emacs-25.1.ps
> >
> > 4 https://transfer.sh/WZZBN/error-when-running-ps2pdf.txt
>
> Looks like Emacs doesn't find etc/ps-prin0.ps for some reason. What
> does the following yield in Emacs, after loading ps-print?
>
> M-: ps-postscript-code-directory RET
>
> If it shows a valid existing directory (it should), please see if the
> file ps-prin0.ps lives in that directory and its size is about 5KB.
> If not, you need to figure out why it disappeared or got corrupted.
>
> Emacs is supposed to insert a warning message into *Messages* if it
> doesn't find that file -- did you see such a message there?
next prev parent reply other threads:[~2016-09-05 15:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-05 0:12 bug#24367: 25.1.50; ps-print-buffer-with-faces Andrés Ramírez
2016-09-05 15:06 ` Eli Zaretskii
2016-09-05 15:13 ` Andrés Ramírez
2016-09-05 15:41 ` Andrés Ramírez [this message]
2016-09-05 16:17 ` Andrés Ramírez
2016-09-05 16:28 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mvjmtkv5.fsf@fastmail.fm \
--to=sunshavi@fastmail.fm \
--cc=24367@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).