Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'error loading printer driver'
Message
From
21/07/2000 09:57:25
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00395130
Message ID:
00395387
Views:
13
You may want to be careful wiping out the EXPR field completely. There is some useful information stored there. In our code that clears printer information from the report, we keep lines in the EXPR field for the following settings:

ORIENTATION
PAPERSIZE
SCALE
COPIES
DEFAULTSOURCE
PAPERLENGTH
PAPERWIDTH

For example, if the report was setup to print landscape, clearing the ORIENTATION setting will send it back to the default. I think I got this list from FoxPro Advisor, but I can't remember. Also, we always keep DEFAULTSOURCE, but change it to 7, since we wan't our reports to go to the default paper tray.


>>>Hi gang,
>>>
>>>I've been getting this 'error loading printer driver' error more and more on an application that constantly selects different printers. I've installed SP4 and tried every trick I know. MSKB has been useless.
>>>
>>>please advise!
>>>
>>>Wayne
>>
>>Open the report as a table (use myreport.frx). Check the TAG and TAG2 fields in the first record. These fields contain printer/printer driver informatin of the printer that was used to create the report. Delete the contents and close the table.
>>
>>You should be okay. VFP will now use the currently selected printer to run the report.
>
>That looks like the ticket Larry - thanks!
>
>I had to delete the contents of the Expr memo field as well.
>
>Wayne
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform