question

ThorstenSchning-3782 avatar image
0 Votes"
ThorstenSchning-3782 asked Jingruihan-MSFT commented

Is there a way to make a Windows Server consume it's own shared printers?

I have Windows Server 2019 with some network printers installed using Standard TCP/IP-ports. That server shares all of those printers and pushes them using GPO/GPP to some clients. The printers are shared by the server to have only one place to configure which tray to use for which printer etc. There's additionally an app which needs to get those printers configured using a dialog showing available printers ONLY, there's no chance to simply write arbitrary printer names or alike. That dialog only shows what's known currently to the client Windows.

The problem is that this special configuration dialog can only be executed by some users who DO NOT get the shared printers. OTOH, those users who get the shared printers are not allowed to change the corresponding configuration within the app. Though, on the server I have the printers AND are allowed to configure the corresponding setting in the app, BUT the server only has local printer names, NO shares in that dialog. That dialog is simply a list showing all printers on the executing system without any way to search for any other printers. So when configuring the server-local printers in that app, things still don't work for other clients because the printers simply don't exist on those with the configured name.

Is there a way to make the server consume it's own shared printers?

I tried simply installing such a share on the server and things don't work, error #123 is printed with code 0x0000007b, telling about invalid file names and alike. Additionally, when renaming the printer itself, but NOT the shared named, things still don't work because the search for printers in the network only shows the printer name instead of the share name. So those don't seem to be different in the end at all, even configured differently. I though to have something like "printer1_local" on the server being shared as "printer1" and only that name consumed by clients and the server alike.

windows-server-print
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jingruihan-MSFT avatar image
0 Votes"
Jingruihan-MSFT answered Jingruihan-MSFT edited

Hi,

  1. Please leave a screenshot about more details to illustrate of this sentence? And for you mentioned “those users who get the shared printers” does it mean the following circumstances?
    They cannot change the corresponding configuration in the third-party printer management application.
    Whether the printers is installed locally in win10 through TCP / IP or not.
    Is the driver file installed the same as the driver file used by the same faulty printer installed on the print server?

  2. Do you want to add the printer shared on the print server in win10, and then let the user manually change the tray setting in the local win10? Or deploy the tray setting to win10 through printer server?

  3. Please provide the model of the faulty printer.

  4. Please provide details about the printer deployment group policy configuration for win10.
    Computer Configuration
    computer Configuration\Policies\windows settings\deployed printers
    computer Configuration\preferences\control panel settings\printers
    User Configuration
    user Configuration\Policies\windows settings\deployed printers
    user Configuration\preferences\control panel settings\printers

Look forward your reply and have a great day!

If the answer is helpful, please click "Accept Answer" and upvote it.

Best Regards

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Don't care about the described background of my use-case too much, just focus on the question itself:

Is there a way to make the server consume it's own shared printers?

The following are the screenshots about what I'm doing and the result I'm getting:

90679-clipboard01.jpg
90660-clipboard02.jpg
90627-clipboard03.jpg


0 Votes 0 ·
clipboard01.jpg (125.1 KiB)
clipboard02.jpg (111.9 KiB)
clipboard03.jpg (120.2 KiB)
Jingruihan-MSFT avatar image
0 Votes"
Jingruihan-MSFT answered Jingruihan-MSFT commented

Hi,

It could be caused improperly configured system TEMP variable. Please try to modify the system TEMP variable to a valid path (default system TEMP path is c:\Windows\TEMP) and restart the server.

Please refer this link to move the TEMP and TMP directories.

https://docs.microsoft.com/en-us/previous-versions/tn-archive/aa998945(v=exchg.65)?redirectedfrom=MSDN

If the answer is helpful, please click "Accept Answer" and upvote it.

Best Regards

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Is everything ok?

0 Votes 0 ·