Printing mechanism worked out.