Portable terminal Web page printing method based on LANTechnical field
The present invention relates to the file printout field, be specifically related to a kind of portable terminal Web page printing method based on LAN.
Background technology
Therefore printer has become one of common equipment of office, family expenses at present owing to can realize the printing speed output of various files, for the mankind's work and life brings great convenience.But traditional printer is shared and all is based on LAN, and for example perhaps directly carry is on LAN at a certain computing machine of LAN for the printer carry, and other computing machine realizes sharing printing through the method for network printer sharing.
But; Along with popularizing of portable terminal; A lot of routine works has begun with portable terminal closely bound up with life; For example smart mobile phone, panel computer etc., and traditional printer can't realize therefore can not having satisfied the needs of human work and life gradually to the sharing of smart mobile phone, panel computer.
Summary of the invention
The purpose of this invention is to provide a kind of printer resource that can realize the portable terminal printed netpage, make full use of LAN, easy to use, simple and practical portable terminal Web page printing method based on LAN.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of portable terminal Web page printing method based on LAN, and implementation step is following:
1) portable terminal will treat that printing network page is printed as intermediate file through the virtual printing driving;
2) portable terminal obtains its LAN IP address, and sends intermediate file to the typewriter terminal of place LAN segment;
3) typewriter terminal receives said intermediate file, and said intermediate file is exported through printer prints.
Further improvement as technique scheme of the present invention:
Said step 2) the typewriter terminal transmission intermediate file concrete steps to the place LAN segment in comprise: portable terminal sends the printing broadcast to the place LAN segment; Typewriter terminal receives prints broadcast, and has information to portable terminal transmission printer; Portable terminal is received after there is information in printer and is sent intermediate file through LAN to typewriter terminal.
Typewriter terminal also comprises the step of feeding back printout after said intermediate file is exported through printer prints in the said step 3), and the concrete steps of said feedback printout are: typewriter terminal sends the message of printer prints output feedback and sends to portable terminal through LAN; After portable terminal is received the message of said printout feedback,, otherwise export concrete printout feedback message to the user if the message of printout feedback is successfully then to user's output print message of successful.
Said intermediate file is ps file or pdf file.
The present invention has following advantage: the present invention can realize the portable terminal printed netpage, make full use of the printer resource of LAN, has easy to use, simple and practical advantage.
Description of drawings
Fig. 1 is the schematic flow sheet of the embodiment of the invention.
Embodiment
As shown in Figure 1, the portable terminal Web page printing method based on LAN of the embodiment of the invention, implementation step is following:
1) portable terminal will treat that printing network page is printed as intermediate file through the virtual printing driving;
2) portable terminal obtains its LAN IP address, and sends intermediate file to the typewriter terminal of place LAN segment;
3) typewriter terminal receives intermediate file, and intermediate file is exported through printer prints.
In the present embodiment, typewriter terminal can be for having the computing machine of printer, also can be for having the network printer of network printing function, and perhaps network printing shared device.
In the present embodiment, step 2) sending the intermediate file concrete steps to the typewriter terminal of place LAN segment in comprises: portable terminal sends the printing broadcast to the place LAN segment; Typewriter terminal receives prints broadcast, and has information to portable terminal transmission printer; Portable terminal is received after there is information in printer and is sent intermediate file through LAN to typewriter terminal.
In the present embodiment; Typewriter terminal also comprises the step of feeding back printout after intermediate file is exported through printer prints in the step 3), and the concrete steps of feedback printout are: typewriter terminal sends the message of printer prints output feedback and sends to portable terminal through LAN; After portable terminal is received the message of printout feedback,, otherwise export concrete printout feedback message to the user if the message of printout feedback is successfully then to user's output print message of successful.
In the present embodiment, intermediate file is ps file or pdf file.
The above is merely preferred implementation of the present invention, and protection scope of the present invention is not limited in above-mentioned embodiment, and every technical scheme that belongs to the principle of the invention all belongs to protection scope of the present invention.For a person skilled in the art, some improvement and the retouching under the prerequisite that does not break away from principle of the present invention, carried out, these improvement and retouching also should be regarded as protection scope of the present invention.