Information générale
Catégorie:
Gestionnaire de rapports & Rapports
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement