1. A method for modifying eXtensible Markup Language (XML) code that represents a document to be printed as a bound book, comprising: accessing the XML code, wherein the XML code comprises: a Cover XML element that represents a cover of the bound book and that includes a Front XML element that represents a front of the bound book, a Spine XML element that represents a spine of the bound book, and a Back XML element that represents a back of the bound book; and a Pages XML element that represents the pages of the bound book and that includes multiple Page XML elements, each Page XML element representing a logical page of the bound book; identifying a physical page size that represents a physical sheet of material that will be used to print logical pages of the bound book; and modifying the XML code by changing a position of a Page XML element within the XML code, such that each Page XML element in the modified XML code represents a physical page on which multiple logical pages will be printed.