A method of displaying a preview image, comprising:
- receiving a specification input for specifying a page for which an image forming apparatus is caused to execute a job among pages included in data;
- receiving an instruction input for causing the preview image of a specified page being the page specified by the specification input to be displayed after the specification input for specifying the page is made;
- receiving an input for switching display pages for the preview image;
- causing a display for displaying the preview image for confirmation of the specified page to display the preview images of only a first page and a last page among continuous pages that form a continuous range when the specified pages are the continuous pages;
- and
- causing the display to display the preview images of all non-continuous pages that are separate from each other without forming the continuous range when the specified pages are the non-continuous pages.