CN111142815A - Label printing system based on B/S - Google Patents

Label printing system based on B/S Download PDF

Info

Publication number
CN111142815A
CN111142815A CN201911365704.8A CN201911365704A CN111142815A CN 111142815 A CN111142815 A CN 111142815A CN 201911365704 A CN201911365704 A CN 201911365704A CN 111142815 A CN111142815 A CN 111142815A
Authority
CN
China
Prior art keywords
web
printing system
printing
server
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.)
Granted
Application number
CN201911365704.8A
Other languages
Chinese (zh)
Other versions
CN111142815B (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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya 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 Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN201911365704.8A priority Critical patent/CN111142815B/en
Publication of CN111142815A publication Critical patent/CN111142815A/en
Application granted granted Critical
Publication of CN111142815B publication Critical patent/CN111142815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/1222Increasing security of the print job
    • 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/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1286Remote printer device, e.g. being remote from client or server via local network
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a B/S-based label printing system, which comprises 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 and a bound work order and work procedure to the server through the Web end management platform; after a work order and working procedures are input into the Web-end printing system, the Web-end printing system pulls corresponding data from the server, the Web-end printing system transmits the data to a Windows local background program, and the Windows local background program controls printing software to print; and the printing result generated by the printing software is returned to the server by the Windows local background program and the Web end printing system in sequence. The invention solves the problem of data non-maintainability; the risk and poor compatibility problems of using ActiveX controls directly in the browser are also avoided.

Description

Label printing system based on B/S
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, the existing label network printing system has the following modes:
1. the printing software is invoked using an ActiveX plug-in based on the IE browser. This method has the problem of poor safety and compatibility. Through the ActiveX control, the browser can operate the local application program at will to control the local application, and the safety cannot be guaranteed. Therefore, ActiveX has been abandoned by various large browser manufacturers, and the currently supported browser only with IE kernel cannot guarantee compatibility.
2. And developing a desktop application program and calling printing software. In the method, the development period of the desktop application program is long, the iterative maintenance cost is high, and the factory synchronism is poor. The C # is adopted to develop the desktop application program, the function development period is long, the difficulty in realizing human-computer interaction is high, the system maintenance cost is relatively high, and the version of factory synchronous software is relatively poor.
3. The printing software is used directly. The problem that the data maintenance cost is high exists in the mode, the data maintenance is completely in an offline management mode, and the data cannot be maintained in the later period.
Disclosure of Invention
The invention aims to provide a B/S-based label printing system to solve the problems of poor safety, high development cost and difficult data maintenance of the prior label network printing system.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
the label printing system based on the B/S is characterized in that: constructing a server, a Web end management platform, a Web end printing system and corresponding Windows local background programs, wherein:
a user binds a work order and a process with a label template generated by printing software through a Web end management platform and uploads the work order and the process to a server end; the Web-end printing system is operated, after a work order and a work procedure are input into the Web-end printing system, the Web-end printing system pulls a corresponding label template and printing data generated by a server from the server, the Web-end printing system transmits the obtained label template and the obtained printing data to a Windows local background program corresponding to the Web-end printing system, the Windows local background program integrates the label template and the printing data into data which can be identified by printing software and transmits the data to the printing software, and the Windows local background program controls the printing software to print; and the printing software returns the printing result of the Windows local background program, the printing result is transmitted to the corresponding Web end printing system by the Windows local background program, and finally the printing result is sent to the server by the Web end printing system and is stored and maintained by the server.
The label printing system based on the B/S is characterized in that: and the Web end printing system and the server end transmit data 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-end 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: the Windows local background program is written for C # language and integrates ActiveX control to control the printing software to work.
The label printing system based on the B/S is characterized in that: and if the Web-end printing system works in the Chrome browser environment, integrating the ActiveX control with the PPAPI control and replacing the Windows local background program.
The invention adopts the B/S architecture to construct the label network printing system, thus solving the problem of non-maintainability of directly using printing software to print data; the problem of high difficulty in developing the desktop application program is solved; the risk of directly using the ActiveX control and the problem of poor compatibility are also avoided. The invention adopts the server to maintain data, the Web end printing system realizes user interaction, and a local Windows background program running in the local integrates an ActiveX control to call printing software to realize label printing.
Drawings
Fig. 1 is a schematic diagram of data transmission of the system of the present invention.
Detailed Description
The invention is further illustrated with reference to the following figures and examples.
As shown in fig. 1, the B/S-based label printing system constructs a server, a Web management platform, a Web printing system, and corresponding Windows local daemon programs, where:
and the Web end management platform and each Web end printing system respectively transmit data with the server end through an HTTP protocol. A user binds a work order and a process with a label template generated by printing software through a Web end management platform and uploads the work order and the process to a server end; and operating the Web-side printing system, and pulling the corresponding label template and the printing data generated by the server side by the Web-side printing system after inputting the work order and the work procedure to the Web-side 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 C # language and integrates ActiveX control to control the printing software to work. And the Windows local background program integrates the label template and the printing data into data which can be identified 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 printing result is transmitted to the corresponding Web end printing system by the Windows local background program, and finally the printing result is sent to the server by the Web end printing system and is stored and maintained by the server.
In the invention, if the Web-end printing system works in a Chrome browser environment, the PPAPI control is integrated with the ActiveX control and replaces a Windows local background program.
The present invention separates data maintenance, user interaction, and printing software control. The server side maintains the data and the label template and records the printing result; the Web end management platform, the Web end printing system and the server pull data and report results through an HTTP (hyper text transfer protocol) protocol; the operation and interaction of the user are realized at the Web end; and sending the specific operation command and the data pulled by the server to a local Windows background program (c # for writing) running locally through a WebSocket (network technology for full duplex communication between a browser and a server) transmission protocol, wherein the local background program integrates an ActiveX control, transmits the data to printing software in real time, and returns a printing result of a Web end printing system to realize one-round label printing.
The embodiments of the present invention are described only for the preferred embodiments of the present invention, and not for the limitation of the concept and scope of the present invention, and various modifications and improvements made to the technical solution of the present invention by those skilled in the art without departing from the design concept of the present invention shall fall into the protection scope of the present invention, and the technical content of the present invention which is claimed is fully set forth in the claims.

Claims (5)

1. The label printing system based on the B/S is characterized in that: constructing a server, a Web end management platform, a Web end printing system and corresponding Windows local background programs, wherein:
a user binds a work order and a process with a label template generated by printing software through a Web end management platform and uploads the work order and the process to a server end; the Web-end printing system is operated, after a work order and a work procedure are input into the Web-end printing system, the Web-end printing system pulls a corresponding label template and printing data generated by a server from the server, the Web-end printing system transmits the obtained label template and the obtained printing data to a Windows local background program corresponding to the Web-end printing system, the Windows local background program integrates the label template and the printing data into data which can be identified by printing software and transmits the data to the printing software, and the Windows local background program controls the printing software to print; and the printing software returns the printing result of the Windows local background program, the printing result is transmitted to the corresponding Web end printing system by the Windows local background program, and finally the printing result is sent to the server by the Web end printing system and is stored and maintained by the server.
2. The B/S-based label printing system according to claim 1, wherein: and the Web end printing system and the server end transmit data through an HTTP protocol.
3. The B/S-based label printing system according to claim 1, wherein: and data are bidirectionally transmitted between the Web-end printing system and the Windows local background program through a WebSocket transmission protocol.
4. The B/S-based label printing system according to claim 1, wherein: the Windows local background program is written for C # language and integrates ActiveX control to control the printing software to work.
5. The B/S-based label printing system according to claim 4, wherein: and if the Web-end printing system works in the Chrome browser environment, integrating the ActiveX control with the PPAPI control and replacing the Windows local background program.
CN201911365704.8A 2019-12-26 2019-12-26 B/S-based label printing system Active CN111142815B (en)

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 true CN111142815A (en) 2020-05-12
CN111142815B 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)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020176112A1 (en) * 2001-05-25 2002-11-28 Kiyotaka Miura Print system and information processing apparatus
US20030058469A1 (en) * 2001-09-26 2003-03-27 International Business Machines Corporation Method and apparatus for printing XML directly using a formatting template
US20030208556A1 (en) * 1999-10-18 2003-11-06 Doron Friedman Method and apparatus for distribution of greeting cards with electronic commerce transaction
JP2004272468A (en) * 2003-03-06 2004-09-30 Toshiba Tec Corp Label print system by web browser and web server
JP2008033384A (en) * 2006-07-26 2008-02-14 Seiko Epson Corp Print data supply device and print data supply method
JP2008112330A (en) * 2006-10-31 2008-05-15 Sato Corp Winning notification system and winning notification method
US20100076585A1 (en) * 2006-10-27 2010-03-25 Deutsche Post Ag Method for the production of a label, and device for carrying out said 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
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

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030208556A1 (en) * 1999-10-18 2003-11-06 Doron Friedman Method and apparatus for distribution of greeting cards with electronic commerce transaction
US20020176112A1 (en) * 2001-05-25 2002-11-28 Kiyotaka Miura Print system and information processing apparatus
US20030058469A1 (en) * 2001-09-26 2003-03-27 International Business Machines Corporation Method and apparatus for printing XML directly using a formatting template
JP2004272468A (en) * 2003-03-06 2004-09-30 Toshiba Tec Corp Label print system by web browser and web server
JP2008033384A (en) * 2006-07-26 2008-02-14 Seiko Epson Corp Print data supply device and print data supply method
US20100076585A1 (en) * 2006-10-27 2010-03-25 Deutsche Post Ag Method for the production of a label, and device for carrying out said 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
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

Also Published As

Publication number Publication date
CN111142815B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN100496015C (en) Method for realizing clipboard sharing in multinode intelligent network application service system
US8584081B2 (en) Server side application integration framework
JP4693803B2 (en) HTTP server and program
CN204759403U (en) System based on data pass realization equipment internal module thoroughly and upgrade
WO2003081443A1 (en) Image formation device having a web service function
CN103761154A (en) Cross-platform shear plate synchronizing method and system
CN111526052B (en) Network element instruction management method, device, network equipment and storage medium
CN104394226A (en) System and method for achieving remote desktop control through web page
CN104135536A (en) Data interaction method of Web management system based on Json data protocols
JP2015537280A (en) Method for remote presentation between at least two terminal devices connected via a network
CN101571793B (en) Method and device for printing page information
US8346852B2 (en) Apparatus and method for updating displayed web page
CN114363096B (en) Data access transmission system crossing safety partitions
CN108773205B (en) Intelligent printing device and intelligent printing control method
CN111475867A (en) General safety cooperation system
CN101529807B (en) A method and system for realizing universal interfaces in the network management system
CN111142815A (en) Label printing system based on B/S
US20070038699A1 (en) Method and device arrangement for managing a user application/device management server/client device environment
CN101499031A (en) Software bug feedback system and method
CN109600420A (en) It is a kind of to realize the method and system remotely controlled online based on raspberry pie technology
CN114328353A (en) WEB interactive serial port communication framework
CN108762697B (en) Printing method and device based on browser end
KR100332201B1 (en) Apparatus for processing database query in omid of msc
CN112367328B (en) Method for entering Kubernetes cluster container based on websocket
KR101888792B1 (en) Method for data communication and system comprising the same

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