groff
[Top][All Lists]
Advanced

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

Re: [Groff] Driver for Panasonic KX-P1123


From: Matthias-Christian Ott
Subject: Re: [Groff] Driver for Panasonic KX-P1123
Date: Tue, 30 Jun 2009 20:19:58 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Sorry for that, I'm too stupid to reply with mutt without cc'ing the
list, but I'll hopefully learn from my mistakes.

Regards,
Matthias-Christian

On Tue, Jun 30, 2009 at 08:13:29PM +0200, Matthias-Christian Ott wrote:
> On Tue, Jun 30, 2009 at 12:57:11AM +0200, Werner LEMBERG wrote:
> > 
> > > 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?
> 
> Ich meinte eigentlich, ob man die Schriften selber als eigene Klasse,
> die nur eine Instanz haben kann, eben ein Singleton, implementiert.
> 
> Bei genauerem Durchlesen Deiner vorherigen E-Mail ist mir aber
> aufgefallen, dass Du ja bereits erwähntes, man brauche keine
> font-Unterklasse, die gerätespezifischen Schriftbeschreibungen
> würden ausreichen. Genauers Lesen des Quelltexts hat Deine Aussage
> auch bestätigt.
>  
> > > 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.
> 
> Nicht wirklich, außer ich löte den ROM aus und finde noch ein
> Datenblatt, um den anzusteuern. Ich nehme mir einfach die
> Bedienungsanleitung, in der die font metrics (deutsche Übersetzung: Höhe
> und Laufweite?) aufgeführt sind, und werde die manuell in das
> groff-Format umsetzen.
> 
> Mir ist gerade aufgefallen, dass groff gar keine STL benutzt. Ist das
> gewollt oder nur aus historischen Gründen so?
> 
> >     Werner
> 
> Gruß,
> Matthias-Christian






reply via email to

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