Patent ID: 8830491

Claim:
A document processing apparatus which sets a printing attribute for a document including a plurality of pages, comprising: a first setting unit constructed to set a former/latter printing layout attribute indicating to divide data having a plurality of pages into data corresponding to former pages and data corresponding to latter pages and lay out a former page of the data corresponding to the former pages and a latter page of the data corresponding to the latter pages, on one surface of a sheet; a second setting unit constructed to set, in a case where the sheet is cut into the former page and the latter page after the sheet is printed, an aligning attribute indicating to align a cutting edge of the former page and the latter page; a third setting unit constructed to set a first cutting edge or a second cutting edge of an opposite side to the first cutting edge as a cutting edge to be cut in a case where the aligning attribute is set by said second setting unit; and a generation unit constructed to generate print data so that a first page being the former page is laid out in a first direction and a second page being the latter page is laid out in a second direction which is rotated by 180 degrees to the first direction, and the first page and the second page are laid out on the one surface of the sheet in a case where the former/latter printing layout attribute is set by said first setting unit and the first cutting edge is set as the cutting edge to be cut by said third setting unit, wherein the generation unit generates the print data so that the first page is laid out in the second direction on the surface of the sheet, and the second page is laid out in the first direction on the surface, in a case where the cutting edge to be cut is changed from the first cutting edge to the second cutting edge.