Page 1 of 1

PDF with colors

Posted: Tue Mar 13, 2012 12:08 pm
by mlolcu
dear friends,
I am a Visual FoxPro developer, I am trying Bullzip PDF Creator, it seems well configurable, but unfortunately I get PDF on greyscale, while I need of color PDF. I have Windows XP just formatted.
If I print a color document through Word (with Bullzip printer) I get a color PDF, but when I run a FoxPro Report (with colors and pictures) I get a greyscale PDF.
Please any suggestions?

lcObj = CreateObject("BullZIP.PDFPrinterSettings")

lcObj.SetValue("Output","c:\temp\test.pdf")
lcObj.SetValue("ShowSettings" ,"never")
lcObj.SetValue("ShowPDF" ,"no")
lcObj.SetValue("ShowProgressFinished" ,"no")
lcObj.SetValue("ShowProgress" ,"no")
lcObj.SetValue("Linearize" ,"yes")

lcObj.WriteSettings(.T.)

REPORT FORM MyReport.frx TO PRINTER noconsole


Thank you very much

Re: PDF with colors

Posted: Thu Mar 15, 2012 7:16 am
by mlolcu
I just found the solution: my report had "Save printer environment" checkbox selected into Page Properties and it caused monochrome PDF with Bullzip printer, even if the printer was configured to color in Windows printers. The report bypasses Windows printer settings.
Thanks

Re: PDF with colors

Posted: Sat Aug 18, 2012 3:02 am
by DFred
I'm having the same problem you described but do not understand your solution. Where did you find a "Save printer environment" checkbox? Is this a setting I can define in settings.ini. I'm getting grayscale on all PDFs generated programmatically.