BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a diagram illustrating the relationship between mobile terminals and a printing apparatus having a wireless function;
FIG. 2 is a diagram illustrating mobile terminals connected to a printing apparatus temporarily;
FIG. 3 is a diagram useful in describing a procedure followed when a mobile terminal is wirelessly connected to a printing apparatus;
FIG. 4 is a functional block diagram illustrating an example of the configuration of a printing apparatus according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating the content of information contained in pairing information between a printing apparatus and a mobile terminal;
FIG. 6 is a diagram illustrating an example of the composition of a table that manages and stores pairing information;
FIG. 7 is a diagram illustrating an example of the composition of a pairing information management table according to this embodiment;
FIG. 8 is a diagram useful in describing a procedure for issuing a “temporary PIN code” necessary to connect to a printing apparatus;
FIG. 9 is a diagram illustrating a case where the “temporary PIN code” shown in FIG. 8 is converted to a QR code or the like;
FIG. 10 is a flowchart illustrating processing for presenting connection information in a printing apparatus according to this embodiment;
FIG. 11 is a diagram useful in describing an example of application when a temporary PIN code is issued in this embodiment;
FIG. 12 is a diagram illustrating the structure of a database of temporary PIN codes issued by a printing apparatus in accordance with circumstances;
FIGS. 13A and 13B are flowcharts illustrating processing for setting issuance of PIN codes in this embodiment;
FIG. 14 is a flowchart illustrating PIN-code analyzing processing at the time of printing in this embodiment;
FIG. 15 is a flowchart illustrating processing for setting time-related valid time and valid number of days; and
FIG. 16 is a flowchart illustrating processing for automatically changing over valid time of a temporary PIN code by a profile capable of being analyzed by Bluetooth™.