A printer for printing a photo has a magnifying lens (enlarging lens), a base and a device for determining the position of the focal point of the magnifying lens. The base is mounted so as to be movable in the direction of an optical axis of the lens. The printer has furthermore an advance device for variably controlling the position of the base in the direction of an optical axis corresponding to an external signal.