Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opaque Text on Reports under NT
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00226291
Message ID:
00226428
Views:
22
>I have several 2.6 reports with opaque text fields.
>
>The text prints fine under Windows 3.1 but print as black rectangles under Win95 and NT.
>
>Opaque data fields work properly, it is just the hard-coded text that is giving me problems.
>
>
>Changing the fields to transparent fixes the problem, but I inherited some executibles without source code, which makes rebuilding the applications impossible.
>
>
>Any suggestions on ways to get the hard-coded text to print properly?

Byron,

If these reports went through the DOS to Windows transporter, then the solution is simple. First, the reason. For some reason, the transporter sets the mode to opaque for these objects. In some cases, such as with some laser printers, the labels will print fine. In others, it won't.

Now the fix. Open the report as a table and issue the following from the command window:

REPLACE ALL MODE WITH 1 FOR INLIST(OBJTYPE, 5, 8) AND PLATFORM = 'WINDOWS'

and close the table. This will set the mode to transparent and should fix the problem.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform