FW: Correction: Re: lycoris desktop/lx and hp printers

Michael Goffioul kde-print@mail.kde.org
Thu, 27 Feb 2003 15:55:54 +0100


> With KUPS you probably mean the KDE Printing Manager
> (http://printing.kde.org/). It is a bug in KDE Print that a field which
> is not intended to be human-consumable is used for building the GUI
> presentation of the data. The field used for sorting the PPDs by
> manufacturer is the "*Manufacturer" field of the PPD files. According to
> Adobe's PPD specification this is the manufacturer's name how the
> printyer reports it back when scanning the ports (parallel, USB) for
> printers. So this name is not necssarily equal for all printers of one
> manufacturer, especially not for HP, but also not for Kyocera ("Kyocera"
> and "Kyocera-Mita"). A possibility is to take a human-consumable item,
> as the "*NickName" and take the first work of it as the manufacturer's
> name, but this is also not 100% reliable. So one will probably need a
> table of manufacturer names containing all known variants of them.

KDEPrint tries to do its best to find the manufacturer name, but of
course it's not perfect:
- it's case-insensitive: HEWLETT-PACKARD == Hewlett-Packard
- if the PPD file doesn't have *Manufacturer, KDEPrint uses the first
  word of *Nickname
These 2 things already do a good jobs, but of course if names are
different (like HP and Hewlett-Packard), there's no other reliable
way than a static table containing the common aliases for each
manufacturer, which is not implemented in KDEPrint (yet?).

Michael.

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul@imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------