CN107943426A - Document page-by-page printing method, document print page system and computer installation - Google Patents
Document page-by-page printing method, document print page system and computer installation Download PDFInfo
- Publication number
- CN107943426A CN107943426A CN201710951342.5A CN201710951342A CN107943426A CN 107943426 A CN107943426 A CN 107943426A CN 201710951342 A CN201710951342 A CN 201710951342A CN 107943426 A CN107943426 A CN 107943426A
- Authority
- CN
- China
- Prior art keywords
- page
- document
- data
- printing
- array
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1205—Improving or facilitating administration, e.g. print management resulting in increased flexibility in print job configuration, e.g. job settings, print requirements, job tickets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1241—Dividing a job according to job requirements, e.g. black/white and colour pages, covers and body of books, tabs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Record Information Processing For Printing (AREA)
Abstract
The present invention, which proposes a kind of document page-by-page printing method, document print page system, computer installation and computer-readable recording medium, wherein document page-by-page printing method, to be included:The array of data of the data field binding of printing template is obtained, array of data includes the data of institute's documentary;The data of each document in array of data are parsed, paging is carried out to each document, obtains page cache array;Page cache array is carried out Print Preview on web page to show;Print command is sent to printer, to control printer printing institute documentary.The present invention is directed to the application scenarios of document bulk print, without downloading third party control, makes print service more flexible, realizes significantly more efficient bills data print page, more time saving and energy saving, meets personalized customization printing demand of the user to document.
Description
Technical field
The present invention relates to document printing technique field, in particular to a kind of document page-by-page printing method, document paging
Print system, computer installation and computer-readable recording medium.
Background technology
With enterprise's application interconnection networking and ToB (To Business) business innovation, the printing clothes that existing enterprise uses
Business is usually bound completely with application or system, is not only difficult to meet the diversified print scene demand of enterprise customer, but also can allow
Many developers it is tired in tackle concurrency performance, plug-in unit installation, system compatible the problems such as.
Wherein, cloud printing is used as a kind of PaaS (Platform as a Service, platform service) publicly-owned cloud service,
There is provided towards enterprise-class tools with printing relevant platform, application, instrument and service, fully meet personalization of the user to document
Customizing print demand.In print service based on web, maximum difficult point be how according to customization template content parse number
According to, so that the printing document of personalization is generated, and realization accurately prints.In practical applications, it is frequently encountered document paging
The scene of printing, such as bulk print expense report, buying detail form, personal information table, it is desirable to which the content of each document is printing
Shi Duli is into page.Had much based on web (World Wide Web, WWW) page print scheme in correlation technique:(1) use
The printing function that browser carries.In the program, browser comes from according to the page-size of user setting and the number of web content
Row determines paging position, it is difficult to which people is in order to control, and cannot continuously print multiple documents.(2) pdf file printouts, i.e. web are used
Pdf file streams are downloaded in front end from server, are opened and are printed using Adobe plug-in units.Although the program can substantially meet requirement,
But need to download Adobe plug-in units.(3) method based on third party control is relatively time-consuming to take, it is necessary to download third party control
Power.
And under the application scenarios of bulk print, print service web page disposably gets the data of multiple documents,
Data parsing is carried out for a printing template.Print service in correlation technique presses data after printing template is parsed
According to sequencing, the relevant position for inserting template line by line from top to bottom, when a piece of paper is by data row (i.e. in actual printing
Hold) fill up after just carry out paging, do not have the function by document paging.But existing web terminal two-page separation function, all it is mostly
The mode filled using empty data row, the paging of document is realized by calculating and controlling the size that the page is shown.Therefore, it is existing
Paging method use upper very flexible, it is impossible to meet the diversity requirement of user.
The content of the invention
It is contemplated that at least solve one of technical problem present in the prior art or correlation technique.
For this reason, one aspect of the present invention is to propose a kind of document page-by-page printing method.
Another aspect of the present invention is to propose a kind of document print page system.
Another aspect of the invention is to propose a kind of computer installation.
An additional aspect of the present invention is to propose a kind of computer-readable recording medium.
In view of this, according to an aspect of the present invention, it proposes a kind of document page-by-page printing method, including:Acquisition is beaten
The array of data of the data field binding of die plate, array of data include the data of institute's documentary;Parse each in array of data
The data of document, carry out paging to each document, obtain page cache array;Page cache array is carried out on web page
Print Preview is shown;Print command is sent to printer, to control printer printing institute documentary.
Document page-by-page printing method provided by the invention, obtains the array of data bound in the data field of printing template, its
In the element of each array of data be the total data of a document, i.e. array of data includes the data of institute's documentary, and counts
According to the data capsule that area is printing template.Array of data is circulated, parses the data of each document, and then to each document
Paging activity is carried out, generates a page cache array to be rendered, each element in page cache array is actual
The one printing content for opening printing paper during printing.Page cache array further is carried out Print Preview on web page to show,
System sends print command to printer after user views Print Preview content and is confirmed, to control printer to beat
Print institute's documentary.The present invention is directed to the application scenarios of document bulk print, without downloading third party control, makes print service more
Flexibly, significantly more efficient bills data print page is realized, it is more time saving and energy saving, meet that personalized customization of the user to document is beaten
Print demand.
Above-mentioned document page-by-page printing method according to the present invention, can also have following technical characteristic:
In the above-mentioned technical solutions, it is preferable that the data of each document in parsing array of data, to each document into
The step of row paging, acquisition page cache array, specifically include:Obtain the fixed line number of printing template;Obtain any document
The ratio of the index value of data, computation index value and fixed line number;The data of document are added to the current of page cache array
Page;Judge whether ratio is integer;If ratio is integer, page break is inserted into after the content of the current page of page cache array
Printing content as a document of printing template.
In the technical scheme, the step of carrying out paging activity to each document specifically includes:Obtain consolidating for printing template
Determine line number, circulation obtains the ratio of the index value of the data of each document, computation index value and fixed line number, by the data of document
Added to the current page of page cache array, if the ratio is integer, showing the data of the document can intactly be filled in
In complete one page of printing template, then page break is inserted into after the content of the current page of page cache array by css attributes
As the printing content of a document of printing template, stop previous cycle if ratio is not integer, continue circulation next time,
Obtain and add the comparison that the lower a data in the document is indexed value again.Until whether the document in array data is complete
Untill portion completes to parse and is added to page cache array.The HTML of storage printing content is carried out accurately using css attributes
Control, it is not necessary to which any plug-in unit of additional downloads, not only cost is small, but also has extraordinary professional platform independence.At the same time by list
According to line number paging is fixed, paging controllability is improved, and can realize and continuously print multiple documents.
In any of the above-described technical solution, it is preferable that the step of obtaining the fixed line number of printing template, specifically includes:Obtain
Take the height of print paper;The open ended number of data of print paper is calculated according to the height of print paper, by number of data
As fixed line number.
In the technical scheme, when there is provided after the print paper size of printing template, according to print paper height and beating
Die plate, can calculate every print paper open ended number of data n (i.e. line number, n>0) the fixation row of gained will, be calculated
Number n is assigned to data field as a property value, can accurately acquire fixed line number, and then carry out and carry out document by fixed line number
Print page.
In any of the above-described technical solution, it is preferable that the data field of printing template includes main data area and subdata area, its
Middle main data area is associated with multiple subdata areas;The data of each document in array of data are parsed, paging is carried out to each document,
The step of obtaining page cache array, specifically includes:The main table data of any document are inserted into main data area, form printing
One printing content of template, added to the current page of page cache array;Obtain and the associated subdata area in main data area;Solution
The sublist field data with the data of the document in the associated subdata area in main data area is separated out, using sublist field data as beating
One printing content of die plate, added to the current page of page cache array;All delay in the data of document added to the page
After depositing array, printing of the page break as a document of printing template is inserted into after the content of the current page of page cache array
Content.
In the technical scheme, printing template includes at least a main data area and associates some sons of the main data area
Data field, the array of data of multiple documents include the data of institute's documentary, and multiple fields, wherein sublist word are included per data
Section includes a plurality of sublist data.Can also be to the step of each document progress paging activity:By the main table data of any document
Insert into main data area and form a printing content of printing template, and this printing content is added to page cache array
Current page, further obtain multiple subdata areas associated with main data area, parse the list in multiple subdata areas
According to data sublist field data, print content using sublist field data as one of printing template, and be added to one by one
The current page of page cache array.Judge whether the total data of a document adds and finish (including main and sub data field), such as add
Add complete, then page break is inserted into after the content of the current page of page cache array by css attributes and is used as the one of printing template
Open the printing content of document.The HTML of storage printing content is accurately controlled using css attributes, it is not necessary to additional downloads
Any plug-in unit, not only cost is small, but also has extraordinary professional platform independence.The document of template complex can be preferably realized at the same time
Paging so that document paging is more flexible, and application is stronger.
In any of the above-described technical solution, it is preferable that page cache array is carried out Print Preview on web page and is shown
The step of, specifically include:Using the printing content of every page of document as table bookmarks, it is inserted into html page;By every page of document
Printing content pattern and Context resolution be HTML character string fragments, and input to prestore it is data cached in;In institute's documentary
Printing content all resolve to HTML character string fragments after, will prestore it is data cached in all HTML character string fragments spell
It is connected into complete HTML character strings;Complete HTML character strings are inserted into web page to be shown.
In the technical scheme, after a page cache array to be rendered is generated, printing content is with table bookmarks
Form is inserted into html page, and every page printing content is a single table, wherein each of page cache array
Element is the one printing content for opening printing paper when reality prints.When carrying out HTML outputs to printing content, one is created in advance
If caching array, according to printing content order, cell is (literary by its pattern (such as font size, font, frame line) and content one by one
Sheet, picture etc.) HTML character string fragments are parsed into, it is sequentially output in preset buffer memory array.Content to be printed is all translated into
After HTML fragment, by string-concatenation into complete HTML character strings, it is inserted into web page.By defeated with character string
Go out to replace frequent DOM to operate, avoid all data of sexploitation from causing browser interim card or even collapse so that during wait
Between it is longer.
In any of the above-described technical solution, it is preferable that page cache array is carried out Print Preview on the web page
It has been shown that, specifically includes:The printing content of document in any page page cache array is rendered, and by the document after rendering
Printing content be inserted into web page and shown, until the printing content of institute's documentary is all inserted into web page and is shown
Show.
In the technical scheme, after a page cache array to be rendered is generated, paging can also be carried out and rendered, i.e.,
The printing content generated after parsing is rendered page by page.Specifically, i.e., DOM element is all switched in one page content to be printed
It is inserted into the page and then carries out rendering for lower one page printing content.So can be continuous in a short time to avoid browser
Substantial amounts of circulate operation is carried out, causes browser " seemingly-dead ".
According to another aspect of the present invention, it is proposed that a kind of document print page system, including:First acquisition unit,
The array of data that data field for obtaining printing template is bound, array of data include the data of institute's documentary;Paging unit,
For parsing the data of each document in array of data, paging is carried out to each document, obtains page cache array;Preview is shown
Unit, shows for page cache array to be carried out Print Preview on web page;Transmitting element, for being sent to printer
Print command, to control printer printing institute documentary.
Document print page system provided by the invention, obtains the array of data bound in the data field of printing template, its
In the element of each array of data be the total data of a document, i.e. array of data includes the data of institute's documentary, and counts
According to the data capsule that area is printing template.Array of data is circulated, parses the data of each document, and then to each document
Paging activity is carried out, generates a page cache array to be rendered, each element in page cache array is actual
The one printing content for opening printing paper during printing.Page cache array further is carried out Print Preview on web page to show,
System sends print command to printer after user views Print Preview content and is confirmed, to control printer to beat
Print institute's documentary.The present invention is directed to the application scenarios of document bulk print, without downloading third party control, makes print service more
Flexibly, significantly more efficient bills data print page is realized, it is more time saving and energy saving, meet that personalized customization of the user to document is beaten
Print demand.
Above-mentioned document print page system according to the present invention, can also have following technical characteristic:
In the above-mentioned technical solutions, it is preferable that paging unit, including:Second acquisition unit, for obtaining printing template
Fixed line number;Computing unit, the index value of the data for obtaining any document, calculates the ratio of the index value and fixed line number
Value;Adding device, for the data of document to be added to the current page of page cache array;Judging unit, for judging ratio
Whether it is integer;Adding device, if it is integer to be additionally operable to ratio, the insertion point after the content of the current page of page cache array
Printing content of the page symbol as a document of printing template.
In the technical scheme, the step of carrying out paging activity to each document specifically includes:Obtain consolidating for printing template
Determine line number, circulation obtains the ratio of the index value of the data of each document, computation index value and fixed line number, by the data of document
Added to the current page of page cache array, if the ratio is integer, showing the data of the document can intactly be filled in
In complete one page of printing template, then page break is inserted into after the content of the current page of page cache array by css attributes
As the printing content of a document of printing template, if ratio is not integer, stop previous cycle, continue to follow next time
Ring, that is, obtain and add the comparison that the lower a data in the document is indexed value again.Until the document in array data is complete
Untill portion completes to parse and is added to page cache array.The HTML of storage printing content is carried out accurately using css attributes
Control, it is not necessary to which any plug-in unit of additional downloads, not only cost is small, but also has extraordinary professional platform independence.At the same time by list
According to line number paging is fixed, paging controllability is improved, and can realize and continuously print multiple documents.
In any of the above-described technical solution, it is preferable that second acquisition unit, the height specifically for obtaining print paper;
The open ended number of data of print paper is calculated according to the height of print paper, using number of data as fixed line number.
In the technical scheme, when there is provided after the print paper size of printing template, according to print paper height and beating
Die plate, can calculate every print paper open ended number of data n (i.e. line number, n>0) the fixation row of gained will, be calculated
Number n is assigned to data field as a property value, can accurately acquire fixed line number, and then carry out and carry out document by fixed line number
Print page.
In any of the above-described technical solution, it is preferable that the data field of printing template includes main data area and subdata area, its
Middle main data area is associated with multiple subdata areas;Paging unit, specifically for by the main table data of any document insert to
In main data area, a printing content of printing template is formed, added to the current page of page cache array;Paging unit, also
Including:3rd acquiring unit, for obtaining and the associated subdata area in main data area;Adding device, is additionally operable to parse and master
The sublist field data of the data of document in the associated subdata area in data field, using sublist field data as printing template
One printing content, added to the current page of page cache array;Document data all added to after page cache array,
Printing content of the page break as a document of printing template is inserted into after the content of the current page of page cache array.
In the technical scheme, printing template includes at least a main data area and associates some sons of the main data area
Data field, the array of data of multiple documents include the data of institute's documentary, and multiple fields, wherein sublist word are included per data
Section includes a plurality of sublist data.Can also be to the step of each document progress paging activity:By the main table data of any document
Insert into main data area and form a printing content of printing template, and this printing content is added to page cache array
Current page, further obtain multiple subdata areas associated with main data area, parse the list in multiple subdata areas
According to data sublist field data, print content using sublist field data as one of printing template, and be added to one by one
The current page of page cache array.Judge whether the total data of a document adds and finish (including main and sub data field), such as add
Add complete, then page break is inserted into after the content of the current page of page cache array by css attributes and is used as the one of printing template
Open the printing content of document.The HTML of storage printing content is accurately controlled using css attributes, it is not necessary to additional downloads
Any plug-in unit, not only cost is small, but also has extraordinary professional platform independence.The document of template complex can be preferably realized at the same time
Paging so that document paging is more flexible, and application is stronger.
In any of the above-described technical solution, it is preferable that preview display unit, specifically for by the printing content of every page of document
As table bookmarks, it is inserted into html page;It is HTML characters by the pattern of the printing content of every page of document and Context resolution
Go here and there fragment, and input to prestore it is data cached in;After the printing content of institute's documentary all resolves to HTML character string fragments,
To prestore it is data cached in all HTML character string fragments be spliced into complete HTML character strings;By complete HTML characters
String is inserted into web page and is shown.
In the technical scheme, after a page cache array to be rendered is generated, printing content is with table bookmarks
Form is inserted into html page, and every page printing content is a single table, wherein each of page cache array
Element is the one printing content for opening printing paper when reality prints.When carrying out HTML outputs to printing content, one is created in advance
If caching array, according to printing content order, cell is (literary by its pattern (such as font size, font, frame line) and content one by one
Sheet, picture etc.) HTML character string fragments are parsed into, it is sequentially output in preset buffer memory array.Content to be printed is all translated into
After HTML fragment, by string-concatenation into complete HTML character strings, it is inserted into web page.By defeated with character string
Go out to replace frequent DOM to operate, avoid all data of sexploitation from causing browser interim card or even collapse so that during wait
Between it is longer.
In any of the above-described technical solution, it is preferable that preview display unit, specifically for any page page cache array
In the printing content of document rendered, and the printing content of the document after rendering is inserted into web page and is shown, directly
Printing content to institute's documentary is all inserted into web page and is shown.
In the technical scheme, after a page cache array to be rendered is generated, paging can also be carried out and rendered, i.e.,
The printing content generated after parsing is rendered page by page.Specifically, i.e., DOM element is all switched in one page content to be printed
It is inserted into the page and then carries out rendering for lower one page printing content.So can be continuous in a short time to avoid browser
Substantial amounts of circulate operation is carried out, causes browser " seemingly-dead ".
According to a further aspect of the invention, it is proposed that a kind of computer installation, including memory, processor and be stored in
On memory and the computer program that can run on a processor, processor realize such as any of the above-described when performing computer program
Document page-by-page printing method the step of.
Computer installation provided by the invention, processor realize above-mentioned document page-by-page printing method when performing computer program
The step of, it can realize the technique effect of above-mentioned document page-by-page printing method, repeat no more.
According to a further aspect of the invention, it is proposed that a kind of computer-readable recording medium, is stored thereon with computer
Program, when computer program is executed by processor the step of the realization such as document page-by-page printing method of any of the above-described.
Computer-readable recording medium provided by the invention, realizes above-mentioned document point when computer program is executed by processor
The step of page Method of printing, it can realize the technique effect of above-mentioned document page-by-page printing method, repeat no more.
The additional aspect and advantage of the present invention will become obvious in following description section, or the practice by the present invention
Recognize.
Brief description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination accompanying drawings below to embodiment
Substantially and it is readily appreciated that, wherein:
Fig. 1 shows the schematic diagram of the print service of one embodiment of the present of invention;
Fig. 2 shows the flow diagram of the document page-by-page printing method of one embodiment of the present of invention;
Fig. 3 shows the flow diagram of the document page-by-page printing method of an alternative embodiment of the invention;
Fig. 4 shows the flow diagram of the document page-by-page printing method of yet another embodiment of the present invention;
Fig. 5 shows the signal that document print page process is carried out according to boss data field of one embodiment of the present of invention
Figure;
Fig. 6 a show the schematic block diagram of the document print page system of one embodiment of the present of invention;
Fig. 6 b show the schematic block diagram of the document print page system of an alternative embodiment of the invention;
Fig. 6 c show the schematic block diagram of the document print page system of yet another embodiment of the present invention.
Embodiment
It is to better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real
Mode is applied the present invention is further described in detail.It should be noted that in the case where there is no conflict, the implementation of the application
Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be implemented using other different from other modes described here, therefore, protection scope of the present invention is not limited to following public affairs
The limitation for the specific embodiment opened.
Fig. 1 shows the schematic diagram of the print service of one embodiment of the present of invention.Wherein, for Client-initiated once
Print request, the process of the processing of print service are as follows:
(1) server-side receives the print request and print data that user initiates from terminal, and printing template coding;(2)
While web page obtains user data, template data is taken out from the template library of high in the clouds, such as template 1, template 2...... templates
N,;(3) template and data are parsed by web front-end, generates Print Preview page, What You See Is What You Get;(4) browser is to beating
Print machine sends print out task, completes the printing of document.
The embodiment of first aspect present invention, proposes a kind of document page-by-page printing method, and Fig. 2 shows one of the present invention
The flow diagram of the document page-by-page printing method of embodiment.Wherein, this method includes:
Step 202, the array of data of the data field binding of printing template is obtained, array of data includes the number of institute's documentary
According to;
Step 204, the data of each document in array of data are parsed, paging is carried out to each document, obtains page cache
Array;
Step 206, page cache array is carried out Print Preview on web page to show;
Step 208, print command is sent to printer, to control printer printing institute documentary.
Document page-by-page printing method provided by the invention, obtains the array of data bound in the data field of printing template, its
In the element of each array of data be the total data of a document, i.e. array of data includes the data of institute's documentary, and counts
According to the data capsule that area is printing template.Array of data is circulated, parses the data of each document, and then to each document
Paging activity is carried out, generates a page cache array to be rendered, each element in page cache array is actual
The one printing content for opening printing paper during printing.Page cache array further is carried out Print Preview on web page to show,
System sends print command to printer after user views Print Preview content and is confirmed, to control printer to beat
Print institute's documentary.The present invention is directed to the application scenarios of document bulk print, without downloading third party control, makes print service more
Flexibly, significantly more efficient bills data print page is realized, it is more time saving and energy saving, meet that personalized customization of the user to document is beaten
Print demand.
Fig. 3 shows the flow diagram of the document page-by-page printing method of an alternative embodiment of the invention.Wherein, the party
Method includes:
Step 302, the array of data of the data field binding of printing template is obtained, array of data includes the number of institute's documentary
According to;
Step 304, the height of print paper is obtained;The open ended number of print paper is calculated according to the height of print paper
According to bar number, using number of data as fixed line number;
Step 306, any document in array of data is obtained;
Step 308, the ratio of the index value of a data in the document, computation index value and fixed line number is obtained;
Step 310, which is added to the current page of page cache array;
Step 312, judge whether ratio is integer, 314 are entered step if ratio is integer, if ratio is not integer
Return to step 316;
Step 314, a list of the page break as printing template is inserted into after the content of the current page of page cache array
According to printing content;
Step 316, judge whether all addition finishes all data in the document, if then entering step 318, if otherwise
Return to step 308;
Step 318, judge whether the document in the array of data all obtains to finish, if then entering step 320, if otherwise
Return to step 306;
Step 320, page cache array is carried out Print Preview on web page to show;
Step 322, print command is sent to printer, to control printer printing institute documentary.
In this embodiment, the array of data bound in the data field of printing template is obtained, wherein each array of data
Element is the total data of a document, i.e., array of data includes the data of institute's documentary, and data field is printing template
Data capsule.
When there is provided after the print paper size of printing template, according to print paper height and printing template, can calculating
Go out every print paper open ended number of data n (i.e. line number, n>0) the fixed line number n of gained will, be calculated as an attribute
Value is assigned to data field, can accurately acquire fixed line number, and then carry out and carry out document print page by fixed line number.Circulation obtains
The ratio of the index value of the data of each document, computation index value and fixed line number is taken, the data of document are delayed added to the page
The current page of array is deposited, if the ratio is integer, the complete of printing template can be intactly filled in by showing the data of the document
In whole one page, then page break is inserted into after the content of the current page of page cache array by css attributes and is used as printing template
A document printing content, if ratio is not integer, stop previous cycle, continue circulation next time, that is, obtain and add
The lower a data in the document is added to be indexed the comparison of value again.Parse and add until the document in array data is fully completed
Untill adding to page cache array.The HTML of storage printing content is accurately controlled using css attributes, it is not necessary to extra
Any plug-in unit is downloaded, not only cost is small, but also has extraordinary professional platform independence.At the same time by document being fixed line number point
Page, improves paging controllability, and can realize and continuously print multiple documents.
Page cache array further is carried out Print Preview on web page to show, it is pre- to view printing in user
Content and system sends print command to printer after being confirmed is look at, to control printer printing institute documentary.The present invention
For the application scenarios of document bulk print, without downloading third party control, make print service more flexible, realize more efficient
Bills data print page, it is more time saving and energy saving, meet user to document personalized customization printing demand.
Fig. 4 shows the flow diagram of the document page-by-page printing method of yet another embodiment of the present invention.Wherein, the party
Method includes:
Step 402, the array of data of the data field binding of printing template is obtained, array of data includes the number of institute's documentary
According to;
Step 404, the main table data of any document are inserted into main data area, is formed in a printing of printing template
Hold, added to the current page of page cache array;
Step 406, obtain and the associated subdata area in main data area;
Step 408, the sublist field data with the data of the document in the associated subdata area in main data area is parsed, will
A printing content of the sublist field data as printing template, added to the current page of page cache array;
Step 410, document data all added to after page cache array, in the current page of page cache array
Printing content of the page break as a document of printing template is inserted into after content;
Step 412, page cache array is carried out Print Preview on web page to show;
Step 414, print command is sent to printer, to control printer printing institute documentary.
Wherein, the data field of printing template includes main data area and subdata area, wherein main data area and multiple subdatas
Area associates.
In this embodiment, the array of data bound in the data field of printing template is obtained, wherein each array of data
Element is the total data of a document, i.e. array of data includes the data of institute's documentary, the data capsule master of printing template
Two classes can be divided into, by taking expense report as an example:Main data area, prints the main literary name section of document, such as personnel's name in expense report,
Document numbering etc..Subdata area, prints the detailed list of document, a sub- literary name section of corresponding main table data, as expense occurs
Date, expense entry etc..
Printing template includes at least a main data area and associates some subdata areas of the main data area, multiple documents
Array of data include the data of institute's documentary, include multiple fields per data, wherein sublist field includes a plurality of sublist
Data.Can also be to the step of each document progress paging activity:The main table data of any document are inserted to main data area
A middle printing content for forming printing template, and this is printed into content added to the current page of page cache array, into one
Step ground obtains multiple subdata areas associated with main data area, parses the sublist of the data of document in multiple subdata areas
Field data, content is printed using one of sublist field data as printing template, and one by one added to page cache array
Current page.Judge whether the total data of a document adds and finish (including main and sub data field), finish, then pass through as added
Css attributes are inserted into after the content of the current page of page cache array in printing of the page break as a document of printing template
Hold.Print procedure as shown in figure 5, carry out print page respectively by bills data according to the boss data field of printing template.Use
Css attributes accurately control the HTML of storage printing content, it is not necessary to and any plug-in unit of additional downloads, not only cost is small,
And there is extraordinary professional platform independence.The document paging of template complex can be preferably realized at the same time so that document paging is more
Add flexibly, application is stronger.
Page cache array further is carried out Print Preview on web page to show, it is pre- to view printing in user
Content and system sends print command to printer after being confirmed is look at, to control printer printing institute documentary.The present invention
For the application scenarios of document bulk print, without downloading third party control, make print service more flexible, realize more efficient
Bills data print page, it is more time saving and energy saving, meet user to document personalized customization printing demand.
After web page parses bills data according to printing template, a page cache array to be rendered is generated, number
Each element of group is the one printing content for opening printing paper when reality prints.When document substantial amounts, it is necessary to frequently
Calculate and substantial amounts of DOM is operated.Since browser client computing resource is limited, one time all data of sexploitation are extremely easy
Cause browser interim card or even collapse, the stand-by period is longer, and user experience is deteriorated.In order to avoid efficiency, the present invention is at the same time
Employ the prioritization scheme of following multipage document Print Preview efficiency:
1) being exported with character string replaces frequent DOM to operate.Printing content is inserted into HTML page in the form of table bookmarks
In face, every page printing content is a single table.When carrying out HTML outputs to printing content, a caching is created
Array, according to printing content order one by one cell by its pattern (such as font size, font, frame line) and content (text, picture
Deng) HTML character string fragments are parsed into, it is sequentially output in caching array.Content to be printed be all translated into HTML fragment it
Afterwards, string-concatenation is disposably inserted into web page into complete HTML character strings.Replaced by being exported with character string
Frequent DOM operations, avoid all data of sexploitation from causing browser interim card or even collapse so that the stand-by period compared with
It is long.
2) paging renders, i.e., the printing content generated after parsing is rendered page by page.Specifically, i.e., wait to beat in one page
Print content all switchs to DOM element and is inserted into the page and then carries out rendering for lower one page printing content.So can be to avoid
Browser is carried out continuously substantial amounts of circulate operation in a short time, causes browser " seemingly-dead ".
It should be noted that the prioritization scheme of above multipage document Print Preview efficiency can be applied to above-mentioned document point
Page cache array is carried out the process that Print Preview is shown by page Method of printing on web page.
The embodiment of second aspect of the present invention, proposes a kind of document print page system, and Fig. 6 a show the one of the present invention
The schematic block diagram of the document print page system 600 of a embodiment.Wherein, which includes:
First acquisition unit 602, the array of data that the data field for obtaining printing template is bound, array of data include
The data of institute's documentary;
Paging unit 604, for parsing the data of each document in array of data, carries out paging to each document, obtains
Page cache array;
Preview display unit 606, shows for page cache array to be carried out Print Preview on web page;
Transmitting element 608, for sending print command to printer, to control printer printing institute documentary.
Document print page system 600 provided by the invention, obtains the array of data bound in the data field of printing template,
The element of wherein each array of data is the total data of a document, i.e. array of data includes the data of institute's documentary, and
Data field is the data capsule of printing template.Array of data is circulated, parses the data of each document, and then to each list
According to paging activity is carried out, a page cache array to be rendered is generated, each element in page cache array is real
The one printing content for opening printing paper when border prints.Page cache array further is carried out Print Preview on web page to show
Show, system sends print command to printer after user views Print Preview content and is confirmed, to control printing
Machine printing institute documentary.The present invention is directed to the application scenarios of document bulk print, without downloading third party control, makes print service
More flexibly, significantly more efficient bills data print page is realized, it is more time saving and energy saving, meet that personalization of the user to document is determined
Printing demand processed.
Fig. 6 b show the schematic block diagram of the document print page system 600 of an alternative embodiment of the invention.Wherein, should
System 600 includes:
First acquisition unit 602, the array of data that the data field for obtaining printing template is bound, array of data include
The data of institute's documentary;
Paging unit 604 includes:Second acquisition unit 6402, for obtaining the height of print paper;According to print paper
Height calculate the open ended number of data of print paper, using number of data as fixed line number;Computing unit 6404, is used for
The index value of the data of any document is obtained, calculates the ratio of the index value and fixed line number;Adding device 6406, for inciting somebody to action
The data of document are added to the current page of page cache array;Judging unit 6408, for judging whether ratio is integer;Addition
Unit 6406, if it is integer to be additionally operable to ratio, insertion page break, which is used as, after the content of the current page of page cache array beats
The printing content of one document of die plate;
Preview display unit 606, shows for page cache array to be carried out Print Preview on web page;
Transmitting element 608, for sending print command to printer, to control printer printing institute documentary.
In this embodiment, when there is provided after the print paper size of printing template, according to print paper height and printing
Template, can calculate every print paper open ended number of data n (i.e. line number, n>0) fixed line number of gained will, be calculated
N is assigned to data field as a property value, can accurately acquire fixed line number, and then carry out and carry out document point by fixed line number
Page printing.
The step of carrying out paging activity to each document specifically includes:The fixed line number of printing template is obtained, circulation obtains
The data of document are added to page cache by the ratio of the index value of the data of each document, computation index value and fixed line number
The current page of array, if the ratio is integer, the complete of printing template can be intactly filled in by showing the data of the document
One page in, then page break is inserted into after the content of the current page of page cache array by css attributes and is used as printing template
The printing content of one document, if ratio is not integer, stops previous cycle, continues circulation next time, that is, obtains and add
Lower a data in the document is indexed the comparison of value again.Until the document in array data is fully completed parsing and adds
Untill page cache array.The HTML of storage printing content is accurately controlled using css attributes, it is not necessary under extra
Any plug-in unit is carried, not only cost is small, but also has extraordinary professional platform independence.At the same time by document being fixed line number point
Page, improves paging controllability, and can realize and continuously print multiple documents.
Fig. 6 c show the schematic block diagram of the document print page system 600 of yet another embodiment of the present invention.Wherein, should
System 600 includes:
First acquisition unit 602, the array of data that the data field for obtaining printing template is bound, array of data include
The data of institute's documentary;
Paging unit 604, specifically for inserting the main table data of any document into main data area, forms printing template
One printing content, added to the current page of page cache array;
Paging unit 604, further includes:3rd acquiring unit 6410, for obtaining and the associated subdata area in main data area;
Adding device 6406, for parsing the sublist field data with the data of the document in the associated subdata area in main data area,
One of sublist field data as printing template is printed into content, added to the current page of page cache array;In document
Data after the content of the current page of page cache array all added to after page cache array, being inserted into page break as printing
The printing content of one document of template;
Preview display unit 606, shows for page cache array to be carried out Print Preview on web page;
Transmitting element 608, for sending print command to printer, to control printer printing institute documentary.
Wherein, the data field of printing template includes main data area and subdata area, wherein main data area and multiple sons
Data field associates.
In this embodiment, printing template includes at least a main data area and associates some subnumbers of the main data area
According to area, the array of data of multiple documents includes the data of institute's documentary, and multiple fields, wherein sublist field are included per data
Include a plurality of sublist data.Can also be to the step of each document progress paging activity:The main table data of any document are filled out
Enter into main data area to be formed a printing content of printing template, and this is printed into content added to page cache array
Current page, further obtains the multiple subdata areas associated with main data area, parses the document in multiple subdata areas
Data sublist field data, print content using sublist field data as one of printing template, and be added to page one by one
Face caches the current page of array.Judge whether the total data of a document adds and finish (including main and sub data field), such as add
Finish, be then inserted into that page break is used as printing template after the content of the current page of page cache array by css attributes one
The printing content of document.The HTML of storage printing content is accurately controlled using css attributes, it is not necessary to which additional downloads are appointed
What plug-in unit, not only cost is small, but also has extraordinary professional platform independence.The document point of template complex can be preferably realized at the same time
Page so that document paging is more flexible, and application is stronger.
In one embodiment of the invention, it is preferable that preview display unit 606, specifically for beating every page of document
Content is printed as table bookmarks, is inserted into html page;It is by the pattern of the printing content of every page of document and Context resolution
HTML character string fragments, and input to prestore it is data cached in;HTML characters are all resolved in the printing content of institute's documentary
Go here and there fragment after, will prestore it is data cached in all HTML character string fragments be spliced into complete HTML character strings;Will be complete
HTML character strings be inserted into web page and shown.
In this embodiment, after a page cache array to be rendered is generated, printing content is with the shape of table bookmarks
Formula is inserted into html page, and every page printing content is a single table, wherein each member of page cache array
Element is the one printing content for opening printing paper when reality prints.When carrying out HTML outputs to printing content, create one and preset
Cache array, according to printing content order one by one cell by its pattern (such as font size, font, frame line) and content (text,
Picture etc.) HTML character string fragments are parsed into, it is sequentially output in preset buffer memory array.Content to be printed is all translated into HTML
After fragment, by string-concatenation into complete HTML character strings, it is inserted into web page.By exporting generation with character string
For frequent DOM operate, avoid all data of sexploitation cause browser interim card in addition collapse so that the stand-by period compared with
It is long.
In one embodiment of the invention, it is preferable that preview display unit 606, specifically for delaying to any page page
The printing content for depositing the document in array is rendered, and the printing content of the document after rendering is inserted into web page and is carried out
It has been shown that, until the printing content of institute's documentary is all inserted into web page and is shown.
In this embodiment, after a page cache array to be rendered is generated, paging can also be carried out and rendered, i.e., by
Page renders the printing content generated after parsing.Specifically, i.e., all switch to DOM element in one page content to be printed to insert
Enter into the page and then carry out rendering for lower one page printing content.So can to avoid browser in a short time continuously into
The substantial amounts of circulate operation of row, causes browser " seemingly-dead ".
The angle that the present invention is parsed from stencil design and data, it is proposed that a kind of effective print data is by document point
The technical solution of page.Meanwhile optimization is proposed from the angle of front end algorithm optimization for the bulk print of a large amount of documents, the present invention
Scheme, effectively solves the efficiency of Print Preview.Compared to using pdf plug-in units and ActiveX control class in correlation technique
The print page scheme based on plug-in unit, of the invention at least has the following advantages:
(1) HTML of storage printing content is accurately controlled using JavaScript scripts and css patterns, is not required to
Any plug-in unit of additional downloads is wanted, not only cost is small, but also has extraordinary professional platform independence.(2) user's operation is simple, easily learns
Practise, safeguard and issue.User need to only choose the binding of main and sub data field on stencil design device, it is possible to easily be divided
The document of page printing.
The embodiment of third aspect present invention, it is proposed that a kind of computer installation, including memory, processor and be stored in
On memory and the computer program that can run on a processor, processor realize such as any of the above-described when performing computer program
Document page-by-page printing method the step of.Computer installation provided by the invention, processor are realized when performing computer program
The step of stating document page-by-page printing method, can realize the technique effect of above-mentioned document page-by-page printing method, repeat no more.
The embodiment of fourth aspect present invention, it is proposed that a kind of computer-readable recording medium, is stored thereon with computer
Program, when computer program is executed by processor the step of the realization such as document page-by-page printing method of any of the above-described.The present invention
The computer-readable recording medium of offer, realizes the step of above-mentioned document page-by-page printing method when computer program is executed by processor
Suddenly, it can realize the technique effect of above-mentioned document page-by-page printing method, repeat no more.
In the description of this specification, the description of term " one embodiment ", " some embodiments ", " specific embodiment " etc.
Mean to combine at least one reality that the particular features, structures, materials, or characteristics that the embodiment or example describe are contained in the present invention
Apply in example or example.In the present specification, schematic expression of the above terms is not necessarily referring to identical embodiment or reality
Example.Moreover, description particular features, structures, materials, or characteristics can in any one or more embodiments or example with
Suitable mode combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this area
For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.
Claims (14)
- A kind of 1. document page-by-page printing method, it is characterised in that including:The array of data of the data field binding of printing template is obtained, the array of data includes the data of institute's documentary;The data of each document in the array of data are parsed, paging is carried out to each document, obtains page cache Array;The page cache array is carried out Print Preview on web page to show;Print command is sent to printer, to control the printer to print all documents.
- 2. document page-by-page printing method according to claim 1, it is characterised in that every in the parsing array of data The data of a document, the step of carrying out paging to each document, obtain the page cache array, specifically include:Obtain the fixed line number of the printing template;The index value of the data of any document is obtained, calculates the ratio of the index value and the fixed line number;The data of the document are added to the current page of the page cache array;Judge whether the ratio is integer;If the ratio is integer, insertion page break is beaten as described in after the content of the current page of the page cache array The printing content of one document of die plate.
- 3. document page-by-page printing method according to claim 2, it is characterised in that the institute for obtaining the printing template The step of stating fixed line number, specifically includes:Obtain the height of print paper;The open ended number of data of the print paper is calculated according to the height of the print paper, the number of data is made For the fixed line number.
- 4. document page-by-page printing method according to claim 1, it is characterised in that the data field of the printing template includes Main data area and subdata area, wherein the main data area is associated with multiple subdata areas;The data of each document in the parsing array of data, carry out each document paging, described in acquisition The step of page cache array, specifically include:The main table data of any document are inserted into the main data area, are formed in a printing of the printing template Hold, added to the current page of the page cache array;Obtain and the associated subdata area in the main data area;The sublist field data with the data of the document in the associated subdata area in the main data area is parsed, by described in A printing content of the sublist field data as the printing template, added to the current page of the page cache array;The document data all added to after the page cache array, in the current page of the page cache array Printing content of the page break as a document of the printing template is inserted into after content.
- 5. document page-by-page printing method according to any one of claim 2 to 4, it is characterised in that described by the page Face cache array on the web page carry out Print Preview display the step of, specifically include:Using the printing content of every page of document as table bookmarks, it is inserted into html page;It is HTML character string fragments by the pattern of the printing content of every page of document and Context resolution, and inputs to the caching that prestores In data;After the printing content of all documents all resolves to the HTML character string fragments, by it is described prestore it is data cached In all HTML character string fragments be spliced into complete HTML character strings;The complete HTML character strings are inserted into the web page to be shown.
- 6. document page-by-page printing method according to any one of claim 2 to 4, it is characterised in that described by the page Face caching array carries out Print Preview on the web page and shows, specifically includes:The printing content of the document in page cache array described in any page is rendered, and the list after rendering According to printing content be inserted into the web page and shown, until the printing content of all documents is all inserted into described Web page is shown.
- A kind of 7. document print page system, it is characterised in that including:First acquisition unit, the array of data that the data field for obtaining printing template is bound, the array of data include institute The data of documentary;Paging unit, for parsing the data of each document in the array of data, paging is carried out to each document, Obtain page cache array;Preview display unit, shows for the page cache array to be carried out Print Preview on web page;Transmitting element, for sending print command to printer, to control the printer to print all documents.
- 8. document print page system according to claim 7, it is characterised in that the paging unit, including:Second acquisition unit, for obtaining the fixed line number of the printing template;Computing unit, the index value of the data for obtaining any document, calculates the index value and the fixed line number Ratio;Adding device, for the data of the document to be added to the current page of the page cache array;Judging unit, for judging whether the ratio is integer;The adding device, if it is integer to be additionally operable to the ratio, after the content of the current page of the page cache array It is inserted into printing content of the page break as a document of the printing template.
- 9. document print page system according to claim 8, it is characterised in that the second acquisition unit, it is specific to use In the height for obtaining print paper;AndThe open ended number of data of the print paper is calculated according to the height of the print paper, the number of data is made For the fixed line number.
- 10. document print page system according to claim 7, it is characterised in that the data field bag of the printing template Main data area and subdata area are included, wherein the main data area is associated with multiple subdata areas;The paging unit, specifically for inserting the main table data of any document into the main data area, forms institute A printing content of printing template is stated, added to the current page of the page cache array;The paging unit, further includes:3rd acquiring unit, for obtaining and the associated subdata area in the main data area;The adding device, is additionally operable to parse and the data of the document in the associated subdata area in the main data area Sublist field data, prints content, added to the page using one of the sublist field data as the printing template Cache the current page of array;And the document data all added to after the page cache array, in the page Printing content of the page break as a document of the printing template is inserted into after caching the content of the current page of array.
- 11. the document print page system according to any one of claim 8 to 10, it is characterised in that the preview is shown Show unit, be specifically used for:Using the printing content of every page of document as table bookmarks, it is inserted into html page;It is HTML character string fragments by the pattern of the printing content of every page of document and Context resolution, and inputs to the caching that prestores In data;After the printing content of all documents all resolves to the HTML character string fragments, by it is described prestore it is data cached In all HTML character string fragments be spliced into complete HTML character strings;The complete HTML character strings are inserted into the web page to be shown.
- 12. the document print page system according to any one of claim 8 to 10, it is characterised in that the preview is shown Show unit, be specifically used for:The printing content of the document in page cache array described in any page is rendered, and the list after rendering According to printing content be inserted into the web page and shown, until the printing content of all documents is all inserted into described Web page is shown.
- 13. a kind of computer installation, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, it is characterised in that the processor realizes such as claim 1 to 6 when performing the computer program Any one of document page-by-page printing method the step of.
- 14. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of document page-by-page printing method as any one of claim 1 to 6 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710951342.5A CN107943426B (en) | 2017-10-13 | 2017-10-13 | Document paging printing method, document paging printing system and computer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710951342.5A CN107943426B (en) | 2017-10-13 | 2017-10-13 | Document paging printing method, document paging printing system and computer device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107943426A true CN107943426A (en) | 2018-04-20 |
CN107943426B CN107943426B (en) | 2021-02-19 |
Family
ID=61935247
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710951342.5A Active CN107943426B (en) | 2017-10-13 | 2017-10-13 | Document paging printing method, document paging printing system and computer device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107943426B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109164992A (en) * | 2018-08-16 | 2019-01-08 | 北京易华录信息技术股份有限公司 | A kind of system for supporting multilingual printing template and its be converted into html template |
CN109324771A (en) * | 2018-10-26 | 2019-02-12 | 苏州浪潮智能软件有限公司 | A kind of self-service apparatus for returning-back of bills intelligence print page technology based on HTML analytic technique |
CN109471600A (en) * | 2018-10-31 | 2019-03-15 | 中国银行股份有限公司 | A kind of Method of printing, device and a kind of print system |
CN109597591A (en) * | 2018-10-24 | 2019-04-09 | 厦门汉印电子技术有限公司 | Type information synchronous display method, device, system, printer and user terminal |
CN109634537A (en) * | 2018-11-14 | 2019-04-16 | 百富计算机技术(深圳)有限公司 | A kind of segmentation Method of printing and transaction terminal |
CN110221790A (en) * | 2019-05-28 | 2019-09-10 | 迈克医疗电子有限公司 | Universal printing method and device, analysis instrument and storage medium |
CN112199056A (en) * | 2020-10-20 | 2021-01-08 | 金蝶软件(中国)有限公司 | Data printing method, device and computer storage medium |
CN113268209A (en) * | 2021-05-14 | 2021-08-17 | 深圳市领星网络科技有限公司 | Method and device for creating custom document printing template and computer equipment |
CN113760202A (en) * | 2021-08-11 | 2021-12-07 | 广州快批信息科技有限公司 | Document printing method, server, system and storage medium |
WO2022184122A1 (en) * | 2021-03-05 | 2022-09-09 | 珠海奔图电子有限公司 | Image formation control method, apparatus and system |
CN117234442A (en) * | 2023-11-09 | 2023-12-15 | 金蝶征信有限公司 | Data printing method, device, computer equipment and computer readable storage medium |
CN113760202B (en) * | 2021-08-11 | 2024-05-31 | 广州快批信息科技有限公司 | Document printing method, server, system and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020126314A1 (en) * | 1998-09-22 | 2002-09-12 | Xerox Corporation | Multibit screening of print documents in a PDL environment |
CN1801074A (en) * | 2004-12-31 | 2006-07-12 | 东友科技股份有限公司 | Paging method for printing file |
CN104571978A (en) * | 2015-01-09 | 2015-04-29 | 中科宇图天下科技有限公司 | Method for paging and printing documents based on HTML (Hypertext Markup Language) labels |
CN104714766A (en) * | 2015-03-12 | 2015-06-17 | 福建工程学院 | Method for direct printing in WEB report browser |
CN105930109A (en) * | 2016-04-06 | 2016-09-07 | 北京红马传媒文化发展有限公司 | Document printing method, system and terminal |
-
2017
- 2017-10-13 CN CN201710951342.5A patent/CN107943426B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020126314A1 (en) * | 1998-09-22 | 2002-09-12 | Xerox Corporation | Multibit screening of print documents in a PDL environment |
CN1801074A (en) * | 2004-12-31 | 2006-07-12 | 东友科技股份有限公司 | Paging method for printing file |
CN104571978A (en) * | 2015-01-09 | 2015-04-29 | 中科宇图天下科技有限公司 | Method for paging and printing documents based on HTML (Hypertext Markup Language) labels |
CN104714766A (en) * | 2015-03-12 | 2015-06-17 | 福建工程学院 | Method for direct printing in WEB report browser |
CN105930109A (en) * | 2016-04-06 | 2016-09-07 | 北京红马传媒文化发展有限公司 | Document printing method, system and terminal |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109164992A (en) * | 2018-08-16 | 2019-01-08 | 北京易华录信息技术股份有限公司 | A kind of system for supporting multilingual printing template and its be converted into html template |
CN109597591B (en) * | 2018-10-24 | 2023-04-07 | 厦门汉印电子技术有限公司 | Printing information synchronous display method, device, system, printer and user terminal |
CN109597591A (en) * | 2018-10-24 | 2019-04-09 | 厦门汉印电子技术有限公司 | Type information synchronous display method, device, system, printer and user terminal |
CN109324771A (en) * | 2018-10-26 | 2019-02-12 | 苏州浪潮智能软件有限公司 | A kind of self-service apparatus for returning-back of bills intelligence print page technology based on HTML analytic technique |
CN109471600A (en) * | 2018-10-31 | 2019-03-15 | 中国银行股份有限公司 | A kind of Method of printing, device and a kind of print system |
CN109634537A (en) * | 2018-11-14 | 2019-04-16 | 百富计算机技术(深圳)有限公司 | A kind of segmentation Method of printing and transaction terminal |
CN109634537B (en) * | 2018-11-14 | 2022-04-12 | 百富计算机技术(深圳)有限公司 | Segmentation printing method and transaction terminal |
CN110221790B (en) * | 2019-05-28 | 2023-02-21 | 迈克医疗电子有限公司 | Universal printing method and apparatus, analyzer, and storage medium |
CN110221790A (en) * | 2019-05-28 | 2019-09-10 | 迈克医疗电子有限公司 | Universal printing method and device, analysis instrument and storage medium |
CN112199056A (en) * | 2020-10-20 | 2021-01-08 | 金蝶软件(中国)有限公司 | Data printing method, device and computer storage medium |
WO2022184122A1 (en) * | 2021-03-05 | 2022-09-09 | 珠海奔图电子有限公司 | Image formation control method, apparatus and system |
CN113268209A (en) * | 2021-05-14 | 2021-08-17 | 深圳市领星网络科技有限公司 | Method and device for creating custom document printing template and computer equipment |
CN113760202A (en) * | 2021-08-11 | 2021-12-07 | 广州快批信息科技有限公司 | Document printing method, server, system and storage medium |
CN113760202B (en) * | 2021-08-11 | 2024-05-31 | 广州快批信息科技有限公司 | Document printing method, server, system and storage medium |
CN117234442A (en) * | 2023-11-09 | 2023-12-15 | 金蝶征信有限公司 | Data printing method, device, computer equipment and computer readable storage medium |
CN117234442B (en) * | 2023-11-09 | 2024-04-19 | 金蝶征信有限公司 | Data printing method, device, computer equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107943426B (en) | 2021-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107943426A (en) | Document page-by-page printing method, document print page system and computer installation | |
DE69732447T2 (en) | Method and device for reproducing font-free, structured documents | |
US6628413B1 (en) | Java printer | |
CN105278894B (en) | Print control, print system and printing control method | |
KR100661173B1 (en) | Print having a direct printing function and printing method thereof | |
US20100299588A1 (en) | Method and system for providing interaction between a host system and web pages | |
JP2003303088A (en) | N-up printing method and system | |
CN104717395B (en) | Print service provides device and print system | |
US9117314B2 (en) | Information output apparatus, method, and recording medium for displaying information on a video display | |
CN104461412A (en) | Web page designated area printing method and system | |
JP6525641B2 (en) | INFORMATION PROCESSING SYSTEM, CONTROL METHOD, AND COMPUTER PROGRAM | |
KR20080045703A (en) | Script markup | |
JPH11134148A (en) | Computer system | |
CN106775511A (en) | A kind of Method of printing and device | |
US20040036903A1 (en) | Printing apparatus | |
US20020188673A1 (en) | Data delivery | |
CN102880433B (en) | Signal conditioning package and control method | |
CN109739448A (en) | A kind of template set suitable for a variety of frameworks beats business design scheme into submission | |
JP2004062243A (en) | Client server system, client, server, computer unit, and method and program for preparing print image | |
CN104571974B (en) | Printing equipment and control system | |
EP2310963B1 (en) | Information output apparatus, information output method, and recording medium | |
JP2000330908A (en) | System and method for data processing, and storage medium | |
JP2015039824A (en) | Document layout system, program, and document layout method | |
US9052864B1 (en) | Method and apparatus for processing a page description language document | |
Fernandes et al. | An improved parallel XSL-FO rendering for personalized documents |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |