CN102693108B - Method and system for centralized printing management based on printer server - Google Patents

Method and system for centralized printing management based on printer server Download PDF

Info

Publication number
CN102693108B
CN102693108B CN201210143729.5A CN201210143729A CN102693108B CN 102693108 B CN102693108 B CN 102693108B CN 201210143729 A CN201210143729 A CN 201210143729A CN 102693108 B CN102693108 B CN 102693108B
Authority
CN
China
Prior art keywords
printing
print
task
data
rule
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.)
Active
Application number
CN201210143729.5A
Other languages
Chinese (zh)
Other versions
CN102693108A (en
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.)
Guangzhou JFE Steel Sheet Co Ltd
Original Assignee
Guangzhou JFE Steel Sheet 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 Guangzhou JFE Steel Sheet Co Ltd filed Critical Guangzhou JFE Steel Sheet Co Ltd
Priority to CN201210143729.5A priority Critical patent/CN102693108B/en
Publication of CN102693108A publication Critical patent/CN102693108A/en
Application granted granted Critical
Publication of CN102693108B publication Critical patent/CN102693108B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a method and a system for centralized printing management based on a printer server. The method includes following steps: receiving task requests including keyword information and printing rule information from an external system; matching the printing rule information in the task requests with a preset rule list to obtain a printing rule; loading a template for printing according to the obtained printing rule; loading printing data required by the task requests according to the keyword information in the task requests; synthesizing the printing data with the template and transmitting the printing data and the template to a printing unit to generate a printing task; and printing the generated printing task. The task requests distributed on different terminals are centralized to be managed in a unified manner, maintenance cost generated by configuration of a printer and a driver at a client end is omitted, resources are saved, printing efficiency is improved, automatic loading of the printing template is realized by matching of the printing rule, and a nesting printing effect is guaranteed.

Description

The method and system that a kind of printing based on printer server is managed concentratedly
Technical field
The present invention relates to a kind of print out task management method, especially a kind of printing centralized management system based on printer server and Method of printing.
Background technology
MES(manufacturing execution system, manufacturing execution system) refer to the system by information transmission, the whole production run completed from order placement to product being optimized to management, be used to follow the tracks of the system of manufacturing schedule, inventories, job schedule and the relevant information flow of operational administrative in other turnover workshops.Therefore, automatically substitute at the integrated level of strength imparting material plan and capabilities plan, material and process route and increase and decrease, translation, have irreplaceable effect in segmentation process.But the label of existing MES system or form etc. are scattered in each module, need to call terminal printer driver output when printing related data data, unified management is lacked for printout.Owing to needing Install and configure printer and driver on the terminal device, both maintenance cost had in the future been added, again reduce efficiency, and when carrying out the format operations such as nested printing, easily occur crossing the border, the phenomenon of form confusion, also cannot monitor print state in real time to ensure label or form is stable exports.
Summary of the invention
The technical problem to be solved in the present invention is: provide a kind of method that printing based on printer server is managed concentratedly, the method does not need configuration and the driver of safeguarding printer on the terminal device, thus reduce the error probability of external system Print Label or form, save the maintenance cost of print system.
Another technical matters that the present invention will solve is: provide a kind of printing centralized management system based on printer server, this system loads the template meeting and print rule to task requests at printer server end, printing type is various, and can realize condition monitoring and log query.
In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is:
Based on the method that the printing of printer server is managed concentratedly, be applied to printer server, comprise the following steps:
Receive the task requests from external system, described task requests comprises keyword message and prints Rule Information;
To mate with the list of rules preset according to the printing Rule Information in task requests and print rule to obtain;
The template for printing is loaded according to the printing rule obtained;
According to the print data that the keyword message loading tasks request in task requests needs;
Print data and templated synthesis are passed to print unit and generate print out task;
Print the print out task generated.
Be further used as preferred embodiment, described in the print data that needs of the task requests that is loaded be stored generating labels or form.
Be further used as preferred embodiment, described printing Rule Information comprises picture name, button name, tag name and IP address.
Described external system is the system of a large amount of output label or form, as MES, can also be production management system, business management system, storage/logistic management system etc.
Based on a printing centralized management system for printer server, be applied to printer server, comprise:
TU task unit, for receiving the task requests that external system sends;
External data cells, for loading the print data from external system;
Rules unit, prints rule for customization or coupling;
Modular unit, for loading for the template that prints and by print data and described templated synthesis by printing rule;
Print unit, for generating and performing print out task;
Data after print data and templated synthesis, for receiving task requests from TU task unit and Processing tasks request, are sent to print unit by control module.
Preferably, this system also comprises:
Data storage cell, for storing the list of rules preset, stores generating labels or form by the print data from external system;
Internal data cells, for transmitting data between data storage cell and control module.
Log unit, the system journal of the task requests that the task requests received for register system and process complete.
Described external system is the system of a large amount of output label or form, as MES, can also be production management system, business management system, storage/logistic management system etc.
The invention has the beneficial effects as follows: the method that the present invention is based on the printing centralized management of printer server, the task requests be dispersed in each terminal is brought together unified management, avoid the maintenance cost brought at client configuration printer and driving, save resource and improve printing effect, the automatic loading of printing template is achieved by the coupling printing rule, ensure that the effect of nested printing, further, print data for printing in the present invention, template and printing rule can be revised separately and customize, independent maintenance collaborate complete print out task and export, be applicable to the external system generating a large amount of label or form.
Another beneficial effect of the present invention is: the printing centralized management system that the present invention is based on printer server, the correlated information match realizing the task requests received according to TU task unit prints rule and automatically adds back(ing) board, realize the centralized management of right print out task, and ensure that the effect of nested printing, save the cost that client maintains printer and driving, improve printing effect, and ensure that the effect that the pattern of printing is abundant, further, the print data printed can be revised separately and be customized for present system, template and printing rule, the normal label of output or the quantity of form are set, print position and print right etc., independent maintenance collaborate complete print out task and export, be applicable to the external system generating a large amount of label or form.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the method for the printing centralized management that the present invention is based on printer server;
Fig. 2 is the theory diagram of the printing centralized management system that the present invention is based on printer server;
Fig. 3 is the flow chart of steps that the present invention prints the method preferred embodiment of centralized management.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further:
With reference to Fig. 1, a kind of method that printing based on printer server is managed concentratedly, is applied to printer server, comprises the following steps:
Receive the task requests from external system, described external system is the system of a large amount of output label or form, as MES, can also be production management system, business management system, storage/logistic management system etc.Described task requests comprises keyword message and prints Rule Information;
To mate with the list of rules preset according to the printing Rule Information in task requests and print rule to obtain;
The template for printing is loaded according to the printing rule obtained;
According to the print data that the keyword message loading tasks request in task requests needs;
Print data and templated synthesis are passed to print unit and generate print out task;
Print the print out task generated.
Be further used as preferred embodiment, described in the print data that needs of the task requests that is loaded be stored generating labels or form.
Be further used as preferred embodiment, described printing Rule Information comprises picture name, button name, tag name and IP address, it will be understood by those skilled in the art that printing Rule Information can carry out corresponding change according to customer demand.
With reference to Fig. 2, a kind of printing centralized management system S110 based on printer server, be applied to printer server, print centralized management system S110 and be connected with by network the system that external system S140 and printer S130, external system S140 are a large amount of output label or form.By external system S140, between printer server and each client, carrying out data transmission, comprising one in external system S140 for storing the database S141 from each client data.
Print centralized management system S110 to comprise:
TU task unit S115, for receiving the task requests that external system sends;
External data cells S113, for loading the print data from external system;
Rules unit S117, prints rule for customization or coupling;
Modular unit S116, for loading for the template that prints and by print data and described templated synthesis by printing rule;
Print unit S114, for generating and performing print out task;
Data after print data and templated synthesis, for receiving task requests from TU task unit S115 and Processing tasks request, are sent to print unit S114 by control module S118.
Preferably, this system also comprises:
Data storage cell S111, for storing the list of rules preset, stores generating labels or form by the print data from external system;
Internal data cells S112, for transmitting data between data storage cell S111 and control module S118;
Log unit S119, the system journal of the task requests that the task requests received for register system and process complete.
With reference to Fig. 3, in a preferred embodiment of the invention, the method printing centralized management comprises the following steps:
Step S201: if the non-triggering tasks notice of TU task unit in certain hour, initiatively perform S203.
Step S202: external system sends task requests to TU task unit, triggering tasks unit performs step S203.
MES(manufacturing execution system, manufacturing execution system) insert one and be recorded to MES database tasks table (TPRTJOB), task list is containing information such as picture name, button name, tag name, IP address, print state, keyword messages.
Step S203: TU task unit notice control module receives new task request in TU task unit.
Task list (TPRTJOB) is provided with INSERT trigger, trigger by transmission HTTP request to control module.
Step S204: control module initiates to TU task unit the message obtaining new task request.
Step S205: TU task unit returns new task request to control module.
The record that TU task unit inquiry MES database tasks table (TPRTJOB) is newly-increased, returns result to control module.
Step S206: control module resolves above-mentioned task requests, and send printing Rule Information to rules unit.
Described printing Rule Information comprises picture name in task requests, button name, tag name, IP address.
Step S207: the printing Rule Information in task requests is mated with the rule in rules unit.
Rules unit Query Database rule list (TB_RULE), obtain list of rules, containing information such as picture name, button name, tag name, IP address, template store path, printer names in rule, picture name in rule in list of rules, button name, tag name, IP address information are mated one by one with the information received, only when picture name, button name, tag name, IP address are all consistent, be considered as task requests-rule match success, a task requests can mate one or more rule.When a task requests mates multiple rule, then can generate multiple print out task; If do not find the rule of coupling, then perform the printing rule of acquiescence.
Step S208: the printing rule obtained after coupling is turned back to control module.
Step S209: according to task requests and the rule matched, send the information relevant to template to modular unit.
Template store path in rule is passed to modular unit by control module.
Step S210: resolve above-mentioned information, loads qualified template.
Modular unit loads label or report form template according to template store path, comprises the font, the positional information that need print field, paper information etc. in template.
Step S211: control module is according to task requests, and externally data cell sends the keyword message obtaining print data.
Key field in task requests is delivered to external data cells by control module.
Step S212: external data cells, using key field as condition, inquires about external system data.
Step S213: external system returns Query Result and namely prints data to external data cells.
Step S214: print data is returned control module by external data cells.
Step S215: control module is data unit transmission print data internally.
Step S216: the print data received is stored into data storage cell by internal data cells.
Data are stored in database by internal data cells produces label list (TB_SCBQ), in follow-up task requests, if containing producing production label identical in label list, then control module directly can transfer the print data of this production label from data storage cell.
Step S217: print data is transferred to modular unit by control module, obtains the object after print data and templated synthesis.
The print data of production labeling requirement is passed to modular unit by control module.
Step S218: modular unit is by print data and the templated synthesis that loaded.
The production tag template synthesis of print data and loading, namely data are set to the specific field of template one by one, now, will comprise all information printing needs in template.
Step S219: return print data be combined with template after data.
Data after combining are turned back to control module.
Step S220: the data after print data and templated synthesis are sent to print unit by control module, notice print unit generates print out task.
Step S221: the data after the synthesis that print unit process receives, print the print out task of these data according to generate rule.
Print out task is herein the print out task of operating system.
Step S222: the print out task of generation is outputted to the printer of specifying by print unit, print unit can be arranged the number of copies of label or form, print out station and printout authority again, to meet the individual demand of client.
Step S223: after printer has printed, returns print out task state to print unit, and notice print unit terminates print out task.
Step S224: terminate print out task.
More than that better enforcement of the present invention is illustrated, but the invention is not limited to described embodiment, those of ordinary skill in the art can also make all equivalent variations or replacement under the prerequisite without prejudice to spirit of the present invention, and these equivalent distortion or replacement are all included in the application's claim limited range.

Claims (3)

1., based on the method that the printing of printer server is managed concentratedly, be applied to printer server, it is characterized in that, comprise the following steps:
Receive the task requests from external system, described external system is the system of a large amount of output label or form; Described task requests comprises keyword message and prints Rule Information, and described printing Rule Information comprises picture name, button name, tag name and IP address;
To mate with the list of rules preset according to the printing Rule Information in task requests and print rule to obtain;
The template for printing is loaded according to the printing rule obtained;
According to the print data that the keyword message loading tasks request in task requests needs, described print data is stored generating labels or form;
Print data and templated synthesis are passed to print unit and generate print out task;
Print the print out task generated.
2., based on a printing centralized management system for printer server, be applied to printer server, it is characterized in that, comprising:
TU task unit, for receiving the task requests that external system sends;
External data cells, for loading the print data from external system, described external system is the system of a large amount of output label or form;
Data storage cell, for storing the list of rules preset, stores generating labels or form by the print data from external system;
Internal data cells, for transmitting data between data storage cell and control module;
Rules unit, prints rule for customization or coupling;
Modular unit, for loading for the template that prints and by print data and described templated synthesis by printing rule;
Print unit, for generating and performing print out task;
Data after print data and templated synthesis, for receiving task requests from TU task unit and Processing tasks request, are sent to print unit by control module.
3. a kind of printing centralized management system based on printer server according to claim 2, is characterized in that, also comprise:
Log unit, the system journal of the task requests that the task requests received for management system in journal printer and process complete.
CN201210143729.5A 2012-05-10 2012-05-10 Method and system for centralized printing management based on printer server Active CN102693108B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210143729.5A CN102693108B (en) 2012-05-10 2012-05-10 Method and system for centralized printing management based on printer server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210143729.5A CN102693108B (en) 2012-05-10 2012-05-10 Method and system for centralized printing management based on printer server

Publications (2)

Publication Number Publication Date
CN102693108A CN102693108A (en) 2012-09-26
CN102693108B true CN102693108B (en) 2015-06-24

Family

ID=46858598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210143729.5A Active CN102693108B (en) 2012-05-10 2012-05-10 Method and system for centralized printing management based on printer server

Country Status (1)

Country Link
CN (1) CN102693108B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838528B (en) * 2012-11-26 2017-03-01 精工爱普生株式会社 Recording control system, the control method of recording control system and recording equipment
CN103121324B (en) * 2013-02-06 2015-09-16 心医国际数字医疗系统(大连)有限公司 A kind of medical imaging concentrates the system of printing
JP2014167679A (en) * 2013-02-28 2014-09-11 Ricoh Co Ltd Job execution control system, job execution system, job execution control method and program
CN103488440B (en) * 2013-09-02 2017-01-11 用友优普信息技术有限公司 Bill printing device and bill printing method
CN103677693A (en) * 2013-11-20 2014-03-26 中电科航空电子有限公司 Handling method for facilitating confirmation of printing operation state and printing system
CN104778021A (en) * 2015-04-23 2015-07-15 歌尔声学股份有限公司 Packaging label printing method and system
CN106488380B (en) * 2015-08-25 2022-10-18 梅特勒-托利多(常州)测量技术有限公司 Data transmission module, data transmission system or data transmission method
CN105058998B (en) * 2015-09-05 2017-12-26 吴耀 A kind of printer intelligence box and application method for realizing standardization print service
CN105139060B (en) * 2015-09-15 2018-05-22 歌尔股份有限公司 Generation, the method for inspection and the system of bar code based on more printing devices
CN106126133B (en) * 2016-06-23 2019-06-25 联想(北京)有限公司 A kind of Method of printing, printing device and electronic device
CN107340981A (en) * 2017-07-20 2017-11-10 深圳市瑞联智造科技有限公司 Material label print system
CN110231917A (en) * 2018-03-05 2019-09-13 北大方正集团有限公司 Rule-based printing process and device
CN111026338B (en) * 2019-11-14 2023-10-03 用友网络科技股份有限公司 Printing method, printing device and storage medium based on editable template
CN111061441A (en) * 2019-12-16 2020-04-24 江苏晟驰微电子有限公司 Novel label batch printing method
CN111190557A (en) * 2019-12-30 2020-05-22 航天信息股份有限公司 Certificate printing method and system for configurable printing items

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722080A (en) * 2004-07-14 2006-01-18 奥西-技术有限公司 Customizable print media definition
CN1744650A (en) * 2004-09-02 2006-03-08 佳能株式会社 Data processing system, control method therefor, document input apparatus, control method therefor, document managing apparatus, control method therefor
CN1967557A (en) * 2005-11-18 2007-05-23 富士施乐株式会社 Image forming apparatus, client device, client device control method
CN101681241A (en) * 2007-04-13 2010-03-24 阿玛得斯两合公司 Method and apparatus for managing printing devices in a local area network
CN102119378A (en) * 2008-08-08 2011-07-06 佳能株式会社 Information processing apparatus and method, and control program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722080A (en) * 2004-07-14 2006-01-18 奥西-技术有限公司 Customizable print media definition
CN1744650A (en) * 2004-09-02 2006-03-08 佳能株式会社 Data processing system, control method therefor, document input apparatus, control method therefor, document managing apparatus, control method therefor
CN1967557A (en) * 2005-11-18 2007-05-23 富士施乐株式会社 Image forming apparatus, client device, client device control method
CN101681241A (en) * 2007-04-13 2010-03-24 阿玛得斯两合公司 Method and apparatus for managing printing devices in a local area network
CN102119378A (en) * 2008-08-08 2011-07-06 佳能株式会社 Information processing apparatus and method, and control program

Also Published As

Publication number Publication date
CN102693108A (en) 2012-09-26

Similar Documents

Publication Publication Date Title
CN102693108B (en) Method and system for centralized printing management based on printer server
EP2242010A1 (en) Systems and/or methods for end-to-end business process management, business event management, and/or business activity monitoring
EA012934B1 (en) A system and a method for managing remote applications
CN111355737B (en) Electronic price tag communication method, gateway, server, system, device, and computer-readable storage medium
US11816911B2 (en) Automated communication design construction system
CN107341527B (en) Logistics new order management method and system
CN109919259A (en) A kind of universal bar code printer system and method for industrial products retrospect
US9021350B2 (en) Device control system, service-providing method for a device control system, and a program for the same
US20210027053A1 (en) Automated communication design construction system
CN103914266A (en) Method for distributing cloud data and actively printing cloud data by group printing end
CN111949229A (en) Method and device for printing bill, computer equipment and storage medium
CN101369919B (en) Message sequence management of enterprise based correlated events
CN112434972A (en) Bar code management system and method based on WEB
CN201081855Y (en) Logistic service tracking system
CN108198013A (en) It is a kind of can the print order system of tag design and order method
CN111523969A (en) Cloud printing service system and cloud printing method
CN113724051A (en) Information processing method, device, system, equipment and storage medium
US20050159975A1 (en) Multiple-party business cooperation system and method
CN101478624B (en) Management apparatus and information processing method
CN112435039A (en) Commodity tracing method and system based on block chain and readable storage medium
US11935005B2 (en) System and method for fulfilling requests for communication services
US20050063387A1 (en) System and method of order reexamination in electronic data interchange
US20220391385A1 (en) System and Method of Managing Report
CN117615002A (en) Message pushing method, system, electronic equipment and storage medium
CN115914373A (en) Video analysis system based on edge center multilateral cooperation

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