Add print margin to text viewer