When an Offset or rotation sort output is designated as an output style,
whether document data of one copy is printed to one paper (physical
sheet) and outputted or not is discriminated. When it is printed to one
paper, it is intended to enable the print such that the Offset or
rotation output is not performed. An information processing apparatus
has: a finishing command setting unit which can set a finishing command
to a printer so as to rotation-sort-output or Offset-output the document
data; and a counter for counting the number of physical sheets to which
the document data of one copy whose output is desired is allocated. The
finishing command setting unit sets the finishing command in a manner
such that when the document data of one copy is printed onto one physical
sheet as a result of the counting by the counter, the rotation sort
output or the Offset output is not performed, and when the document data
of one copy is printed onto two or more physical sheets, the rotation
sort output or the Offset output is performed.