>>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.
YES
The EXPR contains:
DRIVER=winspool
DEVICE=PDF Compatible Printer Driver
OUTPUT=LPT1:
ORIENTATION=1
PAPERSIZE=1
COPIES=1
DEFAULTSOURCE=15
PRINTQUALITY=300
COLOR=1
DUPLEX=1
TTOPTION=3
and the TAG and TAG2 also contain some text and some control characters.
What do these mean, and what should I do with them? Is there any documentation, anywhere, that I can read to learn what the fields and records mean?
Thank You.