Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Select a Specific Printer to print Report

Posted on 2006-07-20
7
Medium Priority
?
406 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 10

Assisted Solution

by:Spykair
Spykair earned 1000 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 101

Accepted Solution

by:
mlmcc earned 1000 total points
ID: 17151711
0
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 
LVL 101

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 101

Expert Comment

by:mlmcc
ID: 17158172
Glad i could help

mlmcc
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

721 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