VB .Net Automatically Print Remote SRS Report


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: VB .Net Automatically Print Remote SRS Report

  1. #1
    Join Date
    Mar 2007
    Posts
    2

    VB .Net Automatically Print Remote SRS Report

    Hello, everyone!

    I'm attempting to write an application that will print SRS reports. These reports are developed and used on a remote server. I can load and see these reports in the ReportViewer object. However, some of these reports will need to be printed automatically.

    Is there any way to automatically print a remote SRS report to the client's default printer without input from the user?

    Thank you!

    [Edited for clarification]
    Last edited by stpieraf; 03-29-2007 at 02:30 PM.

  2. #2
    Join Date
    Mar 2007
    Posts
    2

    Anything new?

    Anyone have any idea how to do this? Been a few months, so I fugred I'd ask again.

    Thanks!

  3. #3
    Join Date
    May 2011
    Posts
    1

    This is a work around

    export the report to pdf to known or temp location (reportSaveLocation)

    print the pdf using this code
    Code:
      Dim MyProcess As New Process
                    MyProcess.StartInfo.CreateNoWindow = True
                    MyProcess.StartInfo.Verb = "print"
                    MyProcess.StartInfo.FileName = reportSaveLocation
                    MyProcess.Start()
                    MyProcess.WaitForExit(20000)

Similar Threads

  1. Printing a Crystal report from VB
    By Esther Honig in forum .NET
    Replies: 1
    Last Post: 06-17-2002, 02:05 PM
  2. YAG's public status report - March 7, 2002
    By Seth Grossman [MSFT] in forum vb.announcements
    Replies: 1
    Last Post: 03-13-2002, 07:32 PM
  3. Replies: 0
    Last Post: 08-02-2001, 09:37 PM
  4. Russell Jones
    By Bill Seddon in forum .NET
    Replies: 85
    Last Post: 02-01-2001, 02:49 AM

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center