CN102736865A - System and method for printing distributed auxiliary information file - Google Patents

System and method for printing distributed auxiliary information file Download PDF

Info

Publication number
CN102736865A
CN102736865A CN2011100806245A CN201110080624A CN102736865A CN 102736865 A CN102736865 A CN 102736865A CN 2011100806245 A CN2011100806245 A CN 2011100806245A CN 201110080624 A CN201110080624 A CN 201110080624A CN 102736865 A CN102736865 A CN 102736865A
Authority
CN
China
Prior art keywords
file
supplementary
distribution
xml formatted
xml
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011100806245A
Other languages
Chinese (zh)
Other versions
CN102736865B (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.)
Beijing Xinaote Intelligent Sports Innovation Development Co., Ltd.
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201110080624.5A priority Critical patent/CN102736865B/en
Publication of CN102736865A publication Critical patent/CN102736865A/en
Application granted granted Critical
Publication of CN102736865B publication Critical patent/CN102736865B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a system and a method for printing a distributed auxiliary information file. The printing system comprises: a distribution administration center for presenting the distributed auxiliary information in an xml-format file and generating the xml-format file of the distributed auxiliary information, wherein the xml-format file of the distributed auxiliary information comprises data contents of labels; a buffer unit for converting the xml-format file of the distributed auxiliary information into an html file according to a predefined style file, wherein the style file comprises definitions of the labels and style definitions of the data contents of the labels; and a printer for printing the html file of the distributed auxiliary file. The printing system has advantages of simple structure and good augmentability, and can be changed easily to meet new requirements for style.

Description

A kind of print system and method for distributing auxiliary information file
Technical field
The present invention relates to the information systems technology field, particularly, the data file that relates in the infosystem generates and printing technique.
Background technology
In the infosystem, relate to a large amount of forms in modern times, thus, relate to many technology relevant with form, for example report generation technology, form transmission technology, report printing technology, report display are technological or the like.
In many scenes, the distribution of form is wherein indispensable work.For form distribution, to distribute supplementary usually and can follow report data to generate together, the distribution supplementary comprises: for example form sequence number, time date of formation, project name, version number, customer ID, customer name, duplicating umber, priority or the like.For example, in the competitive sports infosystem in modern times, report printing need realize with the mode of distributed management, for each printing terminal, can receive the printing requirement from numerous competition gymnasiums and stadiums or single project.Except basic report data, also need distribute side information data.The related work personnel are after taking the form that prints, and meeting is duplicated form according to the distribution auxiliary information file and distributed.Therefore, the distribution auxiliary information file can be printed together with form itself as homepage, for related personnel's reference.
Usually, distribution has certain pattern requirement representing of auxiliary information file, for example, requires to demonstrate project name or show the client that corresponding form is distributed with the forms mode of a n*7 with No. three fonts of black matrix; And above-mentioned pattern requires and might in the project implementation, change, and for example, the project name that black matrix is represented changes the Song typeface into and perhaps changes the form of n*7 into n*5.
Current, the generation print job of distribution auxiliary information file and report file combines.Particularly, the report printing distributed architecture is made up of following parts in the prior art: maker, and it is a reusable assembly, can combine template and related data to generate corresponding document; The form transmitting terminal is used to gather the in-situ match data, drives maker and generates report file and send to distribution management center; Distribution management center is used to drive maker and generates printable distribution auxiliary information file, and while and report file are distributed to each printing terminal by configuration requirement together; Printing terminal: be used for printing reports file and distribution auxiliary information file.
In above-mentioned report printing distributed architecture; Need to be in advance distribution supplementary and Report Form Design template, generate printable file by maker again, though this makes whole distributed architecture seem simple in structure and easy to understand; But more be to have brought loaded down with trivial details work such as stencil design and data replacement; And in the process of the project implementation, the pattern of a little is revised all can bring very big workload, and extensibility is relatively poor.
Summary of the invention
The object of the invention is to provide a kind of system and method for print and distribute auxiliary information file, and it can keep distributing prints the simple in structure of framework, and has good extendability, can easily change to satisfy new pattern demand.
According to an aspect of the present invention, a kind of print system of distributing auxiliary information file is provided, has comprised:
Distribution management center is used for the distribution supplementary is represented with the xml formatted file, generates the xml formatted file of distribution supplementary, and the xml formatted file of wherein said distribution supplementary comprises the data content of label;
Snubber assembly, the xml formatted file that is used for will distributing through the pattern file supplementary converts the html file to, and wherein said pattern file comprises the pattern definition of data content of definition and the label of label;
Printer is used for the html file of print and distribute supplementary.
In said system, said snubber assembly also is used to delete said distribution supplementary and uses the xml formatted file after converting.
In said system, said snubber assembly comprises receiver module and operational module, wherein:
Said receiver module is used to receive the xml formatted file of said distribution supplementary, and converts its xml formatted file that will distribute supplementary through the pattern file to the html file;
Said operational module is used for the xml formatted file of said distribution supplementary is submitted to printer.
In said system, said snubber assembly comprises receiver module, file memory and operational module, wherein:
Said receiver module is used to receive the xml formatted file of said distribution supplementary; It is stored in said file memory; And convert its xml formatted file that will distribute supplementary through the pattern file to the html file; The xml formatted file of wherein said distribution supplementary has unique filename, generates the tab file corresponding with the xml formatted file of said distribution supplementary according to said filename, is used for sign and exists file to wait for printing;
Said file memory is a mass storage, and it is used to store the xml formatted file of said distribution supplementary;
Said operational module is used for the xml formatted file of said distribution supplementary is submitted to printer and changed said tab file and submit to the xml formatted file that identifies said distribution supplementary.
In said system, said snubber assembly is positioned at printer this locality.
According to a further aspect of the invention, a kind of Method of printing of distributing auxiliary information file is provided also, has comprised:
1) will distribute supplementary and represent with the xml formatted file, and generate the xml formatted file of distribution supplementary, the xml formatted file of wherein said distribution supplementary comprises the data content of label;
2) the xml formatted file that will distribute supplementary through the pattern file converts the html file to, and wherein said pattern file comprises the pattern definition of data content of definition and the label of label;
The html file of 3) print and distribute supplementary.
In said method, said step 2) after converting described in, also comprises the step of the xml formatted file of deleting said distribution supplementary.
The framework of said system is simple, and has good extendability, can easily change the last distribution auxiliary information file of being printed to satisfy new pattern demand through revising the pattern file.
Description of drawings
Fig. 1 is a print system block diagram according to the preferred embodiment of the invention;
Fig. 2 is a Method of printing process flow diagram according to the preferred embodiment of the invention;
Fig. 3 is the exemplary plot of a part of the xml file of distribution supplementary;
Fig. 4 is the display effect figure of the html file that generated through conversion of the xml file of distribution supplementary shown in Figure 3.
Fig. 5 is the exemplary plot of the part of the xsl file that is used to change.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing, to the print system and the method further explain of distributing auxiliary information file according to an embodiment of the invention.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In report printing distributed architecture of the present invention, identical with prior art about the part of report printing.The invention discloses improvement to the generation Method of printing of distribution auxiliary information file.Fig. 1 is a print and distribute system chart according to the preferred embodiment of the invention; This print and distribute system mainly comprises maker 101, form transmitting terminal 102, distribution management center 110, snubber assembly 120 and printer 130; Wherein snubber assembly 120 comprises receiver module 121, file memory 122 and operational module 123, and this snubber assembly 120 can be positioned at printer this locality.Maker 101 can combine report form template and related data to generate report file.Form transmitting terminal 102 is gathered the in-situ match data, drives maker and generates report file and send to distribution management center.Distribution management center 110 will be distributed supplementary and represented with the xml formatted file, generate the xml formatted file of distribution supplementary, and while and report file are distributed to each printing terminal by configuration requirement together.Snubber assembly 120 converts the html file to through the xml formatted file that pattern file * .xsl will distribute supplementary.The html file of printer prints report file and distribution supplementary.
Fig. 2 shows the method flow diagram that utilizes system print form shown in Figure 1 according to the preferred embodiment of the invention, and the method for above-mentioned printing reports as shown in the figure specifically comprises the steps:
Maker 101 can combine report form template and related data to generate report file.
Form transmitting terminal 102 is gathered the in-situ match data, drives maker and generates report file and send to distribution management center.
Distribution management center 110 is expressed the distribution side information data with the xml form, and is sent to file buffering device 120 with report file.
The packet that receiver module 121 receives from the distribution management center 110 of outside; Comprise report file and distribution side information data in the packet; Wherein report file can directly be printed; And the distribution side information data is not can existing by the typescripts form, but exists with the form of xml.Preferably, the xml file of each distribution side information data all has a unique id sign as filename, and for example global unique identification symbol (GUID) can for example be 827A1EDC-DA5D-424B-B269-E3399D6826EC particularly.Corresponding report file is also named with the identical file name; Make report file form corresponding one by one thus with the distribution management information file; One of ordinary skill in the art will appreciate that, also can adopt alternate manner to make report file be associated with the distribution management information file.
Receiver module 121 also will be distributed the xml file storage of supplementary in file memory 122.Preferably, this document storer 122 is in the mass storage in the local computing machine of printer, for example: disk, hard disk etc.
Receiver module 121 uses the xml switch technology then, and through predefined pattern file * .xsl, the xml that this is newly-generated converts corresponding html file to.Then, delete used xml file.
Fig. 3 shows the part from the example of the xml file of the distribution supplementary of distribution management center 110.The xml file description data content of label in some distribution supplementarys, for example: the data content of " Report Name " is " XXXX ".Fig. 4 shows the part of the pattern file * .xsl that is used to change.Comprise the definition of label in the xsl file, also comprise the pattern definition of the data content of label.For example; Shown in the xsl file; The definition that comprises " ReportName " in the distribution side information data with and width definition, also comprise the pattern definition of the data content of Report Name, the font style of " XXXX " that just shows among the html is defined as " x-large ".Similarly, any content that in html, will show can make in this way to be set, to satisfy the change request that exists in the project application fast.After the x-large font size style of removing Report Name respective value, " XXXX " will demonstrate the big or small style of acquiescence.In specific embodiment of the present invention, the conversion work of xml file is moved on to printing terminal, thereby decomposed the task burden of distribution management center.Because for distribution management center, the xml that produces data level is a thing easily, and concrete type style is transferred to printing terminal and gone to accomplish.
Fig. 5 shows the xml file of distribution supplementary shown in Figure 3 through changing the display effect of the html file that is generated.
Receiver module 121 also generates the tab file of a correspondence.In generating the process of tab file, adopt above-mentioned id sign as filename, produces 0 byte file that an expansion is called ext, the new distribution auxiliary information file that is used to identify an id by name is just being waited for printing.One of ordinary skill in the art will appreciate that ext only is a concrete example of extension name, can also adopt other extension name certainly, such as xxx, sss, kkk, abc or the like, as long as can distinguish with the extension name of xml and report file.
Whether there is new form to need to print in the operational module 123 cycle detection file memories 122, prints if having just report file to be submitted to corresponding distribution auxiliary information file.Standard that detects or method are exactly to check the file that whether has expansion ext by name.Detect the operation conditions of printer simultaneously; In case printer is in idle condition; Just will be according to the file of searching the expansion ext by name that stores at first storage time from file memory 122; And obtain the id sign of report file to be printed according to the filename of this document, thereby report file that should correspondence is submitted with corresponding distribution auxiliary information file and is printed to.
After submit to print accomplishing, the extension name of the tab file that operational module 123 will the ext by name of used expansion just changes fns into, is used to represent that respective file submitted printing to, avoids repeating next time submission.One of ordinary skill in the art will appreciate that, can also use other extension name, such as yyy, zxc, qwe or the like, as long as can distinguish with extension name, xml, html and this tab file change extension name before of report file.
The extension name of usage flag file is used as stamped mark and comes identification document to wait to print or printed to finish in the above-mentioned specific embodiment; One of ordinary skill in the art will appreciate that; Also can use the filename of file or internal file to be used as stamped mark; Accordingly, need to change the position of the id that preserves report file.
In the above-mentioned preferred embodiment, adopted mass storage to be used as buffer, effectively avoided receiving the defective of memory size restriction as buffer, and identified with logo file and to treat that typescripts is very efficient with internal memory.One of ordinary skill in the art will appreciate that, can adopt conventional printing type to accomplish print job, is the method for being instructed above adopting as long as generate the distribution side information data, equally can realize basic purpose of the present invention.Concrete; In impact damper, can there be mass storage 122; Therefore, also need not logo file, as long as receiver module 121 receives the xml formatted file of distribution supplementary; And convert the html file to through the xml formatted file that the pattern file will be distributed supplementary, directly submit to printing to get final product at last.
In the present invention; In conjunction with the xml correlation technique, to have transferred to printing terminal to the work that generates printable distribution auxiliary information file and done, this had both kept the simple in structure of original system; Simplified again to generate and realized; Be with good expansibility simultaneously, any new demand about pattern can satisfy through simple modification pattern file.
Should be noted that and understand, under the situation that does not break away from the desired the spirit and scope of the present invention of accompanying Claim, can make various modifications and improvement the present invention of above-mentioned detailed description.Therefore, the scope of the technical scheme of requirement protection does not receive the restriction of given any specific exemplary teachings.

Claims (7)

1. print system of distributing auxiliary information file comprises:
Distribution management center is used for the distribution supplementary is represented with the xml formatted file, generates the xml formatted file of distribution supplementary, and the xml formatted file of wherein said distribution supplementary comprises the data content of label;
Snubber assembly, the xml formatted file that is used for will distributing through predefined pattern file supplementary converts the html file to, and wherein said pattern file comprises the pattern definition of data content of definition and the label of label;
Printer is used for the html file of print and distribute supplementary.
2. system according to claim 1 is characterized in that, said snubber assembly also is used to delete said distribution supplementary and uses the xml formatted file after converting.
3. system according to claim 1 and 2 is characterized in that said snubber assembly comprises receiver module and operational module, wherein:
Said receiver module is used to receive the xml formatted file of said distribution supplementary, and converts its xml formatted file that will distribute supplementary through the pattern file to the html file;
Said operational module is used for the xml formatted file of said distribution supplementary is submitted to printer.
4. system according to claim 1 and 2 is characterized in that said snubber assembly comprises receiver module, file memory and operational module, wherein:
Said receiver module is used to receive the xml formatted file of said distribution supplementary; It is stored in said file memory; And convert its xml formatted file that will distribute supplementary through the pattern file to the html file; The xml formatted file of wherein said distribution supplementary has unique filename, generates the tab file corresponding with the xml formatted file of said distribution supplementary according to said filename, is used for sign and exists file to wait for printing;
Said file memory is a mass storage, and it is used to store the xml formatted file of said distribution supplementary;
Said operational module is used for the xml formatted file of said distribution supplementary is submitted to printer and changed said tab file and submit to the xml formatted file that identifies said distribution supplementary.
5. system according to claim 1 and 2 is characterized in that said snubber assembly is positioned at printer this locality.
6. Method of printing of distributing auxiliary information file comprises:
1) will distribute supplementary and represent with the xml formatted file, and generate the xml formatted file of distribution supplementary, the xml formatted file of wherein said distribution supplementary comprises the data content of label;
2) the xml formatted file that will distribute supplementary through the pattern file converts the html file to, and wherein said pattern file comprises the pattern definition of data content of definition and the label of label;
The html file of 3) print and distribute supplementary.
7. method according to claim 6 is characterized in that, said step 2) described in convert after, also comprise the step of the xml formatted file of deleting said distribution supplementary.
CN201110080624.5A 2011-03-31 2011-03-31 A kind of print system distributing auxiliary information file and method Expired - Fee Related CN102736865B (en)

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 true CN102736865A (en) 2012-10-17
CN102736865B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN110719376A (en) * 2018-07-11 2020-01-21 夏普株式会社 Image forming apparatus and control method
CN112486436A (en) * 2020-12-18 2021-03-12 上海中通吉网络技术有限公司 HTML dynamic filling data printing instruction generation method, system and printer

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN110719376A (en) * 2018-07-11 2020-01-21 夏普株式会社 Image forming apparatus and control method
CN112486436A (en) * 2020-12-18 2021-03-12 上海中通吉网络技术有限公司 HTML dynamic filling data printing instruction generation method, system and printer

Also Published As

Publication number Publication date
CN102736865B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
US8804172B2 (en) Non-transitory computer readable recording medium stored with printer driver updating program and printer driver updating method
US8035830B2 (en) Image forming system
RU2599535C2 (en) Print control device, printing system and print control method
US8355150B2 (en) Information processing apparatus, program product, and recording medium capable of appropriately executing an output process even when uninterpretable information is included in output setting information
JP5029327B2 (en) Print control device
US20070273923A1 (en) Information processing apparatus, print controlling method, program, and computer-readable storage medium
US9250846B2 (en) Print service providing apparatus that supplies conversion data and printing system including the same
CN102096568B (en) Method and system for presenting and configuring general printing parameters under distributed environment
CN107977171B (en) Print management apparatus and computer-readable medium storing print management program
US20070109581A1 (en) Information processing device and preview displaying method
CN101458615B (en) Information processing device, information processing device controlling method, and computer-readable recording medium
CN102736865A (en) System and method for printing distributed auxiliary information file
JP4685624B2 (en) Environment setting data setting method, environment setting data setting program, and print data supply device
US10514871B2 (en) Print management method and print management apparatus
US6781711B1 (en) Method and system for efficient transmittal and presentation of complex images
CN101211254B (en) Variable data image generating device, variable data image forming system and method used for generating variable data image
CN103473106B (en) Method and system for generating page
US20080313201A1 (en) System and method for compact representation of multiple markup data pages of electronic document data
JP6106939B2 (en) Printing control apparatus, printing apparatus, printing system, and printing control method
JP2003285475A (en) Printer and printing system
CN103179308B (en) Image processing system and image forming method
JP2008186165A (en) Embedded font removal method
CN102981789B (en) Printing control device and image formation system
CN102722484A (en) A file-buffering method, a device thereof and application thereof
JP4572172B2 (en) Image forming apparatus and printing system for high-speed printing

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