CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: printer setup

  1. #1
    Join Date
    Apr 2009
    Posts
    17

    printer setup

    Hi

    How do I set printer setup icon in crystal report?

    Best regards

    Peter
    Last edited by ptaban50; June 17th, 2009 at 04:22 AM.

  2. #2
    Join Date
    May 2003
    Location
    Islamabad, Pakistan
    Posts
    284

    Re: printer setup

    File -> Page Setup -> Printer

  3. #3
    Join Date
    Apr 2009
    Posts
    17

    Re: printer setup

    Hi jawadhashmi,

    I would like printer setup icon to show up when I preview the report

    Best regards

    Peter

  4. #4
    Join Date
    May 2003
    Location
    Islamabad, Pakistan
    Posts
    284

    Re: printer setup

    sorry dear I have no idea about that.

    I think you can set the properties of the tool bar you are using.

    Dear just google how to customize the crystal report viewer toolbar.

  5. #5
    Join Date
    Apr 2009
    Posts
    17

    Re: printer setup

    Thanks for the reply.

    Best regards

    Peter

  6. #6
    Join Date
    Jul 2005
    Posts
    1,083

    Re: printer setup

    Visual Basic 6
    Crystal Reports 10
    Crystal ActiveX Report Viewer
    Enable Print Button set to True

    Code:
    Private Sub CRViewer1_PrintButtonClicked(UseDefault As Boolean)
    
        UseDefault = CRReport.PrinterSetupEx(hWnd)
        If UseDefault = False Then
            DoEvents
            CRViewer1.PrintReport
        Else
    	MsgBox "Printing was Canceled...", vbInformation, "Report print"
        End If
        
    End Sub

  7. #7
    Join Date
    Apr 2009
    Posts
    17

    Re: printer setup

    Thanks for the answer, it was very useful.

    Best Regards

    Peter

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured