You can use a custom column defined as
Code:
program:approximate_formats()
and then select different send-to-device paths depending on the formats available.
The only way to get different configurations per-library is to use different configuration directories, see:
http://manual.calibre-ebook.com/cust...ment-variables