print button and messages