Bi-directional communication between printer and client
AssigneeHewlett-Packard Development Company, L.P.
InventorsJyothiprakash Trishuleshwar, Sriharsha Apprameya
Life of this patent
Estimating the term…
Abstract
A method of enabling bi-directional communication in a point and print (PnP) architecture between a printer and a client includes initiating a PnP installation to receive a printer component at the client from a printer server. The printer component is received at the client from the printer server and a spooler process is enabled on the client to load the printer components on the client. A new thread, which executes in the context of the spooler process such that the new thread inherits the system access token from the spooler process, is used to copy the printer component to the system folder on the client. From the new thread, the printer component is registered and executed from the system folder in an elevated system context.
Claims18
A method of enabling bi-directional communication in a point and print (PnP) architecture between a printer and a client, wherein a user of the client has restricted user access rights preventing the user from directly writing data to a system folder on the client, said method comprising:
- initiating a PnP installation to receive a printer driver and a bi-directional system service at a spooler of the client from a printer server, wherein the spooler coordinates printing communication from the client to the printer;
- enabling the spooler to run a first thread to load the printer driver from the spooler to a non-system folder on the client, wherein the first thread runs with a system access token;
- launching a second thread, which executes in a context of the first thread of the spooler such that the second thread inherits the system access token from the first thread;
- copying the bi-directional system service from the spooler to the system folder on the client with the second thread;
- registering the bi-directional system service from the system folder in an elevated system context with the second thread;
- and
- using the bi-directional system service to engage in bi-directional communication for the user between the client and the printer.
A system for enabling bi-directional communication between a client and a printer in a point and print (PnP) architecture, the system comprising:
- a client operating under restricted user access rights preventing a user from directly writing data to a system folder on the client, wherein the client is operable to communicate with the printer;
- and
- a printer server having a printer driver and a bi-directional system service to facilitate the bi-directional communication between the client and the printer, wherein the client is configured to
- receive the printer driver and a bi-directional system service at a spooler of the client from the printer server upon the initiation of a PnP installation,
- enable the spooler to run a first thread to load the printer driver from the spooler to a non-system folder on the client, wherein the first thread runs with a system access token,
- launch a second thread, which executes in the context of the first thread of the spooler such that the second thread inherits the system access token from the first thread,
- copy the bi-directional system service from the spooler to the system folder on the client from the second thread,
- register the bi-directional system service from the system folder in an elevated system context from the second thread;
- and
- use the bi-directional system service to engage in bi-directional communication with the printer.
A non-transitory computer readable medium having code, which when executed by a processor performs a method for enabling bi-directional communication in a point and print (PnP) architecture between a printer and a client, wherein a user of the client has restricted user access rights preventing the user from directly writing data to a system folder on the client, said method comprising:
- initiating a PnP installation to receive a printer driver and a bi-directional system service at a spooler of the client from a printer server, wherein the spooler coordinates printing communication from the client to the printer;
- enabling the spooler to run a first thread to load the printer driver from the spooler to a non-system folder on the client, wherein the first thread runs with a system access token;
- launching a second thread, which executes in a context of the first thread of the spooler such that the second thread inherits the system access token from the first thread;
- copying the bi-directional system service from the spooler to the system folder on the client with the second thread;
- registering the bi-directional system service from the system folder in an elevated system context with the second thread;
- and
- using the bi-directional system service to engage in bi-directional communication for the user between the client and the printer.
Dependencies are inferred from the claim text.