CN106055289B - Printing tool for custom tax declaration form - Google Patents
Printing tool for custom tax declaration form Download PDFInfo
- Publication number
- CN106055289B CN106055289B CN201610397066.8A CN201610397066A CN106055289B CN 106055289 B CN106055289 B CN 106055289B CN 201610397066 A CN201610397066 A CN 201610397066A CN 106055289 B CN106055289 B CN 106055289B
- Authority
- CN
- China
- Prior art keywords
- printing
- report
- maintenance
- printer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000007639 printing Methods 0.000 title claims abstract description 133
- 238000012423 maintenance Methods 0.000 claims abstract description 31
- 238000005516 engineering process Methods 0.000 claims abstract description 6
- 238000000034 method Methods 0.000 claims abstract description 5
- 238000009434 installation Methods 0.000 claims description 7
- 238000013461 design Methods 0.000 claims description 4
- 238000003780 insertion Methods 0.000 claims description 4
- 230000037431 insertion Effects 0.000 claims description 4
- 238000007792 addition Methods 0.000 claims description 3
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 238000010017 direct printing Methods 0.000 claims description 3
- 238000004321 preservation Methods 0.000 claims description 3
- 238000012360 testing method Methods 0.000 claims description 3
- 238000000151 deposition Methods 0.000 claims 1
- 230000006870 function Effects 0.000 description 18
- 241000092161 Pithys Species 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
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/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1253—Configuration of print job parameters, e.g. using UI at the client
Abstract
The invention discloses a printing tool for a custom tax declaration form, which is used for custom printing the form maintenance by adopting a B/S architecture plug-in combination mode, and can adjust the format and the size of the printed form in determined paper by dragging and zooming the printed form, and reasonably placing the printed content of the form on the corresponding paper; the similar reports adopt a batch continuous printing mode, and all the similar reports with a set format are printed by clicking a one-time printing button; the tool adopts an interface mode; the printing tool adopts a jsp + jQuery + Ajax, Ocx or Dll plug-in technology to realize a foreground interface, and the browser automatically installs the printing plug-in. The invention provides a flexible printing and embedding function of tax declaration forms for developers; the method has the advantages of providing convenient printing format setting for users, realizing batch continuous printing of tax declaration forms of the same type, providing an excel exporting function, being compatible with a mainstream browser, having a powerful printing function, and being simple and easy to use.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of customized taxation declaration table printing tools are related to tax
Business declaration form printed design, printing maintenance, Print Preview, same class taxation declaration table batch directly print and export excel's
Tool.
Background technique
Taxation declaration table is the data information that taxpayer provides to bureau of local taxation, is that country judges the important of income level
The key data that data foundation and enterprise need to retain.Enterprise is with declaring after software fill in and declare, often basis
Revenue department or unit require to print report, to keep to put on record on file.The complexity due to report being related to is big, and every class Shen
Report can have multiple a set of reports, declare software at present and declaration form is printed, be usually to directly read content of pages, carry out
Printing, and the result is that can be printed on more paper for big report, can also there are no marking, the not congruent problem of printing;For one kind
Multiple reports, usually open every report therein be configured, preview, printing, need operate many times, that is, increase work
It measures, and is easy error.
Summary of the invention
The technical problem to be solved by the present invention is to:In view of the above problems, the present invention provides a kind of customized taxation declaration table
Printing tools provide taxation declaration table for developer and flexibly print insertion function in terms of customized taxation declaration table printing
Energy;Convenient print settings is provided for user, the continuous printing of same class taxation declaration table batch is realized, export is provided
Excel function, compatible major browsers, printing function are powerful, easy to use.
Customized taxation declaration table printing tools, the B/S mode of use, the maintenance of print from the definition report can drag contracting
The report for putting printing adjusts printing reports format in determining paper and size, report printing content is reasonably placed on accordingly
Paper on;Using the continuous printing of batch, the similar report for setting format can click primary printing, print similar report
Similar all reports, greatly improve user job quality and efficiency;Tool uses interface mode, and New Report printing does not need again
Maintenance time is saved in secondary exploitation, greatly reduces exploitation maintenance cost.Customized taxation declaration table printing tools use jsp+
The technologies such as jQuery+Ajax, Ocx, Dll plug-in unit realize foreground interface, and browser installs printing plug-in unit automatically.It is whole to print interface
It is clean, by hand in conjunction with adjust automatically, not only realized common printing function, but also combine taxation declaration report actual conditions flexible setting,
Tool is easy to use, powerful and short and pithy, starts the taxation declaration table printing new situation.
The technical scheme adopted by the invention is as follows:
A kind of customized taxation declaration table printing tools, the printing tools are by the way of the combination of B/S framework plug-in unit, certainly
Define printing reports maintenance, and can by dragging scaling printing report, in determining paper adjustment printing reports format and
Size, report printing content are reasonably placed on corresponding paper;Plug-in unit includes two parts function:It prints core function, realize
More browsers are supported;Similar report using the continuous printing type of batch, once beaten by clicking by the similar report for setting format
Button is printed, all similar reports are printed;Tool uses interface mode;The printing tools using jsp+jQuery+Ajax,
Ocx or Dll plug-in part technology realizes foreground interface, and browser installs printing plug-in unit automatically;Print interface craft and adjust automatically knot
It closes.
B/S structure (Browser/Server, Browser/Server Mode) is a kind of network structure mould after WEB rises
Formula, web browser are the most important application software of client.This mode has unified client, the core that system function is realized
Center portion point focuses on server, simplifies the exploitation, maintenance and use of system.As long as installing a browser in client computer
(Browser English), such as Netscape Navigator or Internet Explorer, server install SQL Server,
The databases such as Oracle, MYSQL.Browser carries out data interaction with database by Web Server.
The printing tools operating process is as follows:
(1)Check whether installation printing plug-in unit, the reference code of insertion printing print, is then used in page head head
One global object's variable comes using control;If do not installed, installed by script prompt, and download link is provided;Plug-in unit branch
Current major browsers are held, installation plug-in unit is that all browsers disposably install, and does not need to distinguish for each serial browser
Installation;
(2)Printer page content is controlled by js, selects a part of printer page, or printing full page, selection
Print title, the gauge outfit, report content, table tail information of taxation declaration table;
A kind of literal translation formula scripting language of js, JavaScript, is a kind of regime type, weak type, the language based on prototype,
Built-in support type.Its interpreter is referred to as JavaScript engine, is a part of browser, is widely used in client
Scripting language is in HTML earliest(An application under standard generalized markup language)It uses, is used to html web page on webpage
Increase dynamic function;
(3)Printed design:The layout and style that need the printing reports page are designed, print entry additions and deletions function is provided
Can, including text, photo table, predominantly software developer's use;
(4)Printing maintenance:Printing layout is carried out to the report that needs print and print style carries out Interface maintenance, Bu Nengzeng
Print entry is deleted, but the position of print entry can be adjusted, printing maintenance function licenses to end user;
(5)Print Preview:Show Print Preview interface;If having carried out printing maintenance to the page, when preview, dimension can be shown
Print style interface after shield;
(6)Printing device is obtained by package interface and is printed;
(7)The continuous printing of tax report batch:A kind of taxation declaration report for needing to print, is tieed up by backstage code
Shield, content, the form maintenance information of same class related statements can be stored in background data base, and keep in user browser end
In caching, after selecting a kind of declaration form, the continuous printing of selection batch, printing tools read the information in caching first, if do not had
Get, will read background data base information automatically by Ajax, and store into client-cache, according to report data and
Format information carries out the direct continuous printing without preview.
Step(4)In printing maintenance, by setting button " saving format ", maintenance result is stored in operator's oneself
On computer, when preservation, is corresponding with " print out task title ", and any printer can use layout adjusted.
The step of obtaining printing device and printing is as follows:
1)Obtain the printer number in this system;
2)It obtains printer sequence number and its driving title, port name, Print direction, paper size (number), paper is long
Spend (0.1mm), paper width (0.1mm), printing number, paper source, print quality (dpi), whether colour, duplex printing,
The information such as form name, annotation, driving version number;
3)The printer of appointed sequence number (or title) comes Print Preview or direct printing test page, or interim selection one is write from memory
Recognize printer, is printed with default printer;
4)Setting printing number;
5)Printing reports.
Beneficial effects of the present invention are:
The present invention in terms of customized taxation declaration table printing, for developer provide taxation declaration table flexibly print it is embedding
Enter function;Convenient print settings is provided for user, the continuous printing of same class taxation declaration table batch is realized, export is provided
Excel function, compatible major browsers, printing function are powerful, easy to use.
Detailed description of the invention
Fig. 1 is printing tools operational flowchart of the present invention.
Specific embodiment
With reference to the accompanying drawings of the specification, by specific embodiment, the present invention is further described:
Embodiment 1:
A kind of customized taxation declaration table printing tools, the printing tools are by the way of the combination of B/S framework plug-in unit, certainly
Define printing reports maintenance, and can by dragging scaling printing report, in determining paper adjustment printing reports format and
Size, report printing content are reasonably placed on corresponding paper;Plug-in unit includes two parts function, first is that printing core function,
Second is that realizing that more browsers are supported;Using the continuous printing type of batch, the similar report for setting format passes through a little similar report
A print button is hit, all similar reports is printed, greatly improves user job quality and efficiency;Tool uses interface side
Formula, New Report printing do not need to develop again, save maintenance time, greatly reduce exploitation maintenance cost;The printing tools
Foreground interface is realized using technologies such as jsp+jQuery+Ajax, Ocx, Dll plug-in units, and browser installs printing plug-in unit automatically;Printing
Interface is clean and tidy, by hand in conjunction with adjust automatically, has not only realized common printing function, but also combine taxation declaration report actual conditions flexible
Setting, tool is easy to use, powerful and short and pithy, starts the taxation declaration table printing new situation.
Embodiment 2:
As shown in Figure 1, on the basis of embodiment 1, printing tools operating process described in the present embodiment is as follows:
(1)Check whether installation printing plug-in unit, the reference code of insertion printing print, is then used in page head head
One global object's variable comes using control;If do not installed, installed by script prompt, and download link is provided;Plug-in unit branch
Current major browsers are held, installation plug-in unit is that all browsers disposably install, and does not need to distinguish for each serial browser
Installation;
(2)Printer page content is controlled by js, selects a part of printer page, or printing full page, selection
Print title, the gauge outfit, report content, table tail information of taxation declaration table;
(3)Printed design:The layout and style that need the printing reports page are designed, print entry additions and deletions function is provided
Can, including text, photo table, predominantly software developer's use;
(4)Printing maintenance:Printing layout is carried out to the report that needs print and print style carries out Interface maintenance, Bu Nengzeng
Print entry is deleted, but the position of print entry can be adjusted, printing maintenance function licenses to end user;
(5)Print Preview:Show Print Preview interface;If having carried out printing maintenance to the page, when preview, dimension can be shown
Print style interface after shield;
(6)Printing device is obtained by package interface and is printed;
(7)The continuous printing of tax report batch:A kind of taxation declaration report for needing to print, is tieed up by backstage code
Shield, content, the form maintenance information of same class related statements can be stored in background data base, and keep in user browser end
In caching, after selecting a kind of declaration form, the continuous printing of selection batch, printing tools read the information in caching first, if do not had
Get, will read background data base information automatically by Ajax, and store into client-cache, according to report data and
Format information carries out the direct continuous printing without preview.
Embodiment 3:
On the basis of embodiment 2, the present embodiment step(4)It, will by setting button " saving format " in printing maintenance
Maintenance result is stored on the computer of operator oneself, and when preservation is corresponding with " print out task title ", and any printer can
Use layout adjusted.
Embodiment 4:
On the basis of embodiment 2 or 3, the present embodiment obtains printing device and the step of printing is as follows:
1)Obtain the printer number in this system;
2)It obtains printer sequence number and its driving title, port name, Print direction, paper size (number), paper is long
Spend (0.1mm), paper width (0.1mm), printing number, paper source, print quality (dpi), whether colour, duplex printing,
The information such as form name, annotation, driving version number;
3)The printer of appointed sequence number (or title) comes Print Preview or direct printing test page, or interim selection one is write from memory
Recognize printer, is printed with default printer;
4)Setting printing number;
5)Printing reports.
Wherein program code is as follows:
GET_PRINTER_COUNT;Obtain printer number;
GET_PRINTER_NAME(intPrinterIndex);Printer name is obtained with serial number, general serial number is opened from 0
Begin, -1 refers in particular to default printer;
SET_PRINTER_INDEX(oIndexOrName);Printer is specified by serial number or title, forbids craft after selected
Gravity treatment;
SET_PRINTER_INDEXA(IndexorName);Printer is specified by serial number or title, is allowed by hand after selecting
Gravity treatment;
SELECT_PRINTER;Pop-up interface selects printer and returns to its serial number, and since 0, return to -1 indicates to put serial number
It abandons;
SET_PRINT_COPIES(intCopies);Specified printing number every time, defaults to 1.
The above embodiments are only used to illustrate the present invention, and not limitation of the present invention, in relation to the common of technical field
Technical staff can also make a variety of changes and modification without departing from the spirit and scope of the present invention, therefore all
Equivalent technical solution also belongs to scope of the invention, and scope of patent protection of the invention should be defined by the claims.
Claims (3)
1. a kind of customized taxation declaration table printing tools, it is characterised in that:The printing tools are combined using B/S framework plug-in unit
Mode, print from the definition report maintenance, and can by dragging scaling printing report, in determining paper adjustment printing report
Sheet format and size, report printing content are reasonably placed on corresponding paper;Plug-in unit includes two parts function:Print core function
It can, realize that more browsers are supported;For similar report using the continuous printing type of batch, the similar report for setting format passes through click
Print button prints all similar reports;Tool uses interface mode;The printing tools use jsp+jQuery+
Ajax, Ocx or Dll plug-in part technology realize foreground interface, and browser installs printing plug-in unit automatically;Interface is printed to adjust with automatic by hand
Whole combination;
The printing tools operating process is as follows:
(1)Check whether installation printing plug-in unit, the reference code of insertion printing print in page head head, then with one
Global object's variable comes using control;
(2)Printer page content is controlled by js, selects a part of printer page, or printing full page, selection printing
The title of taxation declaration table, gauge outfit, report content, table tail information;
(3)Printed design:The layout and style that need the printing reports page are designed, print entry additions and deletions function is provided;
(4)Printing maintenance:Printing layout is carried out to the report that needs print and print style carries out Interface maintenance adjustment print entry
Position, printing maintenance function license to end user;
(5)Print Preview:Show Print Preview interface;
(6)Printing device is obtained by package interface and is printed;
(7)The continuous printing of taxation declaration table batch:A kind of taxation declaration table for needing to print, is safeguarded by backstage code,
Content, the form maintenance information of same class related statements can be stored in background data base, and keep in the slow of user browser end
In depositing, after selecting a kind of declaration form, the continuous printing of selection batch, printing tools read the information in caching first, if do not had
It gets, background data base information will be read automatically by Ajax, and store into client-cache, and be passed according to report data
Formula information carries out the direct continuous printing without preview.
2. a kind of customized taxation declaration table printing tools according to claim 1, it is characterised in that:Step(4)Printing
In maintenance, by setting button " save format ", maintenance result is stored on the computer of operator oneself, when preservation with " beat
Print task names " it is corresponding, any printer can use layout adjusted.
3. a kind of customized taxation declaration table printing tools according to claim 1 or 2, which is characterized in that printed
Equipment and the step of printing is as follows:
1)Obtain the printer number in this system;
2)It obtains printer sequence number and its driving title, port name, Print direction, paper size, yardage, paper is wide
Degree, printing number, paper source, print quality, whether colour, duplex printing, form name, annotation, drive version number information;
3)Specified printer comes Print Preview or direct printing test page, or temporarily one default printer of selection, is beaten with default
The printing of print machine;
4)Setting printing number;
5)Printing reports.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610397066.8A CN106055289B (en) | 2016-06-07 | 2016-06-07 | Printing tool for custom tax declaration form |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610397066.8A CN106055289B (en) | 2016-06-07 | 2016-06-07 | Printing tool for custom tax declaration form |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106055289A CN106055289A (en) | 2016-10-26 |
CN106055289B true CN106055289B (en) | 2018-11-27 |
Family
ID=57170474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610397066.8A Active CN106055289B (en) | 2016-06-07 | 2016-06-07 | Printing tool for custom tax declaration form |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106055289B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463348B (en) * | 2017-07-05 | 2021-04-27 | 深圳坐标软件集团有限公司 | Method and system for realizing Web end custom format printing based on B/S architecture |
CN108268223B (en) * | 2018-01-15 | 2021-01-12 | 安徽七色米信息科技有限公司 | Printing method and printing control based on HTTP data transmission |
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 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201016795Y (en) * | 2006-12-26 | 2008-02-06 | 北京有色金属研究总院 | Electronic scale weighing automatic printing system |
CN104700185A (en) * | 2013-12-06 | 2015-06-10 | 大连灵动科技发展有限公司 | Major hazard source management method of commanding and training drill system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101572799B1 (en) * | 2011-09-30 | 2015-12-01 | 인텔 코포레이션 | Secure printing between printer and print client device |
-
2016
- 2016-06-07 CN CN201610397066.8A patent/CN106055289B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201016795Y (en) * | 2006-12-26 | 2008-02-06 | 北京有色金属研究总院 | Electronic scale weighing automatic printing system |
CN104700185A (en) * | 2013-12-06 | 2015-06-10 | 大连灵动科技发展有限公司 | Major hazard source management method of commanding and training drill system |
Also Published As
Publication number | Publication date |
---|---|
CN106055289A (en) | 2016-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8694904B2 (en) | Cross-browser rich text editing via a hybrid client-side model | |
US7200816B2 (en) | Method and system for automating creation of multiple stylesheet formats using an integrated visual design environment | |
CN106055289B (en) | Printing tool for custom tax declaration form | |
US7307745B2 (en) | Web-based print server and client | |
CN108228119A (en) | Method of printing, terminal device and storage medium based on HXML | |
CN107844299A (en) | A kind of implementation method of Web application development tools | |
US20080028302A1 (en) | Method and apparatus for incrementally updating a web page | |
CN102135990A (en) | Java server page (JSP) template-based intelligent table system capable of being defined freely and generating method | |
US20040221231A1 (en) | Editing a document within web-based production system | |
US20030149935A1 (en) | Document authoring system and authoring management program | |
CN110235122A (en) | System and method for converting reusable template and component for web content | |
US20110157609A1 (en) | Systems and methods for processing online and print material | |
CN108776824A (en) | Bar-code label generation method, device and electronic equipment | |
CN103136317A (en) | Implement method of on-line examination and approval informatization of engineering contracts in engineering management system | |
US20150309993A1 (en) | Agile Enterprise Globalization | |
CN102360274A (en) | Variable-data printing template realization device and application method for same | |
CN104461538A (en) | Report generation method and report generation system | |
CN104915186B (en) | A kind of method and apparatus making the page | |
US20100115400A1 (en) | Information processing apparatus and information processing method | |
US20040243923A1 (en) | Information providing apparatus and information display device for displaying page information transmitted from information providing apparatus | |
CN109799988A (en) | IOS page layout method, terminal device and computer readable storage medium | |
CN110209387B (en) | Method and device for generating top-level HDL file and computer readable storage medium | |
CN102023987A (en) | Method and device for processing WEB document | |
SE521977C2 (en) | Method and apparatus for formatting a web service | |
KR20050106559A (en) | Method for outputting document form sheet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200612 Address after: 250100 Inspur Science Park, No. 1036, Inspur Road, high tech Zone, Jinan City, Shandong Province Patentee after: Inspur Software Technology Co.,Ltd. Address before: 250100, No. 2877, fairway, Sun Town, Ji'nan hi tech Zone, Shandong Patentee before: INSPUR GROUP Co.,Ltd. |