Change Report Printing Resolution through VB 6
Posted on 2004-11-16
I am Saed Ali from Saudi Arabia. I have a little problem and I need a solution. The problem detail is as follow:
We developed a VB application which shows a list of Crystal Reports (RPT files). The user can run the report by double click on the report from the list. We placed a CRViewer control for showing the report. The name of this control is "Crystal Report 8.5 ActiveX Designer Run Time Library" which can be added through adding the file (craxddrt.dll) in the References window. Also, we added the Print Button to this control. So, the user can print the report to his default printer.
Also, we are using the Windows Terminal Server technology and this VB Application is installed on our terminal servers. All the users who want to use this application should connect to the terminal server and run it from there.
Our problem is in the printing resolution of the report. The user clicks on the Print Button and then we found the report resolution is 600 dpi or 1200 dpi. This resolution is fixed even if we changed the printer resolution through the Printer Properties to 300 dpi. We need to fix it to 300 dpi always because we have users who connected using dialup connection and 600 dpi & 1200 dpi is slowing the Printing Procedures.
So, is there any way to fix the resolution to a fixed value in VB or in Windows Registry?
Thanks & Regards
SAED MOHAMMAD ALI
Saudi Arabia - Riyadh
S. A. Al-Rajhi Holding Company
Business Solutions & Software Developer
<personal contact information removed by mlmcc PE>