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: Re: postscript printing from emacs Date: Fri, 23 Mar 2007 16:41:35 +0100 Organization: Universitetet i Bergen, Matematisk institutt Message-ID: References: <243C6E55-C719-4B05-9290-C5C5A8472B71@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1174687092 17957 80.91.229.12 (23 Mar 2007 21:58:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Mar 2007 21:58:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 23 22:58:05 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 1HUrls-0007n3-EZ for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Mar 2007 22:58:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUrno-0005qY-KN for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Mar 2007 17:00:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUlvn-0008KP-EH for help-gnu-emacs@gnu.org; Fri, 23 Mar 2007 11:43:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUlvk-0008J4-2k for help-gnu-emacs@gnu.org; Fri, 23 Mar 2007 11:43:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUlvj-0008Iw-Ml for help-gnu-emacs@gnu.org; Fri, 23 Mar 2007 10:43:51 -0500 Original-Received: from noralf.uib.no ([129.177.30.12]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HUltl-0001xD-Jw for help-gnu-emacs@gnu.org; Fri, 23 Mar 2007 11:41:51 -0400 Original-Received: from alfred.uib.no (smtp.uib.no) [129.177.30.120] by noralf.uib.no with esmtp (Exim 4.34) id 1HUltY-00005M-K4; Fri, 23 Mar 2007 16:41:37 +0100 Original-Received: from mi061052.klientdrift.uib.no [129.177.61.52] by smtp.uib.no with esmtp (Exim 4.34) id 1HUltY-0007RC-Dw; Fri, 23 Mar 2007 16:41:36 +0100 In-Reply-To: <243C6E55-C719-4B05-9290-C5C5A8472B71@Web.DE> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-checked-clean: by exiscan on noralf X-Scanner: 06d265ee499f693eaa8300ab2e7f646b http://tjinfo.uib.no/virus.html X-UiB-SpamFlag: NO UIB: -24.4 hits, 8.0 required X-UiB-SpamReport: spamassassin found; -15 From is listed in 'whitelist_SA' -9.0 Message received from UIB -0.4 Did not pass through any untrusted hosts X-detected-kernel: Solaris 9 X-Mailman-Approved-At: Fri, 23 Mar 2007 17:59:52 -0400 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:42147 Archived-At: [Peter Dyballa] | Am 23.03.2007 um 15:03 schrieb Stein Arild Str=C3=B8mme: |=20 | > PCL XL error | > Subsystem: KERNEL | > Error: IllegalOperatorSequence | > Operator: 0x1b | > Position: 2 |=20 | Your printer interprets the incoming stream as some PCL =E2=80=93 teach i= t to | accept PostScript! Well, all other postscript than the one generated by ps-print.el is recognized and treated correctly. That includes using a2ps og enscript in various ways from within emacs. I also find it suspicious that Preview.app in OS X cannot display the file correctly (it does with other postscript files). So what is it about the ps-print-generated postscript files fools the printer and Preview.app, that's the question. | > As alternatives, I'm exploring ways to use a2ps or enscript instead, | > but they don't seem to support utf-8. Other ways? |=20 | Use htmlize to convert the buffer or region content to UTF-8 encoded | HTML, view it in a capable browser, print from the browser. That is tongue-in-cheek, surely?=20=20 SA --=20 Stein Arild Str=C3=B8mme +47 55584825, +47 95801887 Instituttleder Fax: +47 55589672=20=20=20=20= =20 Matematisk institutt, UiB http://math.uib.no/stromme/=20=20=20=20= =20=20=20=20=20 Johs Brunsg 12, N-5008 BERGEN stromme@math.uib.no