HELP WANTED: kdeprint with GNUlpr

James Richard Tyrer tyrerj at acm.org
Fri Nov 28 02:44:46 CET 2003


Goffioul Michael wrote:
>>Suggestion:
>>
>>Message=lp is ready and printing;
>>Rank=active:Owner=jrt:Job=5:Files=...:Total Size=73269 bytes;
>>Rank=1st:Owner=jrt:Job=6:Files=...:Total Size=73269 bytes;
>>
>>This should be easier to parse.
> 
> 
> I suggested XML because Qt already has an XML parser built-in
> that does the job for you. Any other format is also good.
> 
> 
>>The FooMatic PPD files contain in addition to this, 
>>information for the filter to use when 
>>executing GhostScript.  This information is not used by the 
>>application so it does not 
>>need to be in a PPD file.
> 
> 
> Some options are not use at application-level, but you still
> want the user be able to select them: media type, input slot,
> color level, gamma correction... Where do you put them?
> 
These would be in the PPD file if they are a printer capability like 'input slot'.  If 
'media type' is something that you tell the printer, then it would be in the PPD.  This 
other stuff is currently handled by GIMP Print if you use it.  I think that GIMP Print has 
its own data base for this.  Otherwise, it is part of the driver configuration and should 
be set in the KDEPrint widget (or something like the 'gpr" widget if you aren't using KDE).
> 
>>The reason is that putting this all in a poorly documented 
>>'magic file' makes it hard to 
>>add a printer which GhostScript supports but the filter 
>>system doesn't.
>>
>>In my case, the printer is supported and I know (or can 
>>figure out) the command line to 
>>use it with GhostScript.  But, I don't know how to edit the 
>>'magic file'.
> 
> 
> Maybe we can imagine a little progam to edit the DB (the magic
> file), and add the missing entry with the required informations
> like the gs driver, page sizes... Till?

There is something called PPD-O-Matic which I think does this for FooMatic.

I did find that I can get a generic Epson Dot Matrix PPD there and it is a simple matter 
to simply remove the resolutions which my printer doesn't support.

I didn't find anything like that for the IFHP filter.

So, I guess that I will try installing FooMatic.

--
JRT



More information about the kde-print mailing list