Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reports and WIN 2000
Message
From
09/05/2001 13:34:39
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00505369
Message ID:
00505407
Views:
25
>I am using the following command in an app to preview and then print a report.
>
>REPORT FORM Myreport.frx TO PRINTER PROMPT NOCONSOLE PREVIEW
>
>The app is a VFP 6.0 SP 5 EXE. Everthing works great on Win 9x and Win NT machines. However, we are starting to install the app on Win 2000 machines and running into strange problems.
>
>When a user has the Default printer set to a Network Printer they can print to the Network printer or a local printer with no problem. Some users, however, can not get the report to print on the Local printer, it goes to the Network Printer even if they select the Local printer.
>
>When a user has the Default printer set to a Local Printer they can print to the Local printer with no problem. But, if they try to print to a Network printer VFP fires off "Error # 1958 : Error loading printer driver".
>
>Has anybody seen this behavior on Win 2000? Is it a Win 2000 problem or a VFP problem or both?

The users may have LPT1: redirected to the network print queue by running a NET USE LPT1 \\MachineName\QueueName. This may have been done to support network printing from DOS apps.

Running NET USE LPT1: /DEL will reverse this.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform