From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: postscript printing in emacs Date: Thu, 20 Jun 2013 11:40:59 +0200 Message-ID: References: <34388c9b-86fc-4f47-9a7b-1601f10c8ac0@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1371721286 20049 80.91.229.3 (20 Jun 2013 09:41:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Jun 2013 09:41:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Rami A Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 20 11:41:26 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UpbMq-0005A6-1Z for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Jun 2013 11:41:24 +0200 Original-Received: from localhost ([::1]:43746 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpbMp-0001yC-Im for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Jun 2013 05:41:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpbMa-0001ue-OY for help-gnu-emacs@gnu.org; Thu, 20 Jun 2013 05:41:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpbMT-0005lJ-QD for help-gnu-emacs@gnu.org; Thu, 20 Jun 2013 05:41:08 -0400 Original-Received: from mout.web.de ([212.227.15.3]:62199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpbMT-0005lA-Gp for help-gnu-emacs@gnu.org; Thu, 20 Jun 2013 05:41:01 -0400 Original-Received: from sumac.fritz.box ([176.198.63.55]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LfidG-1UV9m51U5K-00pKmr; Thu, 20 Jun 2013 11:40:59 +0200 In-Reply-To: <34388c9b-86fc-4f47-9a7b-1601f10c8ac0@googlegroups.com> X-Mailer: Apple Mail (2.1085) X-Provags-ID: V03:K0:1CDge5Xc1anpnN0JeiCajmWQru+XZQ/JEAc1QTSp7CWzbVqTOi1 dXHc4ZfPC0p1XKQYv03l+Q08nl+7kLlxXd/yBjWwTQSAxmbPCHvMLGKeiQg+WP2GBftTaiq ta5PeT5Pd58ajPWu2ft7nYkjbdah7N8OtfdO/aV/mKUz2w2avmvjWfJtcuv+tyFKBozzDEt mvDn7U3fisy3Z3AdlAUOg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91613 Archived-At: Am 20.06.2013 um 01:46 schrieb Rami A: > How do I incorporate this functionality in emacs so I could choose a = region or simply print the whole buffer using "postscript print from = buffer/region" from inside emacs? Have you tried to set ps-lpr-command and ps-lpr-switches via the = customisation interface? In ps-lpr-command instead of lpr you can either use "mp | lp", a pipe, = and the also set ps-lpr-switches to become "-l -s" or use as = ps-lpr-command directly "mp -l -s | lp". A third option is to add an mp filter to Solaris' lpfilters. Then you = could use as ps-lpr-command "lp -T MP". I am not sure where the mp = options go=85 (too long ago) When you are experimenting with printing options you can stop printing = from the particular queue (or switch off the printer) and then use a = PostScript viewer to see what the printer queue would send to the = printer. -- Greetings Pete Perl=97the only language that looks the same before and after RSA = encryption. - Keith Bostic