CN103744630A - Distributed printing control method and distributed printing control system - Google Patents
Distributed printing control method and distributed printing control system Download PDFInfo
- Publication number
- CN103744630A CN103744630A CN201310755175.9A CN201310755175A CN103744630A CN 103744630 A CN103744630 A CN 103744630A CN 201310755175 A CN201310755175 A CN 201310755175A CN 103744630 A CN103744630 A CN 103744630A
- Authority
- CN
- China
- Prior art keywords
- file
- printer
- sealing
- printing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Abstract
The invention provides a distributed printing control method and a distributed printing control system, and relates to the technical field of printing control. The method comprises the following steps: when a printing event is received, segmenting a print file into print subfiles, wherein the number of the print subfiles is the same as that of installed printers; respectively sending each segmented print subfiles to the installed printers for printing. Through distributed printing, the use efficiency of a printer is greatly improved, and the problems that file printing consumes much time and is low in efficiency are solved.
Description
Technical field
The present invention relates to printing control technical filed, relate in particular to a kind of distributed print control program and system.
Background technology
Information age, printer is widely used.Conventionally printer by direct port connection to computing machine, then sharing to other users uses, but in use user can find well to utilize printer to carry out services, such as some print job must operate in person, can not specify in certain time point prints, the usefulness of plurality of printers can not be given full play of, always consuming time too many while printing large file number of pages file how, also easily cause the problem of Single Point of Faliure, particularly more and more instantly high to security request data, do not accomplish to prevent the safety problems such as the leakage of print data.
Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of distributed print control program and system,, the problem that the usefulness of solution plurality of printers can not be given full play to.
In order to solve the above problems, the present invention is achieved in that
A kind of distributed print control program, comprises the steps:
When receiving printing event, print file are divided into the file of sealing of the umber identical with printer number is installed, the each part of file of sealing after cutting apart sent to and install on printer and print respectively.
Further, described further comprising the steps of when receiving printing event:
Whether the number of pages that judges print file is greater than default number of pages, if it is carries out the described file of sealing that print file is divided into the umber identical with printer number is installed;
If otherwise print file are not cut apart.
Further, the described file of sealing that print file is divided into the umber identical with printer number is installed, sends to respectively by each part after the cutting apart file of sealing the concrete steps that print on mounted printer and is:
According to the number of pages of print file and mounted printer number, enumerate alienable all situations, according to every PPM that printer has been installed, calculate each situation of cutting apart and print the required time, select the situation of cutting apart of required minimal time that print file are divided into the file of sealing, and send on mounted printer and print.
Further, described mounted printer is to have the printer of controlling node, the each part of file of sealing after cutting apart sent to and install on printer and print and be specially respectively: the each one's share of expenses for a joint undertaking file after cutting apart is sent to respectively to the mounted printer of controlling node that has, and described control node is used for receiving son file the file of sealing.
Further, print file are divided into sealing after file of the umber identical with printer number is installed, time-write interval is added to and sealed in file, then the each one's share of expenses for a joint undertaking file after adding is sent to respectively to the mounted printer of controlling node that has, described control node judges whether to the time-write interval after receiving son file;
If to the time-write interval, print the file of sealing receiving;
If also do not arrive the time-write interval, constantly judge whether to arrive the time-write interval, when arriving the time-write interval, print the file of sealing receiving.
Further, print file are divided into sealing after file of the umber identical with printer number is installed, print right sign is added to and sealed in file, then the each one's share of expenses for a joint undertaking file after adding is sent to respectively to the mounted printer of controlling node that has, described control node judges whether print right sign has print right after receiving son file;
If there is print right, print the file of sealing receiving;
If there is no print right, do not print the file of sealing receiving.
Further, further comprising the steps of: the information relevant with printing is deposited to server.
And the present invention also provides a kind of distributed print control system based on the above method, comprises Printing and is arranged on the printer on Printing;
Wherein said Printing comprises as lower module:
Module is cut apart in printing: for when receiving printing event, print file are divided into the file of sealing of the umber identical with printer number is installed;
Print sending module: for the each part of file of sealing after cutting apart sent to and install on printer and print respectively.
Further, described printing is cut apart module and is also comprised and cut apart judging unit, described cut apart judging unit and whether be greater than default number of pages for the number of pages that judges print file when receiving printing event, if it is carry out the described file of sealing that print file is divided into the umber identical with printer number is installed; If otherwise print file are not cut apart.
Further, described printing is cut apart module and is specially: when receiving printing event, according to the number of pages of print file and mounted printer number, enumerate alienable all situations, according to every PPM that printer has been installed, calculate each situation of cutting apart and print the required time, select the situation of cutting apart of required minimal time that print file are divided into the file of sealing.
Further, described mounted printer is to have the printer of controlling node, the each part of file of sealing after cutting apart sent to and install on printer and print and be specially respectively: the each one's share of expenses for a joint undertaking file after cutting apart is sent to respectively to the mounted printer of controlling node that has, and described control node is used for receiving son file the file of sealing.
Further, described Printing also comprises the time-write interval and adds module: for print file being divided into the sealing after file of the umber identical with printer number is installed, time-write interval is added to and sealed in file, then the each one's share of expenses for a joint undertaking file after adding is sent to respectively to the mounted printer of controlling node that has;
Described control node includes time-write interval judge module: after receiving son file, judge whether to the time-write interval; If to the time-write interval, print the file of sealing receiving; If also do not arrive the time-write interval, constantly judge whether to arrive the time-write interval, when arriving the time-write interval, print the file of sealing receiving.
Further, described Printing also comprises print right sign and adds module: for print file being divided into the sealing after file of the umber identical with printer number is installed, print right sign is added to and sealed in file, then the each one's share of expenses for a joint undertaking file after adding is sent to respectively to the mounted printer of controlling node that has;
Described control node includes print right judge module: after receiving son file for judgement, judge whether print right sign has print right; If there is print right, print the file of sealing receiving; If there is no print right, do not print the file of sealing receiving.
Further, also comprise server, described Printing is transmission module on inclusion information also: for by with print relevant information and deposit server.
Tool of the present invention has the following advantages: the present invention can complete printing fast, can realize the record of timed print, secure print and type information simultaneously.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of the preferred embodiment of the present invention;
Embodiment
By describing technology contents of the present invention, structural attitude in detail, being realized object and effect, below in conjunction with embodiment and coordinate accompanying drawing to be explained in detail.
Refer to Fig. 1, the invention provides a kind of distributed print control program, when this method starts from step S101 and receives printing event, reception printing event can be printed hook by installation and monitor printing event, while receiving printing event, can directly enter the file of sealing that step S103 is divided into print file the umber identical with printer number is installed, then the each part of file of sealing after cutting apart be sent to and install on printer and print respectively.Mounted printer is can be for the printer of printing, can be by a Plotter Manager to presenting for the printer of printing, and the printer that cannot be used for printing (as virtual printer, bad printer or do not want the printer using) stashes.Print file are divided into multiple sealing after file, by plurality of printers, share print out task, have improved print speed.
If the number of pages of print file is too little, by plurality of printers, share print out task and probably can not improve speed, preferably, between step S101 and step S103, increase a determining step S102 to print file number of pages, whether the number of pages that judges print file in step S102 is greater than default number of pages (as 500 pages), if it is carries out step S103 print file are divided into the file of sealing of the umber identical with printer number is installed; If otherwise print file are not cut apart, in such cases can print file as direct in step S112.Also can increase at step S101 and step S103 the step of an inquiry, eject inquiry and whether carry out the dialog box of distributed printing, carry out step S103 receiving after definite reply, after the reply that receives cancellation, print file not cut apart.
Cutting apart of step S103 can average and cut apart print file simply, preferably can enumerate alienable all situations according to the number of pages of print file and mounted printer number, according to every PPM that printer has been installed, calculate each situation of cutting apart and print the required time, select the situation of cutting apart of required minimal time that print file are divided into the file of sealing, and according to this kind, cut apart that situation is cut apart print file and the file of sealing sends to corresponding printer and prints.As following situation: the first and second two printers, the print file total page number that print is 100; Then enumerate all situations of cutting apart: be divided into 1 page of first printer, 99 pages of second printers, then according to PPM separately, calculate the required time value of printer separately, and record wherein time-write interval the longest is that this kind cut apart situation and printed the required time; Then be divided into 2 pages of first printers, 98 pages of second printers, calculate this kind and cut apart situation and print the required time; By that analogy, find out the minimum situation of cutting apart of printing the required time.If the minimum time-write interval is that first printer is 40 pages, second printer is 60 pages; Can distribute to first printer the 1st page to 40 pages and print, distribute to second printer and print for the 41st page to the 100th page.Because the speed that every printer is printed is different, by after above processing accordingly the fast printer of print speed can be assigned to the more file of sealing of multipage number, reasonably utilized the resource of printer, and made to print T.T. minimum.
In order to realize management and the control to printer, preferred mounted printer is to have the printer of controlling node, the each part of file of sealing after cutting apart sent to and install on printer and print and be specially respectively: the each one's share of expenses for a joint undertaking file after cutting apart is sent to respectively to the mounted printer of controlling node that has, and described control node is used for receiving son file the file of sealing.
Controlling in nodal basis, can print file be divided into sealing after file of the umber identical with printer number is installed at step S103, entering step S104 adds the time-write interval to seal in file to, then at step S105, the each one's share of expenses for a joint undertaking file after adding is sent to respectively to the mounted printer of controlling node that has, described control node judges whether to the time-write interval at step S107 after receiving son file; If to the time-write interval, enter step S108 and print the file of sealing receiving; If also do not arrive the time-write interval, constantly judge whether to arrive the time-write interval, when arriving the time-write interval, enter step S108 and print the file of sealing receiving.By adding the time-write interval, control node can be realized the timed print of file.
Controlling in nodal basis, can also print file be divided into sealing after file of the umber identical with printer number is installed at step S103, at step S104, print right sign (as user name) is added to and sealed in file, then at step S105, the each one's share of expenses for a joint undertaking file after adding is sent to respectively to the mounted printer of controlling node that has, control after node receives son file and judge at step S106 whether print right sign has print right; If there is print right, enters step S108 and print the file of sealing receiving; If there is no print right, enter step S116 and do not print the file of sealing receiving.
The interpolation of the interpolation of time-write interval and the print right sign use that can combine, as shown in fig. 1, controls node select and judges print right for being introduced into S106, and then step S107 judges whether to reach the time-write interval again.
In order to realize the safety to type information, further, further comprising the steps of: the information relevant with printing is deposited to server.In transmission, seal after file, also will deposit server by printing relevant information, the information relevant with printing comprises the time-write interval, number of print pages, the host name of printing, the document title of printing, the document of printing etc.
To sum up, the present invention adopts distributed printing method can greatly reduce the time-write interval, and the while can regularly, print safely, the information safety of typing assurance printing in time after printing.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (14)
1. a distributed print control program, is characterized in that: comprise the steps:
When receiving printing event, print file are divided into the file of sealing of the umber identical with printer number is installed, the each part of file of sealing after cutting apart sent to and install on printer and print respectively.
2. the distributed print control program of one according to claim 1, is characterized in that: described further comprising the steps of when receiving printing event:
Whether the number of pages that judges print file is greater than default number of pages, if it is carries out the described file of sealing that print file is divided into the umber identical with printer number is installed;
If otherwise print file are not cut apart.
3. the distributed print control program of one according to claim 1, it is characterized in that: the described file of sealing that print file is divided into the umber identical with printer number is installed, sends to respectively by each part after the cutting apart file of sealing the concrete steps that print on mounted printer and be:
According to the number of pages of print file and mounted printer number, enumerate alienable all situations, according to every PPM that printer has been installed, calculate each situation of cutting apart and print the required time, select the situation of cutting apart of required minimal time that print file are divided into the file of sealing, and send on mounted printer and print.
4. the distributed print control program of one according to claim 1, it is characterized in that: described mounted printer is to have the printer of controlling node, the each part of file of sealing after cutting apart sent to and install on printer and print and be specially respectively: the each one's share of expenses for a joint undertaking file after cutting apart is sent to respectively to the mounted printer of controlling node that has, and described control node is used for receiving son file the file of sealing.
5. the distributed print control program of one according to claim 4, it is characterized in that: print file are divided into sealing after file of the umber identical with printer number is installed, time-write interval is added to and sealed in file, then the each one's share of expenses for a joint undertaking file after adding is sent to respectively to the mounted printer of controlling node that has, described control node judges whether to the time-write interval after receiving son file;
If to the time-write interval, print the file of sealing receiving;
If also do not arrive the time-write interval, constantly judge whether to arrive the time-write interval, when arriving the time-write interval, print the file of sealing receiving.
6. the distributed print control program of one according to claim 4, it is characterized in that: print file are divided into sealing after file of the umber identical with printer number is installed, print right sign is added to and sealed in file, then the each one's share of expenses for a joint undertaking file after adding is sent to respectively to the mounted printer of controlling node that has, described control node judges whether print right sign has print right after receiving son file;
If there is print right, print the file of sealing receiving;
If there is no print right, do not print the file of sealing receiving.
7. the distributed print control program of one according to claim 1, is characterized in that: further comprising the steps of: the information relevant with printing is deposited to server.
8. a distributed print control system, is characterized in that: comprise Printing and be arranged on the printer on Printing;
Wherein said Printing comprises as lower module:
Module is cut apart in printing: for when receiving printing event, print file are divided into the file of sealing of the umber identical with printer number is installed;
Print sending module: for the each part of file of sealing after cutting apart sent to and install on printer and print respectively.
9. the distributed print control system of one according to claim 8, it is characterized in that: described printing is cut apart module and also comprised and cut apart judging unit, described cut apart judging unit and whether be greater than default number of pages for the number of pages that judges print file when receiving printing event, if it is carry out the described file of sealing that print file is divided into the umber identical with printer number is installed; If otherwise print file are not cut apart.
10. the distributed print control system of one according to claim 8, it is characterized in that: described printing is cut apart module and is specially: when receiving printing event, according to the number of pages of print file and mounted printer number, enumerate alienable all situations, according to every PPM that printer has been installed, calculate each situation of cutting apart and print the required time, select the situation of cutting apart of required minimal time that print file are divided into the file of sealing.
The distributed print control system of 11. one according to claim 8, it is characterized in that: described mounted printer is to have the printer of controlling node, the each part of file of sealing after cutting apart sent to and install on printer and print and be specially respectively: the each one's share of expenses for a joint undertaking file after cutting apart is sent to respectively to the mounted printer of controlling node that has, and described control node is used for receiving son file the file of sealing.
The distributed print control system of 12. one according to claim 11, it is characterized in that: described Printing also comprises the time-write interval and adds module: for print file being divided into the sealing after file of the umber identical with printer number is installed, time-write interval is added to and sealed in file, then the each one's share of expenses for a joint undertaking file after adding is sent to respectively to the mounted printer of controlling node that has;
Described control node includes time-write interval judge module: after receiving son file, judge whether to the time-write interval; If to the time-write interval, print the file of sealing receiving; If also do not arrive the time-write interval, constantly judge whether to arrive the time-write interval, when arriving the time-write interval, print the file of sealing receiving.
The distributed print control system of 13. one according to claim 11, it is characterized in that: described Printing also comprises print right sign and adds module: for print file being divided into the sealing after file of the umber identical with printer number is installed, print right sign is added to and sealed in file, then the each one's share of expenses for a joint undertaking file after adding is sent to respectively to the mounted printer of controlling node that has;
Described control node includes print right judge module: after receiving son file for judgement, judge whether print right sign has print right; If there is print right, print the file of sealing receiving; If there is no print right, do not print the file of sealing receiving.
The distributed print control system of 14. one according to claim 8, is characterized in that: also comprise server, described Printing is transmission module on inclusion information also: for by with print relevant information and deposit server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310755175.9A CN103744630B (en) | 2013-12-31 | 2013-12-31 | A kind of distributed print control program and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310755175.9A CN103744630B (en) | 2013-12-31 | 2013-12-31 | A kind of distributed print control program and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103744630A true CN103744630A (en) | 2014-04-23 |
CN103744630B CN103744630B (en) | 2016-09-14 |
Family
ID=50501651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310755175.9A Active CN103744630B (en) | 2013-12-31 | 2013-12-31 | A kind of distributed print control program and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103744630B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106406781A (en) * | 2016-11-18 | 2017-02-15 | 北京红马科技有限公司 | Ticket printing method for reducing paper dependence |
CN106528011A (en) * | 2016-11-14 | 2017-03-22 | 北京红马科技有限公司 | Method, system and equipment capable of simultaneously supporting printing of various types of ticket paper |
CN110134343A (en) * | 2018-02-09 | 2019-08-16 | 南京信安宝信息科技有限公司 | The method that cloud prints big document printing speed |
CN112130774A (en) * | 2019-06-25 | 2020-12-25 | 北京小米移动软件有限公司 | Printing method, printing device, printer and storage medium |
CN112148240A (en) * | 2020-09-29 | 2020-12-29 | 上海汉图科技有限公司 | File printing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1153128A (en) * | 1997-07-30 | 1999-02-26 | Casio Comput Co Ltd | Distributed printing system |
CN1515991A (en) * | 2002-12-27 | 2004-07-28 | 精工爱普生株式会社 | Distributed printing system, method, program, printer and printer management server |
CN101369296A (en) * | 2007-08-14 | 2009-02-18 | 北京书生国际信息技术有限公司 | Method and system for implementing off-line printing limitation |
CN101582016A (en) * | 2009-05-27 | 2009-11-18 | 北京大学 | Method and device for printing data |
-
2013
- 2013-12-31 CN CN201310755175.9A patent/CN103744630B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1153128A (en) * | 1997-07-30 | 1999-02-26 | Casio Comput Co Ltd | Distributed printing system |
CN1515991A (en) * | 2002-12-27 | 2004-07-28 | 精工爱普生株式会社 | Distributed printing system, method, program, printer and printer management server |
CN101369296A (en) * | 2007-08-14 | 2009-02-18 | 北京书生国际信息技术有限公司 | Method and system for implementing off-line printing limitation |
CN101582016A (en) * | 2009-05-27 | 2009-11-18 | 北京大学 | Method and device for printing data |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528011A (en) * | 2016-11-14 | 2017-03-22 | 北京红马科技有限公司 | Method, system and equipment capable of simultaneously supporting printing of various types of ticket paper |
CN106406781A (en) * | 2016-11-18 | 2017-02-15 | 北京红马科技有限公司 | Ticket printing method for reducing paper dependence |
CN110134343A (en) * | 2018-02-09 | 2019-08-16 | 南京信安宝信息科技有限公司 | The method that cloud prints big document printing speed |
CN112130774A (en) * | 2019-06-25 | 2020-12-25 | 北京小米移动软件有限公司 | Printing method, printing device, printer and storage medium |
CN112148240A (en) * | 2020-09-29 | 2020-12-29 | 上海汉图科技有限公司 | File printing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN103744630B (en) | 2016-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103744630A (en) | Distributed printing control method and distributed printing control system | |
US6874034B1 (en) | Intelligent peer hybrid printing protocol | |
US8661502B2 (en) | Determining a sensitivity label of document information in real time | |
EP1865409A3 (en) | Information processing apparatus, print controlling method, and computer-readable storage medium | |
CN102999377B (en) | Service concurrent access control method and device | |
CN102591595A (en) | Remote printing method and system | |
CN101446888B (en) | Method for processing printing jobs and system thereof | |
US10425273B2 (en) | Data processing system and data processing method | |
CN103024022A (en) | Controlling and management system and method of virtual machine application service | |
CN103986585A (en) | Message preprocessing method and device | |
CN103559001A (en) | Network printing system and printing method for network printing systems | |
CN102591717A (en) | Method, device and system for processing service information of access device and virtual device | |
CN111092936A (en) | Application service authority management method and terminal based on cloud platform | |
CN102368202A (en) | Webpage selectable printing method for mobile terminal based on local area network | |
US8482767B2 (en) | Print job submission with sleep mechanism | |
US7924447B2 (en) | Method and system for workload balancing | |
CN106817291A (en) | VXLAN realizes device and its method of work | |
CN113381889A (en) | Network slice determining method and device, electronic equipment and storage medium | |
CN103078893A (en) | Control and management device and control and management backup system applied to cloud computing | |
CN102156839A (en) | Method for limiting authority of cloud computing privileged user by using mandatory access control | |
WO2012128905A1 (en) | Remote print processing mechanism | |
US8589605B2 (en) | Inbound message rate limit based on maximum queue times | |
CN110730158B (en) | Hybrid cloud security scheduling method and hybrid cloud security scheduling system | |
CN114266072A (en) | Authority distribution control method and device, electronic equipment and storage medium | |
CN110704180B (en) | Workflow scheduling method based on hybrid cloud |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210309 Address after: Room 205, building 22, 785 Hutai Road, Jing'an District, Shanghai Patentee after: Shanghai Rongan Technology Co.,Ltd. Address before: 4f, area B, Fujian Overseas Students Pioneer Park, 108 Jiangbin East Avenue, Mawei District, Fuzhou City, Fujian Province, 350015 Patentee before: FUJIAN ETIM INFORMATION & TECHNOLOGY Co.,Ltd. |