Accordingly, the above formulae (II)-(XVI) preferably represent the constituents of the components in the perovskite precursor solution. Accordingly, the perovskite precursor solution is prepared by mixing solutes assuming that a perovskite according to one of these formula is obtained, whether or not the corresponding perovskite has indeed the supposed structure formula. Referring to formula (XVI), the following components may be added to the solvent in order to obtain the precursor solution: MX12, DX2, A1X3, A2X4, A3X5. More specifically, a precursor solution comprises amounts of MX12, DX2, A1X3, A2X4, A3X5 in the molar ratios of 1:O:P:Q:R. If Q, R=0, the following components are dissolved in the solvent, in appropriate molar amounts, in order to obtain the precursor solution: MX12, DX2, A1X3, at 1:O:P.
The perovskite precursor solution preferably comprises one or more solvents, in which the components of the precursor solution are dissolved. In an embodiment, the solvent is selected from the group consisting of: gamma-butyrolactone (GBL), DMF, DMSO, isopropanol, acetonitrile, and mixtures comprising two or more of the aforementioned. The invention is preferably not limited to any particular solvent, but solvents or mixtures or solvents may be selected, for example with the goal of adjusting the viscosity of the solvent so as to optimize the suitability for the inkjet printing. In an embodiment, the solvent comprises a mixture of GBL and acetonitrile.