A method and apparatus is provided for printing an electronic document by automatically printing more than two pages from the electronic document on each side of a sheet of output. The pages that are printed on each sheet of output are automatically arranged in such a manner that when the sheets of output are folded, the pages appear in the correct numerical order. The sheets of output are automatically folded. The edges of the folded sheets of output are automatically trimmed, and the sheets of output are automatically bound together along one edge to form a book.