Solved

Select a Specific Printer to print Report

Posted on 2006-07-20
7
401 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
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

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

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. …
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

831 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