all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Postscript Print Buffer
@ 2005-03-25 23:22 Raimund Kohl-Fuechsle
  2005-03-26 12:42 ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Raimund Kohl-Fuechsle @ 2005-03-25 23:22 UTC (permalink / raw)


Hello guys,

I started diving into some "complicated" stuff - at least for my humble
mind: Postscript printing with emacs.  And I have to say I don't quite
get it.  The following settings are to be found in my .emacs:

 '(ps-font-family (quote Palatino))
 '(ps-lpr-command "lpr")
 '(ps-paper-type (quote a4))
 '(ps-printer-name-option "-P")

I avoided diving into this since some times now - now I want to "crack
the nut", so to say - and let me start with asking for help to eliminate
a problem first: Whenever I now try to print via Postscript Print Buffer
(B+W) the german Umlauts aren't printed - no matter which (given)
font-family I use.  If I instead use M-x print-buffer the Umlauts are
printed but the printout doesn't look so nice - which tells me, that
there is a big difference between the two commands.

I use emacs 21.4. on Debian Sarge with Cups ... and certainly I do have
way more questions ... later :-)

ray

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Postscript Print Buffer
@ 2005-03-28 23:37 Peter Dyballa
  2005-03-29  4:48 ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Peter Dyballa @ 2005-03-28 23:37 UTC (permalink / raw)


Hello!

In Emacs 22.0.50 from CVS and in 21.3.50 it works to print a buffer 
contents with diacritics when this buffer is in Unicode or it's the 
Holidays or Calendar buffer that do not explain in which mood they are. 
The € I can't see because no regular PostScript font has it.

Buffers in most Latin scripts are *not* correctly printed in PS when 
they contain diacritics.

I have a text file with this in its header ";;; -*- mode: Text; coding: 
utf-8; -*-" that displays in GNU Emacs of course in UTF-8. This file 
contains the Adobe Standard Encoding in that kind:

;   oct   dec   hex   UTF8
;===================================
   =  40 =  32 = 20 =     20 = U+0020 : SPACE
! =  41 =  33 = 21 =     21 = U+0021 : EXCLAMATION MARK


When I print this buffer the following characters are not printed:

⁄ = 244 = 164 = A4 = E28184 = U+2044 : FRACTION SLASH
ƒ = 246 = 166 = A6 =   C692 = U+0192 : LATIN SMALL LETTER F WITH HOOK
“ = 252 = 170 = AA = E2809C = U+201C : LEFT DOUBLE QUOTATION MARK
‹ = 254 = 172 = AC = E280B9 = U+2039 : SINGLE LEFT-POINTING ANGLE 
QUOTATION MARK
› = 255 = 173 = AD = E280BA = U+203A : SINGLE RIGHT-POINTING ANGLE 
QUOTATION MARK
fi = 256 = 174 = AE = EFAC81 = U+FB01 : LATIN SMALL LIGATURE FI
fl = 257 = 175 = AF = EFAC82 = U+FB02 : LATIN SMALL LIGATURE FL
– = 261 = 177 = B1 = E28093 = U+2013 : EN DASH
† = 262 = 178 = B2 = E280A0 = U+2020 : DAGGER
‡ = 263 = 179 = B3 = E280A1 = U+2021 : DOUBLE DAGGER
• = 267 = 183 = B7 = E280A2 = U+2022 : BULLET
‚ = 270 = 184 = B8 = E2809A = U+201A : SINGLE LOW-9 QUOTATION MARK
„ = 271 = 185 = B9 = E2809E = U+201E : DOUBLE LOW-9 QUOTATION MARK
” = 272 = 186 = BA = E2809D = U+201D : RIGHT DOUBLE QUOTATION MARK
… = 274 = 188 = BC = E280A6 = U+2026 : HORIZONTAL ELLIPSIS
‰ = 275 = 189 = BD = E280B0 = U+2030 : PER MILLE SIGN
ˆ = 303 = 195 = C3 =   CB86 = U+02C6 : MODIFIER LETTER CIRCUMFLEX ACCENT
˜ = 304 = 196 = C4 =   CB9C = U+02DC : SMALL TILDE
˘ = 306 = 198 = C6 =   CB98 = U+02D8 : BREVE
˙ = 307 = 199 = C7 =   CB99 = U+02D9 : DOT ABOVE
˚ = 312 = 202 = CA =   CB9A = U+02DA : RING ABOVE
˝ = 315 = 205 = CD =   CB9D = U+02DD : DOUBLE ACUTE ACCENT
˛ = 316 = 206 = CE =   CB9B = U+02DB : OGONEK
ˇ = 317 = 207 = CF =   CB87 = U+02C7 : CARON
— = 320 = 208 = D0 = E28094 = U+2014 : EM DASH
Ł = 350 = 232 = E8 =   C581 = U+0141 : LATIN CAPITAL LETTER L WITH 
STROKE
Œ = 352 = 234 = EA =   C592 = U+0152 : LATIN CAPITAL LIGATURE OE
ı = 365 = 245 = F5 =   C4B1 = U+0131 : LATIN SMALL LETTER DOTLESS I
ł = 370 = 248 = F8 =   C582 = U+0142 : LATIN SMALL LETTER L WITH STROKE
œ = 372 = 250 = FA =   C593 = U+0153 : LATIN SMALL LIGATURE OE


Using an ISO-Latin 9/ISO 8859-15 buffer with this string in its header 
";;; -*- mode: Text; coding: iso-8859-15; -*-" the following characters 
are not shown:

€ = 244 = 164 = A4 = U+20AC : EURO SIGN				            ; not in PS
Š = 246 = 166 = A6 = U+0160 : LATIN CAPITAL LETTER S WITH CARON
š = 250 = 168 = A8 = U+0161 : LATIN SMALL LETTER S WITH CARON
Ž = 264 = 180 = B4 = U+017D : LATIN CAPITAL LETTER Z WITH CARON
ž = 270 = 184 = B8 = U+017E : LATIN SMALL LETTER Z WITH CARON
Œ = 274 = 188 = BC = U+0152 : LATIN CAPITAL LIGATURE OE
œ = 275 = 189 = BD = U+0153 : LATIN SMALL LIGATURE OE
Ÿ = 276 = 190 = BE = U+0178 : LATIN CAPITAL LETTER Y WITH DIAERESIS


I did PS print the buffers into the CUPS. My printer was not on so I 
had time to convert the print jobs with ps2pdf14, based on gs 8.14, 
into PDF which I viewed with TeXShop 1.35e. I have some more test files 
encoded in other Latin scripts that do not print well ...

--
Greetings

   Pete

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <mailman.5413.1051724577.21513.help-gnu-emacs@gnu.org>]
* postscript print buffer
@ 2003-04-30 17:39 Niels Freimann
  0 siblings, 0 replies; 14+ messages in thread
From: Niels Freimann @ 2003-04-30 17:39 UTC (permalink / raw)


Hi,

I appreciate postscript print buffer very much, however I don't know how to 
configure larger fonts. Any idea?

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-03-29  9:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-25 23:22 Postscript Print Buffer Raimund Kohl-Fuechsle
2005-03-26 12:42 ` Eli Zaretskii
2005-03-26 13:17   ` Raimund Kohl-Fuechsle
2005-03-26 14:34     ` Eli Zaretskii
2005-03-26 23:55       ` Raimund Kohl-Fuechsle
2005-03-27 11:06         ` Eli Zaretskii
2005-03-27 20:01           ` Raimund Kohl-Fuechsle
  -- strict thread matches above, loose matches on Subject: below --
2005-03-28 23:37 Peter Dyballa
2005-03-29  4:48 ` Eli Zaretskii
2005-03-29  9:59   ` Raimund Kohl-Fuechsle
     [not found] <mailman.5413.1051724577.21513.help-gnu-emacs@gnu.org>
2003-04-30 19:29 ` postscript print buffer Francois Fleuret
2003-05-01  8:03   ` Niels Freimann
2003-05-01  8:21 ` John McCabe
2003-04-30 17:39 Niels Freimann

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.