Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error loading printer driver on W2K3
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01185773
Message ID:
01185896
Views:
26
>I don't know if this is the right forum but here we go:
>
>I’m testing out a VFP 6.0 application on a server environment using terminal services on Windows Server 2003.
>
>We are running into an interesting problem.
>
>When I try to print a report on a local printer through VFP app, it works fine as long as the printer drivers are already installed on windows server 2003 ( in other words they have to be part of the installation of W2K3).
>
>I have a HP Laserjet 1100 and a HP LaserJet 6. I can print fine to those since drivers are included in W2K3.
>
>If I try to print to a fallback driver (which is a generic driver that most printers will print from), or try to print to a driver that I installed for a specific printer, the VFP app. throws an error.
>
>Error # 1958 – error loading printer driver.
>
>The detail on that error states: An internal call to the LoadLibrary( ) function has failed. Visual FoxPro calls this function through either PRTINFO( ) or SET PRINTER TO.
>
>This is definitely a Visual FoxPro issue. When I try to print using Wordpad, I can print to any of the printers fine.
>
>I select a report then click the print button. It lets me select a printer from the list after which it throws the error.
>
>The Set Printer To commands related to this report have been removed.
>
>Any ideas on what the problem might be?
>
>Marcel

I have been having this error with VFP6 for years. I clear out the TAG fields and other printer specific information from the FRX file and I am running NT4 for a server and the error has occured with WIN98 and WIN2K workstations. The error is intermittent but usually involves the non-Default printer.

It will be interesting to see if any of the comments in this thread will solve my problem.

Dennis
Previous
Reply
Map
View

Click here to load this message in the networking platform