If you mean the print-button in the toolbar menu, it can't be done. You can only turn these on or off when opening the window. I think you can execute the print command if you link it to another button on the page though. I don't remember how, but try searching the web..