Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.net Printing question

Status
Not open for further replies.

emblewembl

Programmer
May 16, 2002
171
GB
My site enables a user to print various reports - I have defined the printer to use in the web.config file as follows:

<configSections>
<section name=&quot;MyAppSettings&quot;
type=&quot;System.Configuration.NameValueFileSectionHandler,
System, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089&quot; />
</configSections>

<MyAppSettings>
<add key=&quot;sysPrinter&quot; value=&quot;\\PROJSQLSERV\HPLaserJSQL&quot; />
</MyAppSettings>

My PC is the one that the asp.net pages reside on and I can print fine. The printer is on another machine on the network.

The problem is that we cannot print from any other machine - not even the one that the printer is connected to. The message I get is:

&quot;Tried to access printer '\\PROJSQLSERV\HPLaserJSQL' with invalid settings&quot;

DOes anyone know why this is happening??

Thanks!

i love chocolate
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top