Marc Feldesman wrote:
I'm new to OS X (but not to Xemacs). After installing the Apple X11
system on a new Tiger machine, I installed xemacs from fink. In testing
it with my printer, I get the error "Symbol's function definition is
void: lpr-buffer". Under Options|Printer, there is a single option
available "Set Printer Name for Generic Printer Support", which defaults
to lpr. The printing simply doesn't work. Printing works fine with all
other X11 applications. It also works fine with gnu Emacs under both
terminal and X11. Since I prefer Xemacs to gnu emacs, I'd like to get
to the bottom of this problem. I've also downloaded the DarwinPorts
version 21.4.17, with the same results.
I've posted this question over on Apple's Unix area and several other
posters confirm the problem on their machines.
Is this a bug, a configuration issue, or is printing deliberately
disabled in the Tiger port?
<worksforme> I just tried, chose "Print" from the File menu, and it
printed the buffer on my default printer, no questions asked. This is
Fink xemacs-1:21.4.15-2. I have no printer-related configuration line in
either init.el or custom.el. If I look at some variables with C-h v, I
see for example: lpr-command is "lpr", printer-name is nil. With C-h f
lpr-buffer I get:
`lpr-buffer' is an interactive compiled Lisp function
-- loaded from "lpr"
(lpr-buffer)
Documentation:
Print buffer contents without pagination or page headers.
See the variables `lpr-switches' and `lpr-command'
for customization of the printer command.
Under Options|Printing, besides the option that you describe, and which
doesn't seem to default to anything, only asks for a name in the
minibuffer, there are options to choose the pretty-print paper size, for
color printing, and for command line switches for lpr/lp.
One possible explanation is that I have the "ps-print" xemacs-package
installed which provides lpr.el. I installed it via the xemacs package
installation system, but it is perhaps also in the Fink xemacs-sumo package.
--
Martin
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users