CN104238965A - Printing selection method and electronic device - Google Patents
Printing selection method and electronic device Download PDFInfo
- Publication number
- CN104238965A CN104238965A CN201310236381.9A CN201310236381A CN104238965A CN 104238965 A CN104238965 A CN 104238965A CN 201310236381 A CN201310236381 A CN 201310236381A CN 104238965 A CN104238965 A CN 104238965A
- Authority
- CN
- China
- Prior art keywords
- printer
- attribute
- file
- judged result
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Abstract
The invention discloses a printing selection method and an electronic device. The printing selection method is applied to the electronic device. The electronic device is connected with at least two printing machines. The printing selection method comprises the steps of receiving a first printing instruction for printing a first file; obtaining first attribute of the first file; and obtaining the printing machine corresponding to the first attribute, in the at least two printing machines, to be used as a target printing machine so as to print the first file through the target printing machine. By means of the printing selection method, a corresponding printing machine is automatically selected during printing, a user is prevented from manually selecting the corresponding printing machine according to attributes of the printing machines, further the technical problem of low printing efficiency in the prior is solved, and the technical effect of the printing efficiency is achieved.
Description
Technical field
The present invention relates to electronic technology field, particularly one selects Method of printing and electronic equipment.
Background technology
Along with the development of science and technology, printing technique obtains and develops fast, and the stylus printer from develops into ink-jet printer, then laser printer till now, and the print speed of printer and sharpness have had significant raising.
At present, because dissimilar printer has the advantage of various different uniqueness, under different demands, people can select dissimilar printer usually, as when carrying out simple bill printing, people select to have intermediate resolution and print speed and the cheap stylus printer of consumptive material usually; And when carrying out the printing of document or picture, usually select resolution high, lettering quality high and ink-jet printer or laser printer clearly.
Present inventor, in the process realizing technical scheme in the embodiment of the present application, finds that prior art exists following technical matters:
In prior art, owing to needing that a computer is connected with the dissimilar printer of multiple stage usually, especially in office space, a computer may be connected with laser printer, ink-jet printer, the title shown on computers due to each printer is by letter, numeral, the compositions such as oblique line, user cannot distinguish the attribute of each printer fast, thus user needs when printing the attribute first confirming each printer, then manually could select different printers to print according to the different demands of oneself, visible, there is the low technical matters of printing effect in prior art.
Summary of the invention
The embodiment of the present invention provides a kind of and selects Method of printing and electronic equipment, solves the technical matters that in prior art, printing effect is low, improves printing effect.
The application provides a kind of and selects Method of printing, and be applied to an electronic equipment, described electronic equipment is connected with at least two printers, and described method comprises:
Receive the first print command for printing the first file;
Obtain the first attribute of described first file;
The printer of answering with described first Attribute Relative at least two printers described in acquisition, as target printer, prints described first file to pass through described target printer.
Optionally, the printer of answering with described first Attribute Relative at least two printers described in described acquisition, as target printer, specifically comprises:
Whether exist at least two printer attributes of at least two printers described in detection answer with described first Attribute Relative mate printer attribute, obtain the first testing result;
When having described coupling printer attribute at least two printer attributes described in described first testing result shows, determine that coupling printer that described coupling printer attribute is corresponding is as target printer.
Optionally, whether exist at least two printer attributes of at least two printers described in described detection answer with described first Attribute Relative mate printer attribute, before obtaining the first testing result, described method also comprises:
First title of every platform printer at least two printers described in acquisition;
Based on described first title, obtain and store the printer attribute of described every platform printer, with at least two printer attributes described in obtaining.
Optionally, describedly determine that coupling printer that described coupling printer attribute is corresponding is as target printer, specifically comprises:
Judge whether described first attribute is picture attribute, obtains the first judged result;
When described first judged result shows that described first attribute is described picture attribute, whether there is colour print attribute at least two printer attributes described in judgement, obtain the second judged result;
When described second judged result shows to there is described colour print attribute, determine that the color printer that described colour print attribute is corresponding is described target printer.
Optionally, describedly determine that coupling printer that described coupling printer attribute is corresponding is as target printer, specifically comprises:
Judge whether described first attribute is document properties, obtain the 3rd judged result;
When described 3rd judged result shows that described first attribute is described document properties, at least two printer attributes described in judgement, whether there is black and white print attribution, obtain the 4th judged result;
When described 4th judged result shows to there is described black and white print attribution, determine that the black-and-white printer that described black and white print attribution is corresponding is described target printer.
Optionally, whether have at least two printer attributes described in described detection answer with described first Attribute Relative mate printer attribute, after obtaining the first testing result, described method also comprises:
When there is not described coupling printer attribute at least two printer attributes described in described first testing result shows, generating and show the first information, there is not described target printer for pointing out at least two printers described in user in described first information.
Optionally, the printer of answering with described first Attribute Relative at least two printers described in described acquisition as target printer after, described method also comprises:
Judge whether the quantity of described target printer is more than or equal to 2, obtain the 5th judged result;
When described 5th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the nearest target printer nearest apart from described electronic equipment, to print described first file by described nearest target printer.
Optionally, when described target printer and described electronic equipment are wireless connections, the printer of answering with described first Attribute Relative at least two printers described in described acquisition as target printer after, described method also comprises:
Judge whether the quantity of described target printer is more than or equal to 2, obtain the 6th judged result;
When described 6th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the wireless signal the strongest target printer the strongest with wireless signal during described electronic equipment radio communication, to print described first file by the strongest target printer of described wireless signal.
The embodiment of the present application also provides a kind of electronic equipment, and this electronic equipment is connected with at least two printers, and described electronic equipment comprises:
First receiving element, for receiving the first print command for printing the first file;
First acquiring unit, for obtaining the first attribute of described first file;
Processing unit, for the printer of answering with described first Attribute Relative at least two printers described in obtaining as target printer, to print described first file by described target printer.
Optionally, described processing unit specifically comprises:
First detection module, whether exist at least two printer attributes at least two printers described in detecting answer with described first Attribute Relative mate printer attribute, obtain the first testing result;
First determination module, during for there being described coupling printer attribute at least two printer attributes described in showing in described first testing result, determines that coupling printer that described coupling printer attribute is corresponding is as target printer.
Optionally, described electronic equipment also comprises:
Second acquisition unit, for whether exist at least two printer attributes of at least two printers described in described detection answer with described first Attribute Relative mate printer attribute, before obtaining the first testing result, the first title of every platform printer at least two printers described in acquisition;
3rd acquiring unit, for according to described first title, obtains and stores the printer attribute of described every platform printer, with at least two printer attributes described in obtaining.
Optionally, described first determination module, specifically comprises:
First judges submodule, for judging whether described first attribute is picture attribute, obtains the first judged result;
Second judges submodule, when described first judged result shows that described first attribute is described picture attribute, whether there is colour print attribute, obtain the second judged result at least two printer attributes described in judgement;
First determines submodule, when described second judged result shows to there is described colour print attribute, determines that the color printer that described colour print attribute is corresponding is described target printer.
Optionally, described first determination module, specifically comprises:
3rd judges submodule, for judging whether described first attribute is document properties, obtains the 3rd judged result;
4th judges submodule, for when described 3rd judged result shows that described first attribute is described document properties, whether there is black and white print attribution at least two printer attributes described in judgement, obtains the 4th judged result;
Second determines submodule, when described 4th judged result shows to there is described black and white print attribution, determines that the black-and-white printer that described black and white print attribution is corresponding is described target printer.
Optionally, described electronic equipment also comprises:
First generation unit, during for there is not described coupling printer attribute at least two printer attributes described in showing when described first testing result, generating and show the first information, there is not described target printer for pointing out at least two printers described in user in described first information.
Optionally, described electronic equipment also comprises:
First judging unit, for the printer of answering with described first Attribute Relative at least two printers described in described acquisition as target printer after, judge whether the quantity of described target printer is more than or equal to 2, obtain the 5th judged result;
First transmitting element, for when described 5th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the nearest target printer nearest apart from described electronic equipment, to print described first file by described nearest target printer.
Optionally, when described target printer and described electronic equipment are wireless connections, described electronic equipment also comprises:
Second judging unit, for the printer of answering with described first Attribute Relative at least two printers described in described acquisition as target printer after, judge whether the quantity of described target printer is more than or equal to 2, obtain the 6th judged result;
Second transmitting element, for when described 6th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the wireless signal the strongest target printer the strongest with wireless signal during described electronic equipment radio communication, to print described first file by the strongest target printer of described wireless signal.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has one or more technique effects following:
1, because the technical scheme in the embodiment of the present application can need the attribute of the first file that prints by automatic acquisition, and the target printer of coupling is automatically selected according to the attribute of the first file, then the first file is printed by the target printer of coupling, and then make user no longer need to distinguish printer attribute when printing, and then manually select corresponding printer, thus solve the low technical matters of printing effect in prior art, reach the technique effect improving printing effect.
2, because the technical scheme in the embodiment of the present application is when printing, the document properties of the first file printed as required or picture attribute, corresponding selection black-and-white printer or color printer automatically, and then effectively avoid all print file all to print to black and white or colour, so, the demand of user can better be met, improve customer experience degree.
3, in the technical scheme of the embodiment of the present application, target printer have multiple in, can chosen distance user is nearest automatically printer print file, make user more conveniently can get printed file more efficiently; Or, when target printer is multiple wireless printer, the printer that automatic selection wireless signal is the strongest carrys out print file, make electronic equipment more stablely faster the first file can be sent to printer, thus print the first file fast, improve the intelligence degree of electronic equipment.
Accompanying drawing explanation
A kind of schematic flow sheet selecting Method of printing that Fig. 1 provides for the embodiment of the present application one;
The judgement schematic flow sheet that the selection that Fig. 2 provides for the embodiment of the present application one prints;
The block diagram of a kind of electronic equipment that Fig. 3 provides for the embodiment of the present application two.
Embodiment
In the technical scheme that the embodiment of the present application provides, by the attribute of automatic acquisition print file after receiving print command, and according to the attribute of print file automatically for user selects the target printer that mates, to print this file by the target printer of coupling, user is avoided manually to select corresponding printer according to each printer attribute again, and then the technical matters that in solution prior art, printing effect is low, reach the technique effect improving printing effect.
Below in conjunction with accompanying drawing, the main of the embodiment of the present application technical scheme is realized principle, embodiment and be explained in detail the beneficial effect that should be able to reach.
Embodiment one
Please refer to Fig. 1, the embodiment of the present application provides a kind of and selects Method of printing, and be applied to an electronic equipment, described electronic equipment is connected with at least two printers, and described method comprises:
S101: receive the first print command for printing the first file;
S102: the first attribute obtaining described first file;
S103: the printer of answering with described first Attribute Relative at least two printers described in acquisition, as target printer, prints described first file to pass through described target printer.
In specific implementation process, the electronic equipment that the application provides can be dissimilar from multiple stage printer by different modes be connected, concrete, electronic equipment can be connected with printer by wired or wireless mode, also can be connected with printer by network, meanwhile, described printer specifically can comprise polytype printer, as stylus printer, ink-jet printer, laser printer etc.When user needs printing the first file, can input the first print command of printing first file to electronic equipment, and then electronic equipment just starts to perform S101.
S101: receive the first print command for printing the first file.Concrete, the first print command can comprise the file name information of the first file, needs print page number information, page print or pair of pages type information etc., after the first print command receiving printing first file, continue execution S102.
S102: the first attribute obtaining described first file.
In specific implementation process, electronic equipment can obtain the first attribute of the first file according to the file suffixes name of the first file, because the file suffixes name of each file denotes the form of file, the attribute of file can be judged according to the form of file, such as: the file " XXX.doc " by name supposing the first file, so then can obtain the file suffixes name " doc " of the first file, the first attribute of the first file that now electronic equipment just can obtain according to file suffixes name " doc " is document properties; Suppose the file " XXX.jpg " by name of the first file again, corresponding electronic equipment then can obtain the file suffixes name " jpg " of the first file, and judges that the first attribute of the first file is picture attribute according to file suffixes name " jpg ".After getting the first attribute of the first file, perform next step S103.
S103: the printer of answering with described first Attribute Relative at least two printers described in acquisition, as target printer, prints described first file to pass through described target printer.
In actual applications, in order to the printer of answering with described first Attribute Relative can be got fast as target printer from least two printers, following steps can be performed successively:
The first step: the first title of every platform printer at least two printers described in acquisition.Because electronic equipment is when connecting with printer, in order to mutual identification, printer can provide oneself printer name and address to electronic equipment, and the title of printer often printer production firm carry out naming according to the model, the place of production, type etc. of printer, the attribute of reaction printer that can be direct or indirect, so the attribute in order to obtain printer, first can obtain title i.e. first title of printer, after getting the first title, perform next step.
Second step: based on described first title, obtains and stores the printer attribute of described every platform printer, with at least two printer attributes described in obtaining.Concrete, web search first title can be passed through, get the printer attribute of the corresponding printer of the first title, also can by the mount message of retrieval printer, printer attribute is obtained from its mount message, if above-mentioned two kinds of modes are all unsuccessful, can when first time uses this printer, prompting user selects according to printer instructions the printer attribute that printer is corresponding, such as: suppose that electronic equipment is connected with two printers: " LaserJet 1020plus (CC418A) " and " ME OFFICE70 ", electronic equipment can obtain title " LaserJet 1020plus (CC418A) " and " MEOFFICE 70 " of above-mentioned printer, and respectively these two names are referred to as search key at the enterprising line search of network, because the printer manufacturer of most model all can issue its product essential information on network, so the essential information of above-mentioned printer can be got very easily, and the printer attribute that can get " LaserJet1020plus (CC418A) " from product category is laser black-and-white printer, the printer attribute of " ME OFFICE 70 " is ink-jet (colour+black and white) printer.
3rd step: whether exist at least two printer attributes of at least two printers described in detection answer with described first Attribute Relative mate printer attribute, obtain the first testing result.Concrete, described first testing result has two kinds of situations: the first, that does not answer with the first Attribute Relative at least two printer attributes of at least two printers mates printer attribute, goes to the 5th step; The second, what at least two printer attributes of at least two printers, existence was answered with the first Attribute Relative mates printer attribute, now continues execution the 4th step.
4th step: when having described coupling printer attribute at least two printer attributes described in described first testing result shows, determines that coupling printer that described coupling printer attribute is corresponding is as target printer.
5th step: when there is not described coupling printer attribute at least two printer attributes described in described first testing result shows, generating and show the first information, there is not described target printer for pointing out at least two printers described in user in described first information.
In specific implementation process, in order to provide more selection to user, when showing described first information, the options of second printer can be provided for user, such as: suppose that the printer attribute that mates of answering with the first Attribute Relative is laser black and white print attribution, but when laser black and white print attribution not detected in described at least two printer attributes, detect inkjet color printing attribute, now because color printer also can print black and white file, so can prompting user laser black-and-white printer do not detected while prompting user: " selecting inkjet color printing machine to print? " so just, can be user to provide and more print selection.
Further, in order to meet the different needs of different user, different described first attributes which kind printer concrete corresponding can adopt the default setting of electronic equipment, also can be pre-set by user, such as: the frequent printing reports of a user, invoice and document, its computer is connected with stylus printer and ink-jet printer, so user can according to the actual needs of oneself, be the target printer that the file of invoice or form arranges its correspondence by the first attribute be stylus printer, be word by the first attribute, ppt, the target printer that the files such as txt arrange its correspondence is ink-jet printer, so electronic equipment then can select stylus printer to print automatically when detecting that the first file is invoice, detecting that the first file detects printing of inkjet printer when being word automatically.
Please refer to Fig. 2, concrete, determining that coupling printer that described coupling printer attribute is corresponding is as in the process of target printer, in order to the method that optimum choice prints, make to print the lower print quality of cost higher, provide following method in the application for without color demand:
S201: judge whether described first attribute is picture attribute, obtains the first judged result.Concrete, there are two kinds of situations in the first judged result: the first, described first attribute is not picture attribute, and if the first file is ppt document, its attribute is not picture attribute, now goes to S204; The second situation, described first attribute is picture attribute, and if the first file is the photo of a certificate, its attribute is picture attribute, now continues to perform S202.
S202: when described first judged result shows that described first attribute is described picture attribute, whether there is colour print attribute at least two printer attributes described in judgement, obtain the second judged result.Concrete, second judged result also comprises two kinds of situations: the first, colour print attribute is there is not at least two printer attributes, namely there is not the target printer corresponding with the first attribute in the printer that electronic equipment connects, now generate and show the first information,, there is colour print attribute at least two printer attributes in the second, so corresponding execution S203.
S203: when described second judged result shows to there is described colour print attribute, determines that the color printer that described colour print attribute is corresponding is described target printer.Concrete, described color printer can be inkjet color printing machine or laser color printer, the cost spent than laser color printer due to the cost of the cost of inkjet color printing machine is low, thus can further optimum choice inkjet color printing machine as target printer.
S204: judge whether described first attribute is document properties, obtains the 3rd judged result.In actual application; usually require in the file of printer; total belongs to two large classes: a class is picture, a class is document; wherein document package contains: word, ppt, excel, pdf etc.; therefore under normal circumstances; typescripts is needed not belonging to picture category to be; then belong to document class; so to perform judged result that S204 obtains usually after executing S201 be the first attribute is document properties; now perform S205; if certainly first perform S204, so the 3rd judged result may be then the first attribute is not document properties, so now goes to S201.
S205: when described 3rd judged result shows that described first attribute is described document properties, whether there is black and white print attribution at least two printer attributes described in judgement, obtains the 4th judged result.Concrete, 4th judged result also comprises two kinds of situations: the first, black and white print attribution is there is not at least two printer attributes, namely there is not the target printer corresponding with the first attribute in the printer that electronic equipment connects, now generate and show the first information,, there is black and white print attribution at least two printer attributes in the second, so corresponding execution S206.
S206: when described 4th judged result shows to there is described black and white print attribution, determines that the black-and-white printer that described black and white print attribution is corresponding is described target printer.Concrete, described black-and-white printer can be ink-jet black-and-white printer or laser black-and-white printer, because the printing speed of laser black-and-white printer is fast, noise is little, exhausted amount of ink is few, so laser black-and-white printer can be selected further as target printer.
In specific implementation process, the printer connected due to electronic equipment is multiple, so the situation of more than one of the target printer got may be there is, in order to optimize the selection printing solution of the application further, the printer of answering with described first Attribute Relative at least two printers described in described acquisition as target printer after, the following two kinds selection can be carried out further.
The first is selected: judge whether the quantity of described target printer is more than or equal to 2, obtains the 5th judged result.When the 5th judged result is: the quantity of target printer is not more than when equaling 2, and namely target printer only exists one, so now directly the first file is sent to target printer, to print the first file by target printer; When the 5th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the nearest target printer nearest apart from described electronic equipment, to print described first file by described nearest target printer, user is facilitated to get the first printed file faster.Concrete, by the distance value obtained between the printer of user preset and electronic equipment, electronic equipment can judge which target printer is nearest target printer.
The second is selected: judge whether the quantity of described target printer is more than or equal to 2, obtains the 6th judged result.When the 6th judged result is: the quantity of target printer is not more than when equaling 2, and namely target printer only exists one, so now directly the first file is sent to target printer, to print the first file by target printer; When the 6th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the wireless signal the strongest target printer the strongest with wireless signal during described electronic equipment radio communication, to print described first file by the strongest target printer of described wireless signal.
Wherein, the first is selected: the printer print file that chosen distance user is nearest automatically, make user more conveniently can get printed file more efficiently; And the second is selected: when target printer is multiple wireless printer, the printer that automatic selection wireless signal is the strongest carrys out print file, make electronic equipment more stablely faster the first file can be sent to printer, thus print the first file fast, improve the intelligence degree of electronic equipment.
In the technical scheme that the above embodiments of the present application provide, the attribute of the first file printed is needed by automatic acquisition, and the target printer of coupling is automatically selected according to the attribute of the first file, then the first file is printed by the target printer of coupling, and then make user no longer need to distinguish printer attribute when printing, and then manually select corresponding printer, thus solve the low technical matters of printing effect in prior art, reach the technique effect improving printing effect.
Simultaneously, the document properties of the first file that the application also prints as required when printing or picture attribute, corresponding selection black-and-white printer or color printer automatically, and then effectively avoid all print file all to print to black and white or colour, so, the demand of user can better be met, improve customer experience degree.
Embodiment two
Please refer to Fig. 3, the embodiment of the present application provides a kind of electronic equipment, and this electronic equipment is connected with at least two printers, and described electronic equipment comprises:
First receiving element 301, for receiving the first print command for printing the first file;
First acquiring unit 302, for obtaining the first attribute of described first file;
Processing unit 303, for the printer of answering with described first Attribute Relative at least two printers described in obtaining as target printer, to print described first file by described target printer.
In specifically process, described processing unit 303 specifically comprises:
First detection module, whether exist at least two printer attributes at least two printers described in detecting answer with described first Attribute Relative mate printer attribute, obtain the first testing result;
First determination module, during for there being described coupling printer attribute at least two printer attributes described in showing in described first testing result, determines that coupling printer that described coupling printer attribute is corresponding is as target printer.
In order to obtain at least two print attributions of at least two printers be connected with electronic equipment fast, described electronic equipment also provides:
Second acquisition unit 304, for whether exist at least two printer attributes of at least two printers described in described detection answer with described first Attribute Relative mate printer attribute, before obtaining the first testing result, the first title of every platform printer at least two printers described in acquisition;
3rd acquiring unit 305, for according to described first title, obtains and stores the printer attribute of described every platform printer, with at least two printer attributes described in obtaining.
In specific implementation process, in order to obtain the color printer corresponding with picture attribute, described first determination module specifically comprises:
First judges submodule, for judging whether described first attribute is picture attribute, obtains the first judged result;
Second judges submodule, when described first judged result shows that described first attribute is described picture attribute, whether there is colour print attribute, obtain the second judged result at least two printer attributes described in judgement;
First determines submodule, when described second judged result shows to there is described colour print attribute, determines that the color printer that described colour print attribute is corresponding is described target printer.
In specific implementation process, in order to obtain the black-and-white printer corresponding with document properties, described first determination module, specifically comprises:
3rd judges submodule, for judging whether described first attribute is document properties, obtains the 3rd judged result;
4th judges submodule, for when described 3rd judged result shows that described first attribute is described document properties, whether there is black and white print attribution at least two printer attributes described in judgement, obtains the 4th judged result;
Second determines submodule, when described 4th judged result shows to there is described black and white print attribution, determines that the black-and-white printer that described black and white print attribution is corresponding is described target printer.
In order to detect there is not target printer time, the current target printer that there is not coupling of reminding user, described electronic equipment also provides:
First generation unit 306, during for there is not described coupling printer attribute at least two printer attributes described in showing when described first testing result, generating and show the first information, there is not described target printer for pointing out at least two printers described in user in described first information
When more than one of the target printer obtained, in order to select more excellent printer to print the first file further, described electronic equipment also provides:
First judging unit 307, for the printer of answering with described first Attribute Relative at least two printers described in described acquisition as target printer after, judge whether the quantity of described target printer is more than or equal to 2, obtain the 5th judged result;
First transmitting element 308, for when described 5th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the nearest target printer nearest apart from described electronic equipment, to print described first file by described nearest target printer.
When described target printer and described electronic equipment are wireless connections, in order to select more excellent printer to print the first file further, described electronic equipment also comprises:
Second judging unit 309, for the printer of answering with described first Attribute Relative at least two printers described in described acquisition as target printer after, judge whether the quantity of described target printer is more than or equal to 2, obtain the 6th judged result;
Second transmitting element 310, for when described 6th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the wireless signal the strongest target printer the strongest with wireless signal during described electronic equipment radio communication, to print described first file by the strongest target printer of described wireless signal.
Due to the virtual bench that the electronic equipment in the present embodiment is corresponding with method, so its concrete course of work has just no longer been specifically described.
By the one or more technical schemes in the embodiment of the present application, following one or more technique effect can be realized:
1, because the technical scheme in the embodiment of the present application can need the attribute of the first file that prints by automatic acquisition, and the target printer of coupling is automatically selected according to the attribute of the first file, then the first file is printed by the target printer of coupling, and then make user no longer need to distinguish printer attribute when printing, and then manually select corresponding printer, thus solve the low technical matters of printing effect in prior art, reach the technique effect improving printing effect.
2, because the technical scheme in the embodiment of the present application is when printing, the document properties of the first file printed as required or picture attribute, corresponding selection black-and-white printer or color printer, and then effectively avoid all print file all to print to black and white or colour, the demand of user can better be met, improve customer experience degree.
3, in the technical scheme of the embodiment of the present application, target printer have multiple in, can chosen distance user is nearest automatically printer print file, make user more conveniently can get printed file more efficiently; Or, when target printer is multiple wireless printer, the printer that automatic selection wireless signal is the strongest carrys out print file, make electronic equipment more stablely faster the first file can be sent to printer, thus print the first file fast, improve the intelligence degree of electronic equipment.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (16)
1. select a Method of printing, be applied to an electronic equipment, described electronic equipment is connected with at least two printers, it is characterized in that, described method comprises:
Receive the first print command for printing the first file;
Obtain the first attribute of described first file;
The printer of answering with described first Attribute Relative at least two printers described in acquisition, as target printer, prints described first file to pass through described target printer.
2. the method for claim 1, is characterized in that, the printer of answering with described first Attribute Relative at least two printers described in described acquisition, as target printer, specifically comprises:
Whether exist at least two printer attributes of at least two printers described in detection answer with described first Attribute Relative mate printer attribute, obtain the first testing result;
When having described coupling printer attribute at least two printer attributes described in described first testing result shows, determine that coupling printer that described coupling printer attribute is corresponding is as target printer.
3. method as claimed in claim 2, it is characterized in that, whether exist at least two printer attributes of at least two printers described in described detection answer with described first Attribute Relative mate printer attribute, before obtaining the first testing result, described method also comprises:
First title of every platform printer at least two printers described in acquisition;
Based on described first title, obtain and store the printer attribute of described every platform printer, with at least two printer attributes described in obtaining.
4. method as claimed in claim 2, is characterized in that, describedly determines that coupling printer that described coupling printer attribute is corresponding is as target printer, specifically comprises:
Judge whether described first attribute is picture attribute, obtains the first judged result;
When described first judged result shows that described first attribute is described picture attribute, whether there is colour print attribute at least two printer attributes described in judgement, obtain the second judged result;
When described second judged result shows to there is described colour print attribute, determine that the color printer that described colour print attribute is corresponding is described target printer.
5. method as claimed in claim 2, is characterized in that, describedly determines that coupling printer that described coupling printer attribute is corresponding is as target printer, specifically comprises:
Judge whether described first attribute is document properties, obtain the 3rd judged result;
When described 3rd judged result shows that described first attribute is described document properties, at least two printer attributes described in judgement, whether there is black and white print attribution, obtain the 4th judged result;
When described 4th judged result shows to there is described black and white print attribution, determine that the black-and-white printer that described black and white print attribution is corresponding is described target printer.
6. method as claimed in claim 2, is characterized in that, whether have at least two printer attributes described in described detection answer with described first Attribute Relative mate printer attribute, after obtaining the first testing result, described method also comprises:
When there is not described coupling printer attribute at least two printer attributes described in described first testing result shows, generating and show the first information, there is not described target printer for pointing out at least two printers described in user in described first information.
7. the method as described in claim arbitrary in claim 1-5, is characterized in that, the printer of answering with described first Attribute Relative at least two printers described in described acquisition as target printer after, described method also comprises:
Judge whether the quantity of described target printer is more than or equal to 2, obtain the 5th judged result;
When described 5th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the nearest target printer nearest apart from described electronic equipment, to print described first file by described nearest target printer.
8. the method as described in claim arbitrary in claim 1-5, it is characterized in that, when described target printer and described electronic equipment are wireless connections, the printer of answering with described first Attribute Relative at least two printers described in described acquisition as target printer after, described method also comprises:
Judge whether the quantity of described target printer is more than or equal to 2, obtain the 6th judged result;
When described 6th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the wireless signal the strongest target printer the strongest with wireless signal during described electronic equipment radio communication, to print described first file by the strongest target printer of described wireless signal.
9. an electronic equipment, this electronic equipment is connected with at least two printers, it is characterized in that, described electronic equipment comprises:
First receiving element, for receiving the first print command for printing the first file;
First acquiring unit, for obtaining the first attribute of described first file;
Processing unit, for the printer of answering with described first Attribute Relative at least two printers described in obtaining as target printer, to print described first file by described target printer.
10. electronic equipment as claimed in claim 9, it is characterized in that, described processing unit specifically comprises:
First detection module, whether exist at least two printer attributes at least two printers described in detecting answer with described first Attribute Relative mate printer attribute, obtain the first testing result;
First determination module, during for there being described coupling printer attribute at least two printer attributes described in showing in described first testing result, determines that coupling printer that described coupling printer attribute is corresponding is as target printer.
11. electronic equipments as claimed in claim 10, it is characterized in that, described electronic equipment also comprises:
Second acquisition unit, for whether exist at least two printer attributes of at least two printers described in described detection answer with described first Attribute Relative mate printer attribute, before obtaining the first testing result, the first title of every platform printer at least two printers described in acquisition;
3rd acquiring unit, for according to described first title, obtains and stores the printer attribute of described every platform printer, with at least two printer attributes described in obtaining.
12. electronic equipments as claimed in claim 10, it is characterized in that, described first determination module, specifically comprises:
First judges submodule, for judging whether described first attribute is picture attribute, obtains the first judged result;
Second judges submodule, when described first judged result shows that described first attribute is described picture attribute, whether there is colour print attribute, obtain the second judged result at least two printer attributes described in judgement;
First determines submodule, when described second judged result shows to there is described colour print attribute, determines that the color printer that described colour print attribute is corresponding is described target printer.
13. electronic equipments as claimed in claim 10, it is characterized in that, described first determination module, specifically comprises:
3rd judges submodule, for judging whether described first attribute is document properties, obtains the 3rd judged result;
4th judges submodule, for when described 3rd judged result shows that described first attribute is described document properties, whether there is black and white print attribution at least two printer attributes described in judgement, obtains the 4th judged result;
Second determines submodule, when described 4th judged result shows to there is described black and white print attribution, determines that the black-and-white printer that described black and white print attribution is corresponding is described target printer.
14. electronic equipments as claimed in claim 10, it is characterized in that, described electronic equipment also comprises:
First generation unit, during for there is not described coupling printer attribute at least two printer attributes described in showing when described first testing result, generating and show the first information, there is not described target printer for pointing out at least two printers described in user in described first information.
15. electronic equipments as described in claim arbitrary in claim 9-13, it is characterized in that, described electronic equipment also comprises:
First judging unit, for the printer of answering with described first Attribute Relative at least two printers described in described acquisition as target printer after, judge whether the quantity of described target printer is more than or equal to 2, obtain the 5th judged result;
First transmitting element, for when described 5th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the nearest target printer nearest apart from described electronic equipment, to print described first file by described nearest target printer.
16. electronic equipments as described in claim arbitrary in claim 9-13, it is characterized in that, when described target printer and described electronic equipment are wireless connections, described electronic equipment also comprises:
Second judging unit, for the printer of answering with described first Attribute Relative at least two printers described in described acquisition as target printer after, judge whether the quantity of described target printer is more than or equal to 2, obtain the 6th judged result;
Second transmitting element, for when described 6th judged result shows that the quantity of described target printer is more than or equal to 2, send described first file to the wireless signal the strongest target printer the strongest with wireless signal during described electronic equipment radio communication, to print described first file by the strongest target printer of described wireless signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310236381.9A CN104238965B (en) | 2013-06-14 | 2013-06-14 | One kind selection Method of printing and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310236381.9A CN104238965B (en) | 2013-06-14 | 2013-06-14 | One kind selection Method of printing and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104238965A true CN104238965A (en) | 2014-12-24 |
CN104238965B CN104238965B (en) | 2017-09-29 |
Family
ID=52227131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310236381.9A Active CN104238965B (en) | 2013-06-14 | 2013-06-14 | One kind selection Method of printing and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104238965B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110109631A (en) * | 2019-05-15 | 2019-08-09 | 宜春宜联科技有限公司 | A kind of print out task distribution method and server |
CN110717795A (en) * | 2019-10-25 | 2020-01-21 | 佛山青象科技有限公司 | Printing charging method and device and electronic equipment |
CN112306427A (en) * | 2019-07-23 | 2021-02-02 | 富士施乐株式会社 | Printing apparatus, computer-readable medium, printing system, and printing method |
CN113010124A (en) * | 2021-05-26 | 2021-06-22 | 飞天诚信科技股份有限公司 | Method, device and system for realizing information processing |
CN114489523A (en) * | 2022-01-24 | 2022-05-13 | 深圳致明兴科技有限公司 | Method and device for controlling multiple printing devices, electronic device and storage medium |
CN119025058A (en) * | 2024-07-31 | 2024-11-26 | 东莞市泰易包装制品有限公司 | Label printing method, system and portable label printing device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1460922A (en) * | 2002-05-20 | 2003-12-10 | 理想科学工业株式会社 | Printing control system and computer program for controlling print |
US20040109191A1 (en) * | 2002-12-06 | 2004-06-10 | Canon Kabushiki Kaisha | Image processing apparatus and image processing method |
CN1657299A (en) * | 2003-12-13 | 2005-08-24 | 三星电子株式会社 | System and method for selecting printer via wireless communication network and printing data |
CN102279717A (en) * | 2010-06-10 | 2011-12-14 | 株式会社东芝 | Print server and print control method |
-
2013
- 2013-06-14 CN CN201310236381.9A patent/CN104238965B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1460922A (en) * | 2002-05-20 | 2003-12-10 | 理想科学工业株式会社 | Printing control system and computer program for controlling print |
US20040109191A1 (en) * | 2002-12-06 | 2004-06-10 | Canon Kabushiki Kaisha | Image processing apparatus and image processing method |
CN1657299A (en) * | 2003-12-13 | 2005-08-24 | 三星电子株式会社 | System and method for selecting printer via wireless communication network and printing data |
CN102279717A (en) * | 2010-06-10 | 2011-12-14 | 株式会社东芝 | Print server and print control method |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110109631A (en) * | 2019-05-15 | 2019-08-09 | 宜春宜联科技有限公司 | A kind of print out task distribution method and server |
CN112306427A (en) * | 2019-07-23 | 2021-02-02 | 富士施乐株式会社 | Printing apparatus, computer-readable medium, printing system, and printing method |
CN112306427B (en) * | 2019-07-23 | 2025-02-25 | 富士胶片商业创新有限公司 | Printing device, computer readable medium, printing system and printing method |
CN110717795A (en) * | 2019-10-25 | 2020-01-21 | 佛山青象科技有限公司 | Printing charging method and device and electronic equipment |
CN110717795B (en) * | 2019-10-25 | 2021-06-11 | 广东印萌科技有限公司 | Printing charging method and device and electronic equipment |
CN113010124A (en) * | 2021-05-26 | 2021-06-22 | 飞天诚信科技股份有限公司 | Method, device and system for realizing information processing |
CN113010124B (en) * | 2021-05-26 | 2021-09-14 | 飞天诚信科技股份有限公司 | Method, device and system for realizing information processing |
CN114489523A (en) * | 2022-01-24 | 2022-05-13 | 深圳致明兴科技有限公司 | Method and device for controlling multiple printing devices, electronic device and storage medium |
CN119025058A (en) * | 2024-07-31 | 2024-11-26 | 东莞市泰易包装制品有限公司 | Label printing method, system and portable label printing device |
Also Published As
Publication number | Publication date |
---|---|
CN104238965B (en) | 2017-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7388032B2 (en) | Information processing systems and control programs for information processing systems | |
JP6724234B2 (en) | Two-dimensional code information query method, server, client, and system | |
CN104238965A (en) | Printing selection method and electronic device | |
US10986238B2 (en) | Non-transitory computer-readable medium storing output instructions to control portable terminal and portable terminal | |
CN103220443A (en) | Wireless printing from a device outside the network | |
JP2012018670A (en) | Automated system and method for executing rendering job via mobile communication device | |
CN103593419A (en) | Method, device, server and system for inquiring data | |
JP2014011698A (en) | Image processing system and program | |
US20120033248A1 (en) | System and method for generating a remote job submission accelerator report in a multi-function device | |
CN105278884A (en) | Document printing method and device | |
CN105930109A (en) | Document printing method, system and terminal | |
CN109726020B (en) | System docking method, system docking device, storage medium and apparatus | |
WO2014120198A1 (en) | Linking a roaming device to a network-enabled resource through a cloud service using an address obtained through a local interaction | |
CN105072197A (en) | Information-recommending method and device | |
CN105320473A (en) | Document printing method and device | |
CN101388039A (en) | Response message executing method and device | |
JP6031851B2 (en) | Image processing apparatus and program | |
CN104052774A (en) | Data transmission method and system | |
CN103164122A (en) | Method and device calling address book content | |
JP2017054334A (en) | Content specifying program and portable terminal | |
CN110717795B (en) | Printing charging method and device and electronic equipment | |
CN101650808A (en) | Business code-processing method, coding module and system | |
CN105224266A (en) | File printing method and device | |
CN114138211B (en) | Server apparatus, control method, and storage medium | |
JP2011198090A (en) | Print job information management device, printer, and print job information management program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |