customer relationships

Setting Up a Windows Server 2008 Print Server

Installing the Print Server

The first step in setting up a Windows Server 2008 print server is to install the Print Server role. This is achieved by launching the Server Manager, selecting Roles item from the tree in the left pane and clicking on Add Roles. In the Add Roles Wizard click next on the Welcome screen if one appears and then select the Print Services option. Click Next and read the information displayed before clicking Next once again to proceed to the Select Role Services screen. On this screen a number of different service options are available for selection and installation as outlined in the following table:

Option Description
Print Server Installs the print server and Print Management console. This is a prerequisite for configuring print services on Windows Server 2008.
LDP Service Installs the TCP/IP Line Printer Daemon Service (LPDSV) allowing UNIX, Linux and other Line Printer Remote (LPR0) based computers to print via the print server. This setting also opens port in the Windows Firewall.
Internet Printing Creates an Internet Information Service (IIS) hosted web site where users can manage printers and connect and print to shared printers hosted in the server using the Internet Printing Protocol (IPP). The default URL for the web site is http://servername/Printers, where servername is the name of the server running the print services.

With the required options selected, click Next. Note that if Internet Printing was selected and the IIS role is not currently installed in the server, the wizard will prompt to add additional roles. If prompted, click on the Add Required Role Services button to proceed. Click Next on any information pages that may be displayed until the Confirmation screen appears. After reviewing the summary information provided, click Install to initiate the installation process.

 

Print Services Management Tools

Once print services are installed a number of print management tools are now available on the system. First and foremost is the Print Management snap-in which may be accessed via Start -> All Programs -> Administrative Tools -> Print Management. A useful command-line tool is also available in the form of the Print Backup Recovery Migration tool. The executable is named Printbrm.exe and is located in %SystemRoot%\System32\Spool\Tools.

A number of useful VBscript tools are also available in %SystemRoot%\System32\Printing_Admin_Scripts\en-US (note that if you use a language other than en-US the path will need to be change accordingly). Scripts are available for configuring printer settings (prncfg.vbs), listing and managing printer drivers (prndrvr.vbs), managing print jobs (prnjobs.vbs), managing print queues (prnQctl.vbs), publishing printers to active directory (pubprn.vbs), installing and managing printers (prnmngr.vbs) and for managing TCP/IP printer ports (prnport.vbs).

The scripts are executed using the cscript.exe command and when run without any command-line options will display a list of supported options. For example:

cscript prnjobs.vbs

Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

Usage: prnjobs [-zmxl?] [-s server][-p printer][-j jobid][-u user name][-w password]

Arguments:
-j     - job id
-l     - list all jobs
-m     - resume the job
-p     - printer name
-s     - server name
-u     - user name
-w     - password
-x     - cancel the job
-z     - pause the job
-?     - display command usage

Examples:
prnjobs -z -p printer -j jobid
prnjobs -l -p printer
prnjobs -l

 

Adding Network Printers to the Print Server using Auto-detect

Obviously, a print server without any printers isn’t going to be of much use. Not surprisingly, therefore, the next step after installing Print Services is to add printers. Printers may either be network based, or locally connected to the server. In the case of network printers, these may be added either manually or using auto-detection. Under auto-detection, Print Management scans the subnet on which the server resides and searches for any devices it can identify as being printers. As printers are detected on the network they are displayed in a list where they may be selected and added to the print server.

To add network printers using auto-detection, open the Print Management tool via Start -> All Programs -> Administrative Tools -> Print Management, unfold the Print Servers from the list in the left pane, right click the local or remote print server to which the new printer is to be added and select Add Printer…. This will display the Network Printer Installation Wizard as illustrated below:

 

The Windows Server 2008 Network Printer Wizard
In order to have the wizard search for printers on the network, ensure that the Search for network printers is selected and click on Next. At this point the wizard will begin the process of scanning the network for printers. As each printer is detected it will be listed. In the following example, the wizard has detected an HP Deskjet 5800 printer on the network with an IP address of 192.168.2.10:

 

Scanning for Network Printers
If no printers are detected, ensure that the printers are connected to the network and powered on and are on the same subnet as the print server. Once the scan is complete, select the required printer from the list and click Next to proceed to the Printer Driver screen. If a driver for the printer is already installed, select it from the drop down list. Alternatively select the Install a new driver option and click Next to proceed to the Printer Installation screen where a list of printer manufacturers and models is presented. Select the make and model of the printer from the list:
Selecting the manufacturer and model of a Network Printer
If the make and model of printer are not listed, check to see if the printer was supplied with a driver disk, or whether a driver can be obtained from the manufacturer’s web site. Assuming this to be the case, use the Have Disk button to browse for and select the appropriate manufacturer driver. With either a printer selected from the list, or a suitable driver specified, click on Next to configure the Printer Name and Share Settings. On this screen, enter the name by which the new printer will be shared to clients over the network. If the printer is not to be shared, ensure that the Share this printer is not selected. Also, enter a location description (for example, “Printer in Accounts”) and comment if desired. Click Next to display the printer summary screen as illustrated below where the selected settings are presented for review:
New network printer settings summary screen
Assuming the configuration summary is correct, click Next to install the new printer. At this point the wizard will report that the driver has been successfully installed and that a test page is ready to be printed. If another printer is to be added to the print server, select the Add Another Printer option to instruct the wizard to loop back to the start of the installation process.

 

Manually Adding Network Printers to a Print Server

The preceding section discussed the use of auto-detection to locate and install and network attached printer. This section will cover the manual installation of a network printer. As with auto-detection, begin by invoking the Print Management tool (Start -> All Programs -> Administrative Tools -> Print Management), unfold the Print Servers category from the list in the left pane, right click the local or remote print server to which the new printer is to be added and select Add Printer…. This will launch theNetwork Printer Installation Wizard. On the initial page of the wizard select the option labeled Add a TCP/IP or Web Services Printer by IP address or hostname and click Next to proceed to the Printer Address screen. If the type of printer is known (TCP/IP device or Web Services Printer) make the appropriate selection. Alternatively, leave the setting as Auto Detect to have the wizard identify the printer type. Enter the IP address or hostname of the printer to be added to the print server. The wizard will automatically generate a unique port name to accompany the IP address or hostname. The option is also provided to have the wizard attempt to identify the appropriate driver for the new printer. The following figure illustrates the screen as described:
Configuring the IP address and port for a new network printer
Click Next to install a printer driver. If a driver for the printer is already installed on the print server, select it from the drop down list. Alternatively select the Install a new driver option and click Next to proceed to the Printer Installation screen where a list of printer manufacturers and models is presented. Select the make and model of the printer from the list, or use the Have Disk to install the manufacturer supplied driver.

With either a printer selected, click on Next to configure the Printer Name and Share Settings. On this screen, enter the name by which the new printer will be shared to clients over the network. If the printer is not to be shared, ensure that the Share this printer is not selected. Also, enter a location description (for example, “Color Printer in Sales”) and comment if desired. Click Next to perform the installation and print an optional test page.

 

Adding a Locally Connected Printer

Since servers are generally sequestered in climate controlled server room and printers are located in proximity to the users it always seems a little odd to talk about installing printers with are locally connected to servers. That said, it is a topic which needs to covered, and cover it we will.

Local printers will be connected to the server using a serial (COM) port, a parallel (LPT) port or a Universal Serial Bus (USB) port. Often, Windows will automatically detect a new printer as soon as it is connected and powered up. In this situation an icon will appear in the task bar indicating that the new device has been detected. Clicking on this icon presents the option to view details about the installation process, resulting in the appearance of a dialog similar to the one illustrated below, where a Brother MFC-420CN printer has been detected and is being installed:
Windows Server 2008 Auto detecting and installing a USB printer
Once the printer has been installed, it will likely need to be configured for network sharing. To achieve this, launch the Print Management tool, select the print server to which the printer is physically connected and click on Printers. The center pane of the tool will display a list of printers installed on the current print server. Identify the required printer in the list, double click on it to display the properties dialog and select the Sharing tab:
Printer Share properties
If the printer is to be shared with network client, set the Share this printer check box and enter a suitable share name for the printer. This page also allows Client-side Rendering(CSR) to be configured. When selected, all rendering of print jobs is performed on the client and just the RAW print data sent to the server for printing. This offloads the rendering overhead to the client computers, thereby reducing the load, and increasing the scalability of the print server.

If Windows fails to auto-detect the printer it may be added manually from Print Management by right clicking on the print server to which the device is attached and selecting Add Printer…. On the initial screen select the Add new printer using an existing port and choose the port to which the printer is connected from the drop down list. Once selected, click Next to install a printer driver. If one is already installed, select it from the drop down next to the use an existing printer driver on the computer. Alternatively, select Install a new printer driver and either select the printer make and model from the list, or use the Have Disk to install the manufacturer supplied driver. Click Next to proceed to the Printer Name and Sharing screen. Choose whether the printer is to be shared and, if so, by what name. Proceed to the summary screen, review the information and complete the installation.


Got a project that needs expert IT support?

From Linux and Microsoft Server to VMware, networking, and more, our team at CR Tech is here to help.

Get personalized support today and ensure your systems are running at peak performance or make sure that your project turns out to be a successful one!

CONTACT US NOW
one click social media designs