CN110275684A - Print control program, device, storage medium and processor - Google Patents
Print control program, device, storage medium and processor Download PDFInfo
- Publication number
- CN110275684A CN110275684A CN201910532903.7A CN201910532903A CN110275684A CN 110275684 A CN110275684 A CN 110275684A CN 201910532903 A CN201910532903 A CN 201910532903A CN 110275684 A CN110275684 A CN 110275684A
- Authority
- CN
- China
- Prior art keywords
- print data
- service
- module
- print service
- 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
Links
- 238000007639 printing Methods 0.000 claims abstract description 69
- 238000000034 method Methods 0.000 claims abstract description 27
- 238000005516 engineering process Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 238000012423 maintenance Methods 0.000 description 5
- 238000012216 screening Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000010009 beating Methods 0.000 description 1
- 230000003796 beauty Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1296—Printer job scheduling or printer resource handling
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 print control program, device, storage medium and processor.Wherein, this method comprises: selecting print service module from Distributed Printing Service Systems, wherein include multiple mutually independent print service modules in Distributed Printing Service Systems;Print data is sent to print service module, wherein each print service module independently corresponds to a printer;Print data the corresponding printer of print service is sent to by print service module to print.The technical issues of present invention solves in the related technology, and print out task is placed in the main system for needing to print, the operation of main system can be tied down, and leading to the stability of main system reduces, occupy the resource of main system.
Description
Technical field
The present invention relates to printing fields, in particular to a kind of print control program, device, storage medium and processing
Device.
Background technique
Cash register system is specific to the software systems for cash register of various industries exploitation, is generally applicable to surpass
The industries such as city, hotel, haircut, beauty, food and drink.In cash register system, it will usually while more receipt printers are managed, for example,
It in some biggish supermarkets, needs cash register system while managing ten or even twenties receipt printers, merely beating
Print task is placed in cash register system, can tie down the operation of cash register system, and the stability of cash register system is caused to reduce, and occupies cash register
The resource of system.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of print control program, device, storage medium and processor, at least to solve phase
In the technology of pass, print out task is placed in the main system for needing to print, the operation of main system can be tied down, lead to the stabilization of main system
Property reduce, the technical issues of occupying the resource of main system.
According to an aspect of an embodiment of the present invention, a kind of print control program is provided, comprising: take from distributed printing
Print service module is selected in business system, wherein include multiple mutually independent printings in the Distributed Printing Service Systems
Service module;Print data is sent to the print service module, wherein each print service module independently corresponds to one
A printer;The print data the corresponding printer of the print service is sent to by the print service module to carry out
Printing.
Optionally, it includes: according to the distribution that print service module is selected from the Distributed Printing Service Systems
The system configuration for the main system that print service system is serviced selects print service mould from the Distributed Printing Service Systems
Block;Wherein, multiple print service modules respectively correspond different system configurations, the system configuration include at least it is following it
One: software configuration, hardware configuration.
Optionally, multiple mutually independent print service modules include at least one of following: independent service path, independent
Port numbers socket, independent address of service, the path independent port numbers socket.
Optionally, the print service module by the print data be sent to the corresponding printer of the print service into
Before row printing, comprising: detect whether the print data is printed;The case where the print data is not printed
Under, execute the step of print data is sent to the printer.
Optionally, the first the Hash whether print data has been comprised determining that the print data by printing is detected
It is worth, and the second cryptographic Hash of the print data printed;Judge whether first cryptographic Hash is equal with the second cryptographic Hash,
Under first cryptographic Hash and the unequal situation of the second cryptographic Hash, determine that the print data is not printed.
Optionally, further includes: detect whether the main system breaks down;The case where the main system breaks down
Under, the system information of the system is inserted into the end of predetermined print data, as the predetermined print data is by printer
It prints.
Optionally, the system information of the system is inserted into the end of predetermined print data includes: before as needed
The data of verification generate check code, wherein and the data that the needs verify include the system information, and/or, it is described predetermined
Print data;The check code is inserted into the system information.
According to another aspect of an embodiment of the present invention, a kind of print control unit is additionally provided, comprising: selecting module is used
In the selection print service module from Distributed Printing Service Systems, wherein include more in the Distributed Printing Service Systems
A mutually independent print service module;Sending module, for print data to be sent to the print service module, wherein
Each print service module independently corresponds to a printer;Print module, for by the print service module by institute
It states print data and is sent to the corresponding printer of the print service and printed.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, the storage medium includes storage
Program, wherein described program operation when control the storage medium where equipment execute it is any one of above-mentioned described in
Method.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, the processor is used to run program,
Wherein, described program run when execute it is any one of above-mentioned described in method.
In embodiments of the present invention, using the selection print service module from Distributed Printing Service Systems, wherein distribution
It include multiple mutually independent print service modules in formula print service system;Print data is sent to print service module,
Wherein, each print service module independently corresponds to a printer;Print data is sent to printing by print service module
The mode that corresponding printer is printed is serviced, by Distributed Printing Service Systems, is realized simultaneously to multiple print out task
It is printed simultaneously, has achieved the purpose that execute print out task by distributed printing system, avoided tying down master to realize
System occupies main system resource, improves the technical effect of the stability of main system, and then solve in the related technology, will print
Task is placed in the main system for needing to print, and can tie down the operation of main system, the stability of main system is caused to reduce, and occupies principal series
The technical issues of resource of system.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of Method of printing according to an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of Novell distributed print services frame of embodiment according to the present invention;
Fig. 3 be according to the present invention a kind of system failure of embodiment when the schematic diagram of system information that prints;
Fig. 4 is a kind of schematic diagram of printing equipment according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
According to embodiments of the present invention, a kind of embodiment of the method for Method of printing is provided, it should be noted that in attached drawing
The step of process illustrates can execute in a computer system such as a set of computer executable instructions, although also,
Logical order is shown in flow chart, but in some cases, it can be to be different from shown by sequence execution herein or retouch
The step of stating.
Fig. 1 is a kind of flow chart of Method of printing according to an embodiment of the present invention, as shown in Figure 1, this method includes as follows
Step:
Step S102 selects print service module, wherein Novell distributed print services system from Distributed Printing Service Systems
It include multiple mutually independent print service modules in system;
Print data is sent to print service module by step S104, wherein each print service module independently corresponds to one
A printer;
Print data is sent to the corresponding printer of print service by print service module and is beaten by step S106
Print.
Through the above steps, using the selection print service module from Distributed Printing Service Systems, wherein distribution is beaten
Printing includes multiple mutually independent print service modules in service system;Print data is sent to print service module, wherein
Each print service module independently corresponds to a printer;Print data is sent to print service pair by print service module
The mode that the printer answered is printed, by Distributed Printing Service Systems, realize simultaneously to multiple print out task simultaneously into
Row printing has achieved the purpose that execute print out task by distributed printing system, has avoided tying down main system to realize, account for
With main system resource, the technical effect of the stability of main system is improved, and then is solved in the related technology, print out task is placed on
In the main system for needing to print, the operation of main system can be tied down, cause the stability of main system to reduce, occupy the resource of main system
The technical issues of.
Above-mentioned Distributed Printing Service Systems can be set on main system backstage, and above-mentioned main system can be above-mentioned distribution
Print service system provides the goal systems of service, for example, cash register system.Above-mentioned Distributed Printing Service Systems are arranged in principal series
The backstage of system can hang on the master system to avoid by print out task, cause print out task to occupy main system resource, lead to main system
The case where burden, stability reduces.
Above-mentioned Distributed Printing Service Systems include multiple independent print service modules mutually, each print service module
It is corresponding with a printer, print service module is used to provide print out task to above-mentioned printer.Multiple independent printings mutually
It is independent mutually between service module, it independently carries out, does not interfere with each other, each print service module when respectively carrying out print job
There are independent service path, including independent port numbers, independent address of service or independent port numbers path.Using above-mentioned
Distributed Printing Service Systems can effectively prevent multiple print out task to the service condition for meeting while printing multitask
It prints simultaneously, occupies more calculation resources, and be difficult to really meet to more print out task while printing.
Above-mentioned distributed printing system may include platform and multiple independent print services for being all connected with above-mentioned platform
Module, above-mentioned platform receives the print out task of above-mentioned main system, and generates print data according to print out task, and print data is sent out
Corresponding print service module is given, its is sent to by above-mentioned print service module and corresponding is printed into being printed.It is above-mentioned flat
Platform can receive multiple print out task simultaneously, and multiple print out task be generated the different print data of multiple groups respectively, and will beat
Printing is according to multiple independent print service modules are distributed to simultaneously, by receiving multiple print service modules of above-mentioned print data,
It is printed simultaneously, to realize the effect carried out simultaneously to multiple groups print out task.
Optionally, it includes: according to Novell distributed print services that print service module is selected from Distributed Printing Service Systems
The system configuration for the main system that system is serviced selects print service module from Distributed Printing Service Systems;Wherein, multiple
Print service module respectively corresponds different system configurations, and system configuration includes at least one of following: software configuration, hardware are matched
It sets.
According to above-mentioned Distributed Printing Service Systems, when print data is sent to multiple print service modules, if more
A print service module can print the print data, then can be sent to above-mentioned print data at random above-mentioned
Any one print service module in the print service module that can be printed;In above-mentioned print data to print service mould
It in the case that block requires, that is to say, a part of print service module can print above-mentioned print data, another part impression block
Block cannot print the case where above-mentioned print data, be carried out according to screening conditions to print service module needed for above-mentioned print data
Screening, from screening in the print service module for meeting screening conditions, selects the sending object of above-mentioned print data.
Above-mentioned screening conditions can be, according to the system configuration for the main system that Distributed Printing Service Systems are serviced, from
Print service module is selected in Distributed Printing Service Systems.Wherein, multiple print service modules respectively correspond different systems
Configuration, system configuration include at least one of following: software configuration, hardware configuration.Above-mentioned software configuration includes the version of software, soft
The size of part, the operating parameter etc. of software.Above-mentioned hardware configuration includes the operating parameter of hardware, the model etc. of hardware.
Optionally, multiple mutually independent print service modules include at least one of following: independent service path, independent
Port numbers socket, independent address of service, the path independent port numbers socket.
Optionally, print data is sent to before the corresponding printer of print service printed by print service module,
Include: whether detection print data is printed;In the case where print data is not printed, print data is sent out in execution
The step of giving printer.
Above-mentioned distributed printing system is converted when receiving the print out task of above-mentioned main system, and by print out task
At print data be sent to print service module during, the case where duplicating printing is likely to, in addition, above-mentioned
In the case where distributed printing system failure or main system failure, the probability that duplicate printing occurs is larger.In order to be beaten to repetition
The case where print, occurs, and avoids duplicate printing from occupying print resource, waste of resource, in the present embodiment, print service module will be printed
Data are sent to before the corresponding printer of print service printed, comprising: whether detection print data is printed;?
In the case that print data is not printed, the step of print data is sent to printer is executed.
Optionally, whether detection print data has been comprised determining that the first cryptographic Hash of print data, Yi Jiyi by printing
Second cryptographic Hash of the print data through printing;Judge whether the first cryptographic Hash is equal with the second cryptographic Hash, in the first cryptographic Hash
In the unequal situation of the second cryptographic Hash, determine that print data is not printed.
There are many mode whether above-mentioned detection print data is printed, for example, by current print data and history
Print data is compared, and above-mentioned historical data can be the historical data met certain condition, for example, the same print service
The historical data that module is printed;And/or the historical data printed in certain time threshold value;And/or in print data
Historical data etc. including predetermined content.In the present embodiment, by carrying out Hash operation, obtained cryptographic Hash to print data
Data to be printed and historical data are compared, it is not of uniform size due to above-mentioned print data, it is possible to and data volume is larger,
Heavier burden can be caused to system, above-mentioned print data is converted to cryptographic Hash, the Hash that different print datas is generated
Value is different, therefore, the comparison of above-mentioned data to be printed and historical data can be realized by cryptographic Hash, and can effectively subtract
Mini system computational burden.
It is specific as follows: to determine the first cryptographic Hash of print data, and the second cryptographic Hash of the print data printed;
Judge whether the first cryptographic Hash is equal with the second cryptographic Hash, under the first cryptographic Hash and the unequal situation of the second cryptographic Hash, really
Determine print data not printed;In the case where the first cryptographic Hash and equal the second cryptographic Hash, above-mentioned print data is illustrated
It is printed, abandons this print out task, or this print data to be printed is deleted, and execute other printings
Task, or continue to other print out task.
Optionally, further includes: whether detection main system breaks down;In the case where main system breaks down, by system
System information be inserted into the end of predetermined print data, as predetermined print data is printed by printer.
It should be noted that in the case that above-mentioned main system breaks down, system can also be by above-mentioned print system
System information is inserted into the end of predetermined print data, as predetermined print data is printed by printer, repairs people to allow
The fault condition that member can be likely to occur according to the system information printed, link system, so that system is repaired, from
And the investigation and maintenance speed of failure are greatly improved, greatly improve maintenance speed and maintenance efficiency.
Optionally, the system information of system is inserted into the end of predetermined print data includes: before verification as needed
Data, generate check code, wherein the data for needing to verify include system information, and/or, predetermined print data;It will verification
Code is inserted into system information.
Above-mentioned check code is inserted into above system information can be, and above-mentioned check code is added in system information,
As one in system information, it can also be and be bundled into above-mentioned check code and system information together, two information are bundled
At a data packet, above-mentioned check code and system information are a part of above-mentioned datagram.Above-mentioned check code can be to being
The verification data that system information or predetermined print data are verified, maintenance personal can be according to above-mentioned check code to above system
Information or predetermined print data are verified, so that the system failure is assisted in from certain angle, to improve to the system failure
Determination and maintenance efficiency.
It should be noted that the present embodiment additionally provides a kind of optional embodiment, the embodiment is carried out below
It is described in detail.
In cash register system, ten or even twenties receipt printers can be managed simultaneously, print out task is put merely
The stability and availability of system can be tied down in cash register system on the whole by setting.
Fig. 2 is a kind of schematic diagram of Novell distributed print services frame of embodiment according to the present invention, as shown in Fig. 2, this
Embodiment provides a kind of Novell distributed print services frame, and the Novell distributed print services frame is primarily to meet above-mentioned
Performance requirement and design.On the Android plate of multiprocessing, using the mode of distributed multi-process come the cash register to upper layer
System provides print service and supports, while managing tens receipt printers.
The implementation process of present embodiment, includes the following steps:
1. each distributed print service, there is an independent service path, including (port numbers, address of service or
The path socket), manage an independent printer;
2. cash register software needs most suitable print service according to current system configuration, pass through (port numbers, service ground
Location or the path socket) print data is sent to the Novell distributed print services on backstage;
3. the print service on backstage, receives print data, corresponding printer can be immediately sent to.
System exception processing: Fig. 3 be according to the present invention a kind of system failure of embodiment when the system information that prints
Schematic diagram, as shown in figure 3, cash register software can open check code, the Novell distributed print services meeting on backstage when system encounters problems
The system information of current print service is inserted into the end of current print data, and issues printer and print, with
Just the quick problem analysis of developer.In Fig. 3, PRID: selectivity clicks code set;PID: proportional-integral-differential;NID:
Network ID.
In the distributed printing system, an information extraction is done with the data content file of each printing, generates one
Hash hash value identifies the data of printing, whether is had printed, the weight that can fundamentally prevent printing is single.
According to another aspect of an embodiment of the present invention, a kind of print control unit is additionally provided, Fig. 4 is real according to the present invention
A kind of schematic diagram of printing equipment of example is applied, as shown in figure 4, the device includes: selecting module 42, sending module 44 and impression block
Block 46 is below described in detail the device.
Selecting module 42, for selecting print service module from Distributed Printing Service Systems, wherein distributed printing
It include multiple mutually independent print service modules in service system;Sending module 44 is connected with above-mentioned selecting module 42, is used for
Print data is sent to print service module, wherein each print service module independently corresponds to a printer;Print module
46, it is connected with above-mentioned sending module 44, for being sent to print data by print service module, print service is corresponding to be beaten
Print machine is printed.
By above-mentioned apparatus, print service module is selected from Distributed Printing Service Systems using selecting module 42,
In, it include multiple mutually independent print service modules in Distributed Printing Service Systems;Sending module 44 sends out print data
Give print service module, wherein each print service module independently corresponds to a printer;Print module 46 passes through printing clothes
Print data is sent to the mode that the corresponding printer of print service prints by module of being engaged in, and passes through Novell distributed print services system
System is realized and is printed simultaneously to multiple print out task simultaneously, reached and executed print out task by distributed printing system
Purpose avoids tying down main system to realize, and occupies main system resource, improves the technical effect of the stability of main system, into
And solve in the related technology, print out task is placed in the main system for needing to print, the operation of main system can be tied down, cause to lead
The technical issues of stability of system reduces, and occupies the resource of main system.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, storage medium includes the journey of storage
Sequence, wherein equipment where control storage medium executes any one of above-mentioned method in program operation.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, processor is used to run program,
In, program executes any one of above-mentioned method when running.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of print control program characterized by comprising
Print service module is selected from Distributed Printing Service Systems, wherein include in the Distributed Printing Service Systems
Multiple mutually independent print service modules;
Print data is sent to the print service module, wherein each print service module is independently beaten for corresponding one
Print machine;
The print data the corresponding printer of the print service is sent to by the print service module to print.
2. the method according to claim 1, wherein the selection printing clothes from the Distributed Printing Service Systems
Business module include:
According to the system configuration for the main system that the Distributed Printing Service Systems are serviced, from the Novell distributed print services system
Print service module is selected in system;
Wherein, multiple print service modules respectively correspond different system configurations, and the system configuration includes at least following
One of: software configuration, hardware configuration.
3. the method according to claim 1, wherein multiple mutually independent print service modules include at least down
One of column:
Independent service path, separate end slogan socket, independent address of service, the path independent port numbers socket.
4. the method according to claim 1, which is characterized in that the print service module will be described
Print data is sent to before the corresponding printer of the print service printed, comprising:
Detect whether the print data is printed;
In the case where the print data is not printed, the step that the print data is sent to the printer is executed
Suddenly.
5. according to the method described in claim 4, it is characterized in that, detect the print data whether included: by printing
Determine the first cryptographic Hash of the print data, and the second cryptographic Hash of the print data printed;
Judge whether first cryptographic Hash equal with the second cryptographic Hash, first cryptographic Hash and second cryptographic Hash not
In the case where equal, determine that the print data is not printed.
6. the method according to claim 1, which is characterized in that further include:
Detect whether the main system breaks down;
In the case where the main system breaks down, the system information of the system is inserted into the end of predetermined print data
Tail, as the predetermined print data is printed by printer.
7. according to the method described in claim 6, it is characterized in that, the system information of the system is inserted into predetermined printing number
According to end before include:
The data verified as needed generate check code, wherein and the data that the needs verify include the system information,
And/or the predetermined print data;
The check code is inserted into the system information.
8. a kind of print control unit characterized by comprising
Selecting module, for selecting print service module from Distributed Printing Service Systems, wherein the distributed printing clothes
It include multiple mutually independent print service modules in business system;
Sending module, for print data to be sent to the print service module, wherein each print service module is only
A vertical corresponding printer;
Print module, for being sent to the print data by the print service module, the print service is corresponding to be beaten
Print machine is printed.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require any one of 1 to 7 described in method.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 7 described in method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910532903.7A CN110275684A (en) | 2019-06-19 | 2019-06-19 | Print control program, device, storage medium and processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910532903.7A CN110275684A (en) | 2019-06-19 | 2019-06-19 | Print control program, device, storage medium and processor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110275684A true CN110275684A (en) | 2019-09-24 |
Family
ID=67961403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910532903.7A Pending CN110275684A (en) | 2019-06-19 | 2019-06-19 | Print control program, device, storage medium and processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110275684A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111443878A (en) * | 2020-03-26 | 2020-07-24 | 深圳市汉森软件有限公司 | Print task distributed processing method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1515991A (en) * | 2002-12-27 | 2004-07-28 | 精工爱普生株式会社 | Distributed printing system, method, program, printer and printer management server |
CN102419699A (en) * | 2010-09-24 | 2012-04-18 | 富士施乐株式会社 | Printing system, printing control apparatus and printing apparatus |
CN106406781A (en) * | 2016-11-18 | 2017-02-15 | 北京红马科技有限公司 | Ticket printing method for reducing paper dependence |
CN106940631A (en) * | 2017-05-09 | 2017-07-11 | 广东工业大学 | A kind of parallel printing system based on controller |
US20170329562A1 (en) * | 2016-05-13 | 2017-11-16 | Konica Minolta, Inc. | Printing system and printing program |
-
2019
- 2019-06-19 CN CN201910532903.7A patent/CN110275684A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1515991A (en) * | 2002-12-27 | 2004-07-28 | 精工爱普生株式会社 | Distributed printing system, method, program, printer and printer management server |
CN102419699A (en) * | 2010-09-24 | 2012-04-18 | 富士施乐株式会社 | Printing system, printing control apparatus and printing apparatus |
US20170329562A1 (en) * | 2016-05-13 | 2017-11-16 | Konica Minolta, Inc. | Printing system and printing program |
CN106406781A (en) * | 2016-11-18 | 2017-02-15 | 北京红马科技有限公司 | Ticket printing method for reducing paper dependence |
CN106940631A (en) * | 2017-05-09 | 2017-07-11 | 广东工业大学 | A kind of parallel printing system based on controller |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111443878A (en) * | 2020-03-26 | 2020-07-24 | 深圳市汉森软件有限公司 | Print task distributed processing method, device, equipment and storage medium |
CN111443878B (en) * | 2020-03-26 | 2024-02-09 | 深圳市汉森软件股份有限公司 | Distributed processing method, device, equipment and storage medium for printing tasks |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108768877A (en) | A kind of distribution method of burst flow, device and proxy server | |
CN107977176A (en) | Method of printing, device and equipment | |
JP2002268847A (en) | Printing system and method for customization of print job | |
CN107920094B (en) | Data acquisition method and device, server and network equipment | |
US9058139B2 (en) | Function expansion method using print data, and function expansion device | |
CN108509158B (en) | Policy printing method and device, storage medium and computer equipment | |
CN106626795B (en) | A kind of sequence number transmission method, device, consumable chip and imaging cartridge | |
CN109284075A (en) | A kind of measures and procedures for the examination and approval of print request, storage medium and server | |
CN110035016A (en) | A kind of data transmission method and device | |
CN106610804A (en) | Ticket printing method and system | |
CN108829510A (en) | Thread binds treating method and apparatus | |
CN107273068A (en) | System of selection, server and the print system of printing device | |
CN110275684A (en) | Print control program, device, storage medium and processor | |
CN103744630B (en) | A kind of distributed print control program and system | |
CN105955798A (en) | Method, device and system for detecting abnormal state of virtual machine in cloud platform | |
CN109067645B (en) | Network element equipment connected with NFV virtual security gateway | |
CN109242391A (en) | A kind of cargo recognition methods and device | |
CN109120680A (en) | A kind of control system, method and relevant device | |
CN116048825A (en) | Container cluster construction method and system | |
US20150169261A1 (en) | Print service identifier | |
JPH1021021A (en) | Print system and print control method | |
CN107045452A (en) | Dispatching method of virtual machine and device | |
CN109471600A (en) | A kind of Method of printing, device and a kind of print system | |
CN107507086A (en) | Invoices processing method and receipt processing system | |
CN113220475A (en) | Transaction data processing method and device, computer equipment 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: 20190924 |