Added printing sample.