groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] ESC/P2 printer driver


From: Roger Leigh
Subject: [Groff] ESC/P2 printer driver
Date: Sun, 24 Aug 2003 21:24:17 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I'm new to the list, and I'd just like to introduce myself.  I'm a
developer of Gimp-Print, a project developing photo-quality inkjet
printer drivers, and I have some experience of the ESC/P and ESC/P2
printer control languages.

For several reasons, I have need to print reports on various printers
(dot-matrix, inkjet and laser) as well as text terminals and graphics
displays.  PostScript isn't really a good option, since the drivers
for 9-pin dot matrix printers are terrible compared with the native
NLQ output.  Groff seems to be a good solution to this problem; the
only missing link is a output driver for ESC/P and ESC/P2 devices.

The ESC/P driver would be quite a simple driver.  All I want in this
case is an 80 col x 60 line extended ASCII output with bold, italics
etc.  This could probably be based on grotty.

The ESC/P2 driver could be quite a bit more clever.  ESC/P2 supports
~arbitrary placement of text in different typefaces, pitches and
sizes, and graphics support is much better, so conceptually there
could be two "layers" a graphics pixmap layer and a text layer which
can be overlaid during printing.  I'd fix the graphics resolution at
180 or 360 DPI.

Obviously, neither of these will be as nice as PostScript, but the
grops driver can be used when needed.  What I want from these is speed
and NLQ print quality on impact printers.


I've had a look in detail at the grotty driver, and I'm now starting
to look at the grolj4 driver.  AFAICT I need to write a DESC file,
font metrics for each supported font (I'm trying to get these from
Epson for their proportional typefaces) and possibly a roff file in
addition.

Is there any documentation of libdriver or the overall architecture of
groff?  Where should I start?


BTW, if and when this is ready for inclusion, I guess you'll want me
to fill out a FSF copyright assignment thing.  I'll be happy to do so.

Kind regards,
Roger

- -- 
Roger Leigh

                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE/SR7nVcFcaSW/uEgRAlT/AJ0ea4eCiyPLn026DYpRFb6eoCSnMQCfVtUC
/lfWM3Xd+2kt4rnT3vFcr/A=
=h2Mx
-----END PGP SIGNATURE-----

reply via email to

[Prev in Thread] Current Thread [Next in Thread]