Did you update the code to reflect the new CR9 dlls?
Did you update the reports to the CR9 format?
mlmcc
Main Topics
Browse All TopicsI just rolled out a update from cr 8.5 to 9 however the applications code will allow previewing fine. (It goes and shows up on the viewer as it should even with the custom papersize 4" x 7" (Membership Card)).
When I send the .PrintReport (or click the print button from the viewer) the print dialog shows up however when i press "Print" it does nothing. (Well closes but it does not send anything to the print que.) I've been messing with this for the past couple hours and will be back on Monday morning.
BTW I'm using the RDC with VB6 CR9. The printer I'm trying to print to is an Epson LQ-570+ESC/P2 (Dot Matrix) using the Epson LQ-510 driver (to get the custom paper size to print correctly).
I have also installed the latest patches for Crystal 9 as well.
I will increase points Monday (500 pt total)
Thanks for the help.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Okay I think I've narrowed it down... There has to be something wrong with the following function...
Here's the code...
Public Sub Print_MembershipCard(strID
Dim strPrinterName As String, strPrinterDriver As String, strPrinterPort As String
Dim rptMembershipCard As New dsrMembershipCard
Dim strSQL As String
'Changing Mouse Icon to Busy
Screen.MousePointer = vbHourglass
strSQL = "Select * from pvwMailingLabel Where IDNumber In (" & strIDNumbers & ")"
If DEBUG_MODE = True Then
Clipboard.Clear
Clipboard.SetText strSQL
End If
Call GetPrinterSettings("Cards"
rptMembershipCard.SQLQuery
Call rptMembershipCard.SelectPr
Call PrintReport(rptMembershipC
'Changing icon back to normal
Screen.MousePointer = vbDefault
Set rptMembershipCard = Nothing
End Sub
'This sub returns the printer settings for a printer that matches the info passed in strPrinter
Private Sub GetPrinterSettings(strPrin
Dim objPrinter As Printer
For Each objPrinter In Printers
If InStr(objPrinter.DeviceNam
strPrinterName = objPrinter.DeviceName
strPrinterDriver = objPrinter.DriverName
strPrinterPort = objPrinter.Port
Exit For
End If
Next objPrinter
End Sub
'This sub will do all the printing
Private Sub PrintReport(rptReport As Object)
If PRINT_PREVIEW = True Then
Me.Show
CRViewer9.ReportSource = rptReport
CRViewer9.Visible = True
CRViewer9.ViewReport
Else
frmCrystalReports9.WindowS
CRViewer9.ReportSource = rptReport
CRViewer9.ViewReport
DoEvents
CRViewer9.PrintReport
DoEvents
'Call CRViewer9.CloseView(0)
'Unload frmCrystalReports
Unload Me
End If
End Sub
--------------------------
When
Call GetPrinterSettings("Cards"
Call rptMembershipCard.SelectPr
Requesting PAQ
If you have similar problems see
http://support.crystaldeci
or search for "c2012124.asp" on support.crystaldecisions.c
The fix was to add the following line of code.
rptReport.PaperOrientation
CR9 no longer defaults the PaperOrientation as 8.5 did. I hate CR.
Business Accounts
Answer for Membership
by: ketapillarPosted on 2003-12-20 at 14:50:07ID: 9979604
I will check this over the weekend and try to give some more feedback on what is going on. I won't be able to work on the code however.