Printing from xPrintServer to shared Windows printer on Server 2003 and 2008

Printing to Windows Shares from xPrintServer using IPP/HTTP

Scenario:


User has a printer connected directly to a Windows Server 2003 or 2008 server and wants to print to it from an iOS device using the xPrintServer.

Solution:


Use Internet Printing support in Windows Server.

Method:


Note: It is easier to set this up if the printer set up in Windows has a share name that is only one word with no spaces.
The setup differs slightly between Windows Server 2003 and 2008. In 2003, the print services are added within the IIS installation. In Windows 2008, Print Services are added separately as a Role.

For Windows Server 2003, start with this article to set up IIS with print services:


{+}http://support.microsoft.com/kb/323428+
To configure the appropriate security settings, open the IIS Manager and do the following:

  1. Open IIS

  1. Expand the Server menu

  1. Highlight Web Service Extensions

  1. Highlight Internet Printing

  1. If its status is not set to Allowed, click on the Allow button

  1. Expand Web Sites in the left menu

  1. Expand Default Web Site in the left menu

  1. Right click on Printers and left click on Properties


  1. Click on the Directory Security tab

  1. Click on the Edit button under Authentication and access control

  1. Check the box next to Enable anonymous access

  1. Enter a valid username that is configured on the Windows server
  2. Enter the user's password (it will prompt you later re-enter the password as confirmation)
  1. Under Authenticated access, Integrated Windows authentication should be checked

  1. Click on OK and then on OK in the next window

Windows Server 2008 is a bit different. IIS and Print Services are added separately.


  1. In the Server Manager, make sure that both IIS and Print Services Roles are added

  1. Make sure Internet Printing is installed as one of the Role Services under Print Services

  1. To set the security on Windows Server 2008, in Server Manager, expand Roles in the left menu

  1. Expand Web Server (IIS)

  1. Click on Internet Information Services

  1. In the panel to the right of the far left panel, expand the server name

  1. Expand Sites

  1. Expand Default Web Sites

  1. Right click on Printers

  1. Mouse over Manage Virtual Directory

  1. Click on Advanced Settings

  1. Click on the field next to Physical Path Credentials

  1. Click on the box containing … that appears on the right side of the field

  1. Select the button next to Specific User and click on the Set… button

  1. Enter a valid Windows username
  2. Enter the username's password twice

  1. Click on OK
  2. Click on OK
  3. Click on the Printers folder you right clicked on earlier, double-click on the Authentication icon to the right under IIS

  1. Highlight Anonymous Authentication, then click on Enable under Actions to the right


  1. You can now exit out of the Server Manager



To manually add the printer in the xPrintServer:

  1. Open a web browser session to the IP address of the Windows server and the directory

/Printers, so the address looks something like this: a. {+}http://172.18.22.16/Printers+

  1. Click on the printer you wish to add to the xPrintServer

  1. Click on Properties in the left menu

  1. Highlight and copy the URL next to Network Name to the clipboard

  1. Log into the xPrintServer web page

  1. Click on Printers in the top menu

  1. Click on Advanced in the left menu

  1. Click on the Manually Add Printer button

  1. From the available selections, click on the button next to Internet Printing Protocol (http)

  1. Click on Continue

  1. In the field at the top, http will already be entered
  1. Clear that field and paste the URL you copied from the Windows server webpage in step 4

  1. Click on Continue

  1. Enter a name, description, and location for the printer. The description is what shows up in the iOS print menu and the location shows up under that in smaller print.

  1. Click on Continue

  1. Highlight the appropriate manufacturer under Make

  1. Click on Continue

  1. Highlight the appropriate model

  1. Click on Add Printer

  1. Click on List in the left menu to make sure the printer has been added

  1. Try a test print job directly from iOS