An image forming apparatus having a capability of printing a wrapping paper for packaging a three-dimensional object, comprising: an image reading part, acquiring an image of an object matter placed on a document table, a dimension acquisition part, acquiring dimensions of the three-dimensional object on the basis of the image of one face of the three-dimensional object, and the image of another face, crossing the one face of the three-dimensional object, the images having been acquired by the image reading part, a paper selection part, selecting a paper capable of packaging the three-dimensional object on the basis of the dimensions of the three-dimensional object, the dimensions having been acquired by the dimension acquisition part, and an image forming part, outputting a wrapping paper, having been printed with an image on the paper, the paper having been selected by the paper selection part, characterized by a packaging mode selection part, requesting a user to select a packaging mode for the three-dimensional object; a pattern selection part, requesting a user to select a pattern to be printed on the paper, a preview display part operable to display in a touch panel display a preview of an overlapped portion of the wrapping paper that will occur after the packaging, with the selected pattern shown thereon, based on the selected packaging mode and the selected pattern, wherein the preview shows whether a component of the pattern will be hidden under the overlapped portion; and a printing location adjusting part, operable to adjust a printing location of the pattern on the paper by dragging of the pattern in the touch panel display and shifting, wherein the result of said adjustment is reflected in said preview. an image reading part, acquiring an image of an object matter placed on a document table, a dimension acquisition part, acquiring dimensions of the three-dimensional object on the basis of the image of one face of the three-dimensional object, and the image of another face, crossing the one face of the three-dimensional object, the images having been acquired by the image reading part, a paper selection part, selecting a paper capable of packaging the three-dimensional object on the basis of the dimensions of the three-dimensional object, the dimensions having been acquired by the dimension acquisition part, and an image forming part, outputting a wrapping paper, having been printed with an image on the paper, the paper having been selected by the paper selection part, characterized by a packaging mode selection part, requesting a user to select a packaging mode for the three-dimensional object; a pattern selection part, requesting a user to select a pattern to be printed on the paper, a preview display part operable to display in a touch panel display a preview of an overlapped portion of the wrapping paper that will occur after the packaging, with the selected pattern shown thereon, based on the selected packaging mode and the selected pattern, wherein the preview shows whether a component of the pattern will be hidden under the overlapped portion; and a printing location adjusting part, operable to adjust a printing location of the pattern on the paper by dragging of the pattern in the touch panel display and shifting, wherein the result of said adjustment is reflected in said preview.