CN106201375A - Websocket-based network sharing printing control method - Google Patents
Websocket-based network sharing printing control method Download PDFInfo
- Publication number
- CN106201375A CN106201375A CN201610507401.5A CN201610507401A CN106201375A CN 106201375 A CN106201375 A CN 106201375A CN 201610507401 A CN201610507401 A CN 201610507401A CN 106201375 A CN106201375 A CN 106201375A
- Authority
- CN
- China
- Prior art keywords
- client
- printer
- data
- function
- 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
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000007639 printing Methods 0.000 title claims abstract description 34
- 230000005540 biological transmission Effects 0.000 claims description 23
- 238000004891 communication Methods 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000012546 transfer Methods 0.000 claims description 4
- 230000003044 adaptive effect Effects 0.000 claims description 2
- 238000012423 maintenance Methods 0.000 abstract 1
- 239000011800 void material Substances 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000007596 consolidation process Methods 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000010009 beating Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000004615 ingredient Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
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/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
-
- 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
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)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The invention discloses a network sharing printing control method based on WebSocket, which comprises the following concrete implementation processes: the method comprises the steps that a WebSocket protocol is used for communicating with a printing server of a network sharing printer through a set of functions and variables defined by JavaScript at a client based on HTML5, an ESC/POS instruction set is transmitted for printing control, and normal printing output of a plurality of printers is remotely controlled by a plurality of HTML5 application clients. Compared with the prior art, the network sharing printing control method based on the WebSocket can realize the output control of a plurality of clients and a plurality of remote printers only through the WebSocket protocol, can greatly reduce the operation and maintenance cost of an HTML5 application program, and has strong practicability, wide application range and easy popularization.
Description
Technical field
The present invention relates to field of computer technology, the network of a kind of sing on web Socket is shared and is printed control
The method of system.
Background technology
In the prior art, for the print control of ESC/POS instruction set, it will usually straight by TCP/IP or COM agreement
Connect letter.In tradition office internet, applications environment, it usually needs realize far call network at client installation control and beat
The scene of print machine.Control is the most relevant with client operating system, it is impossible to realize the cross-platform of real meaning or client exempts from peace
Dress is safeguarded.
Based on this, now provide the method that the network of a kind of sing on web Socket shares print control, by based on HTML5
WebSocket agreement, browser client is no longer dependent on print drive and control, only need to pacify in a shared server
Installed printer shares service, can realize the output control of multiple client and multiple stage remote printer, can be substantially reduced HTML5
The operation expense of application program.
Summary of the invention
The technical assignment of the present invention is for above weak point, it is provided that the network of a kind of sing on web Socket is shared and beaten
The method that print controls.
The method that the network of a kind of sing on web Socket shares print control, it implements process and is: based on
One group of function and variable, use WebSocket agreement and network that the client of HTML5 is defined by JavaScript are shared
The print service end of printer communicates, and transmission ESC/POS instruction set carries out print control, it is achieved multiple HTML5 apply visitor
Family end remotely controls the output of plurality of printers normal print.
Network shares the detailed process of print control:
First one, client data coffret function and the variable of sing on web Socket are set;
Then two, various interface functions and the variable of printer sharing service are set;
Three, transmission is finally set and controls the logic control mode of print command;
In above-mentioned steps, client refers to Internet-browser application object based on HTML5, by HTML5 and
Written in JavaScript, this client is the client of internet, applications, is again the WebSocket client of printer service
End;Printer service refers to the application program connecting client with printer, and realizes printing the service of sharing by changing program.
The particular content of the client data coffret function of sing on web Socket includes:
Client JavaScript defines WebSocket object associative operation function, and this handling function, according to business rule, is used
To ensure the communications in application program running, and it includes setting up function, closing function, holding function, these
Function can be used in order to keep WebSocket object;
The interface function of message is intercepted in the process of client, realizes obtaining the data of server end by this interface function, and right
Data process;
The interface function that the data of client send, realizes sending print data and printing to server end by this interface function
Control instruction, server end completes target print task and returns corresponding state after obtaining data or instruction;
When client is online, by Session session connection variable, print service end definition WebSocket example with
WebSocket address of service, to ensure the Session session connection with client, session connection connects number with online client
And become, and changing real-time update quantity identity according to client terminal quantity, server is come to different visitors by Session session connection
Family end sends data and receives the data from different clients;
Print service end receives the interface function of client data, intercepts port, Session session connection according to server
Consistency policy, after receiving customer data, completes the corresponding control to the network printer according to the appointment logic of client;
Printer service sends the function of data to client, and service end returns server end to printer control by interface function
The data of process processed, in time to the state of client reflection printer.
The various interface functions of printer sharing service and variable specifically include:
Printer initialization function, when shared print service starts, this function completes printer initial configuration so that print
Machine carries out exporting control by WebSocket agreement with Web client;
Data Control and print object transfer function, server receives data by Websocket from client, generates target
Print object, this function is for the data form describing dynamic data that will define for adaptive different printers in the server
It is transformed into different target print objects, then is sent to corresponding printer output by TCP/IP or COM agreement;
Printing server sends the function of data to printer, is transmitted not by different host-host protocols to printer from service end
Print object with data, it is achieved printout.
Definition transmission controls the logic control mode of print command and refers to for different control instructions or print strategy, controls
The objective result that different printer outputs is different, it implements process and is:
Print service end starts, and initializes WebSocket example and starts service and intercept, and loads difference according to configuration parameter and prints
Machine configuration information, enters printer ready state;
When client uses HTML5 application program by browser, a Session meeting set up by client and printing server
Words connect, and print service end increases a Session session, and during client off-line, service end disconnects a Session session even
Connect;
With service end connection establishment during HTML5 client-access internet, applications, by WebSocket agreement and communication for service,
Client calls different printers according to different business scenarios, according to printing rule or printing strategy to service end transmission system
The output data of one form, print service end returns to the corresponding state value of HTML5 client after receiving data;
Print service end, the data received, generates different print object or different according to different target printer conversions
Printer control instruction, then right by the printing of different host-host protocol transmission different pieces of informations to printer by print service
As, printer control instruction, to export different objective results.
Compared to the prior art the network of a kind of sing on web Socket of the present invention shares the method for print control, has
Following beneficial effect:
The method that the network of a kind of sing on web Socket of the present invention shares print control, allows application program based on HTML5 exist
When using ESC/POS instruction set printer, network can be called by WebSocket agreement and share print service, it is achieved Duo Geke
Family end remotely controls the output of plurality of printers normal print, and HTML5 client need not install the programs such as printer driver, only needs
The printer of ESC/POS instruction set is supported, it is achieved being total to of the network printer by the most remote controlled multiple stage of shared print service
Enjoy service, it is achieved the web application of real meaning exempts to install print drive or word depghi;Client only need to be passed through
WebSocket agreement can realize the output control of multiple client and multiple stage remote printer, can be substantially reduced HTML5 application
The operation expense of program, practical, applied widely, it is easy to promote.
Accompanying drawing explanation
What accompanying drawing 1 was the present invention realizes schematic diagram.
Detailed description of the invention
Below in conjunction with specific embodiment, the invention will be further described.
In order to ensure that the application program based on HTML5 print data in running can be in browser end and printing
Server end real-time synchronization transmits, and needs to follow certain business rule and standard and passes to the data defining sing on web Socket
Defeated interface function, as shown in Figure 1, the method that the network of a kind of sing on web Socket of the present invention shares print control, its tool
Body realizes process: the one group of function defined by JavaScript in client based on HTML5 and variable, uses
WebSocket agreement communicates with the print service end of network printer sharing, and transmission ESC/POS instruction set prints
Control, it is achieved multiple HTML5 applications client remotely control the output of plurality of printers normal print.
Network shares the detailed process of print control:
First one, client data coffret function and the variable of sing on web Socket are set;
Then two, various interface functions and the variable of printer sharing service are set;
Three, transmission is finally set and controls the logic control mode of print command;
In above-mentioned steps, client refers to Internet-browser application object based on HTML5, by HTML5 and
Written in JavaScript, this client is the client of internet, applications, is again the WebSocket client of printer service
End;Printer service refers to the application program connecting client with printer, and realizes printing the service of sharing by changing program.
In order to ensure that the application program based on HTML5 print data in running can be in browser end and printing
Server end real-time synchronization transmits, and needs to follow certain business rule and standard and passes to the data defining sing on web Socket
Defeated interface function, its content comprises following several ingredient:
(1) HTML5 client JavaScript defines WebSocket object associative operation function, according to business rule, in order to
Ensure the communications in application program running, existing communication connection set up function, have again the closedown of communication connection
Function, also has communication connection to keep function, and these functions can be used in order to keep WebSocket object.
(2) interface function of message is intercepted in the process of client, realizes obtaining the number of server end by this interface function
According to, and data are processed.
(3) interface function that the data of client send, realizes sending to printing server end beating by this interface function
Printing evidence and print control instruction, server end completes target print task and returns corresponding state after obtaining data or instruction.
(4) online client Session session connection variable, print service end definition WebSocket example with
WebSocket address of service, to ensure the Session session connection with client, session connection connects number with online client
And become, and changing real-time update quantity identity according to client terminal quantity, server is come to different visitors by Session session connection
Family end sends data and receives the data from different clients.
(5) print service end receives the interface function of client data, intercepts port, Session meeting according to server
The consistency policy that words connect.After receiving customer data, complete the network printer according to the appointment logic of client
Corresponding control.
(6) server sends the function of data to client, and print service end returns server end pair by interface function
Printer controls the data of process, in time to the state of client reflection printer.
The various interface functions of definition printer sharing service and variable, receive different clients according to printing server
Print control data, it is achieved control the multiple stage network printer output.
(1) printer initialization function, when shared print service starts, application program automatic load networks printer
Configuration information, and synchronize by the data interaction between TCP/IP or COM protocol realization server and printer.Printer is initial
After changing configuration successful, it is possible to provide printer carries out exporting control by WebSocket agreement to Web client.
(2) Data Control and print object transfer function, server receives data by Websocket from client,
Generate target print object, for the printer that adaptation is different, define a kind of data form describing dynamic data, server
It is responsible for this unified data format change to become different target print object, then is sent to by TCP/IP or COM agreement
Corresponding printer output.
(3) printing server sends the function of data to printer, and interface function can pass through to printer side from service end
The print object of different host-host protocol transmission different pieces of informations, it is achieved printout.
Definition transmission controls the logic control mode of print command, for different control instructions or printing strategy, controls not
The objective result that same printer output is different.
(1) print service end first starts, and initializes WebSocket example and starts service and intercept, adding according to configuration parameter
Carry different printer configuration information, enter printer ready state.
(2), when HTML5 client is online, client and printing server set up a Session session connection, service end
Increase a Session session.During client off-line, service end can disconnect a Session session connection.
(3), during HTML5 client-access internet, applications, simultaneously with print service end connection establishment, WebSocket is passed through
Agreement and communication for service, client can call different printers according to different business scenarios, according to printing rule or printing
Strategy sends the output data of consolidation form to service end, and service end returns corresponding state value after receiving data.
(4) print service end is the data received, and generates different print objects according to different target printer conversions
Or different printer control instructions.Then, service end transmits different pieces of information to printer side by different host-host protocols
Print object, printer control instruction.
The method provided by the present invention, allows application program based on HTML5 use ESC/POS instruction set network printing
During machine, browser client is no longer dependent on print drive or word depghi, realizes printer by transmission ESC/POS instruction set
Control, it is achieved the web application of real meaning exempts to install print drive or word depghi.Client only need to be passed through
WebSocket agreement can realize the output control of multiple client and multiple stage remote printer, can be substantially reduced HTML5 application
The operation expense of program.
With reference to 1 a kind of based on HTML5 the WebSocket as a example by being embodied as, the present invention provided and clothes referring to the drawings
The method that business device end printer controls is described in detail.
Its detailed description of the invention includes: the data transmission interface function of definition sing on web Socket and variable, definition are shared
The various interface functions of printer service and variable, definition transmission control the logic control mode of print command.
The data transmission interface function of definition sing on web Socket and variable:
(1) client JavaScript defines WebSocket object associative operation function, according to business rule, in order to ensure
Communications in application program running, existing communication connection set up function, have again the closedown function of communication connection,
Also having communication connection to keep function, these functions can be used in order to keep WebSocket object.
/**
* WebSocket associative operation
*/
var WEBSOCKET = "ws://ip:port/ws/websocket";
var wsocket;
function initWebSocket() {
if (!wsocket)
wsocket = new window.WebSocket(WEBSOCKET);
// monitoring information
wsocket.onmessage = function(event) {
messageListener(event.data);
};
// close WebSocket
wsocket.onclose = function(event) {
// WebSocket Status:: Socket Closed
};
// open WebSocket
wsocket.onopen = function(event) {
// WebSocket Status:: Socket Open
// send initialization handshake message
sendWebSocketMsg("handshake");
};
wsocket.onerror =function(event){
// WebSocket Status:: Error was reported
};
}
(2) interface function of message is intercepted in the process of client, realizes obtaining the data of server end by this interface function, and
Data are processed.
// process Socket message
function messageListener (msg) {
// data process
}
(3) client data send interface function, by this interface function realize to server end send print data and
Print control instructs, and server end completes target print task and returns corresponding state after obtaining data or instruction.
// send Socket message
function sendWebSocketMsg(msg) {
wsocket.send(msg);
}
(4) online client Session session connection variable, services with WebSocket at service end definition WebSocket example
Address, to ensure the Session session connection with client, session connection connects number with online client and becomes, and according to visitor
Family end number change real-time update quantity identity, server to send data to different clients by Session session connection
With receive from the data of different clients.
@OnOpen
public void onOpen(Session session) {
this.session = session;
webSocketSet.add(this);// increase session
addOnlineCount();// online number adds 1
}
@OnClose
public void onClose() {
webSocketSet.remove(this);// delete session
subOnlineCount();// online number subtracts 1
}
(5) service end receives the interface function of client data, intercepts port, Session session connection according to server
Consistency policy.After receiving customer data, complete the corresponding control to the network printer according to the appointment logic of client.
@OnMessage
public void onMessage(String message, Session session) throws
IOException,
InterruptedException {
// process message, complete the corresponding control to the network printer according to message data
}
(6) server sends the function of data to client, and service end returns server end to printer control by interface function
The data of process processed, in time to the state of client reflection printer.
Definition is to the interface function of Session session client transmission data:
public void sendMessage(String message) throws IOException {
this.session.getBasicRemote().sendText(message);
}
The various interface functions of definition printer sharing service and variable:
(1) printer initialization function, when shared print service starts, the configuration of application program automatic load networks printer
Information, and synchronize by the data interaction between TCP/IP or COM protocol realization server and printer.Printer initializes joins
After being set to merit, it is possible to provide printer carries out exporting control by WebSocket agreement to Web client.
private void getPrinterConfig() {
string filename = Application.StartupPath.ToString() + "/" + "
PrinterConfig.xml";
XmlDocument xmlDoc = new XmlDocument();
Try {
xmlDoc.Load(filename);
XmlNodeList topM = xmlDoc.SelectNodes("//type");
for (int i = 0; i < topM.Count; i++) {
XmlNode element = topM[i];
String name = element.Attributes["name"].Value;
XmlNodeList printers = element.ChildNodes;
for (int j = 0; j < printers.Count; j++) {
The initialization of // printer processes
}
}
} catch (Exception e) {
// display error message
}
}
(2) Data Control and print object transfer function, server receives data by Websocket from client, generates
Target print object, for the printer that adaptation is different, defines a kind of data form describing dynamic data, and server is responsible for
This unified data format change is become different target print objects, then is sent to accordingly by TCP/IP or COM agreement
Printer output.
private CustomerPage TransPrintObject(string data) {
CustomerPage cp = new CustomerPage();
// unified data format change is become different target print objects
return cp;
}
(3) server to printer send data function, interface function can from service end to printer side by different biographies
The print object of transmission protocol transmission different pieces of information, it is achieved printout.
public void execPrint() {
foreach (var item in printerlist) {
String key = item.Key;// printer
printlist = item.Value;
count = 0;
if (key.Length>=2 && "IP".Equals(key.Substring(0,2))) {
// TODO:IP printer print logic
} else if (key.Length >3 && "COM".Equals(key.Substring(0,
3))) {
// TODO: serial printer print logic
} else {
doc = new PrintDocument();
doc.PrinterSettings.PrinterName = key;
doc.DefaultPageSettings = new PageSettings();
// TODO: the print logic of compatible local printer
doc.Print();
}
}
}
The logic control mode of definition transmission control print command:
The inventive method realizes logic control chart referring to the drawings 1, and it is as follows to be described in detail on this basis:
(1) first, start print service end, load printer configuration parameter, and initialize WebSocket example, and start clothes
It is engaged in, by fixed service port snooping client, entering printer service ready state, waits that the session of client Session is even
Connect.
(2), when client uses internet, applications based on HTML5 online by browser, client is passed through simultaneously
A Session session connection set up by WebSocket agreement and printing server, can increase by one at print service end
Session session.When client off-line, service end can disconnect one Session session connection of minimizing automatically.
(3), after client and print service end connection establishment, just can be reached by WebSocket agreement and carry out with service
Communication, it may be assumed that print ready.Client can call different print service according to different business scenarios, and according to printing rule
Or print the strategy output data to service end transmission consolidation form, to export different objective results, service end receives data
The corresponding state value of rear return.
(4) print service end is the data received, and generates different print objects according to different target printer conversions
Or different printer control instructions, add in print queue and rank.
(5) printer service end reads data from print queue, and is passed by different host-host protocols to printer side
Pass the print object of different pieces of information, printer control instruction, with the result that printout is different.
By detailed description of the invention above, described those skilled in the art can readily realize the present invention.But should
Working as understanding, the present invention is not limited to above-mentioned detailed description of the invention.On the basis of disclosed embodiment, described technical field
Technical staff can the different technical characteristic of combination in any, thus realize different technical schemes.
In addition to the technical characteristic described in description, it is the known technology of those skilled in the art.
Claims (5)
1. the method that the network of a sing on web Socket shares print control, it is characterised in that it implements process and is:
The one group of function defined by JavaScript in client based on HTML5 and variable, use WebSocket agreement and net
The print service end of network printer sharing communicates, and transmission ESC/POS instruction set carries out print control, it is achieved multiple HTML5
Applications client remotely controls the output of plurality of printers normal print.
The method that the network of a kind of sing on web Socket the most according to claim 1 shares print control, its feature exists
In, network is shared the detailed process of print control and is:
First one, client data coffret function and the variable of sing on web Socket are set;
Then two, various interface functions and the variable of printer sharing service are set;
Three, transmission is finally set and controls the logic control mode of print command;
In above-mentioned steps, client refers to Internet-browser application object based on HTML5, by HTML5 and
Written in JavaScript, this client is the client of internet, applications, is again the WebSocket client of printer service
End;Printer service refers to the application program connecting client with printer, and realizes printing the service of sharing by changing program.
The method that the network of a kind of sing on web Socket the most according to claim 2 shares print control, its feature exists
In, the particular content of the client data coffret function of sing on web Socket includes:
Client JavaScript defines WebSocket object associative operation function, and this handling function, according to business rule, is used
To ensure the communications in application program running, and it includes setting up function, closing function, holding function, these
Function can be used in order to keep WebSocket object;
The interface function of message is intercepted in the process of client, realizes obtaining the data of server end by this interface function, and right
Data process;
The interface function that the data of client send, realizes sending print data and printing to server end by this interface function
Control instruction, server end completes target print task and returns corresponding state after obtaining data or instruction;
When client is online, by Session session connection variable, print service end definition WebSocket example with
WebSocket address of service, to ensure the Session session connection with client, session connection connects number with online client
And become, and changing real-time update quantity identity according to client terminal quantity, server is come to different visitors by Session session connection
Family end sends data and receives the data from different clients;
Print service end receives the interface function of client data, intercepts port, Session session connection according to server
Consistency policy, after receiving customer data, completes the corresponding control to the network printer according to the appointment logic of client;
Printer service sends the function of data to client, and service end returns server end to printer control by interface function
The data of process processed, in time to the state of client reflection printer.
The method that the network of a kind of sing on web Socket the most according to claim 2 shares print control, its feature exists
In, the various interface functions of printer sharing service and variable specifically include:
Printer initialization function, when shared print service starts, this function completes printer initial configuration so that print
Machine carries out exporting control by WebSocket agreement with Web client;
Data Control and print object transfer function, server receives data by Websocket from client, generates target
Print object, this function is for the data form describing dynamic data that will define for adaptive different printers in the server
It is transformed into different target print objects, then is sent to corresponding printer output by TCP/IP or COM agreement;
Printing server sends the function of data to printer, is transmitted not by different host-host protocols to printer from service end
Print object with data, it is achieved printout.
The method that the network of a kind of sing on web Socket the most according to claim 2 shares print control, its feature exists
In, definition transmission controls the logic control mode of print command and refers to for different control instructions or print strategy, controls difference
The different objective result of printer output, it implements process and is:
Print service end starts, and initializes WebSocket example and starts service and intercept, and loads difference according to configuration parameter and prints
Machine configuration information, enters printer ready state;
When client uses HTML5 application program by browser, a Session meeting set up by client and printing server
Words connect, and print service end increases a Session session, and during client off-line, service end disconnects a Session session even
Connect;
With service end connection establishment during HTML5 client-access internet, applications, by WebSocket agreement and communication for service,
Client calls different printers according to different business scenarios, according to printing rule or printing strategy to service end transmission system
The output data of one form, print service end returns to the corresponding state value of HTML5 client after receiving data;
Print service end, the data received, generates different print object or different according to different target printer conversions
Printer control instruction, then right by the printing of different host-host protocol transmission different pieces of informations to printer by print service
As, printer control instruction, to export different objective results.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610507401.5A CN106201375B (en) | 2016-07-01 | 2016-07-01 | Websocket-based network sharing printing control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610507401.5A CN106201375B (en) | 2016-07-01 | 2016-07-01 | Websocket-based network sharing printing control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106201375A true CN106201375A (en) | 2016-12-07 |
CN106201375B CN106201375B (en) | 2019-02-19 |
Family
ID=57462855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610507401.5A Active CN106201375B (en) | 2016-07-01 | 2016-07-01 | Websocket-based network sharing printing control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106201375B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657393A (en) * | 2017-02-08 | 2017-05-10 | 浪潮(苏州)金融技术服务有限公司 | Device remote interaction system and method based on Websocket |
CN106790568A (en) * | 2016-12-27 | 2017-05-31 | 成都中科创达软件有限公司 | A kind of vehicular platform exchange method based on HTML5 |
CN110599296A (en) * | 2019-08-23 | 2019-12-20 | 达疆网络科技(上海)有限公司 | Method for realizing Web-end automatic order printing service based on Netty and WebSocket protocols |
CN111124323A (en) * | 2019-12-18 | 2020-05-08 | 山东浪潮通软信息科技有限公司 | Realization method for calling client printer interface based on Applet mode |
CN111176586A (en) * | 2018-11-09 | 2020-05-19 | 商派软件有限公司 | Multi-terminal virtual hardware and method for providing virtual hardware service |
CN113238721A (en) * | 2021-05-11 | 2021-08-10 | 浪潮软件股份有限公司 | OFFICE template printing method for unified government affairs service |
CN114461427A (en) * | 2022-04-14 | 2022-05-10 | 中博信息技术研究院有限公司 | Method for sharing computer peripheral equipment by PMS (personal computer) in hotel |
CN115951848A (en) * | 2022-12-24 | 2023-04-11 | 广州天下大同网络科技有限公司 | Remote printing method, system, computer device and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120062946A1 (en) * | 2010-09-15 | 2012-03-15 | Canon Kabushiki Kaisha | Print server, control method thereof, client terminal, printing system, and computer-readable medium |
CN102546794A (en) * | 2011-12-30 | 2012-07-04 | 华为技术有限公司 | Method for directly communicating browser client with back-end server as well as gateway and communication system |
CN103685269A (en) * | 2013-12-12 | 2014-03-26 | Tcl集团股份有限公司 | Method and system for both-way communication between web browser and server |
US20140098392A1 (en) * | 2012-10-08 | 2014-04-10 | Siow Kiat Tan | Photo editor in a multifunction printer |
CN104898995A (en) * | 2011-02-10 | 2015-09-09 | 精工爱普生株式会社 | NETWORK SYSTEM, METHOD OF CONTROLLING PRINTING ON AN NETWORK SYSTEM, client terminal and printer |
-
2016
- 2016-07-01 CN CN201610507401.5A patent/CN106201375B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120062946A1 (en) * | 2010-09-15 | 2012-03-15 | Canon Kabushiki Kaisha | Print server, control method thereof, client terminal, printing system, and computer-readable medium |
CN104898995A (en) * | 2011-02-10 | 2015-09-09 | 精工爱普生株式会社 | NETWORK SYSTEM, METHOD OF CONTROLLING PRINTING ON AN NETWORK SYSTEM, client terminal and printer |
CN105045545A (en) * | 2011-02-10 | 2015-11-11 | 精工爱普生株式会社 | Network system, Client terminal, and method of controlling device server |
CN102546794A (en) * | 2011-12-30 | 2012-07-04 | 华为技术有限公司 | Method for directly communicating browser client with back-end server as well as gateway and communication system |
US20140098392A1 (en) * | 2012-10-08 | 2014-04-10 | Siow Kiat Tan | Photo editor in a multifunction printer |
CN103685269A (en) * | 2013-12-12 | 2014-03-26 | Tcl集团股份有限公司 | Method and system for both-way communication between web browser and server |
Non-Patent Citations (1)
Title |
---|
陆晨等: "HTML5 WebSocket握手协议的研究与实现", 《计算机应用与软件》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790568A (en) * | 2016-12-27 | 2017-05-31 | 成都中科创达软件有限公司 | A kind of vehicular platform exchange method based on HTML5 |
CN106657393A (en) * | 2017-02-08 | 2017-05-10 | 浪潮(苏州)金融技术服务有限公司 | Device remote interaction system and method based on Websocket |
CN111176586A (en) * | 2018-11-09 | 2020-05-19 | 商派软件有限公司 | Multi-terminal virtual hardware and method for providing virtual hardware service |
CN111176586B (en) * | 2018-11-09 | 2021-09-10 | 商派软件有限公司 | Multi-terminal virtual hardware and method for providing virtual hardware service |
CN110599296A (en) * | 2019-08-23 | 2019-12-20 | 达疆网络科技(上海)有限公司 | Method for realizing Web-end automatic order printing service based on Netty and WebSocket protocols |
CN111124323A (en) * | 2019-12-18 | 2020-05-08 | 山东浪潮通软信息科技有限公司 | Realization method for calling client printer interface based on Applet mode |
CN113238721A (en) * | 2021-05-11 | 2021-08-10 | 浪潮软件股份有限公司 | OFFICE template printing method for unified government affairs service |
CN113238721B (en) * | 2021-05-11 | 2022-10-04 | 浪潮软件股份有限公司 | OFFICE template printing method for unified government affairs service |
CN114461427A (en) * | 2022-04-14 | 2022-05-10 | 中博信息技术研究院有限公司 | Method for sharing computer peripheral equipment by PMS (personal computer) in hotel |
CN115951848A (en) * | 2022-12-24 | 2023-04-11 | 广州天下大同网络科技有限公司 | Remote printing method, system, computer device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN106201375B (en) | 2019-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106201375A (en) | Websocket-based network sharing printing control method | |
CN101083534A (en) | Method and system for realizing instant communication through browsers | |
US20050273607A1 (en) | User authentication system | |
CN101146051A (en) | An enterprise-level instant communication interconnection system and method for realizing enterprise interconnection | |
CN104394122A (en) | HTTP (Hyper Text Transport Protocol) service firewall based on adaptive agent mechanism | |
WO2011088878A1 (en) | Connecting module for connecting at least one sensor, actuator, or effector to a service-oriented-architecture network | |
CN101138219A (en) | Application of communication method between client computer | |
EP2564550B1 (en) | Method for providing message and device therefor | |
CN105812406B (en) | Information transferring method and device based on WEB emulation terminal system | |
KR102017038B1 (en) | An access control system for web applications | |
CN102594886B (en) | Method and device for direct communication between browsers, and communication system | |
KR20030028310A (en) | Method for controlling a controlled device connected a home network through the internet and a controlling device thereof | |
CN104463670A (en) | Websocket-based bank preposition transaction system construction method | |
EP1605667A2 (en) | Controlled firewall penetration for management of discrete devices | |
CN106789993B (en) | TCP agent method and device | |
US20170289318A1 (en) | Implementing logical endpoints in internet-enabled devices | |
CN101510196A (en) | Web page push method, system and apparatus thereof | |
CN108989157B (en) | Method and device for controlling intelligent equipment | |
CN116633991B (en) | User interface display control method and system for remote scene | |
CN108092993A (en) | A kind of network data transmission control method and system | |
CN114089711B (en) | Industrial equipment control management method, electronic equipment and storage medium | |
WO2016131358A1 (en) | Home gateway, communication management method and communication system thereof | |
CN102035903B (en) | Combined information processing system | |
US8737413B2 (en) | Relay server and relay communication system | |
CN101902413A (en) | Intelligent network storage equipment and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230302 Address after: Room 1703, Building S01, 1036 Langsuo Chao Road, Jinan Area, China (Shandong) Pilot Free Trade Zone, Jinan, Shandong Province, 250000 Patentee after: SHANDONG LANGCHAO YIYUN ONLINE TECHNOLOGY Co.,Ltd. Address before: No. 1036, Shandong high tech Zone wave road, Ji'nan, Shandong Patentee before: Inspur Genersoft Co.,Ltd. |