asptoday_discuss thread: Getting Default Printer through a VB component and calling from ASP
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?