Print a report w/o opening

  • I want the user to click a button in Vb.net which should just print the pdf version of the report w/o actually opening it.

    Is it possible?

  • You can use the web services to return a byte stream for the rendered report. You'd then have tohave appropriate print logic in your application to turn this byte stream into something the printer can interpret.

     

    --------------------
    Colt 45 - the original point and click interface

  • older versions of Adobe reader supported a command line /t, so you could call acrord32.exe with the proper command line parameters in order to print and then kill adobe reader;

    this link has a substantial discussion and two coding examples of how to do it yourself instead of shelling out to  the OS:

    http://www.experts-exchange.com/Web/Graphics/Adobe_Acrobat/Q_20841450.html

     

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply