Keep original print job owner when printing


In this article we are going to explain how you can configure Print&Share CQ so that the original print job owner is being used at the (print) output. This technique is called user impersonation.


Preparing Print&Share CQ

First, for demonstration purposes, we are going to setup Print&Share CQ with a single profiIe. This profile will have one print channel. In a next section, we will do the actual user impersonation configuration.

  1. Log in to the admin panel of Print&Share CQ using a web browser.
  2. Navigate to Manage > Workflow > Profiles.
  3. Create a profile by clicking Create new and give the profile the name ImpersonationTest.
  4. Scroll down to the Channels section and add a Printer-channel.
  5. Configure the Printer-channel with a specific printer.
  6. Save all settings and go back to the overview of all Profiles.

Note: In case this you have multiple profiles, for testing purposes, change the order of profiles and put this profile as first.

If you now print a document you will see that the print job owner will be the same as the user that runs the Print&Share CQ service. In our case it is running under the SYSTEM user:


To verify this:

  1. Log on to the server where Print&Share CQ is installed.
  2. Navigate to Windows Control Panel > Devices and Printers, right-click on the printer that you used in your profile and select See what's printing.
  3. In the Print queue dialog click Printer > Pause Printing. This will pause the actual print queue (output).

When printing something to Print&Share CQ, the service will execute the profile and the channel and send the job to your configured printer. The print queue of this printer has been set to a Pause-state, allowing us to verify the print job owner. In our case the job owner is SYSTEM. This is exactly what we expected, because our service runs under the System account.


Configuring the user impersonation

  1. Log in to the admin panel of Print&Share CQ using a web browser.
  2. Navigate to Manage > System Setup > User impersonation.
  3. By default the Impersonation: is set to Disabled. Select the option Impersonate user that printed the job.
    By selecting this option, you will be notified that you need to configure the policy Act as part of the operating system.
  4. Click Save to save the user impersonation setting.

What is 'Act as part of the operating system' This is a security policy which allows the operating system to do actions in the name of that user. This is exactly what we need!

Enabling Run As Service Account to Act as the Operating System on the server.
Read the step-by-step guide on how to configure this policy in Windows


Actually, there is not much to configure.

  1. On the server you need to add a user to the Act as part of the Operating System
  2. and in Print&Share you need to enable user impersonation via the option Impersonate user that printed the job.

Now we are going to print again our same document and see in our paused print queue on the output which user we have.

As you can see, our user is now wst instead of SYSTEM. The user impersonation is successful!


See also