CN106055289A - Printing tool for custom tax declaration form - Google Patents

Printing tool for custom tax declaration form Download PDF

Info

Publication number
CN106055289A
CN106055289A CN201610397066.8A CN201610397066A CN106055289A CN 106055289 A CN106055289 A CN 106055289A CN 201610397066 A CN201610397066 A CN 201610397066A CN 106055289 A CN106055289 A CN 106055289A
Authority
CN
China
Prior art keywords
printing
print
printer
plug
interface
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
CN201610397066.8A
Other languages
Chinese (zh)
Other versions
CN106055289B (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 Software Technology Co Ltd
Original Assignee
Inspur Software Group 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 Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201610397066.8A priority Critical patent/CN106055289B/en
Publication of CN106055289A publication Critical patent/CN106055289A/en
Application granted granted Critical
Publication of CN106055289B publication Critical patent/CN106055289B/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/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client

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 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

A kind of self-defined taxation declaration table printing tools
Technical field
The present invention relates to field of computer technology, be specifically related to a kind of self-defined taxation declaration table printing tools, relate to tax Business declaration form printed design, printing maintenance, Print Preview, same class taxation declaration table batch the most directly print and derive excel's Instrument.
Background technology
Taxation declaration table is the data message that taxpayer provides to bureau of local taxation, is that country judges the important of income level Data foundation, Ye Shi enterprise needs the key data retained.Enterprise with declaring after software carries out filling in and declare, often basis Revenue department or unit require to print form, in order to keep on file to put on record.Form because relating to is complicated greatly, and every class Shen Can there are multiple forms a set of in form, declare software at present and print for declaration form, it is common that directly read content of pages, carry out Print, and result is to print on many paper for big form, also can there is no marking, print congruent problem;For a class Multiple forms, it is common that open every form therein be configured, preview, printing, need operation many times, i.e. add work Measure, and easily make mistakes.
Summary of the invention
The technical problem to be solved in the present invention is: for problem above, and the present invention provides a kind of self-defined taxation declaration table Printing tools, in terms of self-defined taxation declaration table printing, provides taxation declaration table to print embedding merit flexibly for developer Energy;Provide the user convenient print settings, it is achieved same class taxation declaration table batch prints continuously, it is provided that derive Excel function, compatible major browsers, printing function is powerful, easy to use.
Self-defining taxation declaration table printing tools, the B/S mode of employing, print from the definition form is safeguarded, can be dragged contracting Putting the form of printing, adjust printing reports form and size in the paper determined, report printing content is reasonably placed on accordingly Paper on;Similar form uses batch to print continuously, sets the similar form of form and can click on and once print, prints Similar all forms, are greatly improved user job quality and efficiency;Instrument uses interface mode, and New Report prints and need not Secondary exploitation, saving maintenance time, greatly reduce exploitation maintenance cost.Self-defined taxation declaration table printing tools uses jsp+ The technology such as jQuery+Ajax, Ocx, Dll plug-in unit realize interface, foreground, and printing plug-in unit installed automatically by browser.Printing interface is whole Clean, adjust combination by hand and automatically, both realized conventional printing function, and combined again taxation declaration form practical situation and arrange flexibly, Instrument is easy to use, powerful and short and pithy, starts taxation declaration table and prints the new situation.
The technical solution adopted in the present invention is:
A kind of self-defined taxation declaration table printing tools, described printing tools uses the mode that B/S framework plug-in unit combines, self-defined Printing reports is safeguarded, and can adjust printing reports form and size in the paper determined by dragging the form that scaling prints, Report printing content is reasonably placed on corresponding paper;Plug-in unit comprises two parts function: prints Core Feature, realize browsing more Device is supported;Similar form uses batch continuously printing type, sets the similar form of form by clicking on a print button, Print all similar forms;Instrument uses interface mode;Described printing tools uses jsp+jQuery+Ajax, Ocx or Dll Plug-in part technology realizes interface, foreground, and printing plug-in unit installed automatically by browser;Print interface and adjust combination by hand and automatically.
B/S structure (Browser/Server, Browser/Server Mode), is a kind of network structure mould after WEB rises Formula, web browser is the topmost application software of client.This pattern has unified client, core systemic-function realized Heart part focuses on server, simplifies the exploitation of system, safeguards and use.As long as installing a browser in client computer (Browser English), such as Netscape Navigator or Internet Explorer, server install SQL Server, The data bases such as Oracle, MYSQL.Browser carries out data interaction by Web Server with data base.
Described printing tools operating process is as follows:
(1) checking whether that installation prints plug-in unit, embed printing print in page head head quotes code, then with one Global object's variable uses control;If do not installed, installed by script prompt, and download link is provided;Mesh supported by plug-in unit Front major browsers, installing plug-in unit is that all browsers disposably install, it is not necessary to be respectively mounted for each series browser;
(2) control printer page content by js, select a part for printer page, or print full page, select to print The title of taxation declaration table, gauge outfit, form content, table tail information;
Js, JavaScript mono-kind literal translates formula script, is a kind of regime type, weak type, language based on prototype, built-in Support type.Its interpreter is referred to as JavaScript engine, for a part for browser, is widely used in the script of client Language, is an application under HTML(standard generalized markup language the earliest) use on webpage, it is used for increasing to html web page Dynamic function;
(3) printed design: the layout and style needing the printing reports page is designed, it is provided that print entry additions and deletions function, bag Include text, photo table, predominantly software developer to use;
(4) maintenance is printed: the form needing printing is carried out printing layout and print style carries out Interface maintenance, it is impossible to additions and deletions are beaten Print item, but the position of print entry can be adjusted, print maintenance function and license to end user;
(5) Print Preview: display Print Preview interface;Safeguard, during preview, after maintenance being shown if having carried out the page printing Print style interface;
(6) obtain printing device by package interface and print;
(7) tax form batch prints continuously: needs the class taxation declaration form printed, is safeguarded by backstage code, The content of same class related statements, form maintenance information can be stored in background data base, and keep in the slow of user browser end In depositing, after selecting a class declaration form, selecting batch to print continuously, first printing tools reads the information in caching, without Get, background data base information will be read automatically by Ajax, and store in client-cache, pass according to report data Formula information, carries out printing the most continuously without preview.
Step (4) prints in safeguarding, by settings button " preservation form ", will safeguard that result is saved in operator's oneself On computer, corresponding with " print out task title " during preservation, any printer can use the layout after adjustment.
Acquisition printing device the step printed are as follows:
1) the printer number in native system is obtained;
2) obtain printer sequence number and drive title, port title, Print direction, paper size (numbering), yardage (0.1mm), paper width (0.1mm), print number, paper source, print quality (dpi), whether colour, duplex printing, table Single-character given name claims, annotates, drives the information such as version number;
3) printer of appointed sequence number (or title) comes Print Preview or direct printing test page;
4) or temporarily select a default printer, print with default printer;
5) printing number is set;
6) printing reports.
The invention have the benefit that
The present invention, in terms of self-defined taxation declaration table printing, provides taxation declaration table to print embedding merit flexibly for developer Energy;Provide the user convenient print settings, it is achieved same class taxation declaration table batch prints continuously, it is provided that derive Excel function, compatible major browsers, printing function is powerful, easy to use.
Accompanying drawing explanation
Fig. 1 is printing tools operational flowchart of the present invention.
Detailed description of the invention
Below in conjunction with Figure of description, by detailed description of the invention, the present invention is further described:
Embodiment 1:
A kind of self-defined taxation declaration table printing tools, described printing tools uses the mode that B/S framework plug-in unit combines, self-defined Printing reports is safeguarded, and can adjust printing reports form and size in the paper determined by dragging the form that scaling prints, Report printing content is reasonably placed on corresponding paper;Plug-in unit comprises two parts function, and one is to print Core Feature, and two is real Now many browsers support;Similar form uses batch printing type continuously, sets the similar form of form by clicking on once Print button, prints all similar forms, is greatly improved user job quality and efficiency;Instrument uses interface mode, newly-increased Report printing need not again develop, save maintenance time, greatly reduces exploitation maintenance cost;Described printing tools uses jsp+ The technology such as jQuery+Ajax, Ocx, Dll plug-in unit realize interface, foreground, and printing plug-in unit installed automatically by browser;Printing interface is whole Clean, adjust combination by hand and automatically, both realized conventional printing function, and combined again taxation declaration form practical situation and arrange flexibly, Instrument is easy to use, powerful and short and pithy, starts taxation declaration table and prints the new situation.
Embodiment 2:
As it is shown in figure 1, on the basis of embodiment 1, described in the present embodiment, printing tools operating process is as follows:
(1) checking whether that installation prints plug-in unit, embed printing print in page head head quotes code, then with one Global object's variable uses control;If do not installed, installed by script prompt, and download link is provided;Mesh supported by plug-in unit Front major browsers, installing plug-in unit is that all browsers disposably install, it is not necessary to be respectively mounted for each series browser;
(2) control printer page content by js, select a part for printer page, or print full page, select to print The title of taxation declaration table, gauge outfit, form content, table tail information;
(3) printed design: the layout and style needing the printing reports page is designed, it is provided that print entry additions and deletions function, bag Include text, photo table, predominantly software developer to use;
(4) maintenance is printed: the form needing printing is carried out printing layout and print style carries out Interface maintenance, it is impossible to additions and deletions are beaten Print item, but the position of print entry can be adjusted, print maintenance function and license to end user;
(5) Print Preview: display Print Preview interface;Safeguard, during preview, after maintenance being shown if having carried out the page printing Print style interface;
(6) obtain printing device by package interface and print;
(7) tax form batch prints continuously: needs the class taxation declaration form printed, is safeguarded by backstage code, The content of same class related statements, form maintenance information can be stored in background data base, and keep in the slow of user browser end In depositing, after selecting a class declaration form, selecting batch to print continuously, first printing tools reads the information in caching, without Get, background data base information will be read automatically by Ajax, and store in client-cache, pass according to report data Formula information, carries out printing the most continuously without preview.
Embodiment 3:
On the basis of embodiment 2, the present embodiment step (4) prints in safeguarding, by settings button " preservation form ", will safeguard Result is saved on the computer of operator oneself, and corresponding with " print out task title " during preservation, any printer can use Layout after adjustment.
Embodiment 4:
On the basis of embodiment 2 or 3, the present embodiment acquisition printing device the step printed are as follows:
1) the printer number in native system is obtained;
2) obtain printer sequence number and drive title, port title, Print direction, paper size (numbering), yardage (0.1mm), paper width (0.1mm), print number, paper source, print quality (dpi), whether colour, duplex printing, table Single-character given name claims, annotates, drives the information such as version number;
3) printer of appointed sequence number (or title) comes Print Preview or direct printing test page;
4) or temporarily select a default printer, print with default printer;
5) printing number is set;
6) printing reports.
Wherein program code is as follows:
GET_PRINTER_COUNT;Obtain printer number;
GET_PRINTER_NAME(intPrinterIndex);Obtaining printer name by sequence number, general sequence number is from the beginning of 0, and-1 is special Refer to default printer;
SET_PRINTER_INDEX(oIndexOrName);By sequence number or title specific printer, after selecting, forbid manual weight Choosing;
SET_PRINTER_INDEXA(IndexorName);By sequence number or title specific printer, after selecting, allow manual weight Choosing;
SELECT_PRINTER;Ejecting interface select printer and return its sequence number, sequence number, from the beginning of 0, returns-1 expression and abandons;
SET_PRINT_COPIES(intCopies);Specify and print number every time, default to 1.
Embodiment of above is merely to illustrate the present invention, and not limitation of the present invention, common about technical field Technical staff, without departing from the spirit and scope of the present invention, it is also possible to make a variety of changes and modification, therefore own The technical scheme of equivalent falls within scope of the invention, and the scope of patent protection of the present invention should be defined by the claims.

Claims (4)

1. a self-defined taxation declaration table printing tools, it is characterised in that: described printing tools uses B/S framework plug-in unit to combine Mode, print from the definition form safeguard, and can by drag scaling print form, in the paper determined adjust print report Sheet format and size, report printing content is reasonably placed on corresponding paper;Plug-in unit comprises two parts function: print core merit , the support of many browsers can be realized;Similar form uses batch printing type continuously, sets the similar form of form by clicking on Print button, prints all similar forms;Instrument uses interface mode;Described printing tools uses jsp+jQuery+ Ajax, Ocx or Dll plug-in part technology realizes interface, foreground, and printing plug-in unit installed automatically by browser;Print the manual and automatic tune in interface Whole combination.
One the most according to claim 1 self-defined taxation declaration table printing tools, it is characterised in that described printing tools Operating process is as follows:
(1) checking whether that installation prints plug-in unit, embed printing print in page head head quotes code, then with one Global object's variable uses control;
(2) control printer page content by js, select a part for printer page, or print full page, select to print The title of taxation declaration table, gauge outfit, form content, table tail information;
(3) printed design: the layout and style needing the printing reports page is designed, it is provided that print entry additions and deletions function;
(4) maintenance is printed: the form needing printing is carried out printing layout and print style carries out Interface maintenance and adjusts print entry Position, print maintenance function license to end user;
(5) Print Preview: display Print Preview interface;
(6) obtain printing device by package interface and print;
(7) tax form batch prints continuously: needs the class taxation declaration form printed, is safeguarded by backstage code, The content of same class related statements, form maintenance information can be stored in background data base, and keep in the slow of user browser end In depositing, after selecting a class declaration form, selecting batch to print continuously, first printing tools reads the information in caching, without Get, background data base information will be read automatically by Ajax, and store in client-cache, pass according to report data Formula information, carries out printing the most continuously without preview.
One the most according to claim 2 self-defined taxation declaration table printing tools, it is characterised in that: step (4) prints In maintenance, by settings button " preservation form ", will safeguard that result is saved on the computer of operator oneself, during preservation with " beat Print task names " corresponding, any printer can use the layout after adjustment.
4. according to the self-defined taxation declaration table printing tools of the one described in Claims 2 or 3, it is characterised in that obtain and print Equipment the step printed are as follows:
1) the printer number in native system is obtained;
2) obtain printer sequence number and drive title, port title, Print direction, paper size, yardage, paper width Degree, print number, paper source, printing matter, whether colour, duplex printing, form name, annotate, drive version number information;
3) specific printer comes Print Preview or direct printing test page;
4) or temporarily select a default printer, print with default printer;
5) printing number is set;
6) printing reports.
CN201610397066.8A 2016-06-07 2016-06-07 Printing tool for custom tax declaration form Active CN106055289B (en)

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 true CN106055289A (en) 2016-10-26
CN106055289B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463348A (en) * 2017-07-05 2017-12-12 深圳市坐标软件开发有限公司 Web ends user-defined format print method and system are realized based on B/S frameworks
CN108268223A (en) * 2018-01-15 2018-07-10 合肥盈云信息科技有限公司 Method of printing and word depghi based on HTTP data transmissions
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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201016795Y (en) * 2006-12-26 2008-02-06 北京有色金属研究总院 Electronic scale weighing automatic printing system
WO2013048509A1 (en) * 2011-09-30 2013-04-04 Intel Corporation Secure printing between printer and print client device
CN104700185A (en) * 2013-12-06 2015-06-10 大连灵动科技发展有限公司 Major hazard source management method of commanding and training drill system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201016795Y (en) * 2006-12-26 2008-02-06 北京有色金属研究总院 Electronic scale weighing automatic printing system
WO2013048509A1 (en) * 2011-09-30 2013-04-04 Intel Corporation Secure printing between printer and print client device
CN104700185A (en) * 2013-12-06 2015-06-10 大连灵动科技发展有限公司 Major hazard source management method of commanding and training drill system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463348A (en) * 2017-07-05 2017-12-12 深圳市坐标软件开发有限公司 Web ends user-defined format print method and system are realized based on B/S frameworks
CN107463348B (en) * 2017-07-05 2021-04-27 深圳坐标软件集团有限公司 Method and system for realizing Web end custom format printing based on B/S architecture
CN108268223A (en) * 2018-01-15 2018-07-10 合肥盈云信息科技有限公司 Method of printing and word depghi based on HTTP data transmissions
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

Also Published As

Publication number Publication date
CN106055289B (en) 2018-11-27

Similar Documents

Publication Publication Date Title
US8694904B2 (en) Cross-browser rich text editing via a hybrid client-side model
JP6368690B2 (en) Workflow creation support device, system, method and program
CN108776824A (en) Bar-code label generation method, device and electronic equipment
US20030149935A1 (en) Document authoring system and authoring management program
CN110865775A (en) Printing method for online design and preview based on WEB
CN103136317A (en) Implement method of on-line examination and approval informatization of engineering contracts in engineering management system
US20050160359A1 (en) Method and system for automating creation of multiple stylesheet formats using an integrated visual design environment
CN102360274A (en) Variable-data printing template realization device and application method for same
US20050216830A1 (en) Access tool to facilitate exchange of data to and from an end-user application software package
CN109062567A (en) Information management system quick development platform based on B/S structure
JP2005166050A (en) Pdf document to ppml template translation
CN106055289A (en) Printing tool for custom tax declaration form
EP1457899B1 (en) System for creating and transmitting a Web page to be displayed by a client computer
CN105589959A (en) Form processing method and form processing system
CN102830974A (en) Visual auxiliary development tool for rapid generation of JAVA codes
US20050125724A1 (en) PPML to PDF conversion
CN1967580B (en) Realizing method of electronic bill
KR20050106559A (en) Method for outputting document form sheet
CN107992600A (en) A kind of method and computer equipment of intelligence generation data acquisition webpage
CN104715030A (en) Method for printing bills and reports on preprinted form
JP6008149B2 (en) Data generation system for printing
KR101508075B1 (en) Information processing apparatus, web browser control method, and storage medium storing program thereof
JP5301896B2 (en) Information processing apparatus, information processing method, and program
KR100249328B1 (en) Slip preparing method
JP2002042045A (en) Electronic business form system

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.