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, 28 Mar 2020 18:37:20 +0100 Message-ID: <87tv28l6sv.fsf@mbork.pl> References: <87369sn2xb.fsf@mbork.pl> <83pncw7kus.fsf@gnu.org> <87wo74lkx9.fsf@mbork.pl> <83ftds7hm4.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="125352"; 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 Mar 28 18:38:07 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 1jIFPL-000WRM-CZ for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 28 Mar 2020 18:38:07 +0100 Original-Received: from localhost ([::1]:57506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIFPK-0004lN-BG for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 28 Mar 2020 13:38:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33384) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIFOs-0004lG-Ty for help-gnu-emacs@gnu.org; Sat, 28 Mar 2020 13:37:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIFOr-0005Ae-Sb for help-gnu-emacs@gnu.org; Sat, 28 Mar 2020 13:37:38 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:41674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jIFOo-000550-Jy; Sat, 28 Mar 2020 13:37:34 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 08098E6ADB; Sat, 28 Mar 2020 18:37:31 +0100 (CET) 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 JX_eDvJwwo8Q; Sat, 28 Mar 2020 18:37:26 +0100 (CET) Original-Received: from localhost (jeden09-dwa27.echostar.pl [213.156.109.227]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 7CF68E62CF; Sat, 28 Mar 2020 18:37:26 +0100 (CET) In-reply-to: <83ftds7hm4.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:122699 Archived-At: On 2020-03-28, at 14:07, Eli Zaretskii wrote: >> From: Marcin Borkowski >> Cc: help-gnu-emacs@gnu.org >> Date: Sat, 28 Mar 2020 13:32:18 +0100 >> >> > What is "the lp command"? I'm not familiar with an Emacs command by >> > that name, what am I missing? >> >> It is a shell command, of course, provided by CUPS (at least on Arch). > > 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 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. Best, -- Marcin Borkowski http://mbork.pl