CN109388357A - Print control program, server and computer readable storage medium - Google Patents

Print control program, server and computer readable storage medium Download PDF

Info

Publication number
CN109388357A
CN109388357A CN201811309347.9A CN201811309347A CN109388357A CN 109388357 A CN109388357 A CN 109388357A CN 201811309347 A CN201811309347 A CN 201811309347A CN 109388357 A CN109388357 A CN 109388357A
Authority
CN
China
Prior art keywords
printing
print
gateway
sent
print data
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
CN201811309347.9A
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.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Network Technology 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 Yonyou Network Technology Co Ltd filed Critical Yonyou Network Technology Co Ltd
Priority to CN201811309347.9A priority Critical patent/CN109388357A/en
Publication of CN109388357A publication Critical patent/CN109388357A/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
    • G06F3/1205Improving or facilitating administration, e.g. print management resulting in increased flexibility in print job configuration, e.g. job settings, print requirements, job tickets
    • 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/1224Client or server resources management
    • G06F3/1228Printing driverless or using generic drivers
    • 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/1257Configuration of print job parameters, e.g. using UI at the client by using pre-stored settings, e.g. job templates, presets, print styles
    • 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/1268Job submission, e.g. submitting print job order or request not the print data itself
    • 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/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server

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 present invention provides a kind of print control program, a kind of server and a kind of computer readable storage mediums.Wherein method includes: response print request, and the corresponding printing template of print request is obtained from application server;Judge whether that print data and printing template are sent to gateway when the judgment result is yes by the print data for receiving input;When the judgment result is No, the print data of storage in the application server is obtained, print data and printing template are sent to gateway;Control gateway executes printing.It is printed using gateway control, it gets rid of hosted-type printing at this stage and needs avoiding for personal computer participation, and then realize remote printing, simultaneously without installing driving in printing device, realize the dynamic printing of free drive, and then the compatibility and support of existing printing device are realized, improve printing flexibility.

Description

Print control program, server and computer readable storage medium
Technical field
The present invention relates to print control field, in particular to a kind of print control program, a kind of server and A kind of computer readable storage medium.
Background technique
Currently, the method printed online is broadly divided into following several types: hosted-type printing and agreement printing, wherein trustship Formula printing mainly generates file by cloud server, and downloads this document by mobile terminal, then by way of sharing The file of downloading is sent to personal computer, so that personal computer control printer executes printing.
Agreement printing is a set of agreement that existing manufacturer is independently arranged, and specifically, mobile terminal installs the agreement, beats simultaneously Printing apparatus is also required to install the agreement, is interconnected by protocol realization, and then realizes mobile printing.
However, there is still a need for the participations of personal computer can realize printing for hosted-type printing, there is no realize really meaning Mobile printing in justice, and the application that agreement printing needs printing device installation specified, will cause printing device production firm Cost payout, and installation driving can not be carried out for the printing device used.Further, since the hardware of product is not Together, the case where can not being installed there are driving, therefore two kinds of above-mentioned printing solutions all cannot achieve really mobile printing, it can not Meet the printing demand of user.
Summary of the invention
The present invention is directed to solve at least one of the technical problems existing in the prior art or related technologies.
For this purpose, the first aspect of the invention is, a kind of print control program is provided.
The second aspect of the invention is, provides a kind of server.
The third aspect of the invention is, provides a kind of computer readable storage medium.
In view of this, according to the first aspect of the invention, the present invention provides a kind of print control programs, for servicing Device, comprising: response print request obtains the corresponding printing template of print request from application server;Judge whether to receive Print data and printing template are sent to gateway when the judgment result is yes by the print data of input;It is no in judging result When, the print data of storage in the application server is obtained, print data and printing template are sent to gateway;Control gateway is held Row printing.
Print control program provided by the present invention can be obtained from application server and be beaten when receiving print request Print requests corresponding printing template, wherein printing template can be after user passes through designer Photographing On-line in the server and store In the template of server, it is also possible to the template that user is uploaded to server storage after the completion of Terminal Design, application server It can be the private server for printing tax invoice, can also be the personal data server of enterprise.Getting application After the printing template stored in server, judge whether the print data for receiving input, according to whether receiving print data Judge whether to obtain print data from application server, specifically, time threshold can be set, do not have within 1 minute such as The print data for receiving input, then obtain print data from application server.It is also possible to whether setting inputs printing number According to confirmation instruction.After the print data stored in the application server that will acquire, print data and printing template are sent To gateway, so that gateway executes printing.And after the print data for receiving user's input, by print data and printing template It is sent to gateway, so that gateway executes printing.The technical solution of the application has fully considered the source of print data, realizes printing The generation of content, while print data and printing template are sent directly to gateway, so that gateway executes printing, utilize gateway control System printing gets rid of hosted-type printing at this stage and needs avoiding for personal computer participation, and then realizes remote printing, simultaneously It is driven without being installed in printing device, realizes the dynamic printing of free drive, and then realize the compatibility and support of existing printing device, Improve printing flexibility.
In addition, the print control program in above-mentioned technical proposal provided by the invention, can also have following supplementary technology Feature:
In the above-mentioned technical solutions, further, the step of print data and printing template being sent to gateway, it is specific to wrap It includes: printing template and print data is combined, generate mimeograph documents;Mimeograph documents are sent to gateway.
In the technical scheme, printing template and print data are combined, generate mimeograph documents, it directly will printing text Part is sent to gateway, so that gateway directly receives the file for needing to print, control printing device is printed.By that directly will beat Printed text part is sent to gateway and carries out the quick transmission that printing ensures mimeograph documents, and then realizes real time print.
In any of the above-described technical solution, further, the step of print data and printing template are sent to gateway, tool Body includes: to be combined printing template and print data, generates mimeograph documents;Mimeograph documents are stored, mimeograph documents will be stored Address chain receive and send to gateway so that gateway according to address link obtain mimeograph documents.
In the technical scheme, print data and printing template are combined, generate mimeograph documents, and beating generation Printed text part is stored, wherein the storage location of mimeograph documents include can be server itself, be also possible to and server into Other memories of row data exchange.By receiving and sending the address chain of mimeograph documents to gateway, so that gateway is according to receiving Address link downloading mimeograph documents, and then realize printing, provide the acquisition modes of more mimeograph documents for user.
In any of the above-described technical solution, further, after responding print request, obtained from application server Before the corresponding printing template of print request, further includes: determine the user of print request according to print request;To user's right of execution Limit certification;In user authentication success, the step of corresponding printing template of print request is obtained from application server is executed, When user authentication failure, authentication failure message and failure cause are sent to user.
In the technical scheme, after responding print request, determine that print request is sent out according to the print request acquired User out, and purview certification is carried out for the user.Specifically, judge the user whether be print service rental user; And/or judge whether the rental period of the user expires;And/or judge whether the corresponding account of the user has enough currency This printing is paid, the result in above-mentioned deterministic process is authenticate successfully when being, executes to obtain from application server and beat Print requests the step of corresponding printing template, is printed, and no person sends authentication failure message and failure cause to user, so that User creates lease print service and/or payment printing expense according to failure cause.Further, permission is carried out for the user Certification, judges whether the user has the access right of printing device, when the judgment result is yes, executes print execution from application The step of corresponding printing template of print request is obtained in server, is printed.By carrying out purview certification, it is ensured that printing The identity information of user, improves the safety of mimeograph documents, while realizing the charging of print service.
In any of the above-described technical solution, further, control gateway executes the step of printing, and specifically include: transmission is beaten Printing apparatus list to print request issuing side;Receive the selection instruction and printing device setting information of printing device;Send choosing Instruction and printing device setting information are selected to gateway is printed, so that printing gateway searches printing device, and printing device is controlled and presses Printing is executed according to printing device setting information.
In the technical scheme, printing device list is sent to the issuing side of print request, so that user selects to use Printing device and selected printing device setting information.In selection instruction and the printing device setting for receiving printing device After information, above- mentioned information are sent to gateway, so that gateway is according to searching corresponding printing device, and pass through printing device setting Information is configured the printing device, so that printing device executes printing, wherein printing device setting information includes but not office It is limited to paper size, paper type, Print direction, addition watermark, printing number, print time.Printing device includes but not office It is limited to laser printer, color inkjet printer, facsimile machine, duplicator, name card offset machine, tax dedicated printer, printing is set Standby list can be rationally arranged according to the permission of user.
In any of the above-described technical solution, further, further includes: response Print Preview request sends mimeograph documents To the issuing side of print request.
In the technical scheme, in the Print Preview request for receiving user's transmission, mimeograph documents are sent to printing The issuing side of request carries out preview, reduce mimeograph documents at this stage printed rear typesetting, paper size is unable to satisfy The occurrence of user demand probability.
In any of the above-described technical solution, further, before the issuing side that printing device is sent to print request, It further include that mimeograph documents are formatted, so that the issuing side of print request can carry out preview to mimeograph documents, wherein Format conversion includes but does not limit to and mimeograph documents are converted to word (word processor application of Microsoft) Document, pdf (Portable Document Format, portable document format) document, image.
In any of the above-described technical solution, further, further includes: obtain the status information of printing device in real time;By shape State information is sent to the issuing side of print request.
In the technical scheme, the status information of printing device is obtained in real time, and wherein status information includes but is not limited to Failure is printing, is idle, can also include print progress, such as print 10 residues 15 and open, by by the shape of printing device State information is sent to the issuing side of print request, so that user can know current printing device in real time, to set to printing It is standby to be managed.
In any of the above-described technical solution, further, the issuing side of print request is weblication and/or movement Any one in the application program of terminal.
In the technical scheme, the issuing side of print request is weblication, and user can be sent out by using browser Print request is sent, is also possible to the application program of mobile terminal, and then realizes mobile printing, wherein mobile terminal includes but not office It is limited to smart phone, personal digital assistant (PDA), tablet computer, laptop.
According to the second aspect of the invention, the present invention provides a kind of servers, comprising: memory is configured to store Executable instruction;Processor is configured to execute the instruction of storage to realize such as the step of the above method.
Processor executes executable instruction stored in memory in server provided by the invention, realizes such as above-mentioned The step of one print control program, therefore, the server, there are whole Advantageous of any of the above-described print control program to imitate Fruit, details are not described herein.
According to the third aspect of the present invention, a kind of computer readable storage medium is proposed, computer is stored thereon with Program, when computer program is executed by processor the step of the realization such as print control program of any of the above-described.
Computer readable storage medium provided by the invention is realized when computer program is executed by processor as any of the above-described The step of print control program of technical solution, therefore the computer readable storage medium includes beating for any of the above-described technical solution Whole beneficial effects of printing control method.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 shows the flow diagram of the electric print control of one embodiment of the present of invention;
Fig. 2 shows the flow diagrams of the print control of another embodiment of the invention;
Fig. 3 shows the flow diagram of the print control of yet another embodiment of the present invention;
Fig. 4 shows the flow diagram of the print control of another embodiment of the invention;
Fig. 5 shows the flow diagram of the print control of another embodiment of the invention;
Fig. 6 shows the schematic block diagram of the print control of one embodiment of the present of invention;
Fig. 7 shows the schematic block diagram of the print control of one embodiment of the present of invention;
Fig. 8 shows the schematic block diagram of the integrated service of one embodiment of the present of invention;
Fig. 9 shows the schematic block diagram of the server of one embodiment of the present of invention.
Wherein, the appended drawing reference in Fig. 6 and the corresponding relationship between component names are as follows:
1 terminal, 2 servers, 3 application servers, 4 gateways, 5 printing devices.
Specific embodiment
It is with reference to the accompanying drawing and specific real in order to be more clearly understood that aforementioned aspect of the present invention, feature and advantage Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
The embodiment of first aspect present invention proposes a kind of print control program, is used for server.Fig. 1 shows this hair The flow diagram of the electric print control of bright one embodiment.Wherein, this method comprises:
S102 responds print request, and the corresponding printing template of print request is obtained from application server;
S104 judges whether the print data for receiving input, when the judgment result is yes, executes S108, otherwise executes S106;
S106 obtains the print data of storage in the application server, executes S108;
Print data and printing template are sent to gateway, execute S110 by S108;
S110, control gateway execute printing.
Print control program provided by the present invention can be obtained from application server and be beaten when receiving print request Print requests corresponding printing template, wherein printing template can be after user passes through designer Photographing On-line in the server and store In the template of server, it is also possible to the template that user is uploaded to server storage after the completion of Terminal Design, application server It can be the private server for printing tax invoice, can also be the personal data server of enterprise.Getting application After the printing template stored in server, judge whether the print data for receiving input, according to whether receiving print data Judge whether to obtain print data from application server, specifically, time threshold can be set, do not have within 1 minute such as The print data for receiving input, then obtain print data from application server.It is also possible to whether setting inputs printing number According to confirmation instruction.After the print data stored in the application server that will acquire, print data and printing template are sent To gateway, so that gateway executes printing.And after the print data for receiving user's input, by print data and printing template It is sent to gateway, so that gateway executes printing.The technical solution of the application has fully considered the source of print data, realizes printing The generation of content, while print data and printing template are sent directly to gateway, so that gateway executes printing, utilize gateway control System printing gets rid of hosted-type printing at this stage and needs avoiding for personal computer participation, and then realizes remote printing, simultaneously It is driven without being installed in printing device, realizes the dynamic printing of free drive, and then realize the compatibility and support of existing printing device, Improve printing flexibility.
Fig. 2 shows the flow diagrams of the print control of another embodiment of the invention.Wherein, this method comprises:
S202 responds print request, and the corresponding printing template of print request is obtained from application server;
S204 judges whether the print data for receiving input, when the judgment result is yes, executes S208, otherwise executes S206;
S206 obtains the print data of storage in the application server;
Printing template and print data are combined by S208, generate mimeograph documents;
Mimeograph documents are sent to gateway by S210;
S212, control gateway execute printing.
In this embodiment, printing template and print data are combined, mimeograph documents are generated, directly by mimeograph documents It is sent to gateway, so that gateway directly receives the file for needing to print, control printing device is printed.By will directly print File is sent to gateway and carries out the quick transmission that printing ensures mimeograph documents, and then realizes real time print.
Fig. 3 shows the flow diagram of the print control of yet another embodiment of the present invention.Wherein, this method comprises:
S302 responds print request, and the corresponding printing template of print request is obtained from application server;
S304 judges whether the print data for receiving input, when the judgment result is yes, executes S308, otherwise executes S306;
S306 obtains the print data of storage in the application server;
Printing template and print data are combined by S308, generate mimeograph documents;
S310 stores mimeograph documents, the address chain for storing mimeograph documents is received and sent to gateway, so that gateway is according to address Link obtains mimeograph documents;
S312, control gateway execute printing.
In this embodiment, print data and printing template are combined, generate mimeograph documents, and by the printing of generation File is stored, and wherein the storage location of mimeograph documents includes that can be server itself, is also possible to carry out with server Other memories of data exchange.By receiving and sending the address chain of mimeograph documents to gateway, so that gateway is according to receiving Address link downloading mimeograph documents, and then realize printing, the acquisition modes of more mimeograph documents are provided for user.
Fig. 4 shows the flow diagram of the print control of another embodiment of the invention.Wherein, this method comprises:
S402 responds print request, the user of print request is determined according to print request;
S404 executes purview certification to user, and executing purview certification in user is successfully to execute S406, otherwise execute S418;
S406 obtains the corresponding printing template of print request from application server;
S408 judges whether the print data for receiving input, when the judgment result is yes, executes S412, otherwise executes S410;
S410 obtains the print data of storage in the application server;
Printing template and print data are combined by S412, generate mimeograph documents;
Mimeograph documents are sent to gateway by S414;
S416, control gateway execute printing;
S418 sends authentication failure message and failure cause to user.
In this embodiment, after responding print request, determine that print request issues according to the print request acquired User, and for the user carry out purview certification.Specifically, judge the user whether be print service rental user;With/ Or judge whether the rental period of the user expires;And/or judge whether the corresponding account of the user there is enough currency to come This printing is paid, the result in above-mentioned deterministic process is to authenticate successfully when being, execute and obtain printing from application server The step of requesting corresponding printing template is printed, and no person sends authentication failure message and failure cause to user, to use Family creates lease print service and/or payment printing expense according to failure cause.Further, permission is carried out for the user to recognize Card, judges whether the user has the access right of printing device, when the judgment result is yes, executes print execution and takes from application The step of being engaged in obtaining the corresponding printing template of print request in device, is printed.By carrying out purview certification, it is ensured that printing is used The identity information at family, improves the safety of mimeograph documents, while realizing the charging of print service.
Fig. 5 shows the flow diagram of the print control of another embodiment of the invention.Wherein, this method comprises:
S502 responds print request, the user of print request is determined according to print request;
S504 executes purview certification to user, and executing purview certification in user is successfully to execute S506, otherwise execute S522;
S506 obtains the corresponding printing template of print request from application server;
S508 judges whether the print data for receiving input, when the judgment result is yes, executes S512, otherwise executes S510;
S510 obtains the print data of storage in the application server;
Printing template and print data are combined by S512, generate mimeograph documents;
Mimeograph documents are sent to gateway by S514;
S516 sends the issuing side of printing device list to print request;
S518 receives the selection instruction and printing device setting information of printing device;
S520 sends selection instruction and printing device setting information to gateway is printed, sets so that printing gateway searches printing It is standby, and control printing device and execute printing according to printing device setting information;
S522 sends authentication failure message and failure cause to user.
In this embodiment, printing device list is sent to the issuing side of print request, so that user is selected to use Printing device and selected printing device setting information.In selection instruction and printing device the setting letter for receiving printing device After breath, above- mentioned information are sent to gateway, so that gateway is according to searching corresponding printing device, and pass through printing device setting letter Breath is configured the printing device, so that printing device executes printing, wherein printing device setting information includes but do not limit to In paper size, paper type, Print direction, addition watermark, printing number, print time.Printing device includes but does not limit to In laser printer, color inkjet printer, facsimile machine, duplicator, name card offset machine, tax dedicated printer, printing device List can be rationally arranged according to the permission of user.
In any of the above-described embodiment of the present invention, further includes: the mimeograph documents are sent to by response Print Preview request The issuing side of the print request.
In this embodiment, in the Print Preview request for receiving user's transmission, mimeograph documents is sent to printing and are asked The issuing side asked carries out preview, reduce mimeograph documents at this stage printed rear typesetting, paper size is unable to satisfy use The probability of happening of family conditions of demand.
It further, before the issuing side that printing device is sent to print request, further include that mimeograph documents are carried out Format conversion, so that the issuing side of print request can carry out preview to mimeograph documents, wherein format conversion includes but does not limit to Word document, pdf document, image are converted to by mimeograph documents.
In any of the above-described embodiment of the present invention, further includes: obtain the status information of the printing device in real time;It will be described Status information is sent to the issuing side of the print request.
In this embodiment, the status information of printing device is obtained in real time, and wherein status information includes but is not limited to event Hinder, printing, is idle, can also include print progress, such as print 10 residues 15 and open, by by the state of printing device Information is sent to the issuing side of print request, so that user can know current printing device in real time, so as to printing device It is managed.
In any of the above-described embodiment of the present invention, the issuing side of the print request is that weblication and/or movement are whole Any one in the application program at end.
In this embodiment, the issuing side of print request is weblication, and user can be sent by using browser Print request is also possible to the application program of mobile terminal, and then realizes mobile printing, and wherein mobile terminal includes but do not limit to In smart phone, personal digital assistant (PDA), tablet computer, laptop.
In one embodiment of the invention, Fig. 6 shows the schematic block of the print control of one embodiment of the present of invention Figure.Terminal 1 makes printing template in application server 3, when the print request that terminal is sent is to server 2, application server 3 Printing template is sent in gateway and/or server 2, the print data that gateway 4 is sent according to terminal and obtained impression block Plate control printing device 5 is printed;Second is the mode directly printed, and detailed process is that terminal 1 is in application server 3 Middle production printing template, in printing, server 2 reads printing template and print data from application server 3 and is sent to net 4 are closed, so that gateway 4 is printed according to print data and obtained printing template control printing device 5.
Fig. 7 shows the schematic block diagram of the print control of one embodiment of the present of invention.Wherein weblication is by beating Print service and gateway (print cartridge) carry out data interaction, so that printing device is printed;Or mobile application passes through printing clothes Business and gateway carry out data interaction, so that printing device is printed.Wherein printing template manufacturing process is that tenant (user) is logical Online production printing template is crossed, and printing template is saved in application server, specifically, passes through setting in application server Gauge makes printing template online.Server receives the print data stored in mobile application or application server, and will beat Printing evidence and printing template are combined in the buffer, generate mimeograph documents to realize integrated service, while carrying out setting of printing It services and determining printing device setting information will be serviced by setting of printing, and printing device setting information is sent to net It closes (print cartridge), so that print cartridge is configured printing device according to printing device setting information.Gateway is to printing device Carry out printing device setting information setting up procedure in, in addition to printing device carry out Initialize installation, also carry out printing scheduling with And print out task monitoring.
The schematic diagram of integrated service will be as shown in figure 8, wherein data module will print template and print data passes through integrated connect Mouth is combined generation mimeograph documents, and printing gateway (gateway in the application) can acquire the address link of mimeograph documents, Mimeograph documents are downloaded, when issuing Print Preview request in mobile application, call preview service, obtain printing from printing gateway File carries out preview, and controls printing device by print service and printed.Specifically, there are two types of modes for the integrated service of printing It is integrated, one is mobile terminals to organize print data, by integrated print service, is sent to printing gateway and directly prints;Separately One is mobile terminals to carry out Print Preview by cloud print service, and carries out setting of printing, is then printed.
Specific step is as follows:
One, the production of template
1. tenant prints cloud by cloud and defines business object, and inquiry business list object;
2. tenant carries out template and form design by the cloud design tool that cloud prints;
3. tenant's query template list beyond the clouds;
Two, mobile terminal is integrated
1, it directly prints
A, tenant is according to template generation mimeograph documents;
B, the integrated service of mimeograph documents is called;
2, cloud prints
A, tenant calls Print Preview service to carry out preview;
B, tenant calls setting of printing service to carry out setting of printing;
3, to the status inquiry etc. of current print out task;
Three, cloud print service
1, after cloud print service receives printing notice, tenant's certification is carried out;
2, task is sent to printing gateway after certification passes through, not by directly returning and sending failure cause;
3, after the notice for receiving preview service, the content of preview file is converted, and the content after conversion is sent out It gives mobile terminal and carries out preview;
Four, gateway is printed
1, printer is initialized, and whether verify printer normal;
2, after receiving print out task notice, mimeograph documents are read;
3, printer is connected, and print out task is sent to printer;
4, the print state of printing is received;
5, printing content is managed.
The present invention is designed by the combination of software and hardware, realizes the mobile printing of the dynamic installation of free drive;It is logical It crosses and micro- application service is provided, realize the dynamic web printing type of free drive;Print out task can be monitored, be reduced simultaneously The printing cost of tenant;The printer of different geographical can be selected by printing gateway, improves the flexibility of printing.The present invention Technology not only solves the needs of problems in practical application, reduces enterprise's printing cost, improves the flexible of printer selection Property, and enterprise's printing is no longer by territory restriction.It is as follows that technical solution of the present invention brings technological innovation mainly to show:
1. flexible choice printer is printed: A) can utilize mobile device, by scanning mode select printer into Row printing;B) printing content can be printed out according to the printer that user selects;C) enterprise administrator can be according to certainly Body situation, whether flexible choice, which needs, is monitored print out task.
2. can realize that strange land prints: A) in user's print procedure, this enterprise different zones can be selected according to own right Printer;B it) in mobile print procedure, does not need that any printer driver is installed;C it) is able to carry out strange land printing, allows user It prints whenever and wherever possible.
3. the dynamic movement of free drive and Web printing: A) by software and the mobile printing of combination of hardware realization, mobile terminal is without peace Dress printing relative program can be printed directly;B) this movement printing supports that arbitrary equipment all may be used without specific printing device It is compatible;C) printing template user can arbitrarily be customized by cloud, have better adaptability;D it when) user prints, no longer needs It is worried for installation printing driving.
As shown in figure 9, the schematic block diagram of the server 900 provided according to one embodiment of present invention.The present invention discloses The second aspect of embodiment provide a kind of server 900, server 900 includes: memory 902, and being configured to storage can hold Row instruction;Processor 904 is configured to execute the instruction of storage to realize the step such as above-mentioned any embodiment session access method Suddenly.Therefore, which has whole beneficial effects of the session access method of any of the above-described embodiment.
Specifically, above-mentioned processor 904 may include central processing unit (CPU) or specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement implementation of the present invention One or more integrated circuits of example.
Memory 902 may include the mass storage for data or instruction.For example it rather than limits, memory 902 may include hard disk drive (Hard Disk Drive, HDD), floppy disk drive, flash memory, CD, magneto-optic disk, tape or logical With the combination of universal serial bus (Universal Serial Bus, USB) driver or two or more the above.It is closing In the case where suitable, memory 902 may include the medium of removable or non-removable (or fixed).In a suitable case, it stores Device 902 can be inside or outside synthesized gateway disaster tolerance equipment.In a particular embodiment, memory 902 is nonvolatile solid state Memory.In a particular embodiment, memory 902 includes read-only memory (ROM).In a suitable case, which can be ROM, programming ROM (PROM), erasable PROM (EPROM), the electric erasable PROM (EEPROM), electrically rewritable of masked edit program The combination of ROM (EAROM) or flash memory or two or more the above.
The embodiment of third aspect present invention proposes a kind of computer readable storage medium, is stored thereon with computer Program, when computer program is executed by processor the step of the realization such as print control program of any of the above-described.
Computer readable storage medium provided by the invention is realized when computer program is executed by processor as any of the above-described The step of print control program of embodiment, therefore the computer readable storage medium includes the printing side of any of the above-described embodiment Whole beneficial effects of method.
In the description of the present invention, the description meaning of term " one embodiment ", " some embodiments ", " specific embodiment " etc. Refer to that particular features, structures, materials, or characteristics described in conjunction with this embodiment or example are contained at least one implementation of the invention In example or example.In the present invention, schematic expression of the above terms are not necessarily referring to identical embodiment or example.And And the particular features, structures, materials, or characteristics of description can be in any one or more of the embodiments or examples with suitable Mode combines.
These are only the preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification, Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of print control program is used for server characterized by comprising
Print request is responded, the corresponding printing template of the print request is obtained from application server;
The print data for judging whether to receive input, when the judgment result is yes, by the print data and the impression block Plate is sent to gateway;
When the judgment result is No, the print data being stored in the application server is obtained, by the print data Gateway is sent to the printing template;
It controls the gateway and executes printing.
2. print control program according to claim 1, which is characterized in that described by the print data and the printing Template is sent to the step of gateway, specifically includes:
The printing template and the print data are combined, mimeograph documents are generated;
The mimeograph documents are sent to the gateway.
3. print control program according to claim 1, which is characterized in that described by the print data and the printing Template is sent to the step of gateway, specifically includes:
The printing template and the print data are combined, mimeograph documents are generated;
The mimeograph documents are stored, the address chain for storing the mimeograph documents is received and sent to the gateway, so that the gateway It is obtained according to the address chain and takes the mimeograph documents.
4. print control program according to claim 2 or 3, which is characterized in that after the response print request, It is described before obtaining the corresponding printing template of the print request in application server, further includes:
The user of the print request is determined according to the print request;
Purview certification is executed to the user;
In user authentication success, execution is described to obtain the corresponding printing template of the print request from application server The step of, in the user authentication failure, Xiang Suoshu user sends authentication failure message and failure cause.
5. print control program according to claim 4, which is characterized in that the control gateway executes the step of printing Suddenly, it specifically includes:
Send the issuing side of printing device list to the print request;
Receive the selection instruction and printing device setting information of printing device;
The selection instruction and the printing device setting information are sent to the printing gateway, so that the printing gateway is searched The printing device, and control the printing device and execute printing according to the printing device setting information.
6. print control program according to claim 2 or 3, which is characterized in that further include:
Print Preview request is responded, the mimeograph documents are sent to the issuing side of the print request.
7. print control program according to claim 5, which is characterized in that further include:
The status information of the printing device is obtained in real time;
The status information is sent to the issuing side of the print request.
8. print control program according to claim 1, which is characterized in that the issuing side of the print request is answered for web With any one in program and/or the application program of mobile terminal.
9. a kind of server characterized by comprising
Memory is configured to storage executable instruction;
Processor is configured to execute the instruction of storage to realize such as the step of any one of claims 1 to 8 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program It realizes when being executed by processor such as the step of any one of claims 1 to 8 the method.
CN201811309347.9A 2018-11-05 2018-11-05 Print control program, server and computer readable storage medium Pending CN109388357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811309347.9A CN109388357A (en) 2018-11-05 2018-11-05 Print control program, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811309347.9A CN109388357A (en) 2018-11-05 2018-11-05 Print control program, server and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109388357A true CN109388357A (en) 2019-02-26

Family

ID=65428403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811309347.9A Pending CN109388357A (en) 2018-11-05 2018-11-05 Print control program, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109388357A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111679797A (en) * 2020-05-19 2020-09-18 昇捷丰电子(厦门)有限公司 Function configuration method and device of ink-jet printer
CN112286470A (en) * 2019-07-13 2021-01-29 森大(深圳)技术有限公司 Printer remote control method, device and system based on high-speed communication
CN113535101A (en) * 2021-07-26 2021-10-22 北京京东振世信息技术有限公司 Print file generation method and device, storage medium and electronic equipment
CN114398014A (en) * 2022-01-06 2022-04-26 用友汽车信息科技(上海)股份有限公司 Printing control method, server, mobile device and printing control system
WO2023179561A1 (en) * 2022-03-21 2023-09-28 华为技术有限公司 Printing method, electronic device and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908039A (en) * 2010-06-29 2010-12-08 北京科技大学 Report template customizing system
CN102385493A (en) * 2010-08-27 2012-03-21 佳能株式会社 Print system, relay apparatus, print server, and print method
CN103179120A (en) * 2013-03-21 2013-06-26 天闻数媒科技(北京)有限公司 Method and system for realizing printing of mobile device
CN103593150A (en) * 2013-11-28 2014-02-19 深圳中兴网信科技有限公司 Terminal, server and method based on webpage print bar code
CN103955348A (en) * 2014-05-06 2014-07-30 丁四涛 Network printing system and printing method
CN104636093A (en) * 2015-02-13 2015-05-20 深圳支付界科技有限公司 Method and system for non-handwritten entering and printing of express sheets
CN105005455A (en) * 2015-06-26 2015-10-28 丁四涛 Printing control method and device of intelligent terminal
CN106126134A (en) * 2016-06-22 2016-11-16 宜春小马快印科技有限公司 Intelligent printing method and system
CN107678712A (en) * 2017-11-13 2018-02-09 成都创慧科达科技有限公司 A kind of method for identifying ID and system based on printer sharing
CN108572801A (en) * 2017-03-10 2018-09-25 菜鸟智能物流控股有限公司 Printing processing method and device, printing end, logistics platform and server

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908039A (en) * 2010-06-29 2010-12-08 北京科技大学 Report template customizing system
CN102385493A (en) * 2010-08-27 2012-03-21 佳能株式会社 Print system, relay apparatus, print server, and print method
CN103179120A (en) * 2013-03-21 2013-06-26 天闻数媒科技(北京)有限公司 Method and system for realizing printing of mobile device
CN103593150A (en) * 2013-11-28 2014-02-19 深圳中兴网信科技有限公司 Terminal, server and method based on webpage print bar code
CN103955348A (en) * 2014-05-06 2014-07-30 丁四涛 Network printing system and printing method
CN104636093A (en) * 2015-02-13 2015-05-20 深圳支付界科技有限公司 Method and system for non-handwritten entering and printing of express sheets
CN105005455A (en) * 2015-06-26 2015-10-28 丁四涛 Printing control method and device of intelligent terminal
CN106126134A (en) * 2016-06-22 2016-11-16 宜春小马快印科技有限公司 Intelligent printing method and system
CN108572801A (en) * 2017-03-10 2018-09-25 菜鸟智能物流控股有限公司 Printing processing method and device, printing end, logistics platform and server
CN107678712A (en) * 2017-11-13 2018-02-09 成都创慧科达科技有限公司 A kind of method for identifying ID and system based on printer sharing

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286470A (en) * 2019-07-13 2021-01-29 森大(深圳)技术有限公司 Printer remote control method, device and system based on high-speed communication
CN111679797A (en) * 2020-05-19 2020-09-18 昇捷丰电子(厦门)有限公司 Function configuration method and device of ink-jet printer
CN113535101A (en) * 2021-07-26 2021-10-22 北京京东振世信息技术有限公司 Print file generation method and device, storage medium and electronic equipment
CN113535101B (en) * 2021-07-26 2023-09-22 北京京东振世信息技术有限公司 Print file generation method and device, storage medium and electronic equipment
CN114398014A (en) * 2022-01-06 2022-04-26 用友汽车信息科技(上海)股份有限公司 Printing control method, server, mobile device and printing control system
WO2023179561A1 (en) * 2022-03-21 2023-09-28 华为技术有限公司 Printing method, electronic device and system

Similar Documents

Publication Publication Date Title
CN109388357A (en) Print control program, server and computer readable storage medium
US20200412911A1 (en) Data processing system, data processing apparatus, and data processing method for transferring image data to an output destination
CN101807143B (en) Image forming apparatus
US8860988B2 (en) Print relay system, print relay system control method, and storage medium
CN104735277B (en) Perform instruction equipment and perform indicating means
CN1893527B (en) Image data processing system
CN102195961A (en) Image forming system and image forming method
CN107368266A (en) A kind of cloud for supporting cloud print copying and scanning prints gateway
CN105338209A (en) Server and method for sending print job data
US20160098230A1 (en) Image processing system, image processing device, billing processing method and computer readable recording medium
US20180213115A1 (en) Document Printing System That Includes Online Payment Service and Image Forming Apparatus, and Recording Medium
US20130111564A1 (en) Image forming apparatus, license server, terminal apparatus, method for installing application, and method for providing application file
JP2004320715A (en) Certificate acquisition method, certificate setting method, certificate acquisition apparatus, certificate setting apparatus, certificate handling system, certificate setting system, program and recording medium
CN105120125A (en) Client terminal and control method thereof
JP2007295245A (en) Image forming apparatus, information processing apparatus, and information processing system
JP2015097031A (en) Printing system
JP2018055366A (en) Electronic apparatus and application control program
JP2020027497A (en) Information processing device
CN102984421A (en) Device and system and method for image output
JP6171346B2 (en) Information processing apparatus, process execution method, and program
JP6921546B2 (en) Management devices, mobile terminals, their methods, and programs
JP4026643B2 (en) Application management system, device with application execution function, portable terminal with application management function, device program, portable terminal program and storage medium, and application management method
EP4068073A1 (en) System, printing system, and control method
JP2019133381A (en) Server, image forming system, and billing control method
JP2016116112A (en) Information processing system, relay device, relay method, and relay program

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