Elastomeric replicas of surface relief structures were prepared by molding poly(dimethylsiloxane) (PDMS) precursors against photo-inscribed surface-relief-gratings on azo polymer films. The PI solutions were micro-contact printed with the elastomeric PDMS replica on quartz slides. Good surface-relief-grating structures were formed on the quartz slides. The quartz slides covered with surface-relief-grating polymide (PI) films were then assembled into liquid crystal (LC) cells. The transmittance passing through the cell between crossed polarizers changed periodically with a regular 90º separation of the rotational angle. The pretilt angle of the cell was found to be 2.8º. Results showed that the PI films with surface-relief-grating structures by this micro-contact printing process have good liquid crystal alignment ability. This preparation method of alignment layers can be considered a potentially useful technique in the LC display (LCD) industry in the future.