Upon receiving print data from a host computer, a printer determines
whether the data is an instruction for generating form data. If the print
data is such an instruction, the printer generates the form data an image
data, encodes the data and then stores the encoded data. If the print data
is a print instruction other than the above-mentioned instruction, the
printer determines whether the print data is a page to be overlaid on form
data. If such is the case, the encoded form data is decoded and drawn and
the data to be printed is output upon being superposed on the drawn form
data.