CN104679453B - The general-purpose system and method for a kind of Data Enter, storage and Typeset and Print - Google Patents
The general-purpose system and method for a kind of Data Enter, storage and Typeset and Print Download PDFInfo
- Publication number
- CN104679453B CN104679453B CN201310643159.0A CN201310643159A CN104679453B CN 104679453 B CN104679453 B CN 104679453B CN 201310643159 A CN201310643159 A CN 201310643159A CN 104679453 B CN104679453 B CN 104679453B
- Authority
- CN
- China
- Prior art keywords
- data
- template
- typing
- interface
- database
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
The present invention provides the general-purpose system and method for a kind of Data Enter, storage and Typeset and Print, and described general-purpose system includes:Interface control module, database storage module and printing control model, described interface control module is responsible for receiving the typing of user and typing information is checked, the interface typing content of described interface control module is passed to the database storage module by specific data structure and stored, after database preserves successfully, data are passed to the printing control model by specific data structure again, and above-mentioned specific data structure is MAP.The system of the present invention can reach the purpose of seamless connection, be greatly reduced due to the coupling between module.
Description
Technical field
It is more particularly to a kind of to be based on WinCE the present invention relates to the general-purpose system of a kind of Data Enter, storage and Typeset and Print
The general-purpose system and method for the customizable Data Enter of platform, storage and Typeset and Print.
Background technology
Embedded product increasingly develops to color screen, tangible direction at present, and user, which uses, also to be become closer to
In PC.WinCE platform is one kind in such embedded product, with its small power consumption, hardware device is required it is low and by conduct
Embedded device development platform, is widely used in industrial production.Exactly because above feature so that we put down WinCE
Platform is possibly realized for manufacturing a embedded invoice issuing equipment.
In order to allow product using sensuously closer in PC, user is allowed to feel that use is more comfortable, this requires product
Existing Windows operating system, fraternal products of the WinCE as Windows, use habit are followed in typing and use habit
The inherently Windows on relatively similar PC.But in terms of being used as embedded product, screen and memory capacity and arithmetic speed still
It is so far away from PC.
Therefore, how the deficiencies in the prior art to be solved, it is desirable in limited screen, the substantial amounts of content of display content, and
And display content is different with different users, database also preserves most useful data for user as far as possible, is this
Where the research direction of art personnel.
The content of the invention
The main object of the present invention is to provide the general-purpose system and method for a kind of Data Enter, storage and Typeset and Print, its
A kind of solution of general dynamic and configurable, this programme can solve the problem that user beats in user interface, database purchase, typesetting
Print in volume of data operation, the problem of how effectively transmitting and preserve data.
In order to achieve the above object, the present invention provides the general-purpose system of a kind of Data Enter, storage and Typeset and Print, and it is special
Sign is that it includes:Interface control module, database storage module and printing control model, described interface control module are born
The typing that duty receives user simultaneously checks typing information that the interface typing content of described interface control module passes through specific
Data structure is passed to the database storage module and stored, and after database preserves successfully, data pass through specific data knot again
Structure is passed to the printing control model, and above-mentioned specific data structure is MAP.
Wherein, the initial source of all information of described interface control module is typing template file, according in template
Hold the data in generation template data area, the data retain for a long time as the data of most original, and are given birth to according to the data
Into two parts data, Part I is interface data, and for preserving interface control information and interface logging data, Part II is
Internal storage data, for preserving the data corresponding with interface data.
Wherein, described interface control module includes interface template file, and interface template file content includes:Page size
Information, page display format and several control information nodes.
Wherein, described database storage module includes database template file, database storage module receive data it
Afterwards, sql sentences are generated according to the fixed Data field names of database template document and data items storing position, according to mould
The difference of plate content, different sql sentences can be generated.
Wherein, described database template file record keyword and data storage location coordinate, data field name by
Keyword in described database template determines, identical with the keyword in typing template, as unique identity,
Used in data transfer.
Wherein, described printing control model includes printing template file, and the printing template file content includes pass
Key word and coordinate, the word of pre-print is obtained during printing according to keyword, further according to printing coordinates regional in image-region
Draw word.
In order to achieve the above object, a kind of method that the present invention provides Data Enter, storage and Typeset and Print, it is included such as
Lower step:
The information to be printed is analyzed, makes typing template;
Confirm that input interface is transmitted through the data come, carry out the making of database template;
The data and ticket information being passed to according to input interface, make printing template;
After above-mentioned typing template, database template and printing template make and finished, record can be shown after startup program
Enter interface, carry out data inputting, then by parameter testing it is errorless after, data are transmitted in generation;
Receive after transmitting data, the storage location in template is read according to MAP keyword, generation sql completes database
Operation carries out data warehousing;
Receive after transmitting data, according to Template Information, carry out the typesetting and printing of print data.
Wherein, in the step of analysis information to be printed, making typing template, the information to be printed is analyzed, and be directed to
The data of manual typing are needed, perform following sub-step:
By one keyword of each data layout;
For the type of logging data, the form of typing control is set;
Design the coordinate of each typing control in input interface, including starting point coordinate and width height;
For the property of typing content, design review (check) (DR) item;
Design interface fixes word, and this kind of fixed word needs to set content values and coordinate value, without designated key
Word;
The designed data generation typing template file more than.
Wherein, confirming that input interface is transmitted through the data come, be to confirm in the step of carrying out the making of database template
Input interface is transmitted through in next data, and which data will be saved in database, according to the keyword in incoming data, is divided
The making of the database template is completed with corresponding database column.
Wherein, the data and ticket information being passed to according to input interface, making printing template includes following sub-step:
The data being passed to according to input interface, print position, including starting point coordinate and width height are calculated according to its data content;
Determined whether to fix word according to ticket information, for fixed word, add corresponding coordinate value in a template
With content values.
Compared with prior art, the beneficial effects of the present invention are:
The present invention is strong by using row, first using template form as input parameter, for the specific file format of template
No requirement (NR), during file format difference, it is only necessary to which the conversion work of template file type can be completed by changing template file parsing module
Make.
Secondly the verification scalability to data in the recording module of interface is strong, if the content of increase CHECK fields, then
Increase the function that corresponding parameter testing processing can reach extension inspection project in interface display and access module, be not directed to
Specific variable is increased, and further increases the durability and autgmentability of code.Conventional program entry project is to compile
Fix, can not be changed at any time according to the situation of different clients during program writing.
And the preservation of data be by template contral, can so ensure the data being each saved be it is valuable,
In the absence of useless data.This ensure that maximally effective data are preserved in limited memory space.And without existing in advance
Largely possible field is set in database, also saves the field design work of database.
Print job uses template form, convenient to use third-party template development too development, reaches visual and beats
Die plate designs, and greatly improves the desin speed and quality of template.
Finally when data are transmitted to other modules, using MAP form transmission, it is possible to prevente effectively from being repaiied because parameter increases
The problem of changing routine interface, as long as function internal needle operates to corresponding KEY values, either how much is number of parameters, can
Disposable transmit is completed.Simultaneously because for new legacy code, legacy code is due to that without using relevant variable, can ignore newly-increased change
Amount, and then the purpose of seamless connection can be reached, it is greatly reduced due to the coupling between module.
Brief description of the drawings
Fig. 1 is each module of the general-purpose system of a kind of Data Enter of one embodiment of the invention, storage and Typeset and Print
And entity relationship diagram;
Fig. 2 is the text box of the general-purpose system of a kind of Data Enter of one embodiment of the invention, storage and Typeset and Print
Display figure;
Fig. 3 shows for the form of the general-purpose system of a kind of Data Enter of one embodiment of the invention, storage and Typeset and Print
Diagram;
Fig. 4 beats for the invoice of the general-purpose system of a kind of Data Enter of one embodiment of the invention, storage and Typeset and Print
Print flow chart;
Fig. 5 is the method flow diagram of a kind of Data Enter of one embodiment of the invention, storage and Typeset and Print.
Embodiment
Below in conjunction with accompanying drawing, the forgoing and additional technical features and advantages are described in more detail.
A kind of as shown in figure 1, general-purpose system of Data Enter, storage and the Typeset and Print provided by the embodiment of the present invention
Each module and entity relationship diagram;
A kind of Data Enter of the present invention, the general-purpose system of storage and Typeset and Print include:Interface control module, database
Memory module and printing control model, above-mentioned each module are transmitted by specific data structure, the specific data structure
It is to pass through MAP(MAP is an associated container, and it provides man-to-man data-handling capacity, wherein first number is stated to be key
Word, represented with Key, each keyword can only occur once in the map, and second number is stated to be the value of the keyword)Sent out
Ticket print data is transmitted.
Described interface control module, it is used to be responsible for the typing of reception user and typing information checked, typing
Packet which project to be by template contral, while also comprising setting control type, coordinate, parameter etc. in template file containing
Information.These information determine the appearance and input form that end interface is shown.Then template file after parsing by reading in, mould
Plate content is stored in template data area, is used for being subsequently generated when interface data and interface data verify.According to having been read into
Template data, generate specific input interface, afterwards by after page analysis show needed for interface, this display module being capable of root
Appropriate content of pages is shown according to the page, while when the page has Data Enter, the check item in template, checks typing letter
Whether breath is correct.When logging data is correct, then it is saved into interface data area.
The interface control module is called first when program starts, and reads in typing template file content, starts in program
Shi Shengcheng specifies control.Control location is arranged from small to large for ordinate.Every page of screen ranges are 330 pixels.Work as ordinate
During more than 330, lower one page is automatically displayed in.I.e. 0~330 is shown in first page, and 331~660 are shown in second page, with such
Push away.
After client's typing information, typing project is checked according to parameter configured in CHECK.When not meeting
It is required that when prompt corresponding error message.For there is the variable calculated automatically, then automatic conversion is carried out according to typing information.
The preservation of variable is deposited in the form of MAP.MAP is a kind of to be stored in using keyword and the value of typing as a pair of information
Method in region of data storage.This method can quickly read the value of variable according to keyword, become in speed with tradition
Amount is the same, but scalability is very strong.
The variable preserved in the form of MAP is common to three function moulds being related in the present invention(Interface control module, database
Memory module, printing control model).In the MAP data of interface control module generation, it is corresponding that content contains all typing information
Key and value.The data pass to next module, data memory module as parameter
Typing content in interface is by specific data structure incoming data library storage module, and database storage module is mould first
Plate file after parsing by being stored in template data area.Stored further according to the data field name specified by template and data items
Position carries out data preservation.
After database preserves successfully, data are passed to printing control model, printing control model by specific data structure again
Corresponding template file is similar with interface, and coordinate and alignment thereof are included in template file.Tickets sample picture is first loaded into during printing,
Then printing template file is read, after parsing, all elementary picture areas are signed on tickets sample picture successively, will be finished after allowing
Tickets sample picture be converted to print data send to printer complete printing invoice.
Above-mentioned interface control module, database storage module and printing control model is related separately to three template texts
Part:Typing template file, database template file, printing template file.
All it is typing template file in the initial source of all information of interface control module, template is generated according to template content
Data in data field.This partial data retains for a long time as the data of most original, and generates two according to this partial data
Divided data, Part I are interface datas, for preserving the content such as interface control information and interface logging data.Part II is
Internal storage data, for preserving data corresponding with interface data, but without coordinate in content, without information such as controls,
It is simple data.
When needing display, the content for needing to show is calculated according to the page number, is shown by changing association attributes.And
When having typing at interface, after being checked by series of parameters, it is saved in interface data.
When needing to pass to database storage module formula module, first synchronization interface data with it is interior in internal storage data
Hold, then the data in internal memory are assembled according to specified form, generate the parameter of transmission.
After database storage module receives data, according to the Data field names and data items storing specified in template
Position generates sql sentences, according to the difference of template content, can generate different sql sentences.
Database storage finishes and then data transfer to printing control model.In printing control model, create first
The image-region of blank is built, is then loaded into tickets sample picture, so far creates the base image of printing invoice.Then printing template
Each project name and its coordinate in file are read out, and data are signed on image-region according to coordinate.All fields are all
After finishing, image is taken out and is converted to print data, send printer printing to.
The template file of the present invention can be ini file, txt file, xml document etc..But the present invention using xml document as
Example, interface template file, database template file and printing template file are described in detail individually below:
Interface template file content should include:Page size information, page display format and several control information nodes.
Page size information includes the size of the display page, in units of pixel.
Page display format is divided into that text box is shown and form shows two kinds, can choose at random as needed, but one
Interface internal can only have a kind of style.(As shown in Fig. 2 it is text box display figure, as shown in figure 3, being form display figure).
Control information node content and it is described as follows:
<Text>
<KEY>Key1</KEY>Keyword, for distinguishing the unique identity of different controls
<nType>1</nType> 1:Static text 2:Text box 3:Combo box
<nX>20</nX>Coordinate x
<nY>40</nY>Coordinate y
<nW>136</nW>Coordinate is wide
<nH>40</nH>Coordinate is high
<content>Acquiescence shows word</content>Give tacit consent to word
<CHECK></CHECK>NotNull:1;It can not be sky
MaxLength:52;The character of maximum length 52
Number:1;It can only be numeral
Select:It is, it is no;Option during combo box, distinguished with ', '
AutoChage_Target:ZBR_C;Automatic conversion is done for input content
Conversion object output keyword
AutoChage_Value:It is~Y, no~N;Done automatically for input content
The transformation rule of conversion, ', ' distinguish corresponding relation.'~', distinguishes word and word after conversion before conversion
Multline:1;Multline text, when input frame is more than 2 rows, formulates mark meeting word wrap and show
MaxGoodsCount:3;The commodity row upper limit is set as 3 rows, and this keyword can only be arranged on the first of SPMX nodes
In individual child node
DecimalCount:4;Digit after setting decimal point
MoreThan:0;Input numeral, which is more than, specifies numerical value, and numerical value is float types
NoMoreThan:0;Input numeral is less than or equal to specify numerical value
LessThan:0;Input numeral, which is less than, specifies numerical value
NoLessThan:0;Input numeral, which is more than or equal to, specifies numerical value
</Text>
There are multiple above-mentioned node contents in one template file, each node represents a control.
● keyword KEY
The keyword identification title of variable, by this title can determine each variable, and various operations afterwards need
When corresponding to specifying variable, determined by the KEY values in this field.
● types of variables nType
Types of variables determines the type of display, when the types of variables is 1, represents that static text is shown.Work as variable
When type is 2, represent that text box is shown.When types of variables is 3, the type for representing display is combo box.It is directed to simultaneously
When variable is 3, the Select parameters of the content of combo box in CHECK fields determine.Said after specific CHECK explanation of fields
It is bright.
● coordinate nX nY nW nH
This coordinate determines the position of each control on display interface.NX, nY determine that the upper left corner that control is shown is sat
Mark.NW, nH determine the wide and high of control.When to show hiding control, then this four variables are both configured to 0.
● acquiescence word content
What acquiescence word preserved here is the default value of variable, when showing some specific word on interface, as long as
The word to be shown is set and arrived in this field, types of variables is then arranged to 1 static text, you can added on interface
The word of display, without changing program.
● check field CHECK
The field has following parameter, is described as follows:
Database template file record keyword and data storage location coordinate.
<Text>
<KEY>FPDM</KEY>Keyword, for distinguishing the unique identity of different controls
<content>FPDM</content>Data storage position
</Text>
Data field name is determined by the keyword in template, identical with the keyword in typing template, as unique body
Part mark, is used in the data transmission.
● keyword KEY
The keyword identification title of variable, by this title can determine each variable, and various operations afterwards need
When corresponding to specifying variable, determined by the KEY values in this field.
● data storage position content
Here character string represents the row name that the data will be stored in database.For different regions, if
Different data will change storage location, as long as changing corresponding KEY or content.Without reprogramming.
Printing template file
<Text>
<KEY>Key1</KEY>Keyword, for distinguishing the unique identity of different controls
<nX>20</nX>Coordinate x
<nY>40</nY>Coordinate y
<nW>136</nW>Coordinate is wide
<nH>40</nH>Coordinate is high
<content>Acquiescence shows word</content>Printing character
</Text>
The operation principle of printing template is similar to Interface Control template file, obtains pre-print according to keyword during printing
Word, word is drawn in image-region further according to the coordinates regional of printing.
● keyword KEY
The keyword identification title of variable, by this title can determine each variable, and various operations afterwards need
When corresponding to specifying variable, determined by the KEY values in this field.
● types of variables nType
Type element type, 0 represents printing character, and 1 represents printing curve
● coordinate nX nY nW nH
This coordinate determines the position of each control on display interface.NX, nY determine that the upper left corner of printing character is sat
Mark.NW, nH determine the wide and high of control.
● printing character content
The data content for needing to print is deposited in the field., can be with if acquiescence will increase fixation word in printing
The relevant information of the keyword is specified in printing template, you can the automatic printing in printing.
Above-mentioned interface control module is called first when program starts, and typing template file content is read in, in program
Generated during startup and specify control.Control location is arranged from small to large for ordinate.Every page of screen ranges are 330 pixels.When vertical
When coordinate is more than 330, lower one page is automatically displayed in.I.e. 0~330 is shown in first page, and 331~660 are shown in second page, with this
Analogize.
After client's typing information, typing project is checked according to parameter configured in CHECK.When not meeting
It is required that when prompt corresponding error message.For there is the variable calculated automatically, then automatic conversion is carried out according to typing information.
The preservation of variable is deposited in the form of MAP.MAP is a kind of to be stored in using keyword and the value of typing as a pair of information
Method in region of data storage.This method can quickly read the value of variable according to keyword, become in speed with tradition
Amount is the same, but scalability is very strong.
The variable preserved in the form of MAP is common to three function moulds being referred to herein(Interface control module, data stock
Store up module, printing control model).In the MAP data of interface control module generation, content is contained corresponding to all typing information
Key and value.The data pass to next module, data memory module as parameter.
Above-mentioned database storage module reads in template file after the data of interface control module transmission are received.In mould
When plate file is read, each node for being successively read in database template file, by the keyword of node from Interface Control mould
Reading numerical values in the MAP that plate passes over, the storage location splicing sql sentences in template file.Such as:In parameter MAP
Preserve be<FPDM,123456>Such a pair of data, according to this keyword of FPDM, from parameter MAP getting numerical value is
" 123456 ", the part for splicing sql sentences afterwards are:FPDM=‘123456’.After traveling through the node in all template files,
Generate the sql sentences completed.Finally perform the operation of the addition of sql sentences database or modification.
In database manipulation success and then the MAP data transfers that transmission is come in printing control model, printed
Operation.
Template file content used in above-mentioned print control template includes keyword and coordinate, first by tickets sample figure
Piece is loaded into internal memory, then by parsing printing template file, the information of each printing character is successively read, according to each text
The respective particular community of print area of word, generate elementary picture areas and sign in them on tickets sample picture, realize that word is arranged
Version, setting-out and picture shape, invoice image is generated afterwards.After generating invoice image, according to the invoice view data color of each
Value, dot array data is converted to by invoice image, right according to the page properties in printing template file in data conversion process
Print data enter line displacement, rotation etc. operation, as print data can not be completed on an invoice paper print, system can automatically by
Print data carries out paging.The dot array data of generation is sent to printer by final system, completes printing invoice.(Such as Fig. 4 institutes
Show, be printing invoice flow chart of the present invention)
As shown in figure 5, for the method for a kind of Data Enter of the present invention, storage and Typeset and Print, it comprises the following steps:
Step S1:Typing template is made, it first has to analyze in the information to be printed, and it is to need hand to contain which information
Work typing, which is fixed word, the data for needing manual typing, does and operates, it includes following sub-step:
Step S11:By one keyword of each data layout;
Step S12:For the type of logging data, the form of typing control is set;
Step S13:Design the coordinate of each typing control in input interface, including starting point coordinate and width height;
Step S14:For the property of typing content, such as design review (check) (DR) item, maximum length, if for pure digi-tal etc.;
Step S15:Design interface fixes word, and this kind of word needs to set content values and coordinate value, closed without specifying
Key word;
Step S16:The designed data generation typing template file more than.
Step S2:Database template is made, is that input interface to be confirmed is transmitted through in next data in this step, which number
According to database to be saved in, according to the keyword in incoming data, this can be completed by distributing corresponding database column name
The making of template.
Step S3:Printing template is made, it includes following sub-step:
Step S31:The data being passed to according to input interface, print position is calculated according to its data content, including starting point is sat
Mark and width are high.
Step S32:Determined whether to fix word according to ticket information, for fixed word, addition is corresponding in a template
Coordinate value and content values.
Step S4:Data inputting, after above three template construct finishes, typing circle can be shown after startup program
Face, corresponding information is inputted in corresponding typing inframe.After full detail typing, that is, complete Data Enter work, Ran Houtong
Cross parameter testing it is errorless after, generation transmit data.
Step S5:Data warehousing is carried out, is received after transmitting data, the bit of storage in template is read according to MAP keyword
Put, generation sql completes database manipulation.The transmission data received, printing control model is issued.
Step S6:Carry out data-printing, receive after transmitting data, according to Template Information, carry out print data typesetting and
Printing.
In summary, the present invention is strong by using row, first using template form as input parameter, for the specific of template
File format no requirement (NR), during file format difference, it is only necessary to which template file type can be completed by changing template file parsing module
Conversion work.
Secondly the verification scalability to data in the recording module of interface is strong, if the content of increase CHECK fields, then
Increase the function that corresponding parameter testing processing can reach extension inspection project in interface display and access module, be not directed to
Specific variable is increased, and further increases the durability and autgmentability of code.Conventional program entry project is to compile
Fix, can not be changed at any time according to the situation of different clients during program writing.
And the preservation of data be by template contral, can so ensure the data being each saved be it is valuable,
In the absence of useless data.This ensure that maximally effective data are preserved in limited memory space.And without existing in advance
Largely possible field is set in database, also saves the field design work of database.
Print job uses template form, convenient to use third-party template development too development, reaches visual and beats
Die plate designs, and greatly improves the desin speed and quality of template.
Finally when data are transmitted to other modules, using MAP form transmission, it is possible to prevente effectively from being repaiied because parameter increases
The problem of changing routine interface, as long as function internal needle operates to corresponding KEY values, either how much is number of parameters, can
Disposable transmit is completed.Simultaneously because for new legacy code, legacy code is due to that without using relevant variable, can ignore newly-increased change
Amount, and then the purpose of seamless connection can be reached, it is greatly reduced due to the coupling between module.
It is described above to be merely exemplary for the purpose of the present invention, and it is nonrestrictive, and those of ordinary skill in the art understand,
In the case where not departing from the spirit and scope that claim is limited, can many modifications may be made, change or equivalent, but will all fall
Enter within protection scope of the present invention.
Claims (9)
1. the general-purpose system of a kind of Data Enter, storage and Typeset and Print, it is characterised in that it includes:Interface control module, number
According to library storage module and printing control model, described interface control module is responsible for receiving the typing of user and typing information is entered
Row checks that the interface typing content of described interface control module is passed to the database storage module by specific data structure
Stored, after database preserves successfully, data are passed to the printing control model, above-mentioned spy by specific data structure again
It is MAP to determine data structure, wherein, the initial sources of all information of described interface control module is typing template file, root
According to the data in template content generation template data area, the data retain for a long time as the data of most original, and according to institute
To state data and generate two parts data, Part I is interface data, for preserving interface control information and interface logging data, the
Two parts are internal storage datas, for preserving the data corresponding with interface data.
2. the general-purpose system of a kind of Data Enter according to claim 1, storage and Typeset and Print, it is characterised in that institute
The interface control module stated includes interface template file, and interface template file content includes:Page size information, the page show shape
Formula and several control information nodes.
3. the general-purpose system of a kind of Data Enter according to claim 1, storage and Typeset and Print, it is characterised in that institute
The database storage module stated includes database template file, after database storage module receives data, according to database mould
The fixed Data field names of plate document and data items storing position generation sql sentences, according to the difference of template content, energy
Generate different sql sentences.
4. the general-purpose system of a kind of Data Enter according to claim 3, storage and Typeset and Print, it is characterised in that institute
The database template file record stated keyword and data storage location coordinate, data field name is by described database template
In keyword determine, it is identical with the keyword in typing template, as unique identity, use in the data transmission.
5. the general-purpose system of a kind of Data Enter according to claim 1, storage and Typeset and Print, it is characterised in that institute
The printing control model stated includes printing template file, and the printing template file content includes keyword and coordinate, printing
When according to keyword obtain pre-print word, word is drawn in image-region further according to the coordinates regional of printing.
6. a kind of method of Data Enter, storage and Typeset and Print, it is characterised in that it comprises the following steps:
The information to be printed is analyzed, makes typing template;
Confirm that input interface is transmitted through the data come, carry out the making of database template;
The data and ticket information being passed to according to input interface, make printing template;
After above-mentioned typing template, database template and printing template make and finished, typing circle can be shown after startup program
Face, carry out data inputting, then by parameter testing it is errorless after, generation transmit data;
Receive after transmitting data, the storage location in template is read according to MAP keyword, generation sql completes database manipulation
Carry out data warehousing;
Receive after transmitting data, according to Template Information, carry out the typesetting and printing of print data.
7. the method for a kind of Data Enter according to claim 6, storage and Typeset and Print, it is characterised in that analyzing
The information to be printed, in the step of making typing template, the information to be printed is analyzed, and for needing the data of manual typing,
Perform following sub-step:
By one keyword of each data layout;
For the type of logging data, the form of typing control is set;
Design the coordinate of each typing control in input interface, including starting point coordinate and width height;
For the property of typing content, design review (check) (DR) item;
Design interface fixes word, and this kind of fixed word needs to set content values and coordinate value, without nominal key;
The designed data generation typing template file more than.
8. the method for a kind of Data Enter according to claim 6, storage and Typeset and Print, it is characterised in that confirming
Input interface is transmitted through the data come, and is the number that input interface to be confirmed is transmitted through coming in the step of carrying out the making of database template
In, which data will be saved in database, and according to the keyword in incoming data, it is complete to distribute corresponding database column
Into the making of the database template.
9. the method for a kind of Data Enter according to claim 6, storage and Typeset and Print, it is characterised in that according to record
Enter interface incoming data and ticket information, making printing template includes following sub-step:
The data being passed to according to input interface, print position, including starting point coordinate and width height are calculated according to its data content;
Determined whether to fix word according to ticket information, for fixed word, add in a template corresponding coordinate value and
Content values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310643159.0A CN104679453B (en) | 2013-12-03 | 2013-12-03 | The general-purpose system and method for a kind of Data Enter, storage and Typeset and Print |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310643159.0A CN104679453B (en) | 2013-12-03 | 2013-12-03 | The general-purpose system and method for a kind of Data Enter, storage and Typeset and Print |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104679453A CN104679453A (en) | 2015-06-03 |
CN104679453B true CN104679453B (en) | 2018-01-16 |
Family
ID=53314586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310643159.0A Active CN104679453B (en) | 2013-12-03 | 2013-12-03 | The general-purpose system and method for a kind of Data Enter, storage and Typeset and Print |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104679453B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105589686B (en) * | 2014-11-14 | 2021-03-02 | 航天信息股份有限公司 | Template-based information input and printing method and device under WinCE platform |
CN105677777B (en) * | 2015-12-31 | 2019-04-12 | 北京奇禄管理咨询有限公司 | Dot matrix encodes document generating method |
CN109783037A (en) * | 2019-01-02 | 2019-05-21 | 上海济强电子科技有限公司 | A kind of instruction of print control and control method |
CN110457364B (en) * | 2019-07-10 | 2024-05-14 | 平安科技(深圳)有限公司 | User information view generation method and device |
CN110851441A (en) * | 2019-10-12 | 2020-02-28 | 重庆金融资产交易所有限责任公司 | Data storage method and related equipment |
CN111340038B (en) * | 2020-05-20 | 2020-08-21 | 四川新网银行股份有限公司 | Disposable image data acquisition method for MOCK test |
CN112162714B (en) * | 2020-12-03 | 2021-03-12 | 广州市玄武无线科技股份有限公司 | Printing method, device and equipment for dynamic configuration page |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6961710B1 (en) * | 1999-03-10 | 2005-11-01 | Seiko Epson Corporation | Method for billing for advertisements printed on check-out receipts |
CN102074080A (en) * | 2009-11-25 | 2011-05-25 | 航天信息股份有限公司 | Customization and management method of visual management invoice template |
CN102193922A (en) * | 2010-03-04 | 2011-09-21 | 杭州华三通信技术有限公司 | Method and device for accessing database |
CN102722899A (en) * | 2012-05-28 | 2012-10-10 | 重庆大学 | Positioning printing system for report |
CN102903171A (en) * | 2012-09-21 | 2013-01-30 | 山东电力集团公司物资供应公司 | Self-service type intelligent entering checking invoice processing system and method |
-
2013
- 2013-12-03 CN CN201310643159.0A patent/CN104679453B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6961710B1 (en) * | 1999-03-10 | 2005-11-01 | Seiko Epson Corporation | Method for billing for advertisements printed on check-out receipts |
CN102074080A (en) * | 2009-11-25 | 2011-05-25 | 航天信息股份有限公司 | Customization and management method of visual management invoice template |
CN102193922A (en) * | 2010-03-04 | 2011-09-21 | 杭州华三通信技术有限公司 | Method and device for accessing database |
CN102722899A (en) * | 2012-05-28 | 2012-10-10 | 重庆大学 | Positioning printing system for report |
CN102903171A (en) * | 2012-09-21 | 2013-01-30 | 山东电力集团公司物资供应公司 | Self-service type intelligent entering checking invoice processing system and method |
Also Published As
Publication number | Publication date |
---|---|
CN104679453A (en) | 2015-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104679453B (en) | The general-purpose system and method for a kind of Data Enter, storage and Typeset and Print | |
CN101322121B (en) | Method and system for implementing demixing process of document, device and document library system | |
Ekstrom | R Primer | |
US20040221233A1 (en) | Systems and methods for report design and generation | |
US5966127A (en) | Graph processing method and apparatus | |
CN101968800A (en) | Metadata driving based method for realizing dynamic form | |
CN109657204A (en) | Use the automatic matching font of asymmetric metric learning | |
CN105589686B (en) | Template-based information input and printing method and device under WinCE platform | |
US9619445B1 (en) | Conversion of content to formats suitable for digital distributions thereof | |
US20080114797A1 (en) | Importing non-native content into a document | |
US8060490B2 (en) | Analyzer engine | |
CN114691712A (en) | Method and device for generating bill and storage medium | |
WO2011074942A1 (en) | System and method of converting data from a multiple table structure into an edoc format | |
US20080263440A1 (en) | Transformation of Versions of Reports | |
Mädje | A Programmable Markup Language for Typesetting | |
CN1329810C (en) | General method for printing and drawing graphics document, dynamic link-base | |
CN107273533A (en) | A kind of all-key table Multidimensional numerical intersection search method and device | |
JP5579086B2 (en) | Check sheet registration system | |
CN112949274A (en) | Document data entry method and system | |
CN1979479B (en) | File processing system and file processing method | |
CN108459835A (en) | Information processing unit | |
Battalio | Extensible Markup Language: How might it alter the software documentation process and the role of the technical communicator? | |
Chase | XML primer plus | |
JP3786436B2 (en) | Table generation processing apparatus and method | |
CN111881696B (en) | CML-to-chemical Braille conversion system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |