Solved

Select a Specific Printer to print Report

Posted on 2006-07-20
7
402 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 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
Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

 
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

740 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