CN107943436A - Statement of expense Method of printing and device, computer-readable recording medium, terminal - Google Patents

Statement of expense Method of printing and device, computer-readable recording medium, terminal Download PDF

Info

Publication number
CN107943436A
CN107943436A CN201711264137.8A CN201711264137A CN107943436A CN 107943436 A CN107943436 A CN 107943436A CN 201711264137 A CN201711264137 A CN 201711264137A CN 107943436 A CN107943436 A CN 107943436A
Authority
CN
China
Prior art keywords
statement
expense
printing
data
converted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711264137.8A
Other languages
Chinese (zh)
Other versions
CN107943436B (en
Inventor
孙成通
李须岗
王玉奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Financial Information Technology Co Ltd
Original Assignee
Inspur Financial Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Financial Information Technology Co Ltd filed Critical Inspur Financial Information Technology Co Ltd
Priority to CN201711264137.8A priority Critical patent/CN107943436B/en
Publication of CN107943436A publication Critical patent/CN107943436A/en
Application granted granted Critical
Publication of CN107943436B publication Critical patent/CN107943436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1244Job translation or job parsing, e.g. page banding
    • G06F3/1246Job translation or job parsing, e.g. page banding by handling markup languages, e.g. XSL, XML, HTML
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1244Job translation or job parsing, e.g. page banding
    • G06F3/1247Job translation or job parsing, e.g. page banding by conversion to printer ready format

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A kind of statement of expense Method of printing and device, computer-readable storage medium, terminal, the described method includes:Obtain statement of expense data set to be printed;Acquired statement of expense data set is subjected to opposite sequence, obtains corresponding DataSet data sets;Obtained DataSet data sets are converted into corresponding pdf document;Print the pdf document being converted to.Above-mentioned scheme, can simplify the operation of statement of expense printing, improve printing effect.

Description

Statement of expense Method of printing and device, computer-readable recording medium, terminal
Technical field
, can more particularly to a kind of statement of expense Method of printing and device, computer the present invention relates to debugging technique field Read storage medium, terminal.
Background technology
With the development of network and economic society, household and office are increasingly intended to intelligence, to the expense in region The approach and mode of list print are more and more.
Existing statement of expense Method of printing, is generally beaten the statement of expense of webpage format using network printing control Print.
But existing statement of expense Method of printing has seriously affected user there are the problem of cumbersome, inefficiency Usage experience.
The content of the invention
The technical problem that the embodiment of the present invention solves is how to simplify the operation of statement of expense printing, improves printing effect.
To solve the above problems, an embodiment of the present invention provides a kind of statement of expense Method of printing, the described method includes:
Obtain statement of expense data set to be printed;
Acquired statement of expense data set is subjected to opposite sequence, obtains corresponding DataSet data sets;
Obtained DataSet data sets are converted into corresponding pdf document;
Print the pdf document being converted to.
Alternatively, it is described that obtained DataSet data sets are converted into corresponding pdf document, including:
The data in the DataSet data sets of default line number are converted in the pdf document in sequence and correspond to the page number PDF data.
Alternatively, it is described that obtained DataSet data sets are converted into corresponding pdf document, further include:For corresponding page The PDF data of code add the information of corresponding title.
Alternatively, it is described that obtained DataSet data sets are converted into corresponding pdf document, further include:For corresponding page The PDF data of code add the information of the corresponding page number.
The embodiment of the present invention additionally provides a kind of statement of expense printing equipment, and described device includes:
Acquiring unit, suitable for obtaining statement of expense data set to be printed;
Opposite sequence unit, suitable for acquired statement of expense data set is carried out opposite sequence, obtains corresponding DataSet data sets;
Converting unit, suitable for obtained DataSet data sets are converted to corresponding pdf document;
Print unit, suitable for printing the pdf document being converted to.
Alternatively, the converting unit, suitable in sequence by the data conversion in the DataSet data sets of default line number To correspond to the PDF data of the page number in the pdf document.
Alternatively, the converting unit, the PDF data for being further adapted to the corresponding page number add the information of corresponding title.
Alternatively, the converting unit, the PDF data for being further adapted to the corresponding page number add the information of the corresponding page number.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer instruction, described The step of statement of expense Method of printing described in any of the above-described is performed when computer instruction is run.
The embodiment of the present invention additionally provides a kind of terminal, including memory and processor, and energy is stored on the memory Enough computer instructions run on the processor, the processor perform any of the above-described when running the computer instruction The step of described statement of expense Method of printing.
Compared with prior art, technical scheme has the following advantages:
Such scheme, by the way that acquired statement of expense data set opposite sequence is turned to corresponding DataSet data sets, and Obtained DataSet data sets are converted to corresponding pdf document to be printed, with splicing and combining webpage format in the page Statement of expense form compare, the operation of statement of expense printing can be simplified, improve the facility of statement of expense Method of printing operation Property, lifts the usage experience of user.
Brief description of the drawings
Fig. 1 is a kind of flow chart of statement of expense Method of printing in the embodiment of the present invention;
Fig. 2 is the flow chart of another statement of expense Method of printing in the embodiment of the present invention.
Embodiment
Just as described in the background art, existing statement of expense Method of printing, using in the spelling group html forms in the page, And printed by network printing control (lodop), there is the problem of cumbersome, inefficient.
To solve the above-mentioned problems in the prior art, the technical solution that the embodiment of the present invention uses takes acquired Corresponding DataSet data sets are turned to listings data collection opposite sequence, and obtained DataSet data sets are converted to pair The pdf document answered is printed, and can simplify the operation of statement of expense printing, improves the facility of statement of expense Method of printing operation Property, lifts the usage experience of user.
It is understandable to enable the above objects, features and advantages of the present invention to become apparent, below in conjunction with the accompanying drawings to the present invention Specific embodiment be described in detail.
Fig. 1 shows a kind of flow chart of statement of expense Method of printing in the embodiment of the present invention.Taking as shown in Fig. 1 With list print method, it can specifically include following operation:
Step S101:Obtain statement of expense data set to be printed.
In specific implementation, the statement of expense data set to be printed, is the data set of XML format.
Step S102:Acquired statement of expense data set is subjected to opposite sequence, obtains corresponding DataSet data Collection.
In specific implementation, acquired statement of expense data set is subjected to opposite sequence, is also taking XML forms DataSet data sets are turned to listings data opposite sequence.Wherein, DataSet data sets, for the independent digit independent of database According to set, DataSet describes data in inside with XML.Since XML is a kind of data unrelated with platform, unrelated with language Description language, and the data of complex relationship can be described, such as the data of set membership, so DataSet can essentially The data with complex relationship are accommodated, and are no longer dependent on data base link.
Step S103:Obtained DataSet data sets are converted into corresponding pdf document.
In specific implementation, can be by when obtaining the corresponding DataSet data sets of statement of expense data set to be printed The pdf document number of the corresponding page number is converted to according to the DataSet data of the corresponding default line number of the order DataSet data sets According to, the DataSet data of the default line number of corresponding positions sequence are also converted to the data that the page number is corresponded in PDF files, it is final to obtain To complete statement of expense pdf document.
In an embodiment of the present invention, can also be by by the default of corresponding positions sequence for the ease of the printing of the statement of expense When the DataSet data of line number are converted to the data that the page number is corresponded in pdf document, the pdf document for the corresponding page number adds correspondence The page number and/or title.
Step S104:Print the pdf document being converted to.
In specific implementation, when obtained DataSet data sets are converted to corresponding pdf document, will can turn The pdf document got in return is stored in pre-set storage catalogue and is stored.The printer of acquiescence is from the storage catalogue The middle pdf document being converted to that obtains is printed.
Such scheme, corresponding DataSet data sets are turned to by acquired statement of expense data set opposite sequence, and by institute Obtained DataSet data sets are converted to corresponding pdf document and are printed, with splicing and combining webpage format in the page (HTML) statement of expense form is compared, and can simplify the operation of statement of expense printing, improves the operation of statement of expense Method of printing Convenience, lift the usage experience of user.
The above-mentioned method in the embodiment of the present invention is described in detail, below by the above-mentioned corresponding dress of method Put and be described.
Fig. 2 shows a kind of structure of statement of expense printing equipment in the embodiment of the present invention.Referring to Fig. 2, a kind of expense List print device 20 can include acquiring unit 201, opposite sequence unit 202, converting unit 203 and print unit 204, its Middle acquiring unit 201, opposite sequence unit 202, converting unit 203 and print unit 204, wherein:
Acquiring unit 201, suitable for obtaining statement of expense data set to be printed.
Opposite sequence unit 202, suitable for acquired statement of expense data set is carried out opposite sequence, obtains corresponding DataSet data sets.
Converting unit 203, suitable for obtained DataSet data sets are converted to corresponding pdf document.It is being embodied In, the converting unit 203, suitable for the data in the DataSet data sets of default line number are converted to the PDF in sequence The PDF data of the page number are corresponded in file.In an embodiment of the present invention, the converting unit 203, is further adapted to the corresponding page number PDF data add the information of corresponding title.In an alternative embodiment of the invention, the converting unit 203, is further adapted to correspond to The PDF data of the page number add the information of the corresponding page number.
Print unit 204, suitable for printing the pdf document being converted to.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer instruction, described The step of statement of expense Method of printing is performed when computer instruction is run.Wherein, the statement of expense Method of printing The step of refer to the descriptions of preceding sections, repeat no more.
The embodiment of the present invention additionally provides a kind of terminal, including memory and processor, and energy is stored on the memory Enough computer instructions run on the processor, the processor perform the expense when running the computer instruction The step of list print method.Wherein, the step of statement of expense Method of printing refers to the description of preceding sections, no longer Repeat.
Using the such scheme in the embodiment of the present invention, by the way that acquired statement of expense data set opposite sequence is turned to pair DataSet data sets answered, and obtained DataSet data sets are converted into corresponding PDF files and are printed, with Html forms are spliced and combined in the page to compare, can simplify the operation of statement of expense printing, improve statement of expense Method of printing behaviour The convenience of work, lifts the usage experience of user.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct relevant hardware to complete by program, which can be stored in computer-readable recording medium, and storage is situated between Matter can include:ROM, RAM, disk or CD etc..
The method and system of the embodiment of the present invention are had been described in detail above, the present invention is not limited thereto.Any Field technology personnel, without departing from the spirit and scope of the present invention, can make various changes or modifications, therefore the guarantor of the present invention Shield scope should be subject to claim limited range.

Claims (10)

  1. A kind of 1. statement of expense Method of printing, it is characterised in that including:
    Obtain statement of expense data set to be printed;
    Acquired statement of expense data set is subjected to opposite sequence, obtains corresponding DataSet data sets;
    Obtained DataSet data sets are converted into corresponding pdf document;
    Print the pdf document being converted to.
  2. 2. statement of expense Method of printing according to claim 1, it is characterised in that described by obtained DataSet numbers Corresponding pdf document is converted to according to collection, including:
    Data in the DataSet data sets of default line number are converted to the PDF that the page number is corresponded in the pdf document in sequence Data.
  3. 3. statement of expense Method of printing according to claim 2, it is characterised in that described by obtained DataSet numbers Corresponding pdf document is converted to according to collection, is further included:The information of corresponding title is added for the PDF data of the corresponding page number.
  4. 4. the statement of expense Method of printing according to Claims 2 or 3, it is characterised in that described by obtained DataSet Data set is converted to corresponding pdf document, further includes:The information of the corresponding page number is added for the PDF data of the corresponding page number.
  5. A kind of 5. statement of expense printing equipment, it is characterised in that including:
    Acquiring unit, suitable for obtaining statement of expense data set to be printed;
    Opposite sequence unit, suitable for acquired statement of expense data set is carried out opposite sequence, obtains corresponding DataSet numbers According to collection;
    Converting unit, suitable for obtained DataSet data sets are converted to corresponding pdf document;
    Print unit, suitable for printing the pdf document being converted to.
  6. 6. statement of expense printing equipment according to claim 5, it is characterised in that the converting unit, suitable for according to suitable Data in the DataSet data sets of default line number are converted to the PDF data that the page number is corresponded in the pdf document by sequence.
  7. 7. statement of expense printing equipment according to claim 6, it is characterised in that the converting unit, is further adapted to pair The PDF data of the page number are answered to add the information of corresponding title.
  8. 8. the statement of expense printing equipment according to claim 6 or 7, it is characterised in that the converting unit, is further adapted to The PDF data of the corresponding page number add the information of the corresponding page number.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the computer instruction fortune Perform claim requires the step of 1 to the 4 any one of them statement of expense Method of printing during row.
  10. 10. a kind of terminal, it is characterised in that including memory and processor, being stored on the memory can be at the place The computer instruction run on reason device, any one of perform claim requirement 1 to 4 institute when the processor runs the computer instruction The step of statement of expense Method of printing stated.
CN201711264137.8A 2017-12-05 2017-12-05 Expense list printing method and device, computer readable storage medium and terminal Active CN107943436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711264137.8A CN107943436B (en) 2017-12-05 2017-12-05 Expense list printing method and device, computer readable storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711264137.8A CN107943436B (en) 2017-12-05 2017-12-05 Expense list printing method and device, computer readable storage medium and terminal

Publications (2)

Publication Number Publication Date
CN107943436A true CN107943436A (en) 2018-04-20
CN107943436B CN107943436B (en) 2020-12-01

Family

ID=61944785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711264137.8A Active CN107943436B (en) 2017-12-05 2017-12-05 Expense list printing method and device, computer readable storage medium and terminal

Country Status (1)

Country Link
CN (1) CN107943436B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4893198B2 (en) * 2006-09-28 2012-03-07 セイコーエプソン株式会社 File generation program, image processing apparatus, and file generation method
CN104281447A (en) * 2014-09-01 2015-01-14 国家电网公司 Report form fast generating and issuing system and method
CN106407170A (en) * 2016-09-30 2017-02-15 上海冰穹网络科技有限公司 Rapid generation method and system for data report
CN107025076A (en) * 2016-02-01 2017-08-08 阿里巴巴集团控股有限公司 One kind automation printing test method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4893198B2 (en) * 2006-09-28 2012-03-07 セイコーエプソン株式会社 File generation program, image processing apparatus, and file generation method
CN104281447A (en) * 2014-09-01 2015-01-14 国家电网公司 Report form fast generating and issuing system and method
CN107025076A (en) * 2016-02-01 2017-08-08 阿里巴巴集团控股有限公司 One kind automation printing test method and device
CN106407170A (en) * 2016-09-30 2017-02-15 上海冰穹网络科技有限公司 Rapid generation method and system for data report

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张军: "基于.NET的报表生成系统设计", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
王素霞: "面向 Web 应用的报表管理系统生成器的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN107943436B (en) 2020-12-01

Similar Documents

Publication Publication Date Title
US8392884B2 (en) Test case automatic generation method for testing proactive GSM application on SIM cards
CN101122899B (en) Report generation method and device
CN104461484B (en) The implementation method and device of front-end template
CN103646016B (en) The customized implementation method of financial statement and server
US8910036B1 (en) Web based copy protection
CN104731589A (en) Automatic generation method and device of user interface (UI)
JP5336748B2 (en) Computers, methods, and programs for effectively communicating accessibility issues in content to others
CN101526963A (en) Method for identifying web page coding, device and terminal equipment
CN106325596A (en) Automatic error correction method and system for writing handwriting
CN109117032A (en) Reading processing method and device based on epub e-book
CN107977344A (en) Date storage method, acquisition methods and server
CN110990010A (en) Software interface code generation method and device
CN107943436A (en) Statement of expense Method of printing and device, computer-readable recording medium, terminal
CN107547944A (en) Interface realizing method and device, set top box
CN106681852B (en) A kind of method of adjustment and device of browser compatibility
KR20190090636A (en) Method for automatically editing pattern of document
CN104360848B (en) A kind of flex page conversion method and device
CN103309905A (en) Method for transcoding, combining and reading web pages
CN103605640B (en) Form adaption method and device
KR20140055282A (en) Web appalication error analisis system, apparatus and method for user terminal
CN103297865B (en) The method and system of intelligent network service off-line reproduction
CN106909511A (en) A kind of automated testing method based on RedwoodHQ
CN107544991A (en) The method and apparatus of server process access request
CN113312025A (en) Component library generation method and device, storage medium and electronic equipment
CN106557593A (en) A kind of method and system of switching Web page subject

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