Hi,
I am creating an application which creates pdfs for Crystal reports in Visual Basic 6. The application works fine. The only problem is somehow the logo in the report comes out little fuzzy. I tried to set the adobe settings on my computer, but doesn't work. If I create pdf from Crystal report, it comes out fine, but creating pdf through vb it comes out fuzzy.
Here is code snippet from my application...
Public crpAPP As New CRPEAuto.Application
Public crpReport As New CRPEAuto.Report
Set crpAPP = CreateObject("Crystal.CRPE.Application"
Set crpReport = crpAPP.OpenReport(sReport)
crpReport.Database.Tables(1).SetLogOnInfo sDBServer, sDBName, sUID, sPWD
crpReport.SelectPrinter "winspool", "Acrobat PDFWriter", "LPT1"
crpReport.PageSetup.PaperSize = crPaperLetter
crpReport.PageSetup.PaperOrientation = iOrin
I don't know how to set the print quality for graphic in my vb code to get the logo print correctly.
Please, suggest if anybody have gone through same thing. Otherwise, my whole application would be waste!
Thanks in advance,
ndp
I am creating an application which creates pdfs for Crystal reports in Visual Basic 6. The application works fine. The only problem is somehow the logo in the report comes out little fuzzy. I tried to set the adobe settings on my computer, but doesn't work. If I create pdf from Crystal report, it comes out fine, but creating pdf through vb it comes out fuzzy.
Here is code snippet from my application...
Public crpAPP As New CRPEAuto.Application
Public crpReport As New CRPEAuto.Report
Set crpAPP = CreateObject("Crystal.CRPE.Application"
Set crpReport = crpAPP.OpenReport(sReport)
crpReport.Database.Tables(1).SetLogOnInfo sDBServer, sDBName, sUID, sPWD
crpReport.SelectPrinter "winspool", "Acrobat PDFWriter", "LPT1"
crpReport.PageSetup.PaperSize = crPaperLetter
crpReport.PageSetup.PaperOrientation = iOrin
I don't know how to set the print quality for graphic in my vb code to get the logo print correctly.
Please, suggest if anybody have gone through same thing. Otherwise, my whole application would be waste!
Thanks in advance,
ndp