CN102736865B - A kind of print system distributing auxiliary information file and method - Google Patents
A kind of print system distributing auxiliary information file and method Download PDFInfo
- Publication number
- CN102736865B CN102736865B CN201110080624.5A CN201110080624A CN102736865B CN 102736865 B CN102736865 B CN 102736865B CN 201110080624 A CN201110080624 A CN 201110080624A CN 102736865 B CN102736865 B CN 102736865B
- Authority
- CN
- China
- Prior art keywords
- file
- auxiliary information
- distribution
- xml formatted
- distribution auxiliary
- 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.)
- Expired - Fee Related
Links
Landscapes
- Record Information Processing For Printing (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The present invention provides a kind of print system distributing auxiliary information file and method, this system includes: distribution management center, for distribution auxiliary information xml formatted file is represented, generating the xml formatted file of distribution auxiliary information, the xml formatted file of wherein said distribution auxiliary information includes the data content of label;Buffer unit, for the xml formatted file of distribution auxiliary information being converted into html file by predefined pattern file, wherein said pattern file includes the definition of label and the style definitions of the data content of label;Printer, for the html file of print and distribute auxiliary information.This system architecture is simple, and has good autgmentability, can easily change to meet new pattern demand.
Description
Technical field
The present invention relates to information systems technology field, in particular it relates to the data file in information system
Generate and printing technique.
Background technology
In contemporary information systems, relating to substantial amounts of form, thus, relating to many and form has
The technology closed, such as report generation technology, form transmission technology, Technique of Printing Forms, report display
Technology etc..
In many scenes, the distribution of form is the most indispensable work.Form is distributed,
Generally distribution auxiliary information can generate together with report data, and distribution auxiliary information includes: such as report
Table sequence number, time date of formation, project name, version number, customer ID, customer name, duplicating number,
Priority etc..Such as, in Modern Physical Education event information system, report printing needs in a distributed manner
The mode of management realizes, and for each printing terminal, can receive from numerous competition gymnasiums and stadiums or single
The printing requirement of project.In addition to basic report data, in addition it is also necessary to distribution side information data.
Relevant staff, can be according to distribution auxiliary information file to report after taking the form printed
Table duplicates and distributes.Therefore, distribution auxiliary information file can be as homepage together with form itself
Rise and printed, for related personnel's reference.
Generally, there is certain pattern requirement representing of auxiliary information file of distribution, such as, it is desirable to black matrix
No. three fonts demonstrate that project name or the forms mode with a n*7 show that corresponding form is sent
The client sent out;And, above-mentioned pattern requires likely to change the project implementation when, such as,
The project name represented by black matrix changes the Song typeface into or changes the form of n*7 into n*5.
Currently, the generation print job of distribution auxiliary information file and report file combines.Tool
For body, in prior art, report printing distributed architecture is made up of following parts: maker, its
It is a reusable assembly, it is possible to combine template and related data generates corresponding document;Form sends
End, is used for gathering in-situ match data, drives maker generate report file and be sent to dispensing tube reason
Center;Distribution management center, for driving maker to generate printable distribution auxiliary information file,
It is distributed to each printing terminal by configuration requirement together with report file simultaneously;Printing terminal: be used for printing
Report file and distribution auxiliary information file.
In above-mentioned report printing distributed architecture, need in advance for distribution auxiliary information and Report Form Design mould
Plate, then generated printable file by maker, although this makes whole distributed architecture seem, structure is simple
Single and it can be readily appreciated that but be more to bring the loaded down with trivial details work such as stencil design and data replacement, and
And in the process of the project implementation, the pattern amendment of a little all can bring the biggest workload, can
Autgmentability is poor.
Summary of the invention
Present invention aim at providing the system and method for a kind of print and distribute auxiliary information file, its energy
Enough simple in construction keeping distribution to print framework, and have good autgmentability, can easily change
To meet new pattern demand.
According to an aspect of the invention, it is provided a kind of print system distributing auxiliary information file,
Including:
Distribution management center, for being represented by distribution auxiliary information xml formatted file, generates and divides
Sending out the xml formatted file of auxiliary information, the xml formatted file of wherein said distribution auxiliary information includes
The data content of label;
Buffer unit, for being converted into the xml formatted file of distribution auxiliary information by pattern file
Html file, wherein said pattern file includes that the pattern of the definition of label and the data content of label is fixed
Justice;
Printer, for the html file of print and distribute auxiliary information.
In said system, described buffer unit, after converting, is additionally operable to delete described distribution auxiliary
Supplementary information xml formatted file.
In said system, described buffer unit includes receiver module and operation module, wherein:
Described receiver module is for receiving the xml formatted file of described distribution auxiliary information, and is led to
Cross pattern file and the xml formatted file of distribution auxiliary information is converted into html file;
Described operation module for submitting to printing by the xml formatted file of described distribution auxiliary information
Machine.
In said system, described buffer unit includes receiver module, file memory and operation module,
Wherein:
Described receiver module, for receiving the xml formatted file of described distribution auxiliary information, is stored
At described file memory, and passed through the pattern file xml formatted file by distribution auxiliary information
Being converted into html file, the xml formatted file of wherein said distribution auxiliary information has unique document
Name, generates the labelling corresponding with the xml formatted file of described distribution auxiliary information according to described filename
, there is file etc. for mark to be printed in file;
Described file memory is mass storage, and it is for storing described distribution auxiliary information
Xml formatted file;
Described operation module is for submitting to printer by the xml formatted file of described distribution auxiliary information
And change described tab file to have carried with the xml formatted file identifying described distribution auxiliary information
Hand over.
In said system, it is local that described buffer unit is positioned at printer.
According to a further aspect of the invention, additionally provide a kind of Method of printing distributing auxiliary information file,
Including:
1) distribution auxiliary information xml formatted file is represented, generate the xml of distribution auxiliary information
Formatted file, the xml formatted file of wherein said distribution auxiliary information includes the data content of label;
2) by pattern file, the xml formatted file of distribution auxiliary information is converted into html file,
Wherein said pattern file includes the definition of label and the style definitions of the data content of label;
3) the html file of print and distribute auxiliary information.
In the above-mentioned methods, described step 2) described in convert after, also include deleting described point
Send out the step of the xml formatted file of auxiliary information.
The framework of said system is simple, and has good autgmentability, can be easily by amendment sample
Formula file changes the distribution auxiliary information file finally printed to meet new pattern demand.
Accompanying drawing explanation
Fig. 1 is print system block diagram according to the preferred embodiment of the invention;
Fig. 2 is Method of printing flow chart according to the preferred embodiment of the invention;
Fig. 3 is the exemplary plot of a part for the xml document of distribution auxiliary information;
Fig. 4 is converted the generated html literary composition of xml document of the distribution auxiliary information shown in Fig. 3
The display effect figure of part.
Fig. 5 is for carrying out the exemplary plot of the part of xsl file changed.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing,
Further to the print system and method distributing auxiliary information file according to an embodiment of the invention
Describe in detail.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and
It is not used in the restriction present invention.
In the report printing distributed architecture of the present invention, about part and the prior art phase of report printing
With.The invention discloses the improvement that distribution auxiliary information file is generated Method of printing.Fig. 1 is root
According to the print and distribute system block diagram of the preferred embodiment of the present invention, this print and distribute system mainly includes generating
Device 101, form transmitting terminal 102, distribution management center 110, buffer unit 120 and printer 130,
Wherein buffer unit 120 includes receiver module 121, file memory 122 and operation module 123,
It is local that this buffer unit 120 may be located at printer.Maker 101 can be in conjunction with report form template and phase
Close data genaration report file.Form transmitting terminal 102 gathers in-situ match data, drives maker raw
Become report file and be sent to distribution management center.Distribution auxiliary information is used by distribution management center 110
Xml formatted file represents, generates the xml formatted file of distribution auxiliary information, simultaneously with form literary composition
Part is distributed to each printing terminal by configuration requirement together.Buffer unit 120 is by pattern file * .xsl
The xml formatted file of distribution auxiliary information is converted into html file.Printer printing reports file
Html file with distribution auxiliary information.
Fig. 2 shows and utilizes the system print form shown in Fig. 1 according to the preferred embodiment of the invention
Method flow diagram, the method for the most above-mentioned printing reports specifically includes following steps:
Maker 101 can generate report file in conjunction with report form template and related data.
Form transmitting terminal 102 gathers in-situ match data, drives maker generate report file and send
To distribution management center.
Distribution management center 110 distribution side information data xml form is expressed, and and form
File sends together to file buffering device 120.
Receiver module 121 receives the packet from outside distribution management center 110, in packet
Including report file and distribution side information data, wherein report file can directly be printed, and divides
Sending out side information data is not that the file format printing exists, but presented in xml.
Preferably, the xml document of each distribution side information data has unique id mark as literary composition
Part name, such as globally unique identifier (GUID), specifically can e.g.,
827A1EDC-DA5D-424B-B269-E3399D6826EC.Corresponding report file is also with same
Filename is named, so that report file forms one_to_one corresponding, ability with distribution management information file
Territory those of ordinary skill is appreciated that, it is also possible to use alternate manner to make report file and dispensing tube
Reason message file is associated.
The xml document of distribution auxiliary information is also stored in file memory 122 by receiver module 121.
Preferably, this document memorizer 122 is in the mass storage in the computer that printer is local,
Such as: disk, hard disk etc..
Then receiver module 121 uses xml switch technology, by predefined pattern file * .xsl,
The xml that this is newly-generated is converted into the html file of correspondence.Then, used xml is deleted
File.
Fig. 3 shows the example of the xml document of the distribution auxiliary information from distribution management center 110
A part.Xml document describes the data content of label in some distribution auxiliary information, such as:
The data content of " Report Name " is " XXXX ".Fig. 4 shows for carrying out the sample changed
A part of formula file * .xsl.Xsl file includes the definition of label, in also including the data of label
The style definitions held.Such as, in shown xsl file, including " Report in distribution side information data
Name " definition and the definition of its width, also include that the pattern of the data content of Report Name is fixed
Justice, the font style of " XXXX " that namely show in html is defined as " x-large ".
Being similar to, any content to be shown in html can make to be set in this way, with soon
Speed meets change request present in project application.Such as remove Report Name respective value
After x-large font size style, " XXXX " just will reveal whether the size style of acquiescence.At this
In bright specific embodiment, the conversion work of xml document is moved on to printing terminal, thus decomposes
The task burden of distribution management center.Because for distribution management center, produce the xml of data level
For be a thing easily, concrete type style transfers to printing terminal to go.
Fig. 5 shows converted the generated html of xml document of the distribution auxiliary information shown in Fig. 3
The display effect of file.
Receiver module 121 also generates a corresponding tab file.During generating tab file,
Use above-mentioned id mark as filename, produce 0 byte file extending entitled ext, be used for
The new distribution auxiliary information file of one entitled id of mark is just etc. to be printed.Those of ordinary skill in the art
It is appreciated that ext is only a concrete example of extension name, certainly can also use other expansion
Exhibition name, such as xxx, sss, kkk, abc etc., as long as can be with xml and the expansion of report file
Exhibition name is distinguished.
Whether operation module 123 cycle detection file memory 122 there is new form need to print,
Just if had report file and corresponding distribution auxiliary information file are submitted to and printed.Detection standard or
Method is exactly to check whether to there is the file extending entitled ext.Detect the operation conditions of printer simultaneously,
Once printer is in idle condition, just will search according to the storage time from file memory 122
The file of the entitled ext of extension first stored, and obtain report to be printed according to the filename of this document
The id mark of list file, thus the report file of this correspondence and corresponding distribution auxiliary information file are carried
Hand over and print.
After submitting to printing to complete, operation module 123 is by the labelling of entitled for the most used extension ext
The extension name of file changes fns into, is used for representing that respective file has submitted printing to, it is to avoid next time repeats
Submit to.It will appreciated by the skilled person that the extension name that can also use other, such as yyy,
Zxc, qwe etc., as long as with extension name, xml, html and this tab file of report file more
Extension name before changing can be distinguished.
The extension name using tab file in above-mentioned specific embodiment is used as franking to identify literary composition
Part is to be printed or has printed complete, it will appreciated by the skilled person that and can also use
Filename or the internal file of file are used as franking, accordingly, need to change preservation form literary composition
The position of the id of part.
In above preferred embodiment, have employed mass storage and be used as buffer, effectively prevent
The defect limited by memory size as buffer with internal memory, and identify with logo file wait beat
The file of print is the most efficient.It will appreciated by the skilled person that the printing that can use routine
Mode completes print job, as long as generating distribution side information data is to use the side instructed above
Method, equally can realize general object of the present invention.Concrete, can not exist big in a buffer
Capacity memory 122, therefore, without logo file, as long as receiver module 121 reception distribution is auxiliary
The xml formatted file of supplementary information, and by pattern file by the xml formatted file of distribution auxiliary information
Being converted into html file, last directly submission to prints.
In the present invention, in conjunction with xml correlation technique, generating printable distribution auxiliary information file
Work transferred to printing terminal and done, this had both maintained the simple in construction of original system, simplified again
Generate and realize, be with good expansibility simultaneously, any new demand about pattern, can
Met by simple modification pattern file.
It should be noted that and understand, in the spirit without departing from the present invention required by appended claims
In the case of scope, it is possible to the present invention of foregoing detailed description is made various modifications and improvements.Cause
This, it is desirable to the scope of the technical scheme of protection is not limited by given any specific exemplary teachings.
Claims (7)
1. distribute a print system for auxiliary information file, including:
Distribution management center, for being represented by distribution auxiliary information xml formatted file, generates and divides
Sending out the xml formatted file of auxiliary information, the xml formatted file of wherein said distribution auxiliary information includes
The data content of label;
Buffer unit, for distributing the xml form of auxiliary information by predefined pattern file
File is converted into html file, in wherein said pattern file includes the definition of label and the data of label
The style definitions held;
Printer, for the html file of print and distribute auxiliary information.
System the most according to claim 1, it is characterised in that described buffer unit is converting
Cheng Hou, is additionally operable to delete the xml formatted file of described distribution auxiliary information.
System the most according to claim 1 and 2, it is characterised in that described buffer unit includes
Receiver module and operation module, wherein:
Described receiver module is for receiving the xml formatted file of described distribution auxiliary information, and is led to
Cross pattern file and the xml formatted file of distribution auxiliary information is converted into html file;
Described operation module for submitting to printing by the html formatted file of described distribution auxiliary information
Machine.
System the most according to claim 1 and 2, it is characterised in that described buffer unit includes
Receiver module, file memory and operation module, wherein:
Described receiver module, for receiving the xml formatted file of described distribution auxiliary information, is stored
At described file memory, and passed through the pattern file xml formatted file by distribution auxiliary information
Being converted into html file, the xml formatted file of wherein said distribution auxiliary information has unique document
Name, generates the labelling corresponding with the xml formatted file of described distribution auxiliary information according to described filename
, there is file etc. for mark to be printed in file;
Described file memory is mass storage, and it is for storing described distribution auxiliary information
Xml formatted file;
Described operation module for submitting to printing by the html formatted file of described distribution auxiliary information
Machine and change described tab file with identify described distribution auxiliary information xml formatted file carried
Hand over.
System the most according to claim 1 and 2, it is characterised in that described buffer unit is positioned at
Printer is local.
6. distribute a Method of printing for auxiliary information file, including:
1) distribution auxiliary information xml formatted file is represented, generate the xml of distribution auxiliary information
Formatted file, the xml formatted file of wherein said distribution auxiliary information includes the data content of label;
2) by pattern file, the xml formatted file of distribution auxiliary information is converted into html file,
Wherein said pattern file includes the definition of label and the style definitions of the data content of label;
3) the html file of print and distribute auxiliary information.
Method the most according to claim 6, it is characterised in that described step 2) described in turn
After having changed, also include the step deleting the xml formatted file of described distribution auxiliary information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110080624.5A CN102736865B (en) | 2011-03-31 | 2011-03-31 | A kind of print system distributing auxiliary information file and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110080624.5A CN102736865B (en) | 2011-03-31 | 2011-03-31 | A kind of print system distributing auxiliary information file and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102736865A CN102736865A (en) | 2012-10-17 |
CN102736865B true CN102736865B (en) | 2016-08-24 |
Family
ID=46992447
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110080624.5A Expired - Fee Related CN102736865B (en) | 2011-03-31 | 2011-03-31 | A kind of print system distributing auxiliary information file and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102736865B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104216952A (en) * | 2014-08-20 | 2014-12-17 | 烽火通信科技股份有限公司 | Universal report generation method and universal report generation system based on XML (extensive markup language) technology |
JP2020006634A (en) * | 2018-07-11 | 2020-01-16 | シャープ株式会社 | Image forming apparatus, control program and control method |
CN112486436A (en) * | 2020-12-18 | 2021-03-12 | 上海中通吉网络技术有限公司 | HTML dynamic filling data printing instruction generation method, system and printer |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007018029A (en) * | 2005-07-05 | 2007-01-25 | Ricoh Co Ltd | Network device |
CN1938680A (en) * | 2004-03-26 | 2007-03-28 | 劲升逻辑有限公司 | A forms development platform |
CN101228777A (en) * | 2005-07-22 | 2008-07-23 | 伊斯曼柯达公司 | Creation of DPOF files adapted to the capabilities of one or more printers using printer capability profiles |
EP2169936A2 (en) * | 2008-09-30 | 2010-03-31 | Brother Kogyo Kabushiki Kaisha | Printer having web server function |
-
2011
- 2011-03-31 CN CN201110080624.5A patent/CN102736865B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1938680A (en) * | 2004-03-26 | 2007-03-28 | 劲升逻辑有限公司 | A forms development platform |
JP2007018029A (en) * | 2005-07-05 | 2007-01-25 | Ricoh Co Ltd | Network device |
CN101228777A (en) * | 2005-07-22 | 2008-07-23 | 伊斯曼柯达公司 | Creation of DPOF files adapted to the capabilities of one or more printers using printer capability profiles |
EP2169936A2 (en) * | 2008-09-30 | 2010-03-31 | Brother Kogyo Kabushiki Kaisha | Printer having web server function |
Also Published As
Publication number | Publication date |
---|---|
CN102736865A (en) | 2012-10-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7809750B2 (en) | Data management apparatus that controls a data storage apparatus by transmitting command of structured document format | |
JP5029327B2 (en) | Print control device | |
US9250846B2 (en) | Print service providing apparatus that supplies conversion data and printing system including the same | |
CN106293554A (en) | A kind of cloud print system and cloud printer | |
CN102736865B (en) | A kind of print system distributing auxiliary information file and method | |
CN107977171B (en) | Print management apparatus and computer-readable medium storing print management program | |
US9652187B1 (en) | Image forming system that ensures continuous use of print resources and image forming method | |
CN108696566A (en) | Web server | |
CN110221792A (en) | File to be printed format conversion method, device, equipment and storage medium | |
JP4564527B2 (en) | Printing apparatus, printing method, and printing system | |
JP4075531B2 (en) | Printing history management method and printing status identification method | |
JP2019125176A (en) | Print control device and print control method | |
KR100611983B1 (en) | Method and system for searching a file | |
US20070180366A1 (en) | Recording medium for storing print document registration program and print document registration method | |
US20080244622A1 (en) | Printer Driver Program and Printer System Having Same | |
JP2003316543A (en) | Information processing method, information processor and program | |
JP2004050701A (en) | Printer system | |
CN102722484B (en) | A kind of file buffering method, apparatus and its application | |
JPH07282282A (en) | Device and system for image editing | |
JP2008123080A (en) | Document management system, image-forming device, disposal device, disposal certificate-issuing device, document attribute management device, and program | |
JP3844751B2 (en) | Content management system, content management method, program, and recording medium | |
JP2001027942A (en) | Print server device | |
JP2006155143A (en) | Management image forming device, image forming device, and processing information collection system | |
JP2004334447A (en) | Printed matter order receiving system through network | |
JP2007304991A (en) | Printer |
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 |
Effective date of registration: 20190327 Address after: 100195 No. 621, 6th floor, No. 1 Building, 131 North West Fourth Ring Road, Haidian District, Beijing Patentee after: Beijing Xinaote Intelligent Sports Innovation Development Co., Ltd. Address before: 100195 new technology building, 49 Wukesong Road, Haidian District, Beijing Patentee before: China Digital Video (Beijing) Limited |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160824 Termination date: 20200331 |
|
CF01 | Termination of patent right due to non-payment of annual fee |