From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: Printing from pdf-tools with options Date: Sat, 04 Apr 2020 23:32:53 +0200 Message-ID: <87o8s7hr7e.fsf@mbork.pl> References: <87369sn2xb.fsf@mbork.pl> <83pncw7kus.fsf@gnu.org> <87wo74lkx9.fsf@mbork.pl> <83ftds7hm4.fsf@gnu.org> <87tv28l6sv.fsf@mbork.pl> <83sghs5ohn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="63733"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.1.0; emacs 27.0.50 Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 04 23:33:39 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKqQ7-000GMd-EH for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 04 Apr 2020 23:33:39 +0200 Original-Received: from localhost ([::1]:42408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKqQ6-0004YY-HK for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 04 Apr 2020 17:33:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32874) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKqPj-0004XD-Fq for help-gnu-emacs@gnu.org; Sat, 04 Apr 2020 17:33:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKqPh-00022w-Dj for help-gnu-emacs@gnu.org; Sat, 04 Apr 2020 17:33:14 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:35242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jKqPe-0001uk-0x; Sat, 04 Apr 2020 17:33:10 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 9A42CE65B0; Sat, 4 Apr 2020 23:33:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31CEO4QBMGc3; Sat, 4 Apr 2020 23:32:57 +0200 (CEST) Original-Received: from localhost (jeden09-dwa27.echostar.pl [213.156.109.227]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 7C79BE6519; Sat, 4 Apr 2020 23:32:57 +0200 (CEST) In-reply-to: <83sghs5ohn.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.110.48.8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122755 Archived-At: On 2020-03-28, at 19:21, Eli Zaretskii wrote: >> From: Marcin Borkowski >> Cc: help-gnu-emacs@gnu.org >> Date: Sat, 28 Mar 2020 18:37:20 +0100 >> >> > If it can print image files, you should be able to save the buffer to >> > a file and then invoke lp on that file, right? >> >> I think we speak of different things. > > I don't think so. > >> I can say "C-c C-p" in a pdf-tools buffer and print the pdf file - >> that works. I want to be able to e.g. say "C-u C-c C-p" and be >> asked about which pages to print, or whether to print 2-up etc. It >> would even be enough to be prompted for additional `lp' arguments. > > I tried to tell you how to write such a command. Sorry if that wasn't > clear. Well, I know (more or less) how to write this command. My question was about whether anything like that exists. Best, -- Marcin Borkowski http://mbork.pl