[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
print buffer produces incorrect format with emacs-22.1 and Sol 10
From: |
Gary Mills |
Subject: |
print buffer produces incorrect format with emacs-22.1 and Sol 10 |
Date: |
Mon, 11 Jun 2007 18:20:18 -0500 (CDT) |
When `Print Buffer' is selected from the file menu, the file appears
on the printer, but some lines have extra spaces. The letter `r' has
disappeared on these lines. It's as if `pr -er | lp' has been used to
print the file. Printing works correctly with emacs-21.2.
These differences in lpr.el appear relevant:
< (defcustom lpr-page-header-switches '("-F")
---
> (defcustom lpr-page-header-switches '("-h %s" "-F")
< (nconc (list "-h" title)
< lpr-page-header-switches)))
---
> (mapcar (lambda (e) (format e title))
> lpr-page-header-switches)))
In GNU Emacs 22.1.1 (i386-pc-solaris2.10, GTK+ Version 2.4.9)
of 2007-06-07 on eltanin
Windowing system distributor `Sun Microsystems, Inc.', version 11.0.6620
configured using `configure '--program-prefix=g' '--without-gcc'
'--with-x-toolkit=gtk''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: en_CA.ISO8859-1
value of $LC_CTYPE: en_CA.ISO8859-1
value of $LC_MESSAGES: en_CA.ISO8859-1
value of $LC_MONETARY: en_CA.ISO8859-1
value of $LC_NUMERIC: en_CA.ISO8859-1
value of $LC_TIME: en_CA.ISO8859-1
value of $LANG: en_CA.ISO8859-1
locale-coding-system: iso-8859-1
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<report-emacs-bug>
Recent messages:
("gemacs")
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
- print buffer produces incorrect format with emacs-22.1 and Sol 10,
Gary Mills <=