Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Printing issue when changing Web server

Reply
Thread Tools

Printing issue when changing Web server

 
 
slipkid slipkid is offline
Junior Member
Join Date: Oct 2006
Posts: 2
 
      10-03-2006
I had created an intranet site with IIS 5.1 installed on a Windows XP machine. Several pages print database info using PrintDocument code. (Some in VB and some in C#). I have since set up 2003 Server Standard Edition. I moved the Web site to the new server running IIS 6.0. Everything works fine, except for the printing procedures. If I attempt to print using Internet Explorer, I receive a message on the workstations telling me an error occurred but, for security reasons, it can only be viewed if I run the page from the server. When I run it from the server, I get a message telling me "No printers are installed." The message on the sever is probably related to an issue previously posted in this forum (ASP Net - Allowing ASP.NET user access to printers on server). However, that does not explain why other machines cannot print. There is one item I have had to change to make pages run on the 2003 server: The line "<authentication mode="Windows" />" had to be removed. This line was automatically generated by Visual Web Developer 2005 Express Edition and runs fine on the XP machine. Since the intent, long term, is to have these available over the internet, I do not want to continue to run them from an XP workstation. I hope somebody can shed some light on this for me. Thanks.
 
Reply With Quote
 
 
 
 
slipkid slipkid is offline
Junior Member
Join Date: Oct 2006
Posts: 2
 
      10-10-2006
I eventually figured this out. Here is the issue/solution:
The server will only recognize printers installed as local printers. I am printing to a shared printer on a different workstation. I had to check the List in the directory box in security properties for the printer on the workstation. I then used net use to assign LPT1 to the shared printer. Then I installed a local printer on the server using LPT1 as the port.
this will only work in an intranet situation, because it does not select a printer from the client's printer list. For the time being, however, it will work for me.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
brochure printing,online yearbook,printing,books printing,publishing elie Computer Support 2 11-27-2010 12:12 PM
brochure printing,online yearbook,printing,books printing,publishing elie Computer Support 0 08-21-2007 05:52 AM
brochure printing,online yearbook,printing,books printing,publishing elie Computer Support 0 08-21-2007 05:50 AM
brochure printing,online yearbook,printing,books printing,publishing elie Computer Support 0 08-21-2007 05:28 AM
brochure printing,online yearbook,printing,books printing,publishing elie Computer Support 0 08-18-2007 10:11 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57