Report Viewer Button set Printer Name programmatically
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Report Viewer Button set Printer Name programmatically

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Posts
    161

    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
    11,092

    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

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center