The present application is based on, and claims priority from JP Application Serial Number 2019-158637, filed Aug. 30, 2019, the disclosure of which is hereby incorporated by reference herein in its entirety.

BACKGROUND

1. Technical Field

The present disclosure relates to a technique for ejecting a liquid such as ink.

2. Related Art

A liquid ejecting apparatus for ejecting a liquid such as ink onto a medium such as a printing sheet may not appropriately eject ink due to an abnormality caused by aging degradation or the like. JP-A-2006-312328 discloses a configuration for detecting abnormal ejection in which ink is not normally ejected. Abnormal ejection of a nozzle is detected based on a vibration pattern of residual vibrations of a vibrating plate that occurred when an actuator was driven to the extent that ink was not ejected from the nozzle.

The technique disclosed in JP-A-2006-312328 is to detect abnormal ejection caused by mixing of air bubbles in a pressure chamber, dry of ink within a nozzle, or the like. It is, however, difficult for the technique disclosed in JP-A-2006-312328 to detect a structural defect of a pressure chamber of a liquid ejecting apparatus.

SUMMARY

According to an aspect of the disclosure, a liquid ejecting apparatus includes a first pressure chamber communicating with a first nozzle for ejecting a liquid, a second pressure chamber adjacent to the first pressure chamber and communicating with a second nozzle for ejecting the liquid, and a first driving element corresponding to the first pressure chamber. The liquid ejecting apparatus executes a detection operation of detecting a fluctuation in the pressure of the liquid within the second pressure chamber that occurred when the first driving element was driven to cause the pressure of the liquid within the first pressure chamber to fluctuate.

According to another aspect of the disclosure, a method for controlling a liquid ejecting apparatus including a first pressure chamber communicating with a first nozzle for ejecting a liquid, a second pressure chamber adjacent to the first pressure chamber and communicating with a second nozzle for ejecting the liquid, and a first driving element corresponding to the first pressure chamber includes executing a detection operation of detecting a fluctuation in the pressure of the liquid within the second pressure chamber that occurred when the first driving element was driven to cause the pressure of the liquid within the first pressure chamber to fluctuate.

