Solved

Select a Specific Printer to print Report

Posted on 2006-07-20
7
399 Views
Last Modified: 2010-05-18
I use VB 6.0 and Crystal Report 8.0 when I want to print a report it always show default printer and don't select other printer because there is no option to change it. How can I choose a specific Printer in which I want to it report.
for report Design I use Report Viewer Control
0
Comment
Question by:AHMKC1
  • 3
  • 2
  • 2
7 Comments
 
LVL 10

Assisted Solution

by:Spykair
Spykair earned 250 total points
ID: 17145843
0
 
LVL 6

Author Comment

by:AHMKC1
ID: 17146003
thanks

This is not work for cr 8.0 it works for 7.0 any other idea
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
ID: 17151711
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 100

Expert Comment

by:mlmcc
ID: 17151712
If that doesn't help, please show the code you are using to display the report.

mlmcc
0
 
LVL 6

Author Comment

by:AHMKC1
ID: 17152312
OK thanks both of you Finaly I got this yours given location this is as follows

Private Sub CRViewer1_PrintButtonClicked(UseDefault As Boolean)
UseDefault = False
Rpt.PrinterSetup Me.hWnd
Rpt.PrintOut False
End Sub

Thanks again both of you
0
 
LVL 10

Expert Comment

by:Spykair
ID: 17152334
Glad I could help.

Spykair
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 17158172
Glad i could help

mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now