Pete Brown | 6 Jul 2010 01:42

Re: EPSON Stylus C66

Hi Gregg

Gregg Young wrote:
> Pete Brown wrote:

----- big snip -----

>>
>> I do not know but suspect that the CUPS Modify Printer routine may be
>> used, probably as a background process, to identify the PPD file(s) in
>> \cups\etc\cups\ppd and then update it(them) with the later version(s).
>>
>> Not having a Mac/*nix system I cannot put the above theory to the test
>> but...
>>
>> If after updating Gutenprint you run the cups browser interface and go
>> through the Modify Printer process and leave everything as it was but
>> select to install the same PPD filename the PPD file gets changed to
>> the new version.
>>
>> I guess it must be possible to do that via a script but I have not yet
>> spotted any way of calling Modify Printer from a script. Maybe a long
>> perusal of cups docs will enlighten me. If I discover how to do this I
>> will add an update PPD file script to the Gutenprint WPI package.
>
> I can't image that the web browser is anything more than an interface
> for providing the parameters to the program that actually modifies it.
> It appears a temp file is generated in \cups\var\spool\cups of the form
> 000017 which appears to be passed to or used to determine the ppd needed
> for \cups\lib\cups\daemon\cups-driverd.exe the file is then renamed to
> c00017 (see attached)
>

The PPD file(s) in use is(are) untgz'd into \cups\etc\cups\ppd

I think the files in \cups\var\spool\ are print job related.

> Usage: cups-driverd cat ppd-name
> Usage: cups-driverd dump
> Usage: cups-driverd get request_id ppd-name
> Usage: cups-driverd list request_id limit options
>
> Thanks
>
> Gregg
>
>

The cups docs do not seem to know that cups-driverd exists... and I must 
admit that I do not know what it is used for. It does not look related 
to updating PPD files though.

Regards

Pete

Gmane