Update printmax.py