Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need miracle!
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00701415
Message ID:
00701440
Views:
22
>Hi all,
>
>I have way too many reports written in FoxPro 2.6 DOS. They weren't created using the report designer, they just spit out the data to the printer directly via the "set device to print" command.
>
>The real problem is the escape commands used to set the CPI, etc. When they are used the reports come out looking like gobbledy-gook.
>
>There must be a way to run these reports under VFP7 without having to convert each and every one of them.
>
>Can anyone point me to more information or possibly a solution to this problem?

If you're currently creating the report using the ?/??/??? type output commands, you might consider using my DIRPRTCLS class, which bypasses the GDI entirely for its output. The class has a DocWrite method that is a near-equivalent replacement for ??? (it takes a string as a parameter and outputs it exactly as given; to create the equivalent of a ? command, you'd prefix the string with CHR(13)+CHR(10); you might want to create a subclass or a wrapper to adorn the class with a ? replacement to make your conversion easier.)

>
>Thanks in advance!
>
>Hugh
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform