From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: stromme@math.uib.no (Stein Arild =?iso-8859-1?Q?Str=F8mme?=) Newsgroups: gmane.emacs.help Subject: postscript printing from emacs Date: Fri, 23 Mar 2007 15:03:30 +0100 Organization: Universitetet i Bergen, Matematisk institutt Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1174660735 2048 80.91.229.12 (23 Mar 2007 14:38:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Mar 2007 14:38:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 23 15:38:38 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HUkuc-0001ML-96 for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Mar 2007 15:38:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUkwW-0004U3-GY for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Mar 2007 09:40:36 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!border2.nntp.ams.giganews.com!nntp.giganews.com!uio.no!nntp.uib.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: mi061052.klientdrift.uib.no Original-X-Trace: toralf.uib.no 1174658610 5433 129.177.61.52 (23 Mar 2007 14:03:30 GMT) Original-X-Complaints-To: abuse@uib.no Original-NNTP-Posting-Date: 23 Mar 2007 14:03:30 GMT User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:NuPNNwMKmpxbS3zk7ZbRYter9yw= Original-Xref: shelby.stanford.edu gnu.emacs.help:146526 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42130 Archived-At: Hello, I have the following problem printing with ps-print-buffer: The printer gives me one page containing only the letters "IB", and a second page containing the following: PCL XL error Subsystem: KERNEL Error: IllegalOperatorSequence Operator: 0x1b Position: 2 ps-print.el version 6.6.7, emacs 22.0.50. Any idea what this is? If the postscript file is generated using ps-spool-buffer instead, Ghostview is able to display the file correctly, but the same problems occur if I try printing. I have even moved the ps file to my Mac, and Preview.app is not able to display it properly. I take all of this to point in the direction of ps-print.el. Any idea how this can be fixed? If an expert in postscript code wants to look at the code, an example can be found on www.math.uib.no/stromme/psfil (based on a buffer containing only the single letter "a"). As alternatives, I'm exploring ways to use a2ps or enscript instead, but they don't seem to support utf-8. Other ways? Grateful for advice. We need only very basic printing. (lpr-buffer itself chokes on non-ascii characters; this may be due to a complex printing environment at my institution, where there is a Windows print server.) SA -- Stein Arild Strømme +47 55584825, +47 95801887 Universitetet i Bergen Fax: +47 55589672 Matematisk institutt, UiB http://math.uib.no/stromme/ Johs Brunsg 12, N-5008 BERGEN stromme@math.uib.no