Internet Printing – How Windows decides if http or RPC is used for a Print Connection to an IPP Server

Internet Printing – How Windows decides if http or RPC is used for a Print Connection to an IPP Server

  • Comments 1
  • Likes

We often get asked from time to time how to force printers that a user has installed on their workstation using the IPP website to use RPC in lieu of the Internet printing protocol. There is a document available on TechNet that explains how to accomplish this:

http://technet.microsoft.com/en-us/library/cc757981(WS.10).aspx

(It’s as simple as changing the IE Zone Security to Medium-Low)

Often though, we run into customers who have already customized the settings in their IE Zone security and would still like to force the use of RPC for IPP printers without resetting those IE Zone settings to Medium-Low.

So what settings is the IPP printer really checking to accomplish this?

The process Windows uses to decide how to connect to a printer looks like this:

1. The OS checks if the following Registry Key is set:

[HKEY_CURRENT_USER\Printers\Settings\PreferredConnection]

If this key exists and its value is 0, the printer connection is using HTTP.

2. If the Registry Key is not set we are looking for two Settings:

a. Java Permissions

This Setting cannot be made inside IE. You have to configure the Settings with GPO.

clip_image002

Java Permissions need to be at least set to Medium Safety to use RPC.

b. ActiveX

Additionally the OS checks the Value from “Initialize and script ActiveX controls not marked as safe for scripting”.

If the Value is disabled we will use RPC otherwise we will use HTTP for the Print Connection.

clip_image003

A last pre-requisite is that the Protected Mode in IE needs to be turned off to use RPC

clip_image004

-Bernd Hogen

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • How does IPP install the printer on a 32-bit OS versus a 64-bit OS? i'm assuming this is ActiveX installation.  

    i am trying to install printers via IPP from a Windows 2003 32-bit server.  It works perfect for Win XP 32-bit and Win 7 32-bit.  It fails when installing on Win 7 64-bit.  Both 32-bit and 64-bit drivers are installed but i keep getting "Printer Installation Failed.  The driver files are not available for the current CPU platform."