IIS printers web page- Internet Printing

O

Owen

I am trying to set up a print server on WIndows XP
Professional, and I want to use Internet printing. I
install IIS (all components to be thorough), including
the Printers Virual Directory component. But
http://localhost/printers yeilds the The Page Cannot Be
Found error. http://localhost works.

I have been able to set up a Server 2003 installation to
do this no problem.

I have tried on SP1 and SP2.

A search in the Internet Information Services console
tree under the local Server|Web Sites|Default Web Site
node reveals that there is no entry for a Printers
virtual folder.

Thanks for any help,
Owen
 
G

Guest

Thanks, but that is not correct. Localhost is an alias
for 127.0.0.1 (loop back IP address), which will work
regardless of whether or not the computer is on the
network. The problem was actually that Windows XP
requires a reboot to create the virtual printers folder,
but does not request a reboot.

Thanks,
Owen>-----Original Message-----
 
G

Guest

Hey Owen. If what you are trying to accomplish is to allow a web program
sitting on the application server to print directly to printer connected to
the server (which I needed)... it can be done fairly simply.

If this is your question... email me at (e-mail address removed). It requires you
give the web program higher permissions. At the way you do that depends on
whether you are running IIS 6.0 or earlier. Just discovered that last night!

In fact, I installled the pdfFactory product on the server that acts just
like a printer but creates Adobe Acrobat files. Works really cool. Solved my
pusing print back through the network. They go into a share on the server
with unique names and the users can browse, email, print, etc. as they see
fit.

I have a document with the procedure. It also appears to require an export
of registration items from the registry from HKEY_CURRENT_USER and processed
into HKEY_USER/.DEFAULT.

Once done, I can give a list of printers to choose from to the users on the
web application and the printing is done using Windows services on the
Application server.
 
G

Guest

OK... Here is the documentation. For increasing the Web application
permissions... if you have IIS 6.0, you can do it directly with IIS . Go
into IIS and add an Application Pool for those web applications you want to
have access to Windows Services on the Server. This is because you don't
want to do this for every app.

You can model it after the default, but then go into Identity and change the
security account to "Local System". This is the highest setting. The
default is like Network System which does not let you access the services you
need.

Then go find you web virtual directory... right click and assign its
application pool to your new pool you created. That along should work.

The documentation I have is for IIS 5.0 and below. Basically you edit a
file in C:\Windows\Microsoft.Net\Framework\V.xxxxxx (pick the biggest number
since it means you have an upgrade.

In that directory, go into CONFIG and edit the file MACHINE.CONFIG. Search
for "processModel Attributes". Around line 324. This is the definition for
the web applications. Notice the comments but look for the definition:

<processModel enable="true" timeout="Infinite" .... userName="machine" ...
You have to change that to userName = "SYSTEM"

IIS 6.0 ignores these settings so you only do it if you have a lower version.

For me, all the printers were automatically defined for the web application.
The directions do tell you how to replicate them in the register if you need
to. Here is the directions:

Define Printer Registration Entries for Web Application

Each time the server is given access to a printer either directly connected
or network that you wish the web application to have access, follow these
steps.

Go into RegEdit under:

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion

Right click on Devices, select Export, select a destination directory and
type in Devices for the name and click SAVE.

Repeat the process for PrinterPorts and Windows giving each the names of
PrinterPorts.reg and Windows.reg respectively.

Using Windows Explorer, navigate to the destination directory where you
exported these entries.

Right click on each file and select OPEN WITH “NotePadâ€.

Change [HKEY_CURRENT_USER to [HKEY_USER\.DEFAULT in each file and save.

Once completed, double click each file one at a time to apply the registry
entries.

Good luck... works like a charm for me. No more printing across the network
for web applications for people in a local area!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top