A method to prepare at least one pocket comprising encapsulated material, the pocket comprises a core of core material surrounded by an encapsulation of barrier material, the method comprising the steps of a. forming one or more bases B of barrier material on a substrate by a1. applying barrier material b on the substrate, the barrier material b comprising a resin; a2. locally curing the barrier material b to form one base B or a plurality of bases B of cured barrier material b, each base B being spatially distinguished from another base B and each base B covering an area A B of the substrate; a3. removing uncured barrier material b; b. forming core material c on top of at least part of the bases B by, b1. applying core material c on the substrate obtained from step a., the core material c comprising a resin and at least one photoemissive particle or photoemissive compound; b2. locally curing the core material c to form one core deposit or a plurality of core deposits of cured core material c, with each core deposit of cured core material c being deposited on top of a base B and none of said core deposits of cured core material c extending beyond the area A B; b3. removing uncured core material c; c. forming one or more lids L of barrier material on the substrate provided with the one or more bases B and provided with the core material by c1. applying barrier material I on the substrate obtained from step b., the barrier material I comprising a resin; c2. locally curing the barrier material I to form a lid L of cured barrier material I on top of each base B provided with core material c, each lid L being spatially distinguished from another lid L, each base B provided with core material c and the lid L formed on top of this base B forming a pocket, whereby said pocket is fully encapsulating the core material c provided on the base B of said pocket. c3. removing uncured barrier material I. a. forming one or more bases B of barrier material on a substrate by a1. applying barrier material b on the substrate, the barrier material b comprising a resin; a2. locally curing the barrier material b to form one base B or a plurality of bases B of cured barrier material b, each base B being spatially distinguished from another base B and each base B covering an area A B of the substrate; a3. removing uncured barrier material b; a1. applying barrier material b on the substrate, the barrier material b comprising a resin; a2. locally curing the barrier material b to form one base B or a plurality of bases B of cured barrier material b, each base B being spatially distinguished from another base B and each base B covering an area A B of the substrate; a3. removing uncured barrier material b; b. forming core material c on top of at least part of the bases B by, b1. applying core material c on the substrate obtained from step a., the core material c comprising a resin and at least one photoemissive particle or photoemissive compound; b2. locally curing the core material c to form one core deposit or a plurality of core deposits of cured core material c, with each core deposit of cured core material c being deposited on top of a base B and none of said core deposits of cured core material c extending beyond the area A B; b3. removing uncured core material c; b1. applying core material c on the substrate obtained from step a., the core material c comprising a resin and at least one photoemissive particle or photoemissive compound; b2. locally curing the core material c to form one core deposit or a plurality of core deposits of cured core material c, with each core deposit of cured core material c being deposited on top of a base B and none of said core deposits of cured core material c extending beyond the area A B; b3. removing uncured core material c; c. forming one or more lids L of barrier material on the substrate provided with the one or more bases B and provided with the core material by c1. applying barrier material I on the substrate obtained from step b., the barrier material I comprising a resin; c2. locally curing the barrier material I to form a lid L of cured barrier material I on top of each base B provided with core material c, each lid L being spatially distinguished from another lid L, each base B provided with core material c and the lid L formed on top of this base B forming a pocket, whereby said pocket is fully encapsulating the core material c provided on the base B of said pocket. c3. removing uncured barrier material I. c1. applying barrier material I on the substrate obtained from step b., the barrier material I comprising a resin; c2. locally curing the barrier material I to form a lid L of cured barrier material I on top of each base B provided with core material c, each lid L being spatially distinguished from another lid L, each base B provided with core material c and the lid L formed on top of this base B forming a pocket, whereby said pocket is fully encapsulating the core material c provided on the base B of said pocket. c3. removing uncured barrier material I.