Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with getPrinter() and SYS(1037)
Message
 
To
04/01/2000 15:09:34
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00294947
Message ID:
00312699
Views:
41
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 !
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform