Hi,
Does anyone know if there has been any recent effort to get line number printing into
print-ps?
(Version 3.05 mentions this in the to do list, but it looks like this was a few years
ago.)
I'd like to be able to print from here rather than enscript or a2ps so I can retain my
color formatting.
Equivalently, is there anybody who knows how to print on screen glyphs?
Thank you,
David Ross Goldberg
drgoldberg(a)boeing.com
The Boeing Company
Boeing Satellite Systems
---------------------- Forwarded by David R Goldberg/ES/HSC/HUGHES on
11/10/2000 02:45 PM ---------------------------
"Chen, Jerry G" <Jerry_Chen(a)AIMFUNDS.COM> on 11/10/2000 12:50:06 PM
To: "'David.Goldberg(a)HSC.com'" <David.Goldberg(a)HSC.com>
cc:
Subject: RE: Line Numbers Mode
David,
The line numbers that my extension displays on the screen are used
only for visual editing. It's sort illusion 'cause the numbers are
not part of the buffer contents. (I use something called text-glyph
attached to an elisp object called extent at the beginning of each
line on the screen). To my knowledge, XEmacs has no built-in
support for printing image or text glyph shown on the screen in
the buffers. It's possible to hack it out, but I guess it's difficult
in general.
If you want to print line numbers, you can try a great GNU tool,
called enscript. I don't know if ps-print calls enscript at the
backend. enscript generates ps file before sending to a ps printer,
and there's an option, -C, to enable line-number-printing:
http://people.ssh.fi/mtr/genscript/
I wrote an enscript.el to interface with the program. It's only
for my personal use, and never got around to make it public. If you
know how to mess with elisp, I can email you a copy. Here is a
snapshot...
Regards,
Jerry Chen
--
ps: I finally adopted an English first name when I became a US citizen
last year. So please don't think I am another guy. :)
-----Original Message-----
From: David.Goldberg(a)HSC.com [mailto:David.Goldberg@HSC.com]
Sent: Friday, November 10, 2000 2:29 PM
To: chen(a)posc.org
Subject: Line Numbers Mode
Gongquan Chen,
Hello Mr. Chen! I have just found your wonderful little line
numbers mode extension to xemacs.
It looks like a great tool at least on screen, but I have had
some difficulty getting it to print correctly.
I am using xemacs 21.1 and ps-print 3.05x1 to print. Line
numbers look great on screen,
but it looks like the line numbers are somehow either not
printed, or they are stripped out when printing.
Have you encountered this? Do you have a solution?
If you could space a minute or two to consider this, I would
greatly appreciate your help.
Thank you,
David Ross Goldberg
drgoldberg(a)boeing.com
The Boeing Company
Boeing Satellite Systems
(See attached file: xemacs--enscript-gui.gif)