Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer driver missing on executable
Message
 
 
À
26/09/1997 21:37:31
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00051793
Message ID:
00053179
Vues:
43
>>FOXPRO 2.6a
>>
>>I have distributed an executable to various sites. I developed the report forms under win95 with a HP5si printer as my default printer. Now I am getting problems reported that when they try to print the reports they get an error message stating "HP5si.drv not found" , they can get by this but then the report prints extremely slowly.
>>
>>Any suggestions?
>
>
>I don't have problems. How are you calling the report form?
>
>Craig

Craig;
Here's what you need to do in order to avoid the driver error:

- Close FPW
- Add a "generic" printer through windows settings (WFW or 95) and select it to be the default printer.
- Open FPW and open every report and save the environment (report/page layout/environment)
- save the project.
- Exit FPW
- Delete the "generic" printer from windows.
- Restart FPW.
- Rebuilt all files in the project


what is going on is that FPW includes information about your printer driver with the reports and therefore the information is saved as a part of the EXE. By saving the forms with a "generic" printer informaiton that's no longer available later, you are forcing the EXE to generate printer driver information at run time, which is what you really want.

Hope this helps

Kia Harirchian
K.H. Software Development Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform