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:
Open IIS
Expand the Server menu
Highlight Web Service Extensions
Highlight Internet Printing
If its status is not set to Allowed, click on the Allow button
Expand Web Sites in the left menu
Expand Default Web Site in the left menu
Right click on Printers and left click on Properties
Click on the Directory Security tab
Click on the Edit button under Authentication and access control
Check the box next to Enable anonymous access
Enter a valid username that is configured on the Windows server
Enter the user's password (it will prompt you later re-enter the password as confirmation)
Under Authenticated access, Integrated Windows authentication should be checked
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.
In the Server Manager, make sure that both IIS and Print Services Roles are added
Make sure Internet Printing is installed as one of the Role Services under Print Services
To set the security on Windows Server 2008, in Server Manager, expand Roles in the left menu
Expand Web Server (IIS)
Click on Internet Information Services
In the panel to the right of the far left panel, expand the server name
Expand Sites
Expand Default Web Sites
Right click on Printers
Mouse over Manage Virtual Directory
Click on Advanced Settings
Click on the field next to Physical Path Credentials
Click on the box containing … that appears on the right side of the field
Select the button next to Specific User and click on the Set… button
Enter a valid Windows username
Enter the username's password twice
Click on OK
Click on OK
Click on the Printers folder you right clicked on earlier, double-click on the Authentication icon to the right under IIS
Highlight Anonymous Authentication, then click on Enable under Actions to the right
You can now exit out of the Server Manager
To manually add the printer in the xPrintServer:
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+
Click on the printer you wish to add to the xPrintServer
Click on Properties in the left menu
Highlight and copy the URL next to Network Name to the clipboard
Log into the xPrintServer web page
Click on Printers in the top menu
Click on Advanced in the left menu