View Single Post
Old 12-29-2010, 10:37 PM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by cyberlp23 View Post
Is it possible to create customized presets in Calibre so that you can choose preset convertion options when you convert a new document?
What is your goal?

We all have one preset based on the master settings in Preferences. This preset is in the configuration directory. You can create and use several different configuration directories.

Start calibre and change the master settings in your configuration, exit calibre, copy this config directory, change the copied directory name to reflect your preset. Start calibre and repeat until you have as many preset configuration directories as needed.

Now to use a preset you have to start calibre pointing to the preset configuration directory of your choice. I use the below batch file, which is a subset of the calibre-portable.bat file described here and supplied with calibre.

Code:
@echo OFF
REM        CalibreRun.bat
REM        ~~~~~~~~~~~~~~
REM
REM Batch File to start a Calibre configuration on Windows
REM giving explicit control of the location of:

REM  - Calibre Config Files

REM Specify the location of the Calibre Config files
REM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SET CALIBRE_CONFIG_DIRECTORY=C:\My Dropbox\Config_Preset_1

REM Location of calibre program files
REM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:
CD \Program Files\Calibre2

REM Display settings that will be used
REM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

echo CONFIG=%CALIBRE_CONFIG_DIRECTORY%

REM  The following gives a chance to check the settings before
REM  starting Calibre.  It can be commented out if not wanted.

echo "Press CTRL-C if you do not want to continue"
pause

REM Start up the calibre program.
REM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
REM

start calibre.exe
Create multiple batch files (named for each preset) for starting calibre based on the the conversions you're working with.

Personally the single master configuration is enough for my limited needs.
DoctorOhh is offline   Reply With Quote