From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.help Subject: Re: Using Emacs as PS converter Date: Mon, 01 Dec 2014 20:58:54 +0100 Message-ID: <547CC87E.8040404@alice.it> References: <547C83B8.4050005@alice.it> <155DEC68569B714B86C2C7075F5EDA9892B9A336@DAKIYA1.pegasus.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1417463959 10261 80.91.229.3 (1 Dec 2014 19:59:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2014 19:59:19 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 01 20:59:12 2014 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 1XvX7n-0001Gd-QB for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Dec 2014 20:59:11 +0100 Original-Received: from localhost ([::1]:33632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvX7n-0001NH-Hm for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Dec 2014 14:59:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvX7W-0001N3-1p for help-gnu-emacs@gnu.org; Mon, 01 Dec 2014 14:59:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvX7P-0005lg-Aq for help-gnu-emacs@gnu.org; Mon, 01 Dec 2014 14:58:53 -0500 Original-Received: from smtp202.alice.it ([82.57.200.98]:59505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvX7P-0005lH-3l for help-gnu-emacs@gnu.org; Mon, 01 Dec 2014 14:58:47 -0500 Original-Received: from [192.168.1.102] (87.21.227.179) by smtp202.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 54787D12004F863D for help-gnu-emacs@gnu.org; Mon, 1 Dec 2014 20:58:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <155DEC68569B714B86C2C7075F5EDA9892B9A336@DAKIYA1.pegasus.local> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.98 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:101356 Archived-At: Eli Zaretskii wrote: > I don't know, but this minor variation works for me: > > emacs -batch foo.c -f ps-spool-buffer-with-faces --eval "(progn (switch-to-buffer \"*PostScript*\") (write-file \"foo.ps\"))" Oh, yes it works! I notice only that foo.ps is black and white... :( It has lost the syntax colors... sigh.. Thanks, Angelo.