Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asptoday_discuss thread: Getting Default Printer through a VB component and calling from ASP


Message #1 by "RGeo" <rachelgeo18@h...> on Thu, 30 Aug 2001 14:12:32
I've created a VB component which will be called from ASP.

The component is intended for automatic letter generation from MSWORD and 

printing it.

One of the functions in the component is to get the default printer on the 

machine where the component is installed using the Printer object's 

Devicename property. It works fine on the development machine (Win 95), 

but after i register it on a machine with IIS server and call it from the 

ASP, the function returns the error "Problem getting printer information 

from the system. Make sure the printer is setup correctly".  And i 

verified that the system had printers installed on it.



Any ideas on why this is so? Is there an alternative for getting the 

server's default printer?


  Return to Index