CN107526556A - Print from the definition system and method - Google Patents
Print from the definition system and method Download PDFInfo
- Publication number
- CN107526556A CN107526556A CN201710752971.5A CN201710752971A CN107526556A CN 107526556 A CN107526556 A CN 107526556A CN 201710752971 A CN201710752971 A CN 201710752971A CN 107526556 A CN107526556 A CN 107526556A
- Authority
- CN
- China
- Prior art keywords
- file format
- module
- file
- preview view
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1204—Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
-
- 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/1238—Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
-
- 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/1242—Image or content composition onto a page
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Document Processing Apparatus (AREA)
Abstract
The present invention proposes a kind of print from the definition system and method, directly pulled or deleted in the preview view of patterned file format content, it is more visual in image, file parameters adjustment need not be manually adjusted, adapt to the design of various files, adapt to wide, low are required to operating personnel, is easy to large-scale promotion application;Developed based on Web, APP is installed without downloading, can network use at any time, and compatibility is good.
Description
Technical field
The present invention relates to printing technique field, more particularly to a kind of print from the definition system and method.
Background technology
It is different for finance, the printing of express delivery list and conventional printing, because finance, express delivery list are printed on fixed grating
Formula.It is exactly to come out existing content on document or voucher according to certain format print that set, which plays software, at this stage, relatively more normal
What is seen is that financial set plays software, and can print various accounting softwares output requirements is printed on ruling, the blank account of set form
Card and form, secondly the express delivery list of such as blank or other substantial amounts of documents, if manually filling in, take time and effort, and lead to
Crossing the mode that set is beaten can directly print.
Existing set, which beats the problem of software is present, to be had:1. specific aim is too strong, ductility shortcoming.It shows as only printing wherein one
The individual specific format set in advance, as set is beaten, express delivery face is single, and because of market, express company is various first, and express delivery face sets up meter not
One, set is when playing each face list, the implementation for being required for adjusting sleeve to beat, is constantly needed to technical staff and participates in;Secondly, part covers
Software is played only for a kind of form, is beaten such as Kingdee set and only prints financial associated documents, the set of hospital plays software and only prints Medical record
Deng.2. realize that the process that set is beaten is complicated.It shows as needing to download app or api interface docking, mounting and adjusting, with data
Constantly change, constantly to change parameter, entirely cover the process beaten and realizing that redundancy switches between adjustment, printing.
The content of the invention
In view of this, the present invention proposes one kind and adapts to various lists, easy intuitively print from the definition system and side
Method.
The technical proposal of the invention is realized in this way:
On the one hand, the invention provides a kind of print from the definition system, including layout import modul, layout to set
Module, outside print data receiving module, printer page generation module and list print module are counted, wherein,
Layout import modul, for importing the description data for the file format for needing to print, and generate in file format
The preview view of appearance;
Layout designs module, adjusts text by way of pulling or deleting in the preview view of file format content
The position of part format content, and the preview view background colour of file format content is adjusted, complete file format designs;
Outside print data receiving module, import outside print data;
Printer page generation module, designed file format is merged with outside print data, generates file to be printed
The page;
Print module, printing function is performed to the file to be printed page.
On the basis of above technical scheme, it is preferred that the description data of the file format include horizontal, ordinate.
On the basis of above technical scheme, it is preferred that the preview view of the file format content is based on html, described
Layout design module is based on javascript.
On the basis of above technical scheme, it is preferred that also including identification module, in print from the definition system login
Shi Jinhang identifications.
On the basis of above technical scheme, it is preferred that the print from the definition system is developed based on Web, print module
Developed based on window.print ().
Second aspect, the invention provides a kind of print from the definition method, comprise the following steps,
S1, imports the description data for the file format for needing to print, and generates the preview view of file format content;
S2, the position of file format content is adjusted by way of pulling or deleting in the preview view of file format content
Put, and adjust the preview view background colour of file format content, complete file format designs;
S3, outside print data is imported, designed file format is merged with outside print data, generates text to be printed
The part page;
S4, printing function is performed to the file to be printed page.
The print from the definition system and method for the present invention have the advantages that relative to prior art:
(1) directly pulled or deleted in the preview view of patterned file format content, it is more visual in image,
File parameters adjustment need not be manually adjusted, adapts to the design of various files, adaptation is wide, requires low to operating personnel, just
In large-scale promotion application;
(2) developed based on Web, APP is installed without downloading, can network use at any time, and compatibility is good.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the block diagram of print from the definition system of the present invention;
Fig. 2 is the express delivery forms pages to be printed that embodiment 1 generates;
Fig. 3 is the invoice page to be printed that embodiment 2 generates.
Embodiment
Below in conjunction with the accompanying drawing in embodiment of the present invention, the technical scheme in embodiment of the present invention is carried out clear
Chu, it is fully described by, it is clear that described embodiment only a part of embodiment of the present invention, rather than whole realities
Apply mode.Based on the embodiment in the present invention, those of ordinary skill in the art institute under the premise of creative work is not made
The every other embodiment obtained, belongs to the scope of protection of the invention.
Print from the definition system of the invention introduced below, as shown in figure 1, the print from the definition system of the present invention includes beating
Grid printing formula import modul 1, layout design module 2, outside print data receiving module 3, printer page generation module 4, table
Singles' impression block 5 and identification module 6.
Layout import modul 1, for importing the description data for the file format for needing to print, and generate in file format
The preview view of appearance.The preview view of the file format content is based on html.Wherein, the description packet of the file format
Horizontal, ordinate is included, in this way, being easy to that the preview view of the file format content of generation is pulled or deleted.
Layout designs module 2, is adjusted in the preview view of file format content by way of pulling or deleting
The position of file format content, and the preview view background colour of file format content is adjusted, complete file format designs.Specifically
, the layout design module 2 is based on javascript.
Outside print data receiving module 3, import outside print data.
Printer page generation module 4, designed file format is merged with outside print data, generates file to be printed
The page.
Print module 5, printing function is performed to the file to be printed page.Specifically, print module 5 is based on
Window.print () is developed
Identification module 6, identification is carried out in print from the definition system login.Self-defined beaten specifically, described
Print system is developed based on Web.
Below in conjunction with specific embodiment, print from the definition method of the invention is introduced:
Embodiment 1
Print express delivery list.
S1, imports the description data for the express delivery list form for needing to print, and generates the preview of express delivery list format content
View, the description data of the express delivery list form are as follows:
FORM={ " FRMNM ":" express delivery single-character given name claims ", " DESC ":" description as described in this express delivery list ",
"FIELDS":
[{"LBL":" name ", " TYP ":"text",X:154, Y:141,VAL:" grandson x ",
{"LBL":" organization ", " TYP ":"text",X:154, Y:195,VAL:" number metanetwork ",
{"LBL":" posting part address ", " TYP ":"address",X:155, Y:243,VAL:" Wuhan City, Hubei Province light
Paddy " },
{"LBL":" telephone number ", " TYP ":"phone",X:153, Y:303, VAL:”13xxxxxxxx”},
{"LBL":" expense ", " TYP ":"number",X:570, Y:425, VAL:”25”},
{"LBL":" postcode ", " TYP ":"number",X:362, Y:303, VAL:”420xxx”},
{"LBL":" name of an article ", " TYP ":"text",X:210, Y:425,VAL:" computer "]
S2, express delivery list form is adjusted by way of pulling or deleting in the preview view of express delivery list format content
The position of content, and the preview view background colour of invoice format content is adjusted, complete invoice format design;
S3, outside print data is imported, designed express delivery list form is merged with outside print data, generates and waits to beat
The printed text part page, as shown in Figure 2;
S4, printing function is performed to the file to be printed page.
Embodiment 2
Printed invoice.
S1, imports the description data for the invoice format for needing to print, and generates the preview view of invoice format content, described
The description data of invoice format are as follows:
FORM={ " FRMNM ":" invoice title ", " DESC ":" description as described in invoice ",
"FIELDS":
[{"LBL":" date ", " TYP ":"date",X:720, Y:42,VAL:”2017-08-25”}
{"LBL":" organization ", " TYP ":"text",X:216, Y:130,VAL:" number metanetwork ",
{"LBL":" receive sharp people's identifier ", " TYP ":"number",X:216, Y:156, VAL:”45xxxxx”},
{"LBL":" address ", " TYP ":"address",X:216, Y:189,VAL:" Wuhan City, Hubei Province optical valley "
[{"LBL":" phone ", " TYP ":"phone",X:468, Y:189, VAL:”13xxxxxxxx”},
{"LBL":" bank of deposit's account ", " TYP ":"number",X:216, Y:216,VAL:”410xxxxxxx”},
{"LBL":" goods or service name ", " TYP ":"text",X:193, Y:244,VAL:" technical service fee ",
{"LBL":" quantity ", " TYP ":"number",X:468, Y:244, VAL:”2”},
{"LBL":" unit price ", " TYP ":"number",X:482, Y:244, VAL:”100”},
{"LBL":" amount of money ", " TYP ":"number",X:612, Y:244, VAL:”200”},
{"LBL":" tax rate ", " TYP ":"number",X:692, Y:244, VAL:" 3% ",
{"LBL":" drawer ", " TYP ":"text",X:586, Y:531,VAL:" grandson x "]
S2, the position of invoice format content is adjusted by way of pulling or deleting in the preview view of invoice format content
Put, and adjust the preview view background colour of invoice format content, complete invoice format design;
S3, outside print data is imported, designed invoice format is merged with outside print data, generates text to be printed
The part page, as shown in Figure 3;
S4, printing function is performed to the file to be printed page.
The better embodiment of the present invention is the foregoing is only, is not intended to limit the invention, it is all the present invention's
Within spirit and principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.
Claims (6)
- A kind of 1. print from the definition system, it is characterised in that:Including layout import modul (1), layout design module (2), outside print data receiving module (3), printer page generation module (4) and list print module (5), wherein,Layout import modul (1), for importing the description data for the file format for needing to print, and generate file format content Preview view;Layout design module (2), adjusts text in the preview view of file format content by way of pulling or deleting The position of part format content, and the preview view background colour of file format content is adjusted, complete file format designs;Outside print data receiving module (3), import outside print data;Printer page generation module (4), designed file format is merged with outside print data, generates file to be printed page Face;Print module (5), printing function is performed to the file to be printed page.
- 2. print from the definition system as claimed in claim 1, it is characterised in that:The description data of the file format include Horizontal, ordinate.
- 3. print from the definition system as claimed in claim 1, it is characterised in that:The preview view base of the file format content In html, the layout design module (2) is based on javascript.
- 4. print from the definition system as claimed in claim 1, it is characterised in that:Also include identification module (6), making by oneself Adopted print system carries out identification when logging in.
- 5. print from the definition system as claimed in claim 1, it is characterised in that:The print from the definition system is opened based on Web Hair, print module (5) are developed based on window.print ().
- A kind of 6. print from the definition method, it is characterised in that:Comprise the following steps,S1, imports the description data for the file format for needing to print, and generates the preview view of file format content;S2, the position of file format content is adjusted by way of pulling or deleting in the preview view of file format content, And the preview view background colour of file format content is adjusted, complete file format designs;S3, outside print data is imported, designed file format is merged with outside print data, generates file to be printed page Face;S4, printing function is performed to the file to be printed page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710752971.5A CN107526556B (en) | 2017-08-29 | 2017-08-29 | Custom printing system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710752971.5A CN107526556B (en) | 2017-08-29 | 2017-08-29 | Custom printing system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107526556A true CN107526556A (en) | 2017-12-29 |
CN107526556B CN107526556B (en) | 2020-11-27 |
Family
ID=60682534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710752971.5A Active CN107526556B (en) | 2017-08-29 | 2017-08-29 | Custom printing system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107526556B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108762693A (en) * | 2018-04-03 | 2018-11-06 | 四川九阵科技股份有限公司 | A kind of print from the definition design system and method |
CN108958675A (en) * | 2018-07-25 | 2018-12-07 | 浙江数链科技有限公司 | A kind of logistics information stencil marking method and apparatus |
CN113721867A (en) * | 2021-08-20 | 2021-11-30 | 中核武汉核电运行技术股份有限公司 | Cloud platform multi-tenant form printing method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103778732A (en) * | 2012-10-19 | 2014-05-07 | 方欣科技有限公司 | Electronic-invoice issuing method and device |
US20140176996A1 (en) * | 2012-12-25 | 2014-06-26 | Naoyuki Iida | Information processing apparatus, information processing method, and computer program product |
CN104035736A (en) * | 2014-06-30 | 2014-09-10 | 江苏赛达电子科技有限公司 | User-defined invoice printing method |
US20140293350A1 (en) * | 2013-04-01 | 2014-10-02 | Canon Kabushiki Kaisha | Image forming apparatus |
CN104503713A (en) * | 2014-12-15 | 2015-04-08 | 上海合合信息科技发展有限公司 | Printer and authentication device and running method of printer and control device and method of authentication device |
CN105808173A (en) * | 2014-12-31 | 2016-07-27 | 青岛中科软件股份有限公司 | General printing method based on winform software |
-
2017
- 2017-08-29 CN CN201710752971.5A patent/CN107526556B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103778732A (en) * | 2012-10-19 | 2014-05-07 | 方欣科技有限公司 | Electronic-invoice issuing method and device |
US20140176996A1 (en) * | 2012-12-25 | 2014-06-26 | Naoyuki Iida | Information processing apparatus, information processing method, and computer program product |
US20140293350A1 (en) * | 2013-04-01 | 2014-10-02 | Canon Kabushiki Kaisha | Image forming apparatus |
CN104035736A (en) * | 2014-06-30 | 2014-09-10 | 江苏赛达电子科技有限公司 | User-defined invoice printing method |
CN104503713A (en) * | 2014-12-15 | 2015-04-08 | 上海合合信息科技发展有限公司 | Printer and authentication device and running method of printer and control device and method of authentication device |
CN105808173A (en) * | 2014-12-31 | 2016-07-27 | 青岛中科软件股份有限公司 | General printing method based on winform software |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108762693A (en) * | 2018-04-03 | 2018-11-06 | 四川九阵科技股份有限公司 | A kind of print from the definition design system and method |
CN108958675A (en) * | 2018-07-25 | 2018-12-07 | 浙江数链科技有限公司 | A kind of logistics information stencil marking method and apparatus |
CN113721867A (en) * | 2021-08-20 | 2021-11-30 | 中核武汉核电运行技术股份有限公司 | Cloud platform multi-tenant form printing method and system |
CN113721867B (en) * | 2021-08-20 | 2024-01-30 | 中核武汉核电运行技术股份有限公司 | Form printing method and system for cloud platform multi-tenant |
Also Published As
Publication number | Publication date |
---|---|
CN107526556B (en) | 2020-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106504040A (en) | A kind of electronic invoice billing method | |
US20040215472A1 (en) | System and method for the cross-platform transmission of messages | |
CN107526556A (en) | Print from the definition system and method | |
CN204010137U (en) | Bank business self-service automatic teller machine | |
WO2010034008A2 (en) | Hosting platform | |
CN104765580B (en) | A kind of bill printing intelligence control system for supporting cloud printing technique | |
AU1736499A (en) | A method and system for electronically presenting and paying bills | |
CN102368341A (en) | Self-service method for writing value added tax invoices | |
CN106920134A (en) | Invoice issuing system and method | |
CN103914933B (en) | A kind of printing invoice method and apparatus based on XML technology | |
CN108734529A (en) | A kind of Method of printing and system of electronic invoice | |
CN110738526A (en) | marketing platforms based on APP | |
US7085998B2 (en) | Mapping a print stream for printing on mailers from a first application for input to a second application | |
CN101964119A (en) | Anti-fake invoice machine, verification network system and method | |
CN104639656A (en) | Cloud bill printing system supporting directional printing | |
CN107589976A (en) | A kind of method of autgmentability and compatible high enterprise's automatic invoice issuance | |
CN108257327A (en) | A kind of cloud tax control counting print system and method | |
CN107341157A (en) | A kind of customer service dialogue clustering method and device | |
CN102279715A (en) | Method and device for realizing general ticket printing control | |
CN111063135A (en) | Self-service equipment is printed to business office desktop formula electronic invoice | |
CN111367607A (en) | Dynamic electronic contract generating and signing system and implementation method thereof | |
CN203084831U (en) | Self-service school report querying and printing terminal | |
CN102509402A (en) | Method of using cloud computing technology to quicken invoicing of online invoicing machine | |
CN206684852U (en) | A kind of law court's office printing self-aided terminal | |
CN107730334A (en) | A kind of dining room self-service based on public cloud is checked system and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |