>>I have to change the default printer in Win95. We use R&R report writer (v 7 Windows) with VFP and there is a bug in R&R. We write to R&R and this is what they tell us:
>>
>>The message you receive is the result of a know problem with R&R version 7 for wich there is not currently fix. By supplying no override in RI_PRINTER, report will be sent to the printer name saved in the report. If this printer name cannot be found, the Windows default will automatically be used.
>>
>>That why I need to change the default printer in Win95
> u can also try to change the "printer name saved with the report"
>
>anyway regarding the win95 default
>if I remeber correctly API function WriteProfileString
>should affect the default printer (even though it was intended to use with win.ini) if not u can try changing the registry
>I have the registry routines somewhere and can dig'em up if u like
>
>Arnon
thanks for your reply, I will check WriteProfileString
We have try to change win.ini and write to the registry (local_machine and current_config) with success but the default printer is still the same. The change take effect for the next startup of Win95.
Précédent
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