As title, I have a remote printers, print before they make a "clean the print head", the following figure, ordered, remote printers can start cleaning the print head, I'd like to send this network command should be monitoring (get its send command format or something), now I can't think of every time point to open a control panel, and points out the interface to such operations, want to directly use VB to realize point began to cleaning, ask god to give directions, thank you very much!
CodePudding user response:
If you cannot find the hardware "command communication" operation interface (API) related driving data, that is difficult to achieve, Unless you put it the control panel of the CPL file the disassembly, and understand what it calls the API, what kind of parameters passed, Otherwise can't direct implementation in their programs,
Have a more realistic way, be in VB, "click" open the control panel window, and then for the corresponding operation in this window, Instead of from the system of "control panel" to find and open it again,