PDF with colors

About the programming interface for the virtual PDF printer driver.

Moderator: jr

Post Reply
mlolcu
Posts: 2
Joined: Tue Mar 13, 2012 11:58 am

PDF with colors

Post 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
mlolcu
Posts: 2
Joined: Tue Mar 13, 2012 11:58 am

Re: PDF with colors

Post 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
DFred
Posts: 2
Joined: Sat Aug 18, 2012 2:57 am

Re: PDF with colors

Post 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.
Post Reply