Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'error loading printer driver'
Message
De
21/07/2000 09:57:25
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00395130
Message ID:
00395387
Vues:
12
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform