make printing stay within printer margins; add print button to TemplatePane test program; add submit button name to formsubmit handler;