Windows Print Server: Installation and Configuration


Windows Server 2019

Introduction

In this article, we will see how to setup and configure a print server on Windows Server.

Installing the Print and Document Scanning Service role adds an administrative console for managing the print server.

This service is not required to install and share a printer from a Windows server, it is possible to go directly through the control panel.

Print service installation

From the server manager where you want to install the print service, click Add Roles and Features 1 .

Server Manager

When launching the wizard, click Next 1 .

Wizard install role

Choose the option based on role one or feature 1 and click Next 2 .

Select type of installation

Select server 1 and click Next 2 .

Select server

Check the box for printing and scanning documents 1 .

Select role

Click Add Features 1 .

Add the admin console

The Print Services role is selected, click Next 1 .

Selected print service

Skip the list of features by clicking Next 1 .

Features list

A Print Services Summary is displayed, click Next 1 .

Overview pinter service

From Windows 2012 Server, you can use Type 4 drivers that make it easy to deploy printers using WSD ports.

Select the Print Server 1 service and click Next 2 .

Select service

Click on the Install 1 button.

Start install

Wait while installing the print service …

Wait during install Wait during install

The installation completed, exit the wizard by clicking Close 1 .

installation completed

Print service administration

Now that the print service is installed, we will see how to administer it using the Print Management Console.

Open the console that is available from the Start menu.

Open console management

After the console opens, unpack the Print Servers node 1 to access the local server.

Management console

Now we will see how to add drivers and printers.

I usually add the drivers first to the server and then install the printer, it is possible to add the drivers at the time of installation of the printer.

Install drivers

Retrieve the drivers that you need based on the printer models and copiers you are going to install. If your computer is composed of 32-bit workstations,, you must also download the x86 drivers.

From the Print Management Console, right-click Drivers 1 and click Add Driver 2 .

Add pilote

When launching the Add Printer Driver Wizard, click Next 1 .

Wizard add printer driver

Choose processor type 1 then click Next 2 .

Select processor

Click on Disk provided … 1 to select the driver.

Browse

Select the driver inf 1 file and click Open 2 .

Seelct inf file

Click OK 1 to validate the selection of the file.

Driver path

Choose the available printer 1 and click Next 2 .

Select printer

Click Finish 1 to confirm the driver installation and close the wizard.

Confirm install driver

The driver is now added to the server.

Driver added for printer

If necessary, repeat the same operation to install the 32-bit (x86) driver. It is recommended to install the same version of the driver.

Installing a printer on the print server

Now that we have the driver to install, we will see how to add a printer.

Right click on Printers 1 and click on Add Printer 2 .

Add printer

When launching the wizard, choose the installation method, for a network printer with an IP address, choose Add TCP / IP Printer or Web Service by IP Address or Hostname 1 and click Next 2 .

Choose the installation method

Choose device type 1 , enter IP address 2 and click Next 3 .

Type and address Type and address

Since Windows 10/2016, when the device type is auto, the print server will try to install the printer in Web Service Printer mode and create a WSD port. This mode makes plug and play network devices. On a print server containing a lot of printers, it is advisable to choose the TCP / IP Device type.

Name the printer 1 , set the share name 2 and click Next 3 .

Configure name and share name of printer

An overview of the parameters is displayed, it can also be seen that the driver was automatically detected at the model level. Click Next 1 to confirm the addition of the printer.

Confirm install printer

Wait while installing the printer …

Printer being installed

Once the printer is installed, close the wizard by clicking the Finish button 1 .

pinter installed

The printer is available from the Printers 1 node.

On the screenshot below, we can see that the driver is Type 4 because the copier has been installed in automatic detection and a WSD port has been created.

So that we can see the difference, I installed a second copier on the server but this time specifying the port type. Go to Ports node 1 in the Print Management Console. We can see the two added ports linked to copiers 2 .

List of printer-linked ports on the print server

Setting up a printer

From the list of printers available on the print server, right click on the printer 1 to configure and click Properties 2 .

Edit printer

The General tab allows you to configure the name of the printer visible from the server, displays a summary of the features and starts printing a test page.

Properties printer

The Sharing tab is used to configure the SMB name.

Share parameters printer

The Ports tab allows you to modify and configure the printer port on the print server.

Ports

The Advanced tab allows you to configure the driver used as well as the default print settings (black and white, double-sided ….).

Advanced properties of printer

The Security tab allows you to configure permissions on the printer as NTFS rights on a folder.

Security Tab Printer

Troubleshooting

Change the WSD port to TCP / IP

It is not possible to convert the port, for this it is necessary to add a TCP / IP port on the print server and change the port of the printer.

Add the TCP / IP port of the printer

Right-click on Ports 1 and click on Add Port 2 .

Add port

Select Standard TCP / IP Port 1 and click Add Port 2 .

Add port

When launching the wizard, click Next 1 .

Wizard add port for printer

Enter the printer address 1 and click Next 2 .

Printer's IP

Click Finish 1 to confirm the addition of the port.

Confirm add port

Change the printer port

Ouvrir les propriétés de l’imprimante.

Go to rpinter's properties

Go to the Ports tab, check the box of port 1 that has just been created and click on Apply 2 .

Select new port

The printer port is changed 1 , click OK 2 to close the Properties window.

Port changed

Purge the queue (Spooler)

It happens in some cases that an impression blocks the print service of the server, here is how to purge the files.

In batch:

net stop spooler
del %systemroot%\System32\spool\printers\* /Q /F /S
net start spooler

In PowerShell :

Stop-Service spooler
Remove-Item -Path $env:windir\system32\spool\PRINTERS\*.* -Force
Start-Service spooler

Conclusion

The print server is ready, all you have to do is deploy the printers automatically to GPO or Scripts.

If you want to log your impressions Papercut offers several solutions:

  • Papercut NG which is complete solution of quota management and static (paying).
  • PrinterLogger allows you to log impressions for free into a CSV file.

It is also possible to log impressions in Windows events by activating the Operational Log in Application Logs and Services / Microsoft / Windows / PrintService.




Leave a Comment