A method for forming an organic or partly organic switching device. The
method comprises depositing layers of conducing, semiconducting and/or
insulating layers by solution processing and direct printing. Then,
high-resolution patterns of electroactive polymers are formed by
self-aligned formation of a surface energy barrier around a first pattern
that repels the solution of a second material.