emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing from modern Emacsen


From: Kenichi Handa
Subject: Re: Printing from modern Emacsen
Date: Thu, 02 Mar 2006 11:28:55 +0900
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)

In article <address@hidden>, Eli Zaretskii <address@hidden> writes:

> How does one find out which version of PostScript is supported by the
> printer?

Please send this PS code to a printer.  If it prints "Type42
font is NOT supported.", you can't use TTF font for
printing.

------------------------------------------------------------
%PS

/Courier findfont 20 scalefont setfont

100 100 moveto

(LanguageLevel: ) show
/languagelevel where {
    pop languagelevel 10 string cvs
} {
    (1)
} ifelse show

100 70 moveto
(Type42 font is ) show
42 /FontType resourcestatus {
    pop pop (supported.)
} {
    (NOT supported.)
} ifelse show

showpage
------------------------------------------------------------

---
Kenichi Handa
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]