CN107943437A - Method of printing, device and the storage medium of compatible a variety of printers - Google Patents

Method of printing, device and the storage medium of compatible a variety of printers Download PDF

Info

Publication number
CN107943437A
CN107943437A CN201711282932.XA CN201711282932A CN107943437A CN 107943437 A CN107943437 A CN 107943437A CN 201711282932 A CN201711282932 A CN 201711282932A CN 107943437 A CN107943437 A CN 107943437A
Authority
CN
China
Prior art keywords
printing
printer
setup information
printer setup
end message
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.)
Pending
Application number
CN201711282932.XA
Other languages
Chinese (zh)
Inventor
刘乐
刘光勇
王炯
金宇
居天云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GAOXIN MODERN INTELLIGENT SYSTEM CO Ltd
Original Assignee
GAOXIN MODERN INTELLIGENT SYSTEM CO Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by GAOXIN MODERN INTELLIGENT SYSTEM CO Ltd filed Critical GAOXIN MODERN INTELLIGENT SYSTEM CO Ltd
Priority to CN201711282932.XA priority Critical patent/CN107943437A/en
Publication of CN107943437A publication Critical patent/CN107943437A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1236Connection management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1255Settings incompatibility, e.g. constraints, user requirements vs. device capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a kind of Method of printing of a variety of printers of compatibility, when receiving print command, obtain the corresponding printing content of the print command, obtain the printer setup information of the transmission terminal of the print command, according to the printer setup information and the printing content generation printed document object, the printed document object is sent to printer, so that the printer prints the printing content.The invention also discloses a kind of device and storage medium of a variety of printers of compatibility.Since printer setup information had previously been configured according to the printer, the document that can ensure to print is not in the format issues such as position offset, it is achieved thereby that using the compatibility to a variety of printers.

Description

Method of printing, device and the storage medium of compatible a variety of printers
Technical field
The present invention relates to field of computer technology, more particularly to Method of printing, device and the storage of compatible a variety of printers Medium.
Background technology
Crystal report is a business intelligence software, is mainly used for being designed and created report, is that most professional, function is most in the industry Strong reporting system.Often it is applied in office system software, handles data sheet.Due to crystal report carries Method of printing can To realize direct printing reports in system, without being printed again after report is exported.
But the type for the printer currently connected, the paper type number used is needed to carry out system before printing reports Setting of printing.When the type of printer that the computer using same system software connects is different, it is necessary to for printer Type by the calculating count when being applied to use the computer of polytype printer, then need to be directed to and go to set per class printer Put the setting of printing of software, operation is fairly cumbersome, and when printer model and paper are not the common types of software, can also There is the phenomenon of printing content offset.
The content of the invention
It is a primary object of the present invention to provide a kind of Method of printing, device and the storage medium of a variety of printers of compatibility, Aim to solve the problem that the caused technical problem that can not print or print content offset when printer is incompatible.
To achieve the above object, the present invention provides a kind of Method of printing of a variety of printers of compatibility, and the compatibility is a variety of to beat The Method of printing of print machine comprises the following steps:
When receiving print command, the corresponding printing content of the print command is obtained;
Obtain the printer setup information of the transmission terminal of the print command, according to the printer setup information and The printing content generation printed document object;
The printed document object is sent to printer, so that the printer prints the printing content.
Preferably, the printer setup information of the transmission terminal for obtaining the print command, according to the printer Before the step of configuration information and the printing content generation printed document object, further include:
Shield the printer setup information of acquiescence.
Preferably, the printer setup information of the transmission terminal for obtaining the print command, according to the printer The step of configuration information and the printing content generation printed document object, includes:
The printer setup information of the transmission terminal of the print command is obtained, by the printing content and the printing Machine configuration information is added in printed document;
Printed document object is generated according to the printed document.
Preferably, after described the step of obtaining the print command corresponding printing content, further include:
The transmission terminal of the print command is obtained, judges whether to prestore the end message of the transmission terminal;
When not prestoring the end message of the transmission terminal, the transmission terminal for obtaining the print command is performed Printer setup information, according to the printer setup information and it is described printing content generation printed document object step Suddenly, and the end message is stored;
When prestoring the end message of the transmission terminal, the printer setup information in the end message is obtained, According to the printer setup information and the printing content generation printed document object, and update depositing for the end message Store up the time.
Preferably, after described the step of judging whether to prestore the end message of the transmission terminal, further include:
When prestoring the end message of the transmission terminal, judge the storage time of the end message away from current time Time interval whether be less than the first prefixed time interval;
When time interval of the storage time away from current time of the end message is less than the first prefixed time interval, hold The row printer setup information obtained in the end message, according in the printer setup information and the printing Hold generation printed document object, and update the storage time of the end message;
Between time interval of the storage time away from current time of the end message is greater than or equal to the first preset time Every when, the printer setup information of the transmissions terminal for obtaining the print command is performed, according to printer setup letter The step of breath and the printing content generation printed document object, and store the end message.
Preferably, after described the step of obtaining the print command corresponding printing content, further include:
Judge whether the printing content is empty;
When the printing content is not empty, the printer setup of the transmission terminal for obtaining the print command is performed Information, according to the step of the printer setup information and the printing content generation printed document object;
When the printing content is empty, the information without printing content is fed back.
In addition, to achieve the above object, the present invention also provides a kind of device of a variety of printers of compatibility, it is characterised in that The device of a variety of printers of compatibility includes:Memory, processor and it is stored on the memory and can be in the processing The printer compatible program run on device, is realized as described above simultaneous when the printer compatible program is performed by the processor The step of holding the Method of printing of a variety of printers.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, it is characterised in that institute Storing printer compatible program on computer-readable recording medium is stated, it is real when the printer compatible program is executed by processor The step of Method of printing of compatible a variety of printers now as described above.
Method of printing, device and the storage medium for a kind of a variety of printers of compatibility that the embodiment of the present invention proposes, in software When server receives print command, the corresponding printing content of print command is obtained, secondly, the transmission for obtaining the print command is whole The printer setup information at end, the printer setup information are configured for the printer connected in advance according to terminal, and foundation should Document print can be effectively performed by the printer that terminal connects in printer setup information.By the printing content got by Printed document object is generated according to above-mentioned printer setup information, and the printed document object of generation is sent to beating for terminal connection Print machine, printer acquisition printed document object can call the print parameters in above-mentioned printer setup information, will print content Generate paper document.Since printer setup information had previously been configured according to the printer, therefore can ensure to print Document be not in the format issues such as position offset, it is achieved thereby that using the compatibility to a variety of printers.
Brief description of the drawings
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the Method of printing first embodiment of the compatible a variety of printers of the present invention;
Fig. 3 is the flow diagram of the Method of printing second embodiment of the compatible a variety of printers of the present invention;
Fig. 4 is the flow diagram of the Method of printing 3rd embodiment of the compatible a variety of printers of the present invention;
Fig. 5 is the flow diagram of the Method of printing fourth embodiment of the compatible a variety of printers of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of Method of printing of the compatible a variety of printers of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:
When receiving print command, the corresponding printing content of the print command is obtained;
Obtain the printer setup information of the transmission terminal of the print command, according to the printer setup information and The printing content generation printed document object;
The printed document object is sent to printer, so that the printer prints the printing content.
Due to the printer of the connection of terminal in the prior art and the software that uses it is incompatible when, will lead to not printing or It is the phenomenon generation for the documents location offset printed.
The present invention provides a solution, when software server receives print command, obtains print command and corresponds to Printing content, secondly, obtain the printer setup information of the transmission terminal of the print command, which is pre- First it is configured according to the printer of terminal connection, can has according to the printer setup information by the printer that terminal connects Effect ground carries out document print.The printing content got is generated into printed document object according to above-mentioned printer setup information, and The printed document object of generation is sent to the printer of terminal connection, printer acquisition printed document object can call above-mentioned Print parameters in printer setup information, by printing content generation paper document.Since printer setup information is previous root It is configured according to the printer, therefore the document that can ensure to print is not in the format issues such as position offset, so that real Show using the compatibility to a variety of printers.
As shown in Figure 1, the terminal structure schematic diagram for the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to.
Terminal of the embodiment of the present invention can be server.
As shown in Figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used for realization the connection communication between these components. User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally connect including the wired of standard Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory of stabilization (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can wrap Include than illustrating more or fewer components, either combine some components or different components arrangement.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network Believe module, Subscriber Interface Module SIM and printer compatible program.
In the terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor 1001 can be used for calling the printer compatible program stored in memory 1005, and perform following operation:
When receiving print command, the corresponding printing content of the print command is obtained;
Obtain the printer setup information of the transmission terminal of the print command, according to the printer setup information and The printing content generation printed document object;
The printed document object is sent to printer, so that the printer prints the printing content.
Further, processor 1001 can call the printer compatible program stored in memory 1005, also perform with Lower operation:
Shield the printer setup information of acquiescence.
Further, processor 1001 can call the printer compatible program stored in memory 1005, also perform with Lower operation:
The printer setup information of the transmission terminal of the print command is obtained, by the printing content and the printing Machine configuration information is added in printed document;
Printed document object is generated according to the printed document.
Further, processor 1001 can call the printer compatible program stored in memory 1005, also perform with Lower operation:
The transmission terminal of the print command is obtained, judges whether to prestore the end message of the transmission terminal;
When not prestoring the end message of the transmission terminal, the transmission terminal for obtaining the print command is performed Printer setup information, according to the printer setup information and it is described printing content generation printed document object step Suddenly, and the end message is stored;
When prestoring the end message of the transmission terminal, the printer setup information in the end message is obtained, According to the printer setup information and the printing content generation printed document object, and update depositing for the end message Store up the time.
Further, processor 1001 can call the printer compatible program stored in memory 1005, also perform with Lower operation:
When prestoring the end message of the transmission terminal, judge the storage time of the end message away from current time Time interval whether be less than the first prefixed time interval;
When time interval of the storage time away from current time of the end message is less than the first prefixed time interval, hold The row printer setup information obtained in the end message, according in the printer setup information and the printing Hold generation printed document object, and update the storage time of the end message;
Between time interval of the storage time away from current time of the end message is greater than or equal to the first preset time Every when, the printer setup information of the transmissions terminal for obtaining the print command is performed, according to printer setup letter The step of breath and the printing content generation printed document object, and store the end message.
Further, processor 1001 can call the printer compatible program stored in memory 1005, also perform with Lower operation:
Judge whether the printing content is empty;
When the printing content is not empty, the printer setup of the transmission terminal for obtaining the print command is performed Information, according to the step of the printer setup information and the printing content generation printed document object;
When the printing content is empty, the information without printing content is fed back.
With reference to Fig. 2, the first embodiment of the Method of printing of the compatible a variety of printers of the present invention is proposed, the compatibility is a variety of to beat The Method of printing of print machine includes:
Step S10, when receiving print command, obtains the corresponding printing content of the print command.
Usually, it is convenient for document print, it can be connected after existing many application and developments in the interior terminal of directly transferring of application Printer carry out document print, without after document is exported again by apply where terminal third party's print software association beat Print machine completes document print.In the application during the document of printing in need, the print button that user is clicked in application is sent out to application Send print command, after print command is received, obtain the corresponding printing content of the print command, printing content be according to The document of family wish select file content generation, for example, subscriber frame select data message, current display interface data message, Data message in the file chosen etc..
Step S20, obtains the printer setup information of the transmission terminal of the print command, according to the printer setup Information and the printing content generation printed document object.
Step S30, the printed document object is sent to printer.
The transmission terminal of print command refers to the terminal for installing the application, that is, the carrier applied.User's point selection prints well Print button is clicked on after content, which is sent to the server where application by terminal, and server parses the printing and refers to Order, obtains the corresponding transmission terminal of print command, by terminal transmission printer setup acquisition of information instruction is sent, obtaining hair The printer setup information for end feedback of making arrangements for his funeral.
The printer setup of terminal is correspondingly arranged according to the model for the printer being connected with terminal, printer setup information Including:The information such as printer name, model, print paper specification, paper source, printing type.
After getting printer setup information and printing content, printed document is created, by printing content and printer Configuration information is configured to generation printed document object in the printed document, and the printed document object of generation is sent to printer In, printer can transfer the printer setup information of printed document configuration, and document print is carried out using corresponding print parameters, Obtain papery version file.So whether the printer of which kind of model can successful print document, embody using for a variety of The compatibility of printer.
In the present embodiment when software server receives print command, the corresponding printing content of print command is obtained, Secondly, the printer setup information of the transmission terminal of the print command is obtained, which is in advance according to terminal The printer of connection is configured, and text can be effectively performed by the printer that terminal connects according to the printer setup information Shelves printing.The printing content got is generated into printed document object, and beating generation according to above-mentioned printer setup information Print document object is sent to the printer of terminal connection, and printer, which obtains printed document object, can call above-mentioned printer setup Print parameters in information, by printing content generation paper document.Since printer setup information is previously according to the printer Be configured, therefore the document that can ensure to print is not in the format issues such as position offset, it is achieved thereby that using pair The compatibility of a variety of printers.
With reference to Fig. 3, propose that the Method of printing second of the compatible a variety of printers of the present invention is implemented, implement based on above-mentioned first , before the step S20, further include:
Step S40, shields the printer setup information of acquiescence.
In order to preferably realize the function of application, some applications using third party software as the function module of itself, So as to reduce the input to this function module.When applying the printing function of itself is completed by these third party softwares, Namely third party software is responsible for the print module of application at the same time, at this time, if there are printer setup letter for third party software itself During breath, it will obtaining for the printer setup information of terminal is either caused in the generation of printed document object where to application Influence.So by the printer setup information screen of application acquiescence before the printer setup information of terminal is obtained.
For example, the crystal report software for having developed maturation can be used to be responsible for report-creating module in some applications, its In, crystal report has direct printing function in itself.It is typically the printer directly invoked in crystal report in printing reports Configuration information will print content generation printed document object, send to printer, printer is by using the printer of crystal report Configuration information carries out document print.If the printer setup information of printer and crystal report mismatches, printing is occurred as soon as The documents location offset that document object can not be printed or printed, that is, apply and the incompatible phenomenon of printer.So should With the printer setup information screen of acquiescence, printed document object is generated using the printer setup information of terminal, realizes papery The printing of version document.
In the present embodiment, by the printer setup information screen of application acquiescence before terminal printer configuration information is obtained Cover, avoid the life of acquisition and printed document object of the printer setup information screen of acquiescence to terminal printer configuration information Into having an impact, ensure that document print is normal, realize that application is compatible with printer.
With reference to Fig. 4, the Method of printing 3rd embodiment of the compatible a variety of printers of the present invention is proposed, based on above-mentioned first or the Two embodiments, after the step S10, further include:
Step S50, obtains the transmission terminal of the print command, judges whether to prestore the terminal letter of the transmission terminal Breath.
When application receives print command, parsing print command can obtain the corresponding transmission terminal of print command.It is logical The characteristic parameter for crossing the terminal is compared and may determine that using whether institute has the record of the terminal in the server, during terminal records The end messages such as title, model, printer setup information comprising terminal.
Step S60, when prestoring the end message of the transmission terminal, the printer obtained in the end message is set Confidence ceases, and according to the printer setup information and the printing content generation printed document object, and updates the terminal The storage time of information.
When application has the end message of the transmission terminal in the server, then explanation previously this send terminal to this and answer With print command is transmitted across, i.e. application obtained the printer setup information progress document print of the terminal, can pass through at this time The historical record of server directly acquires the printer setup information of terminal, the printer setup information life in historical record Printed into printed document object, and update storage the time.Without sending the instruction of printer setup acquisition of information to terminal again, And then the printer setup information of terminal feedback is obtained, simplify document print program, improve printing effect.
In addition, if during using the printer setup information printed document to prestore, printer setup information and end are detected Hold the printer currently connected to mismatch, then the printer setup information generation printed document object for obtaining terminal is printed, And the end message of server storage is updated to current end message.
Step S20, when not prestoring the end message of the transmission terminal, obtains the transmission terminal of the print command Printer setup information, according to the printer setup information and it is described printing content generation printed document object
If using institute do not have in the server print command transmission terminal end message, i.e., can not from server The printer setup information of terminal is obtained, then the printer that terminal is obtained using the scheme in above-mentioned first or second embodiments is set Confidence ceases, and will print content generation printed document object according to the printer setup information, and carry out document print, and by acquisition End message is stored in application server, and to print herein when directly acquires printer setup information.
In the present embodiment, by inquire about application whether store the transmission terminal of print command in the server, and then Judge whether the printer setup information of storage terminal.When storing the printer setup information of the terminal in server, directly Connect and printer setup information generation printed document object is obtained from server, carry out document print, realize the compatibility of printer; When not storing the printer setup information of the terminal in server, then document is carried out using the scheme in above-described embodiment and beaten Print.By server storage printer setup information, simplify printing compatible operations, improve document print efficiency.
With reference to Fig. 5, propose the Method of printing fourth embodiment of the compatible a variety of printers of the present invention, implement based on the above-mentioned 3rd , after the step S50, further include:
Step S70, when prestoring the end message of the transmission terminal, judge the storage time of the end message away from Whether the time interval of current time is less than the first prefixed time interval.
Step S60, when time interval of the storage time away from current time of the end message is less than the first preset time During interval, the printer setup information in the end message is obtained, according to the printer setup information and the printing Content generates printed document object, and updates the storage time of the end message.
To prevent user from replacing printer, previously stored printer setup information is caused to be mismatched with current printer, Can not normal print.When prestoring the end message of the transmission terminal, depositing for printer setup information in server is judged Whether the time interval of storage time interval current time is less than intervals.
The printing printed again in short period of time directly acquires the printing of server storage using step S60 Machine configuration information carries out generation and the document print of printed document object, to simplify compatible print program, improves printing effect.
Step S20, when time interval of the storage time away from current time of the end message is pre- more than or equal to first If during time interval, obtaining the printer setup information of the transmission terminal of the print command, believed according to the printer setup Breath and the printing content generation printed document object.
For the printing behind long period interval, cause printing to fail to avoid replacing printer in its interval, hold The operation of row step S20 obtains the printer setup information of terminal, and will print content generation according to the printer setup information beats Document object is printed, carries out document print, and by the end message currently got storage into server, to ensure that printing is simultaneous Hold, realize the validity of document print.
In the present embodiment, when application is stored with the end message for sending terminal in the server, to prevent user Replace printer, cause previously stored printer setup information and current printer to mismatch, can not normal print, judge to take Whether time interval of the storage time away from current time of printer setup information is less than intervals in business device.Less than During intervals, the printer setup information for directly acquiring server storage carries out generation and the document of printed document object Printing;When more than or equal to intervals, the printer setup information of terminal is obtained, according to the printer setup information Printing content is generated into printed document object, carries out document print, and the end message currently got is stored to server In, by increasing judgement of the end message in the storage time of server, when avoiding not printed for a long time, beaten due to replacing The phenomenon that the reasons such as print machine lead to not printing occurs, and realizes the validity of document print.
With reference to Fig. 6, propose the 5th embodiment of Method of printing of the compatible a variety of printers of the present invention, based on it is above-mentioned first to fourth Any embodiment, after the step S10, further includes:
Step S80, judges whether the printing content is empty.
Step S90, when the printing content is empty, feeds back the information without printing content.
After printing content is obtained, head judges to print whether content is empty, and printing content is probably due to user for sky Unselected data, or situations such as print command is not deployed into related data, cause.When it is empty to print content, printing is obtained Instruction sends the printer setup information of terminal, establishes after printed document according to printing content generation printed document object, and will When printed document object is sent to printer, printer can not be printed the printed document object received, so need not Useless operation is carried out, the information without printing content is directly fed back into terminal, is taken for user's foundation feedback information corresponding Solution, completes the printing of document.
Step S20, when the printing content is not empty, obtains the printer setup of the transmission terminal of the print command Information, according to the printer setup information and the printing content generation printed document object.
When it is not empty to print content, the compatible print scheme in above-described embodiment can be used to carry out document print, it is real Now using compatible with printer.
In the present embodiment, whether it is that sky judges first to printing content, if printing after printing content is obtained Content is not sky, then generates paper document using the compatible print method in above-described embodiment;When document for it is empty then not to its into The generation of row printed document object, directly feeds back without printing content to terminal, so that user checks the mistake that operation whether there is, The selection of data is re-started, avoids unnecessary operation sequence, the feedback of the prompt message of no printing content, is also beneficial to use The solution that can not be printed is taken at family, completes document print.
In addition, the embodiment of the present invention also proposes a kind of device of a variety of printers of compatibility, a variety of printers of compatibility Device includes:The printer that memory, processor and being stored in can be run on the memory and on the processor is compatible Program, realizes as above compatible a variety of printings described in each embodiment when the printer compatible program is performed by the processor The step of Method of printing of machine.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, it is characterised in that the computer can Storing printer compatible program on storage medium is read, is realized when the printer compatible program is executed by processor as above each The step of Method of printing of compatible a variety of printers described in embodiment.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills Art field, is included within the scope of the present invention.

Claims (8)

  1. A kind of 1. Method of printing of a variety of printers of compatibility, it is characterised in that the Method of printing bag of a variety of printers of compatibility Include following steps:
    When receiving print command, the corresponding printing content of the print command is obtained;
    The printer setup information of the transmission terminal of the print command is obtained, according to the printer setup information and described Print content generation printed document object;
    The printed document object is sent to printer, so that the printer prints the printing content.
  2. 2. the Method of printing of compatible a variety of printers as claimed in claim 1, it is characterised in that the acquisition printing refers to The printer setup information of the transmission terminal of order, according to the printer setup information and the printing content generation printing text Before the step of shelves object, further include:
    Shield the printer setup information of acquiescence.
  3. 3. the Method of printing of compatible a variety of printers as claimed in claim 1, it is characterised in that the acquisition printing refers to The printer setup information of the transmission terminal of order, according to the printer setup information and the printing content generation printing text The step of shelves object, includes:
    The printer setup information of the transmission terminal of the print command is obtained, the printing content and the printer are set Confidence breath is added in printed document;
    Printed document object is generated according to the printed document.
  4. 4. the Method of printing of compatible a variety of printers as claimed in claim 1, it is characterised in that the acquisition printing refers to After the step of making corresponding printing content, further include:
    The transmission terminal of the print command is obtained, judges whether to prestore the end message of the transmission terminal;
    When not prestoring the end message of the transmission terminal, beating for the transmission terminal for obtaining the print command is performed Print machine configuration information, according to the step of the printer setup information and the printing content generation printed document object, and Store the end message;
    When prestoring the end message of the transmission terminal, the printer setup information in the end message is obtained, according to The printer setup information and the printing content generation printed document object, and when updating the storage of the end message Between.
  5. 5. the Method of printing of compatible a variety of printers as claimed in claim 4, it is characterised in that described to judge whether to prestore After the step of end message of the transmission terminal, further include:
    When prestore it is described transmission terminal end message when, judge the storage time of the end message away from current time when Between be spaced whether be less than the first prefixed time interval;
    When time interval of the storage time away from current time of the end message is less than the first prefixed time interval, institute is performed The printer setup information obtained in the end message is stated, according to the printer setup information and the printing content life Into printed document object, and update the storage time of the end message;
    When time interval of the storage time away from current time of the end message is greater than or equal to the first prefixed time interval, Perform the printer setup information of the transmission terminal for obtaining the print command, according to the printer setup information and The step of printing content generation printed document object, and store the end message.
  6. 6. the Method of printing of compatible a variety of printers as described in claim 1-5 is any, it is characterised in that described in the acquisition Print command it is corresponding printing content the step of after, further include:
    Judge whether the printing content is empty;
    When the printing content is not empty, the printer setup letter of the transmission terminal for obtaining the print command is performed Breath, according to the step of the printer setup information and the printing content generation printed document object;
    When the printing content is empty, the information without printing content is fed back.
  7. 7. a kind of device of a variety of printers of compatibility, it is characterised in that the device of a variety of printers of compatibility includes:Storage Device, processor and it is stored in the printer compatible program that can be run on the memory and on the processor, the printing Compatible a variety of printers as any one of claim 1 to 6 are realized when machine compatible program is performed by the processor The step of Method of printing.
  8. A kind of 8. computer-readable recording medium, it is characterised in that storing printer on the computer-readable recording medium Compatible program, realizes the compatibility as any one of claim 1 to 6 when the printer compatible program is executed by processor The step of Method of printing of a variety of printers.
CN201711282932.XA 2017-12-06 2017-12-06 Method of printing, device and the storage medium of compatible a variety of printers Pending CN107943437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711282932.XA CN107943437A (en) 2017-12-06 2017-12-06 Method of printing, device and the storage medium of compatible a variety of printers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711282932.XA CN107943437A (en) 2017-12-06 2017-12-06 Method of printing, device and the storage medium of compatible a variety of printers

Publications (1)

Publication Number Publication Date
CN107943437A true CN107943437A (en) 2018-04-20

Family

ID=61945123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711282932.XA Pending CN107943437A (en) 2017-12-06 2017-12-06 Method of printing, device and the storage medium of compatible a variety of printers

Country Status (1)

Country Link
CN (1) CN107943437A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988092A (en) * 2021-04-08 2021-06-18 读书郎教育科技有限公司 Method and system compatible with multiple intelligent printers

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572767A (en) * 2008-04-28 2009-11-04 兄弟工业株式会社 Image forming system and image forming apparatus
CN101866273A (en) * 2009-04-14 2010-10-20 佳能株式会社 Print system and data processing method
CN102197364A (en) * 2008-11-07 2011-09-21 思杰系统有限公司 Systems and methods for managing printer settings in a networked computing environment
CN102325657A (en) * 2009-02-25 2012-01-18 株式会社理光 Image forming apparatus, image forming method and computer-readable information recording medium
CN103168288A (en) * 2010-08-19 2013-06-19 软件成像技术有限公司 A print engine
CN104999813A (en) * 2015-06-29 2015-10-28 用友优普信息技术有限公司 Printing equipment, and control method and device for same
CN105094719A (en) * 2015-08-17 2015-11-25 小米科技有限责任公司 Printing method and device and printer
CN105235399A (en) * 2014-07-04 2016-01-13 船井电机株式会社 Printer
CN105511817A (en) * 2014-10-14 2016-04-20 株式会社理光 Print control program and information processing apparatus
CN106250069A (en) * 2015-06-04 2016-12-21 株式会社理光 Information processing system and application process

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572767A (en) * 2008-04-28 2009-11-04 兄弟工业株式会社 Image forming system and image forming apparatus
CN102197364A (en) * 2008-11-07 2011-09-21 思杰系统有限公司 Systems and methods for managing printer settings in a networked computing environment
CN102325657A (en) * 2009-02-25 2012-01-18 株式会社理光 Image forming apparatus, image forming method and computer-readable information recording medium
CN101866273A (en) * 2009-04-14 2010-10-20 佳能株式会社 Print system and data processing method
CN103168288A (en) * 2010-08-19 2013-06-19 软件成像技术有限公司 A print engine
CN105235399A (en) * 2014-07-04 2016-01-13 船井电机株式会社 Printer
CN105511817A (en) * 2014-10-14 2016-04-20 株式会社理光 Print control program and information processing apparatus
CN106250069A (en) * 2015-06-04 2016-12-21 株式会社理光 Information processing system and application process
CN104999813A (en) * 2015-06-29 2015-10-28 用友优普信息技术有限公司 Printing equipment, and control method and device for same
CN105094719A (en) * 2015-08-17 2015-11-25 小米科技有限责任公司 Printing method and device and printer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988092A (en) * 2021-04-08 2021-06-18 读书郎教育科技有限公司 Method and system compatible with multiple intelligent printers
CN112988092B (en) * 2021-04-08 2023-05-26 读书郎教育科技有限公司 Method and system compatible with multiple intelligent printers

Similar Documents

Publication Publication Date Title
US10146564B2 (en) Server apparatus, image forming apparatus, information processing apparatus, image forming control method, and image forming control program
US10015131B2 (en) Communication device recording input values for subnet mask setting item, IP address setting item, and gateway setting item
CN108037920A (en) Client customizing form generation method, storage medium
US8531709B2 (en) Information-displaying system and information display method
CN108377313A (en) The control method of information processing unit
JP5477318B2 (en) Terminal device
US7447994B2 (en) Setup program, recording medium, and setup method
US8117561B2 (en) Method and system for managing apparatus
CN107943437A (en) Method of printing, device and the storage medium of compatible a variety of printers
US8861039B2 (en) Image forming apparatus and method of sending email therein
US9712692B2 (en) Communication apparatus, communication method, and communication system for selecting whether or not to send acknowledgement response in response to request for acknowledgement response
CN111726471A (en) Information processing apparatus, information processing method, and computer-readable recording medium
KR100503063B1 (en) Method of managing short messages in facsimile machine or MFP having SMS function
CN1936947A (en) Device customizing system, device customizing method, authentication agent and recording medium
CN109034689A (en) Correlating method, device and the storage medium of logistics information
US8639768B2 (en) Multi-functional device executing multiple functions and function management
CN103873723A (en) IMAGE FORMING APPARATUS CAPABLE OF CONTROLLING FILE TRANSMISSION, and CONTROL METHOD THEREFOR
EP3866035A1 (en) Electronic apparatus, setting device, method of controlling setting device, and non-transitory computer-readable storage medium storing program
US10810186B2 (en) Device management device, and recording medium storing a device management program
JP2003067308A (en) Electronic mail processor
CN114566004B (en) Method for batch card replacement of mobile resale system machine cards
JP5293565B2 (en) Image information transmitting apparatus and image information transmitting program
KR100806499B1 (en) Method for using header and footer in handset
JP2024032285A (en) Transmission device, transmission method, program, and system
CN116009796A (en) Dynamic configuration method, device and equipment of printing template and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180420