Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set Graphic quality for report in vb

Status
Not open for further replies.

ndp

Programmer
Mar 3, 2003
121
US
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top