I am trying to print reports, but color printing appears in Greyscale.
I did the standard install on my local machine (XP SP3). (Version 1.1.0)
I made no changes after the install.
This worked great, except everything was in B/W or GreyScale.
I tried turning off the compression, but this did not help.
Any ideas?
John
Here is the code (VFP):
oPDF = CREATEOBJECT("PDFCreator.clsPDFCreator","PDFCreator")
WITH oPDF
.cStart("/NoProcessingAtStartup",.T.)
.cprinterstop = .T.
.cClearLogFile
.cClearCache
.cDefaultPrinter = "PDFCreator"
.cOption("UseAutosave") = 1
.cOption("UseAutosaveDirectory") = 1
.cOption("AutosaveDirectory") = xc_PDFPath
.cOption("AutosaveFilename") = xc_PDFFile
.cOption("AutosaveFormat") = 0 && 0=PDF
.cOption("PDFCompressionColorCompression") = .F.<br />
TRY
.cprinterstop = .F.
REPORT FORM (xc_ReportFile) TO PRINTER NOCONSOLE
DO WHILE NOT FILE(xc_PDFPath+xc_PDFFile)
INKEY(.1)
ENDDO
.cprinterstop = .T.
CATCH TO oError
cErrLog = oError.MESSAGE
MESSAGEBOX("An error has occured:"+cErrLog,"",16)
.cDefaultPrinter = lcOldPrinter
.cClose()
oPDF = null
RETURN .F.
ENDTRY
.cprinterstop = .T.