Something to note:
var obj = {};
obj.printMargin=80;
obj.showPrintMargin=false;
editor.setOptions(obj);
showPrintMargin will get set to True, which isn't what I expected. Intuitively, I expected that setting showPrintMargin would control the feature. I get the conflict, but It took me a while to figure out what was going on. The Docs aren't too pithy on this.
Is it possible to wrap at the print margin without showing the print margin? I haven't been able to get that to work.