CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009
    Posts
    150

    Report Viewer Button set Printer Name programmatically

    Hi,

    Can we set the printer name automatically when user click on the Report Viewer button so that the report can print automatically without choosing the printer.

    The printer name was set in my program, so I need to pass in the parameter when click on the Print button.

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    10,797

    Re: Report Viewer Button set Printer Name programmatically

    You're going to have to make use of the Crystal Report ( assuming of course you're talking about CR reports instead of MS Reports ) object's PrintOptions.PrinterName property

+ Reply to Thread

Bookmarks

Posting Permissions

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



HTML5 Development Center

Click Here to Expand Forum to Full Width