1. Technical Field
The present disclosure relates to peripheral devices and methods, and particularly, to a peripheral device and a method for configuring a wireless printing environment.
2. Description of Related Art
Conventionally, to print a file stored in a mobile electronic device using a printer, it is necessary to install a driver corresponding to the printer in the mobile electronic device, which is only useful for that printer, and the process must be repeated for use of other printers. All of which is time-consuming and inconvenient. Therefore, it is desirable for users to configure a wireless printing environment to print files from a mobile electronic device without having to install the driver corresponding to the printer in the mobile electronic device.
Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Referring to
Referring to
Referring to
Referring to
In step 01, the computer 80, the wireless printer 90, and the electronic devices 100 are connected to a wireless network. The peripheral device 10 is coupled to the computer 80.
In step 02, when the peripheral device 10 is coupled to the computer 80, the initiating module 61 causes the computer 80 to execute initialization. The initiating module 61 installs the wireless network adapter driver to the computer 80, so that the peripheral device 10 can be identified when it is switched to a wireless connection mode. Meanwhile, the initiating module 61 copies wireless configuration files and installation files in the wireless network adapter driver module 50 to the computer 80.
In step 03, a user selects a wireless access point 70, and the wireless network configuring module 62 configures a wireless environment for the computer 80, so that the computer 80 can communicate with the printer 90 and the wireless electronic device 100 via the wireless access point 70.
In step 04, the printer configuring module 63 finds a printer 90 compatible with the printer driver from the network, and then installs the printer driver to the computer 80. Thus, the computer 80 is capable of communicating with the printer 90 and causing the printer 90 to print files. One of the methods for installing the printer driver is copying the printer driver to the computer 80 from the storage device 20, and then the printer configuring module 63 installs the printer driver in the computer 80. Another method would be to shift the peripheral device 10 to the storage mode, and then the printer configuring module 63 installs the printer driver in the computer 80.
In step 05, after the printer driver is installed in the computer 80, the print service installation module 64 constructs corresponding print service interfaces for different electronic devices 100, for example, Socket interface, Hypertext Transfer Protocol (HTTP) interface, and Simple Mail Transfer Protocol (STMP) interface, etc., so that the electronic devices 100 are capable of uploading files to the computer 80.
In step 06, the wireless printing environment configuration process for the computer 80 is finished. The computer 80 receives a file sent from the peripheral device 100 via the wireless network. Then, the printer control module 65 distributes a print task for the file to the printer 90 for printing. At this time, the computer 80 works as a print server system.
In the method for printing files as described above, if the user selects to print a file stored in the computer 80, the print process is the same as a conventional method for printing the file. If the user wants to print a file stored in some wireless peripheral device 100 which has a network browser, the peripheral device 100 opens the network browser and accesses the Internet Protocol (IP) address of the computer 80 to establish communication with the computer 80 and uploads files thereto via the HTTP interface. Then the print controlling module 65 causes the printer 90 to print the files. If the wireless peripheral device 100 is capable of sending emails, the computer 80 can receive a file from the wireless peripheral device 100 via the STMP interface. If the wireless peripheral device 100 does not have a network browser also cannot send emails, a Socket client program is installed in the wireless peripheral device 100. The peripheral device 100 can then send files to the computer Socket interface to print.
When the peripheral device 10 is coupled to the computer 80, the peripheral device 10 is capable of configuring a wireless printing environment for the computer 80. The computer 80 works as a print server system to open different interfaces corresponding to the different wireless electronic device 100, so as to provide print service for the wireless electronic device via the wireless network.
It is to be understood, however, that even though numerous characteristics and advantages of the embodiments have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the embodiments to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
It is also to be understood that the above description and the claims drawn to a method may include some indication in reference to certain steps. However, the indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
200910300235.1 | Jan 2009 | CN | national |