A terminal is provided with an image obtaining portion that obtains an
image including a code representing a location of a web page, a web page
obtaining portion that obtains the web page based on the code included in
the image, a calculation portion that compares the image except the code
with the web page to calculate a degree of relevance between the image
except the code and the web page, and a print controller that issues a
command to print the image with the code excluded if the degree of
relevance is lower than a predetermined threshold, and to print the image
without excluding the code if the degree of relevance is equal to or
greater than the predetermined threshold.