How do you set the duration print strings stay on the screen?

Thanks for the link!