Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with getPrinter() and SYS(1037)
Message
De
04/01/2000 15:09:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00294947
Message ID:
00312693
Vues:
32
no, sorry I didn't found something reallygood !

The only way I found is to have to command button to print :
(one with h the option "REPORT FORM .... PROMPT" and the other without it) :(

good luck Ed !

>Stephane,
>
>I'm having the same problem. Did you ever find a solution?
>
>Ed
>
>>In my menu I have 2 options :
>> 1- Select a default printer (I use GetPrinter())
>> 2- Page setup (I use SYS(1037))
>>
>>When someone use the option #2 and after that the option #1, VFP Crash. !!
>>
>>In msdn they said that it's a problem, but they don't have a solution !
>>How can I give the opportunity to my users to select a default printer for their application and be able to change de setup of the printer ??
>>
>>I know that I can use REPORT FORM .... PROMPT, but the user will always have the "printer settings dialog box" before the report begins to print.
>>
>>Is it possible, like in Word and Excel, to have to options in a program :
>> 1- Display the printer setup dialog box before a report is beginning to print.
>> 2- Don't display it before the report is beginning to print and use the last selected default ?
>>
>>And how can I know the default printer selected by the user ?
>>I try Set("printer",2) but it's just display the name of the first printer available on my PC.
>>
>>Thanks !
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform