Comment 22 for bug 134671

Revision history for this message
Jesse (storyjesse) wrote : Re: [Tribe5] cups-pdf do not overwrite existing pdf

I agree that this issue is a matter of differing opinions on what 'expected' behavior is. It appears to me that the simplest solution is simply to allow the desired behavior to be set through cups-pdf.conf
This appears to have been done but I am running into a problem:
- I want cups-pdf to overwrite a file if it has the same name.
- I have placed (or set, can't remember if it was there originally or not) the overwrite key in cups-pdf.conf

### Key: Overwrite
## Hopefully this will enable overwriting of same filenames.
### Default: ie before I added this jobs were failing silently when the filename already existed.
Overwrite 1

- cups-pdf still does not overwrite files with the same name and I have resorted to deleting/renaming them manually before printing a new one.

Is Overwrite an official supported key?
Does it clash or depend on any other key's that anyone knows of?
cups-pdf used to overwrite (some time ago on a different system - now defunct) but I do not know why it won't do it now.

Any help greatly appreciated
Thanks.