From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Printing from modern Emacsen Date: Tue, 07 Mar 2006 22:04:53 +0900 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1141748053 31330 80.91.229.2 (7 Mar 2006 16:14:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Mar 2006 16:14:13 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 07 17:14:10 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FGep0-00050b-FO for ged-emacs-devel@m.gmane.org; Tue, 07 Mar 2006 17:14:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGeoz-0001KB-GY for ged-emacs-devel@m.gmane.org; Tue, 07 Mar 2006 11:14:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FGbsC-00031O-FF for emacs-devel@gnu.org; Tue, 07 Mar 2006 08:05:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FGbs5-0002tA-GX for emacs-devel@gnu.org; Tue, 07 Mar 2006 08:05:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGbs5-0002t4-Cf for emacs-devel@gnu.org; Tue, 07 Mar 2006 08:05:01 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FGbud-0007CN-U1; Tue, 07 Mar 2006 08:07:40 -0500 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id k27D4tSp005013; Tue, 7 Mar 2006 22:04:55 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id k27D4sLO006798; Tue, 7 Mar 2006 22:04:55 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1FGbrx-0001xj-00; Tue, 07 Mar 2006 22:04:53 +0900 Original-To: Eli Zaretskii In-reply-to: (message from Eli Zaretskii on Fri, 03 Mar 2006 19:24:41 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51321 Archived-At: In article , Eli Zaretskii writes: > It printed: > LanguageLevel: 2 > Type42 font is supported > Does that mean my printer is new enough, and your worfkarounds for > older printers cannot be tested on my printer? I found that there are some levels in a way of supporting Type42 font. It seesm that my code (using incremental glyph-data definition) works only with the interpreter version 2015 and greater. Here's the new code to check it. Could people who has a printer that couldn't print the code I sent please send the attached code to that printer? --- Kenichi Handa handa@m17n.org ------------------------------------------------------------ %PS /Courier findfont 20 scalefont setfont 50 200 moveto (Version/Revision: ) show version show (/) show revision 10 string cvs show 50 180 moveto (LanguageLevel: ) show /languagelevel where { pop languagelevel 10 string cvs } { (1) } ifelse show 50 160 moveto (Type42 font is ) show 42 /FontType resourcestatus { pop pop (supported,) show 50 140 moveto version cvi 2015 ge { (with incremental glyph-data definition.) show } { (but incremental definition is not.) show } ifelse } { (not supported.) show } ifelse showpage ------------------------------------------------------------