Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Stephane,
I was able to finally solve the problem by using the Common Dialoge ActiveX Control (ComDlg32.ocx). It gives me must more control over the Set Printer Dialoge box and does not cause the crashes that sys(1037) did.
Ed
>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
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