CN106610804A - Ticket printing method and system - Google Patents

Ticket printing method and system Download PDF

Info

Publication number
CN106610804A
CN106610804A CN201611227492.3A CN201611227492A CN106610804A CN 106610804 A CN106610804 A CN 106610804A CN 201611227492 A CN201611227492 A CN 201611227492A CN 106610804 A CN106610804 A CN 106610804A
Authority
CN
China
Prior art keywords
printing
printed
bill
ticket
content
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.)
Pending
Application number
CN201611227492.3A
Other languages
Chinese (zh)
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.)
Shanghai Summit Information Technology Co Ltd
Original Assignee
Shanghai Summit 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 Shanghai Summit Information Technology Co Ltd filed Critical Shanghai Summit Information Technology Co Ltd
Priority to CN201611227492.3A priority Critical patent/CN106610804A/en
Publication of CN106610804A publication Critical patent/CN106610804A/en
Pending legal-status Critical Current

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
    • 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
    • G06F3/1257Configuration of print job parameters, e.g. using UI at the client by using pre-stored settings, e.g. job templates, presets, print styles
    • 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/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/128Direct printing, e.g. sending document file, using memory stick, printing from a camera

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)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a ticket printing method and system. The ticket printing method comprises the following steps of: S1, judging whether a ticket template matched with a ticket to be printed is retrieved or not, if so, entering the step S5, and otherwise, entering the step S2; S2, newly building a printing template, and setting printing parameters of the printing template; S3, importing the ticket to be printed in the printing template, and adding a printing content to generate a template of the ticket to be printed; S4, storing the template of the ticket to be printed; and S5, printing. By means of the ticket printing method and system disclosed by the invention, multiple tickets can be printed by pre-setting different ticket templates; furthermore, visual configuration and printing are carried out in a visual window; therefore, the development cost and the development time are greatly saved; and the printing flexibility of different types of tickets can be improved.

Description

Bill printing method and system
Technical field
The present invention relates to Internet technical field, more particularly to a kind of bill printing method and system.
Background technology
At present for the printing of the bills such as ticket is all that the customization for adopting is printed, beating for single kind bill can only be realized Print, flexibility ratio is not high, and development cost is big, and the configuration of customization printing type is loaded down with trivial details, not visible.
The content of the invention
The technical problem to be solved in the present invention be in order to overcome prior art in for bill printing adopt single customization Mode causes development cost big and the not high defect of flexibility ratio, there is provided a kind of bill printing method and system.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of bill printing method, comprises the following steps:
S1, judge whether to retrieve the ticket templates matched with bill to be printed, if so, then enter step S5, if it is not, Then enter step S2;
S2, newly-built printing template simultaneously arrange the print parameters of the printing template;
S3, the bill to be printed is imported in the printing template, and add printing content and generate bill mould to be printed Plate;
S4, the ticket templates to be printed are preserved;
S5, printed.
It is preferred that the print parameters include Print direction, printer name and paper size.
It is preferred that also including in step s3:After the step of addition prints content, line position is entered to the printing content Put adjustment;
The mode of position adjustment includes arranging the adjustment coordinate value for printing content, and/or, drag to printing content Drag operation.
It is preferred that further comprising the steps of after step s 3:
S34, the ticket templates to be printed are carried out with test printing, and show test printing result.
It is preferred that the printing content is the option do not filled in the bill to be printed, the option bag do not filled in Include Quick Response Code and bar code.
A kind of bill printing system, including:
Judge module, for judging whether to retrieve the ticket templates matched with bill to be printed;
Printing template sets up module, for not retrieving the ticket templates matched with bill to be printed in judge module When, newly-built printing template simultaneously arranges the print parameters of the printing template;
Ticket templates generation module to be printed, for the bill to be printed to be imported in the printing template, and adds Print content and generate ticket templates to be printed;
Preserving module, for the ticket templates to be printed to be preserved;
Print module, for being printed.
It is preferred that the print parameters include Print direction, printer name and paper size.
It is preferred that the ticket templates generation module to be printed is additionally operable to after addition prints content, beat described Print content carries out position adjustment;
The mode of position adjustment includes that modification arranges the coordinate value for printing content, and/or, drag to printing content Drag operation.
It is preferred that the bill printing system also includes test printing module, the test printing module is used for described Ticket templates to be printed carry out test printing, and show test printing result.
It is preferred that the printing content is the option do not filled in the bill to be printed, the option bag do not filled in Include Quick Response Code and bar code.
The present invention positive effect be:The bill printing method and system of the present invention can be by pre-setting not Same ticket templates are printed to multiple-bill, and are carried out visual configuration in visualization window and printed, greatly Development cost and development time have been saved, the flexibility of variety classes bill printing has been improve.
Description of the drawings
Fig. 1 is the flow chart of the bill printing method of a preferred embodiment of the present invention.
Fig. 2 is the structural representation of the bill printing system of a preferred embodiment of the present invention.
Specific embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to described reality Among applying a scope.
As shown in figure 1, a kind of bill printing method, comprises the following steps:
Step 101, judge whether to retrieve the ticket templates matched with bill to be printed, if so, then enter step 106, if it is not, then entering step 102.The species of the bill to be printed can be plane ticket, train ticket and bus ticket etc..
Step 102, newly-built printing template simultaneously arrange the print parameters of the printing template.The printing template is visual one Change editor newly-built, the print parameters include Print direction, printer name and paper size, the paper size both may be used To be determined according to the type of the paper of the printer for selecting, it is also possible to voluntarily arrange paper length and width size.
Step 103, the bill to be printed is imported in the printing template, and add printing content and generate ticket to be printed According to template.The printing content is the option do not filled in the bill to be printed, according to the difference of the species of bill to be printed, The printing content is also different, such as, when the species of the bill to be printed is bus ticket, the printing content includes originating Stand, destination, admission fee, ticketing station, license plate number, Quick Response Code, bar code, invoice number and invoice codes etc., and may be every The option do not filled in the species of the bus ticket that the bus passenger terminal in one city is gone out, size and bus ticket is also different, when When the species of the bill to be printed is air ticket, the printing content of air ticket and the printing content of bus ticket are also differed.
The font and size for printing content can also be set, can arrange whether the printing added prints, and to spy It is different to print the printer that content such as Quick Response Code and bar code are configured matching.The bar code type can for Code39, Code128A, Code128B, Code128C and EAN128.Wherein can be beaten to determine by arranging the height of bar code, width The size of print.
When printing, can pass through the programme-control pair printer different from the distribution of various sizes of bill carries out beating simultaneously Print.
After it with the addition of printing content, the position for printing content can be adjusted, the mode of position adjustment includes The adjustment coordinate value for printing content is set, and/or, carry out drag operation to printing content.
Therefore, by arranging different printing templates and adding different printing contents, Ke Yiti according to different templates The flexibility of high bill printing and compatibility, drastically increase the flexibility ratio of bill printing, reduce development cost.
Step 104, the ticket templates to be printed are carried out with test printing, and show test printing result.By test Print, can check whether the printing content of addition matches with the position of bill to be printed, if mismatch can be to mismatching Printing content carry out position adjustment.
Step 105, the ticket templates to be printed are preserved.When treating printed tickets template and being preserved, can be right All settings of bill to be printed are stored in local ATL by .note file formats.
Step 106, printed.The bill to be printed that the ticket templates to be printed for generating are provided with is carried out to beat Print.
In sum, bill printing method of the invention can be by pre-setting different ticket templates to multiple-bill Printed, and carry out visual configuration in visualization window and printed, when greatly having saved development cost and exploitation Between, improve the flexibility of variety classes bill printing.
The present embodiment additionally provides a kind of bill printing system, as shown in Fig. 2 building including judge module 11, printing template Formwork erection block 12, ticket templates generation module 13 to be printed, test printing module 14, preserving module 15 and print module 16.
The judge module 11 is used to judge whether to retrieve the ticket templates that match with bill to be printed.
The printing template is set up module 12 and is matched with bill to be printed for not retrieving in judge module 11 During ticket templates, newly-built printing template simultaneously arranges the print parameters of the printing template.The print parameters include Print direction, Printer name and paper size.
The ticket templates to be printed generate template 13 to be used to the bill to be printed is imported in the printing template, and Addition prints content and generates ticket templates to be printed, and the ticket templates generation module 13 to be printed is additionally operable in addition is printed After holding, position adjustment is carried out to the printing content.The printing content is the choosing do not filled in the bill to be printed , the option do not filled in includes Quick Response Code and bar code, and the mode of position adjustment includes that modification arranges the printing content Coordinate value, and/or, to print content carry out drag operation.
The test printing module 14 is used to carry out test printing to the ticket templates to be printed, and shows test printing As a result.
The preserving module 15 is used to preserve the ticket templates to be printed.
The print module 16 is used to print the ticket templates to be printed.
The bill printing system of the present invention can be carried out by pre-setting different ticket templates to various multiple-bills Print, and carry out visual configuration in visualization window and printed, greatly saved development cost and development time, carry The high flexibility of variety classes bill printing.
Although the specific embodiment of the present invention is the foregoing described, it will be appreciated by those of skill in the art that this is only It is to illustrate, protection scope of the present invention is defined by the appended claims.Those skilled in the art without departing substantially from On the premise of the principle and essence of the present invention, various changes or modifications can be made to these embodiments, but these changes and Modification each falls within protection scope of the present invention.

Claims (10)

1. a kind of bill printing method, it is characterised in that comprise the following steps:
S1, judge whether to retrieve the ticket templates matched with bill to be printed, step S5 is if so, then entered, if it is not, then entering Enter step S2;
S2, newly-built printing template simultaneously arrange the print parameters of the printing template;
S3, the bill to be printed is imported in the printing template, and add printing content and generate ticket templates to be printed;
S4, the ticket templates to be printed are preserved;
S5, printed.
2. bill printing method as claimed in claim 1, it is characterised in that the print parameters include Print direction, print Machine name and paper size.
3. bill printing method as claimed in claim 1, it is characterised in that also include in step s3:In addition is printed After the step of appearance, position adjustment is carried out to the printing content;
The mode of position adjustment includes arranging the adjustment coordinate value for printing content, and/or, carry out dragging behaviour to printing content Make.
4. bill printing method as claimed in claim 1, it is characterised in that further comprising the steps of after step s 3:
S34, the ticket templates to be printed are carried out with test printing, and show test printing result.
5. bill printing method as claimed in claim 1, it is characterised in that the printing content is in the bill to be printed The option do not filled in, the option do not filled in includes Quick Response Code and bar code.
6. a kind of bill printing system, it is characterised in that include:
Judge module, for judging whether to retrieve the ticket templates matched with bill to be printed;
Printing template sets up module, for when judge module does not retrieve the ticket templates matched with bill to be printed, Newly-built printing template simultaneously arranges the print parameters of the printing template;
Ticket templates generation module to be printed, for the bill to be printed to be imported in the printing template, and adds printing Content generates ticket templates to be printed;
Preserving module, for the ticket templates to be printed to be preserved;
Print module, for being printed.
7. bill printing system as claimed in claim 6, it is characterised in that the print parameters include Print direction, print Machine name and paper size.
8. bill printing system as claimed in claim 6, it is characterised in that the ticket templates generation module to be printed is also used After content is printed in addition, position adjustment is carried out to the printing content;
The mode of position adjustment includes that modification arranges the coordinate value for printing content, and/or, carry out dragging behaviour to printing content Make.
9. bill printing system as claimed in claim 6, it is characterised in that the bill printing system also includes test printing Module, the test printing module is used to carry out the ticket templates to be printed test printing, and shows test printing result.
10. bill printing system as claimed in claim 6, it is characterised in that the printing content is the bill to be printed In the option do not filled in, the option do not filled in includes Quick Response Code and bar code.
CN201611227492.3A 2016-12-27 2016-12-27 Ticket printing method and system Pending CN106610804A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611227492.3A CN106610804A (en) 2016-12-27 2016-12-27 Ticket printing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611227492.3A CN106610804A (en) 2016-12-27 2016-12-27 Ticket printing method and system

Publications (1)

Publication Number Publication Date
CN106610804A true CN106610804A (en) 2017-05-03

Family

ID=58636807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611227492.3A Pending CN106610804A (en) 2016-12-27 2016-12-27 Ticket printing method and system

Country Status (1)

Country Link
CN (1) CN106610804A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229438A (en) * 2017-06-06 2017-10-03 理光图像技术(上海)有限公司 Type information management system
CN108189568A (en) * 2017-12-20 2018-06-22 深圳市赛亿科技开发有限公司 Receipt printer and its control method
CN108319435A (en) * 2018-01-24 2018-07-24 北京三快在线科技有限公司 Method of printing, device and the electronic equipment of bill
CN108829363A (en) * 2018-06-27 2018-11-16 中国建设银行股份有限公司 Business voucher Method of printing and device
CN109460197A (en) * 2018-11-15 2019-03-12 宁夏隆基宁光仪表股份有限公司 A kind of user's receipt dynamic print method, apparatus, equipment and readable storage medium storing program for executing
CN109669648A (en) * 2018-12-25 2019-04-23 福建南威软件有限公司 A kind of method that electronics license set is beaten
CN109840981A (en) * 2017-11-29 2019-06-04 南京奥拓电子科技有限公司 A method of fast custom prints strip on queue machine
CN112346675A (en) * 2020-11-30 2021-02-09 恒瑞通(福建)信息技术有限公司 Printing method and terminal applied to food distribution list

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050099442A1 (en) * 2003-11-12 2005-05-12 Transact Technologies Incorporated Printer having a configurable template and methods for configuring a printer template
CN101966783A (en) * 2009-07-27 2011-02-09 中兴通讯股份有限公司 Transaction evidence printing method and system
CN105511818A (en) * 2015-11-25 2016-04-20 中国建设银行股份有限公司 Voucher template generating method, and device and system
CN105930312A (en) * 2015-09-29 2016-09-07 中国银联股份有限公司 Method and apparatus for editing printed receipt based on POS terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050099442A1 (en) * 2003-11-12 2005-05-12 Transact Technologies Incorporated Printer having a configurable template and methods for configuring a printer template
CN101966783A (en) * 2009-07-27 2011-02-09 中兴通讯股份有限公司 Transaction evidence printing method and system
CN105930312A (en) * 2015-09-29 2016-09-07 中国银联股份有限公司 Method and apparatus for editing printed receipt based on POS terminal
CN105511818A (en) * 2015-11-25 2016-04-20 中国建设银行股份有限公司 Voucher template generating method, and device and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229438A (en) * 2017-06-06 2017-10-03 理光图像技术(上海)有限公司 Type information management system
CN109840981A (en) * 2017-11-29 2019-06-04 南京奥拓电子科技有限公司 A method of fast custom prints strip on queue machine
CN109840981B (en) * 2017-11-29 2021-05-18 南京奥拓电子科技有限公司 Method for quickly customizing printing receipt on queuing machine
CN108189568A (en) * 2017-12-20 2018-06-22 深圳市赛亿科技开发有限公司 Receipt printer and its control method
CN108319435A (en) * 2018-01-24 2018-07-24 北京三快在线科技有限公司 Method of printing, device and the electronic equipment of bill
CN108829363A (en) * 2018-06-27 2018-11-16 中国建设银行股份有限公司 Business voucher Method of printing and device
CN109460197A (en) * 2018-11-15 2019-03-12 宁夏隆基宁光仪表股份有限公司 A kind of user's receipt dynamic print method, apparatus, equipment and readable storage medium storing program for executing
CN109669648A (en) * 2018-12-25 2019-04-23 福建南威软件有限公司 A kind of method that electronics license set is beaten
CN112346675A (en) * 2020-11-30 2021-02-09 恒瑞通(福建)信息技术有限公司 Printing method and terminal applied to food distribution list

Similar Documents

Publication Publication Date Title
CN106610804A (en) Ticket printing method and system
CN109741056B (en) Method and device for uploading electronic certificate
CN107122188B (en) Method and device for generating project progress bar image
CN108052491A (en) A kind of automatic processing method and device of certificate document
CN106940628A (en) Document Method of printing and device
CN107871129A (en) Method and apparatus for handling cloud data
CN111597958B (en) Highly automated bill classification method and system
EP1916628B1 (en) Method for creating an intelligent document and device for carrying out the method
CN110516664A (en) Bill identification method and device, electronic equipment and storage medium
US20050043845A1 (en) Managing workflow in a commercial printing environment with high performance prepress rework at print service provider location
CN110399108A (en) Voucher print processing method and device
CN107193593A (en) A kind of upgrade method, set top box and the storage medium of scalable file
JPH11275339A (en) Image forming device
CN106909326A (en) Voucher automatic print system
ITTO20121174A1 (en) DEVICE AND BINARIZATION METHOD FOR PAYMENT OR ACCOUNTING DOCUMENTS
CN112069893A (en) Bill processing method and device, electronic equipment and storage medium
CN107415489A (en) A kind of method and its printer of expanding printing content
CN107730374A (en) Electronic accounting plateform system and invoice data purchaser bookkeeping copy time automatic check method
CN104238965B (en) One kind selection Method of printing and electronic equipment
US20050043844A1 (en) Managing workflow in a commercial printing environment with pre-submittal high performance automated remote proofing
CN108829882A (en) Formation gathering method, device, terminal and medium
US7570376B2 (en) Managing a design-to-ship high performance workflow for a commercial printing environment
US20050030578A1 (en) Method of performing automated packaging and managing workflow in a commercial printing environment
CN106296131A (en) WYSIWYG document approval system and document approval method
CN104573891A (en) Contract management system, contract generation method and contract maintenance method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170503