The file you are after will be in the configuration directory. The easiest way to get there is to open the preference, go to the miscelaneous page and press the "Open calibre configuration directory" button. The file will be something like "device_drivers_KINDLE2.py" depending on exactly which driver you are looking at.
And as you noticed, adding options not at the end causes problems. I recommend that you avoid it. But, if you need to, have a look at the KOBOTOUCH driver. I have code in it that attempts to get around this problem.
Last edited by davidfor; 08-28-2014 at 10:08 PM.
|