I have two buttons on my form. One saves the form and one prints the form. Following those commands are lines of code to mark the form readonly:Printer Buttonxfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0)this.resolveNode("header.DateTimeField1").access = "readOnly";etc......