Patent ID: 6901863

Claim:
A printer, comprising: a printer position information acquisition which acquires printer position information to specify a place where the printer is installed; a first printer position information acquisition which acquires first printer position information from the printer position information acquisition; a public key generator which generates a public key with a passphrase containing at least the first printer position information; a public key storage in which the public key generated by the public key generator is stored, the number of times the public key is allowed to be stored being limited to a predetermined number of times; a print data receiver which receives print data encrypted with the public key; a second printer position information acquisition which acquires second printer position information from the printer position information acquisition when the print data has been received; a private key generator which generates a private key with a passphrase containing at least the second printer position information; and a decrypter which decrypts the print data received by the print data receiver with the private key.