Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print Dialog using API
Message
From
30/04/2002 02:55:38
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
29/04/2002 16:58:19
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00649502
Message ID:
00650762
Views:
25
Steve,
>Hello Agnes,
>
>How do you avoid it? You will also have to eliminate all .BAT files and .EXE files, too. Oh, watch out for those .PIF files! *grin*
>
>Perhaps avoiding the use of Outlook is easier...
>
I run Win98, customer run NT 4.0 and this will stay for a while. A lot of people do this way for the one or the other reason.
(Our company runs 3D simulations too - there is no support for something higher then NT 4.0., we have seen a W2K version - "@!#=!!!!)
W2K is out of race for bad harware support, eXPerimental is as the word say and nobody here thrust it.
Nobody of our partners use XP, why should I care? For abstract knowlegde? Be true, I have to earn money now. It is hard enough to figure out foxpro's little bugs, and I feel better to hang around at something like UT in my free time ...

We don't stuck in it - we simply avoid to change the horse in the middle of the race. There is something like 'It is good enough'. As a foxpro programmer we all know about hundred year old 2.6 apps still runing.
We have questions like the following twice a month.

"Our programm stops working!"
"What is changed?"
"Oh we got a new comp."

What means the changed there 486 machine running half the time DOS.

I need to program for my customer needs, not for the "technology" dreams of MS. We saved a lot of money in not looking on MS newest horse, the most of them are dead for a long time.

And if the customer says "NO scripting host" I care on this.

>>2. I will change only the printer for next REPORT FORM.
>
>I think George answered this (the NAME clause of SET PRINTER TO)

I will respond to George on this.

>
>>3. I can not use the easy REPORT ... TO PRINTER PROMPT, because I need total pages in front of preview.
>> If I change printer after counting with REPORT FORM xxxx TO PRINTER PROMPT it may change the total < SNIP >
>>A far dream is to select a range of pages from preview, but as I see the problem I cannot do this.
>>
>
>I see your problem here...the following command will prompt for a page range after the preview, but what if the user changes printers?
>
>
>report form myReport1 noconsole to printer prompt preview
That's why I can't use this command. It looks like an endless loop.

REPORT FORM is unable to count the number of Pages (I don't argue on this. It is by design and must be this way. I see clear reasons for this. I can create a report that changes total number of pages on going bottom - top twice in preview mode)

GETPRINTER() is not worth the time.
SYS(1037) don't respond correctly on 'cancel'.
CommonDLG will change Windows Default Printer or nothing.

I can't select range of pages because this may change Printer and resulting from this total number of pages.
(This is a non important part because the most reports we create need to be printetd as whole report).

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform