Redid commit of implementation of usage of view envelope in printing plugin