A more generic modern print script was introduced in bug 31714. We should be able to use that here and remove this bear duplicate controller.