Thermodynamic formalism for the Lorentz gas with open boundaries in d dimensions.