>>>> "David" == David Goldberg
<David.Goldberg(a)HSC.com> writes:
David> Hi,
David> Does anyone know if there has been any recent effort to get
David> line number printing into print-ps? (Version 3.05 mentions
That would be ps-print.
A patch to print line numbers is in the queue. I hope to review it
this weekend.
David> this in the to do list, but it looks like this was a few
David> years ago.) I'd like to be able to print from here rather
David> than enscript or a2ps so I can retain my color formatting.
David> Equivalently, is there anybody who knows how to print on
David> screen glyphs?
Say more ...
David> Thank you,
David> David Ross Goldberg
David> drgoldberg(a)boeing.com
David> The Boeing Company
David> Boeing Satellite Systems
David> ---------------------- Forwarded by David R Goldberg/ES/HSC/HUGHES on
David> 11/10/2000 02:45 PM ---------------------------
David> "Chen, Jerry G" <Jerry_Chen(a)AIMFUNDS.COM> on 11/10/2000
12:50:06 PM
David> To: "'David.Goldberg(a)HSC.com'"
<David.Goldberg(a)HSC.com>
David> cc:
David> Subject: RE: Line Numbers Mode
David> David,
David> The line numbers that my extension displays on the screen are used
David> only for visual editing. It's sort illusion 'cause the numbers are
David> not part of the buffer contents. (I use something called text-glyph
David> attached to an elisp object called extent at the beginning of each
David> line on the screen). To my knowledge, XEmacs has no built-in
David> support for printing image or text glyph shown on the screen in
David> the buffers. It's possible to hack it out, but I guess it's
difficult
David> in general.
David> If you want to print line numbers, you can try a great GNU tool,
David> called enscript. I don't know if ps-print calls enscript at the
David> backend. enscript generates ps file before sending to a ps printer,
David> and there's an option, -C, to enable line-number-printing:
David>
http://people.ssh.fi/mtr/genscript/
David> I wrote an enscript.el to interface with the program. It's only
David> for my personal use, and never got around to make it public. If you
David> know how to mess with elisp, I can email you a copy. Here is a
David> snapshot...
David> Regards,
David> Jerry Chen
David> --
David> ps: I finally adopted an English first name when I became a US citizen
David> 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
>
>
David> (See attached file: xemacs--enscript-gui.gif)
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org