A printer having an image recognition unit for counterfeiting prevention, a printing out device controlled according to a recognition result of said image recognition unit, and a controller, said controller having a function of operating said image recognition unit for image data obtained by expanding a command received from a computer to an image, characterized in that
- said controller has a function of not operating said image recognition unit for counterfeiting prevention when a type of said command received from said computer is not a command type of an image as an object of counterfeiting prevention, and said command type of an image as an object of counterfeiting prevention is a command indicting a color multi-value bit map image.