CN111142815B - B/S-based label printing system - Google Patents
B/S-based label printing system Download PDFInfo
- Publication number
- CN111142815B CN111142815B CN201911365704.8A CN201911365704A CN111142815B CN 111142815 B CN111142815 B CN 111142815B CN 201911365704 A CN201911365704 A CN 201911365704A CN 111142815 B CN111142815 B CN 111142815B
- Authority
- CN
- China
- Prior art keywords
- printing
- printing system
- data
- web
- local background
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/1222—Increasing security of the print job
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06F3/1286—Remote printer device, e.g. being remote from client or server via local network
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
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)
- Computer Security & Cryptography (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The invention discloses a label printing system based on B/S, which is used for constructing a server, a Web end management platform, a plurality of Web end printing systems and corresponding Windows local background programs, wherein a user uploads a label template generated by printing software, a bound work order and a bound work procedure to the server through the Web end management platform; inputting a work order to a Web end printing system, pulling corresponding data from a server end by the Web end printing system after working procedures, transmitting the data to a Windows local background program by the Web end printing system, and controlling printing software to print by the Windows local background program; and the printing result generated by the printing software is returned to the server by the Windows local background program and the Web printing system in sequence. The invention solves the problem of data non-maintainability; the problems of poor compatibility and risk of using an ActiveX control directly in a browser are also avoided.
Description
Technical Field
The invention relates to the field of label network printing systems, in particular to a B/S-based label printing system.
Background
Currently, there are several ways of printing on a label network:
1. and calling printing software by using an ActiveX plug-in based on the IE browser. This method has the problems of poor safety and compatibility. Through the ActiveX control, the browser can randomly operate the local application program to control the local application, and the safety is not ensured. Therefore, activeX has been abandoned by each big browser vendor, and currently supported browsers with only IE kernels, resulting in no guarantee of compatibility.
2. Developing a desktop application program and calling printing software. In the mode, the development period of the desktop application program is long, the iteration maintenance cost is high, and the factory synchronism is poor. The desktop application program is developed by adopting the C# and has the advantages of long function development period, higher difficulty in human-computer interaction realization, relatively higher system maintenance cost and relatively worse factory synchronization software version.
3. Printing software is directly used. The method has the problem of high data maintenance cost, all data maintenance adopts an offline management method, and later data cannot be maintained.
Disclosure of Invention
The invention aims to provide a label printing system based on B/S, which solves the problems of poor safety, high development cost and difficult data maintenance of the label network printing system in the prior art.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
a B/S based label printing system characterized by: constructing a server side, a Web side management platform, a Web side printing system and corresponding Windows local background programs, wherein:
the user binds the label template generated by the printing software with a work order, processes and uploads the work order to the server through the Web terminal management platform; after a work order and a working procedure are input into the Web end printing system, the Web end printing system pulls the corresponding label template and the printing data generated by the server end from the server end, the Web end printing system transmits the acquired label template and the printing data to a Windows local background program corresponding to the Web end printing system, and the Windows local background program integrates the label template and the printing data into data identifiable by printing software and transmits the data to the printing software, and controls the printing software to print by the Windows local background program; and the printing software returns the printing result of the Windows local background program, the Windows local background program is transmitted to the corresponding Web end printing system, and finally the Web end printing system sends the printing result to the server, and the server stores and maintains the printing result data.
The label printing system based on the B/S is characterized in that: and data are transmitted between the Web end printing system and the server end through an HTTP protocol.
The label printing system based on the B/S is characterized in that: and data are bidirectionally transmitted between the Web printing system and the Windows local background program through a WebSocket transmission protocol.
The label printing system based on the B/S is characterized in that: and the Windows local background program is written for C# language and integrates an ActiveX control to control the printing software to work.
The label printing system based on the B/S is characterized in that: if the Web end printing system works in the Chrome browser environment, integrating an ActiveX control with a PPAPI control and replacing a Windows local background program.
The invention adopts the B/S architecture to construct the label network printing system, thereby solving the problem of non-maintainability of directly using printing software to print data; the problem of great difficulty in developing desktop application programs is avoided; and the problems of poor risk and compatibility of directly using the ActiveX control are avoided. The invention adopts a server to maintain data, a Web printing system realizes user interaction, and a Windows local background program running locally integrates an ActiveX control to call printing software to realize label printing.
Drawings
Fig. 1 is a schematic diagram of the data transmission of the system of the present invention.
Detailed Description
The invention will be further described with reference to the drawings and examples.
As shown in fig. 1, a label printing system based on B/S constructs a server, a Web management platform, a Web printing system and corresponding Windows local background programs, wherein:
the Web terminal management platform and each Web terminal printing system respectively transmit data with the server terminal through the HTTP protocol. The user binds the label template generated by the printing software with a work order, processes and uploads the work order to the server through the Web terminal management platform; and operating the Web end printing system, and after inputting work orders and working procedures into the Web end printing system, pulling corresponding label templates and printing data generated by the server end from the server end by the Web end printing system.
And data are bidirectionally transmitted between each Web-end printing system and the corresponding Windows local background program through a WebSocket transmission protocol. And the Web end printing system transmits the label template and the printing data to a Windows local background program corresponding to the Web end printing system.
The Windows local background program is written for the C# language and integrates an ActiveX control to control the printing software to work. The Windows local background program integrates the label template and the printing data into data recognizable by the printing software and transmits the data to the printing software, and the Windows local background program controls the printing software to print based on the control data.
And the printing software returns the printing result of the Windows local background program, the Windows local background program is transmitted to the corresponding Web end printing system, and finally the Web end printing system sends the printing result to the server, and the server stores and maintains the printing result data.
In the invention, if the Web end printing system works in a Chrome browser environment, the PPAPI control is used for integrating the ActiveX control and replacing the Windows local background program.
The invention separates data maintenance, user interaction and printing software control. The server maintains data and a label template and records a printing result; the Web terminal management platform, the Web terminal printing system and the server terminal pull data and report results through HTTP (hypertext transfer protocol) protocol; the operation and interaction of the user are realized at the Web end; and transmitting the specific operation command and the data pulled by the server to a Windows local background program (c# written) running locally through a WebSocket (network technology of full duplex communication between a browser and a server), integrating an ActiveX control by the local background program, transmitting the data to printing software in real time, and returning a printing result of a Web printing system to realize one-round label printing.
The embodiments of the present invention are merely described in terms of preferred embodiments of the present invention, and are not intended to limit the spirit and scope of the present invention, and various modifications and improvements made by those skilled in the art to the technical solutions of the present invention should fall within the protection scope of the present invention, and the technical content of the present invention as claimed is fully described in the claims.
Claims (2)
1. A B/S based label printing system characterized by: constructing a server side, a Web side management platform, a Web side printing system and corresponding Windows local background programs, wherein:
the user binds the label template generated by the printing software with a work order, processes and uploads the work order to the server through the Web terminal management platform; after a work order and a working procedure are input into the Web end printing system, the Web end printing system pulls the corresponding label template and the printing data generated by the server end from the server end, the Web end printing system transmits the acquired label template and the printing data to a Windows local background program corresponding to the Web end printing system, and the Windows local background program integrates the label template and the printing data into data identifiable by printing software and transmits the data to the printing software, and controls the printing software to print by the Windows local background program; the printing software returns the printing result of the Windows local background program, the Windows local background program is transmitted to the corresponding Web end printing system, the Web end printing system finally transmits the printing result data to the server, the server stores and maintains the printing result data, and the Web end printing system and the server transmit the data through the HTTP protocol; the Windows local background program is written for C# language and integrates an ActiveX control to control printing software to work; if the Web end printing system works in the Chrome browser environment, integrating an ActiveX control with a PPAPI control and replacing a Windows local background program.
2. The B/S-based label printing system of claim 1, wherein: and data are bidirectionally transmitted between the Web printing system and the Windows local background program through a WebSocket transmission protocol.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911365704.8A CN111142815B (en) | 2019-12-26 | 2019-12-26 | B/S-based label printing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911365704.8A CN111142815B (en) | 2019-12-26 | 2019-12-26 | B/S-based label printing system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111142815A CN111142815A (en) | 2020-05-12 |
| CN111142815B true CN111142815B (en) | 2023-07-14 |
Family
ID=70520440
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911365704.8A Active CN111142815B (en) | 2019-12-26 | 2019-12-26 | B/S-based label printing system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111142815B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113282255A (en) * | 2021-06-08 | 2021-08-20 | 深圳市逸宏安科技有限公司 | Method and system for directly printing label under B/S architecture |
| CN114721611A (en) * | 2022-04-13 | 2022-07-08 | 浪潮软件科技有限公司 | Method and system for calling local hardware resource of computer by B/S architecture application |
| CN118394251B (en) * | 2024-06-26 | 2024-09-27 | 深圳市深科特信息技术有限公司 | Label generation method, device, equipment and storage medium based on hypertext links |
Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004272468A (en) * | 2003-03-06 | 2004-09-30 | Toshiba Tec Corp | Label printing system using Web browser and Web server |
| JP2008033384A (en) * | 2006-07-26 | 2008-02-14 | Seiko Epson Corp | Print data supply apparatus and print data supply method |
| JP2008112330A (en) * | 2006-10-31 | 2008-05-15 | Sato Corp | Winning notification system and winning notification method |
| CN102830947A (en) * | 2012-08-13 | 2012-12-19 | 南京莱斯信息技术股份有限公司 | Report printing control implemented based on report printing template format |
| JP2014010768A (en) * | 2012-07-02 | 2014-01-20 | Ricoh Co Ltd | Label printing system, image output program, and image output device |
| JP2014021609A (en) * | 2012-07-13 | 2014-02-03 | Naxis Co Ltd | System for creating tag and/or label to be used for marketing of fiber product in foreign country |
| CN106814982A (en) * | 2017-01-04 | 2017-06-09 | 北京京东尚科信息技术有限公司 | Label print processing device, system and method |
| CN107463348A (en) * | 2017-07-05 | 2017-12-12 | 深圳市坐标软件开发有限公司 | Web ends user-defined format print method and system are realized based on B/S frameworks |
| CN108021340A (en) * | 2016-10-31 | 2018-05-11 | 北京京东尚科信息技术有限公司 | A kind of label printing method and system |
| CN108762697A (en) * | 2018-05-25 | 2018-11-06 | 苏宁易购集团股份有限公司 | A kind of Method of printing and device based on browser end |
| CN108776824A (en) * | 2018-06-27 | 2018-11-09 | 中国建设银行股份有限公司 | Bar-code label generation method, device and electronic equipment |
| CN108875853A (en) * | 2017-05-10 | 2018-11-23 | 北大方正集团有限公司 | The processing method and processing device of data label printing |
| CN109164992A (en) * | 2018-08-16 | 2019-01-08 | 北京易华录信息技术股份有限公司 | A kind of system for supporting multilingual printing template and its be converted into html template |
| CN109343804A (en) * | 2018-09-28 | 2019-02-15 | 江苏中服焦点信息科技有限公司 | A kind of method of printing template |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6965912B2 (en) * | 1999-10-18 | 2005-11-15 | 4Yoursoul.Com | Method and apparatus for distribution of greeting cards with electronic commerce transaction |
| JP4508471B2 (en) * | 2001-05-25 | 2010-07-21 | キヤノン株式会社 | Print system and information processing apparatus |
| US7733509B2 (en) * | 2001-09-26 | 2010-06-08 | Infoprint Solutions Company, Llc | Method and apparatus for printing XML directly using a formatting template |
| EP1916620A1 (en) * | 2006-10-27 | 2008-04-30 | Deutsche Post AG | Method for creating a label and device for carrying out the method |
| CN110084547A (en) * | 2019-03-24 | 2019-08-02 | 广东亿锋物联网科技有限公司 | A kind of implementation method of the RFID label tag management platform based on cloud |
| CN110175005A (en) * | 2019-04-10 | 2019-08-27 | 深圳中华商务安全印务股份有限公司 | A kind of bar code printing method of combination digital printing technologies |
-
2019
- 2019-12-26 CN CN201911365704.8A patent/CN111142815B/en active Active
Patent Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004272468A (en) * | 2003-03-06 | 2004-09-30 | Toshiba Tec Corp | Label printing system using Web browser and Web server |
| JP2008033384A (en) * | 2006-07-26 | 2008-02-14 | Seiko Epson Corp | Print data supply apparatus and print data supply method |
| JP2008112330A (en) * | 2006-10-31 | 2008-05-15 | Sato Corp | Winning notification system and winning notification method |
| JP2014010768A (en) * | 2012-07-02 | 2014-01-20 | Ricoh Co Ltd | Label printing system, image output program, and image output device |
| JP2014021609A (en) * | 2012-07-13 | 2014-02-03 | Naxis Co Ltd | System for creating tag and/or label to be used for marketing of fiber product in foreign country |
| CN102830947A (en) * | 2012-08-13 | 2012-12-19 | 南京莱斯信息技术股份有限公司 | Report printing control implemented based on report printing template format |
| CN108021340A (en) * | 2016-10-31 | 2018-05-11 | 北京京东尚科信息技术有限公司 | A kind of label printing method and system |
| CN106814982A (en) * | 2017-01-04 | 2017-06-09 | 北京京东尚科信息技术有限公司 | Label print processing device, system and method |
| CN108875853A (en) * | 2017-05-10 | 2018-11-23 | 北大方正集团有限公司 | The processing method and processing device of data label printing |
| CN107463348A (en) * | 2017-07-05 | 2017-12-12 | 深圳市坐标软件开发有限公司 | Web ends user-defined format print method and system are realized based on B/S frameworks |
| CN108762697A (en) * | 2018-05-25 | 2018-11-06 | 苏宁易购集团股份有限公司 | A kind of Method of printing and device based on browser end |
| CN108776824A (en) * | 2018-06-27 | 2018-11-09 | 中国建设银行股份有限公司 | Bar-code label generation method, device and electronic equipment |
| CN109164992A (en) * | 2018-08-16 | 2019-01-08 | 北京易华录信息技术股份有限公司 | A kind of system for supporting multilingual printing template and its be converted into html template |
| CN109343804A (en) * | 2018-09-28 | 2019-02-15 | 江苏中服焦点信息科技有限公司 | A kind of method of printing template |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111142815A (en) | 2020-05-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111142815B (en) | B/S-based label printing system | |
| US7302485B2 (en) | System and method for transmitting OPC data via data networks, in particular the internet, using an asynchronous data connection | |
| WO2019057188A1 (en) | Remote diagnosis method and apparatus for vehicle, mobile terminal, electronic device and server | |
| CN104394226A (en) | System and method for achieving remote desktop control through web page | |
| JP6272331B2 (en) | Method for remote presentation between at least two terminal devices connected via a network | |
| KR920016971A (en) | Computer system and system and method for controlling graphical display therefor | |
| CN106201375B (en) | Websocket-based network sharing printing control method | |
| CN204759403U (en) | System based on data pass realization equipment internal module thoroughly and upgrade | |
| JP2008225718A (en) | Http server and program | |
| US20160105484A1 (en) | Method to operate a control panel for a production system, as well as a control system for a production system | |
| CN107966950A (en) | Automatic P L C and industrial robot communication control method | |
| CN107086949A (en) | It is a kind of to be used for people and the auxiliary intelligent apparatus of smart machine interactive operation | |
| CN106572136A (en) | Server operation control method, device and system | |
| CN105227639A (en) | A kind of transformer station's remote pictures transfer approach and the alarm of a kind of transformer station direct transfer method | |
| CN104571980A (en) | Multi-mobile-terminal interaction method and system | |
| CN111475867A (en) | General safety cooperation system | |
| US8037160B2 (en) | Method and device arrangement for managing a user application/device management server/client device environment | |
| US10643039B2 (en) | Location based situation awareness system and method thereof | |
| EP1128604A2 (en) | Device for adapting an application to a telecommunication network | |
| CN107766066A (en) | A kind of method for updating slave module firmware | |
| CN114328353A (en) | WEB interactive serial port communication framework | |
| AU2004318284A1 (en) | ASN.1 protocol processor and method for ASN.1 protocol processing | |
| CN108762697B (en) | Printing method and device based on browser end | |
| CN108881373A (en) | A kind of front end data method for stream processing based on MVC frame | |
| US20160103566A1 (en) | Method to operate a control panel for a production system, as well as a control system for a production system |
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 |