recording means (128) for printing the code generated by the code generating means on a predetermined recording medium as optically readable image and printing other information including at least one of document and image except the code to meet the recording medium, characterized in that