Duplex printing mechanism