A printing apparatus capable of performing wireless communication using a first frequency band and wireless communication using a second frequency band including a specific frequency band for which a DFS (Dynamic Frequency Selection) function is required, respectively, the printing apparatus comprising:
- at least one processor operating to
- set a usage channel used in a first communication mode in which wireless communication is performed with a terminal device via an external access point and a usage channel used in a second communication mode in which the printing apparatus serves as a parent station to directly and wirelessly communicate with a terminal device without using the external access point;
- and
- execute printing processing based on data that is transmitted from the terminal device through a wireless communication using the set usage channel,
- wherein, if a communication of the first communication mode is performed using a channel in the first frequency band as the usage channel of the first communication mode, a channel of the second communication mode is set based on the usage channel of the first communication mode, and
- if a communication of the first communication mode is performed using a channel in the specific frequency band as the usage channel of the first communication mode, a communication of the second communication mode is not performed using a channel in the specific frequency band.