Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Font Color incorrect when converted to PDF
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01470254
Message ID:
01470255
Views:
38
>Hi everyone,
>
>I have a VFP 7.0 SP1 application with reports that use the "Print When" functionality extensively. These reports are converted to PDF using the Amyuni PDF Converter version 2.03. One report is a "Recommendations Report" that shows results in red WHEN something needs attention. I accomplish this by putting fields with RED font color right over the normal fields in BLACK and use the "Print When" feature to print the RED fields accordingly.
>
>Well, this has been working fine for years, until recently when I had to edit one element in the footer of all of my reports. I can't be sure, but I do suspect this is when the problem started.
>
>Here's my problem:
>
>When I preview a report in the VFP Report viewer during runtime the RED shows correctly. If I send this same report to the Amyuni PDF converter the red converts to some grayish shade of black. I verified that the problem has nothing to do with the Adobe Reader, as I have created the report with an earlier version of my EXE. It converts correctly and the Adobe Reader shows red when done with the earlier version of my app.
>
>When I first created these reports, I was on Windows XP Pro and I had not edited these reports since being on Windows 7, until recently when I edited those footers. So I thought, "hmm, maybe its because I edited and re-compiled on Windows 7." So I tried moving my project to my VMWARE Windows XP Pro machine and re-compiling. Still no luck. When I print the report to the Amyuni PDF Converter and look at what is suppose to be a red line of data in Adobe Reader, it is a dark grayish, almost black output.
>
>It seems like some RGB code is not being interpreted correctly somewhere. I do not have any Pre-Windows 7 source code to go back to, so I'm hoping someone here can point me in the right direction. I'm not sure what to look at. I verified that its not a corrupt report file by creating a brand new quick report and simply trying to convert some RED FONT COLORED printouts to PDF. They also do not come out correctly colored.
>
>Any help appreciated.
>
>Thank You.

Is it possible that Report Printer information is saved with the report? Make sure first it's not the case by opening the report as a table and examining EXPR and TAG, TAG2 columns of the first record.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform