complete printing procedure