PDF with colors

About the programming interface for the virtual PDF printer driver.

Moderator: jr

PDF with colors

Postby mlolcu » Tue Mar 13, 2012 12:08 pm

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

Postby mlolcu » Thu Mar 15, 2012 7:16 am

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

Re: PDF with colors

Postby DFred » Sat Aug 18, 2012 3:02 am

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


Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron