[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Driver for Panasonic KX-P1123
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] Driver for Panasonic KX-P1123 |
Date: |
Tue, 30 Jun 2009 00:57:11 +0200 (CEST) |
> It has no native mode, so I'll write a driver for the LQ-850 mode
> (you could be much more generic, because Epson provides you
> documentation for all their printers). It would be nice if you could
> select the printer from driver.
OK.
>> Within the printer driver, all you have to support basically is
>> switching to a built-in font and selecting a glyph; this is done by
>> the the `set_char' member function. Almost everything else is
>> optional.
>
> Hmm, is it a good idea to implement the different fonts as
> singletons?
What exactly do you mean? The glyphs are collected with calls to
`set_char' as singletons, but normally output in groups. Or do you
mean something else?
> The provide you metrics descriptions (length and height) of each
> character and a hex dump of their representation in the ROM, so you
> have them dot by dot.
OK, so you have to write a small program which extracts the date from
your printer and converts it to the groff font format.
Werner
PS: Please leave the CC: to the groff mailing list. Otherwise we
could simple write German :-)