Cystal Report XI R2 184.108.40.2066 using RDC and VB6. SelectPrinter not work
I have been using crystal report since version 3.0
I am trying to re-directed a report output directly to a printer. (Not the default printer)
The following is the relevant code.
It executes, but the report doesn't go to the proper printer and in design mode it crashes the environment sometimes.
If PrinterName <> "" Then
Dim DriverName As String
Dim PrtName As String
Dim PortName As String
Dim Prt As Printer
For Each Prt In Printers
If UCase(Prt.DeviceName) = UCase(PrinterName) Then
PrtName = Prt.DeviceName
DriverName = Prt.DriverName
PortName = Prt.Port
Rpt.SelectPrinter DriverName, PrtName, PortName
Rpt.PaperSize = Printer.PaperSize
Rpt.PaperSource = Printer.PaperBin
Any help would be greatly appreciated.
Are you installing the update on the Development system with a full install of Crystal Reports or on a client with runtime only?
I have not had any issues myself with SP4.0. What space is available on that system?
You may want to try downloading the Service Pack again to be sure it has not been corrupted.
I do not have any information on the expected release of SP 5.0 other than it is being worked on.