print button optimized