add printer to windows server

Glenn Maxwell 12,871 Reputation points
2020-12-04T01:40:11.657+00:00

Hi All

i have a printer and i want to add it to a windows server. and this is a virtual machine. i am unable to add the printer on the windows server. What port needs to be allowed on the network side for the printer to connect to the windows server

Windows for business Windows Server Devices and deployment Set up, install, or upgrade
Windows for business Windows Server User experience Print jobs
Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Jenny Yan-MSFT 9,356 Reputation points
    2020-12-07T01:37:17.45+00:00

    Hi,

    1. What is the meaning of adding a printer to the server? Either sharing the printer to the server or the server is with printer server role and adding printers.

    For the latter one, you could check the step by step guidance with screenshots from below link:
    http://woshub.com/printer-pooling-how-to-configure-a-printer-pool-in-windows-server-2012-r2/
    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
     
    2. As far as I know, The spooler requires the same ports as required for File sharing when the clients communicate with the print server(the machine with shared printer and conduct printer job). According to the blog, TCP ports 139 and 445, and UDP ports 137 and 138 are requried.
    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc787076(v=ws.10)?redirectedfrom=MSDN

    ----------

    Hope this helps and please help to accept as Answer if the response is useful.

    Thanks,
    Jenny

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Udara Peiris 701 Reputation points
    2020-12-05T21:15:13.63+00:00

    TCP ports 139 and 445, and UDP ports 137 and 138

    Further details are in here,

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.