help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing from pdf-tools with options


From: Stephen Berman
Subject: Re: Printing from pdf-tools with options
Date: Sun, 29 Mar 2020 01:04:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Sat, 28 Mar 2020 12:18:08 +0100 Marcin Borkowski <address@hidden> wrote:

> Hi all,
>
> I'd like to be able to print pdf files (preferably from pdf-tools) using
> the lp command.  I know about pdf-tools' C-c C-p
> (`pdf-misc-print-document'), but it won't let me do the two things I'd
> like to do:
>
> - decide if I want 1-page-per-page or 2-up printing, and/or
> - select pages to print.
>
> Both things are easy to accomplish with commandline switches to lp, but
> my question is about Emacs interface to this.  (I'd be happy to write
> something like this myself - I might even have a few spare minutes to do
> that in the next few days - but I don't feel like reinventing the
> wheel.)

You can do this by customizing pdf-misc-print-programm-args (or by
writing a wrapper around pdf-misc-print-document that uses it).

Steve Berman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]