Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacement for ???
Message
From
13/10/2010 09:58:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
12/10/2010 16:24:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01485091
Message ID:
01485272
Views:
41
>>I've just run into some code in a client's application that sends a formatted string (the concatenation of multiple reports and documents) directly to a printer using ???. The process has worked without modification for over 20 years and the client is not willing to give the functionality since it is an integral part of their business. Lately, under certain conditions only the first page of output will be printed. I guess I'm surprised that it still works at all. However...what is a good replacement for "???" in this situation? Obviously, we need to bypass the printer driver.
>
>Hilmar has a download#9991 which I believe can help in this sort of situation (haven't used it myself).

That one still uses "???" for the final output. What my class does is simplify the generation of the text-file that is to be printed - with a detail method that gets called once for each record, groupheader and groupfooter methods that get called every time the break expressions change, etc. - and where the programmer "plugs in" the commands to generate the text.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform