all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: danny <danny@Wes.ec.rr.com>
Cc: emacs-devel@gnu.org
Subject: Re: strange "feature"
Date: Sat, 13 Oct 2012 19:02:24 +0200	[thread overview]
Message-ID: <83r4p25mqn.fsf@gnu.org> (raw)
In-Reply-To: <20121013162016.GA10794@Wes.ec.rr.com>

> Date: Sat, 13 Oct 2012 12:20:16 -0400
> From: danny <danny@Wes.ec.rr.com>
> 
> On Sat, Oct 13, 2012 at 04:58:27PM +0200, immanuel litzroth wrote:
> > Opening a pdf file in emacs works really well. If you then try to
> > print it it will happily
> > print out a gazilion of text pages -- the pdf code. This behaviour
> > seems strange in that is
> > is almost certainly not what the user wants (he can
> > find-file-literally and print that).
> > I'm on emacs 23.3.1.
> > Is there a way to print the pdf directly from emacs (as a pdf)?
> > Immanuel
> > 
> I've had issues with this "feature" as well, they keep me from printing most things in emacs. Does anyone at least know of a fix for this?(I think it's to do with docview not actually overriding the default print function)

If this is on MS-Windows, you should be able to print a PDF file with
this Lisp one-liner:

  (w32-shell-execute "print" "/path/to/file.pdf")

This will work assuming that you have some program installed that can
display and print PDF files, and that this program is associated with
the .PDF extension.



  reply	other threads:[~2012-10-13 17:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-13 14:58 strange "feature" immanuel litzroth
2012-10-13 16:20 ` danny
2012-10-13 17:02   ` Eli Zaretskii [this message]
2012-10-13 19:47     ` Tekk
2012-10-14  5:59       ` Mathias Dahl
2012-10-14 15:30         ` Stefan Monnier
2012-10-14 22:03           ` Mathias Dahl
2012-10-15  4:25       ` Stephen J. Turnbull
2012-10-15  5:34         ` Tekk
2012-10-15  7:14           ` Stephen J. Turnbull

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r4p25mqn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=danny@Wes.ec.rr.com \
    --cc=emacs-devel@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.