Hi Huw.
We have only filenames in the registry. The current code works fine with the adobe postscript driver and various other driver for PDF printers.
Which native driver makes problems?
Why do you add spaces before and after the the function args and change idention, bracket style and variable names everywhere in the patch?
HP is using a subdirectory for some driver files, but i can't remember the driver name at the moment.