How to Print a PDF programmatically without the Adobe Reader Window

Hi,
I'm trying to print a PDF my application. I would prefer to do it as silent as possible - no PrintDialogue | Adobe Reader Window.
Language C#
Adobe Reader 10.0
Here´s some Code:
public static void PrintPDF(string file, string printerName)
Process proc = new Process();
proc.StartInfo.FileName = @"C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe";
proc.StartInfo.Arguments = @" /t /h " + "\"" + file + "\"" + " " + "\"" + printerName + "\"";
proc.StartInfo.UseShellExecute = true;
proc.StartInfo.CreateNoWindow = true;
proc.Start();
Thread.Sleep(1000);
proc.WaitForInputIdle();
proc.Kill();
It works, but the Adobe Reader Window is still popping up -> /h (start the reader minimized) does not work.
Is there another way to hide the Window ?
Regards

Hi,
I am developing an application, which have to support a PDF print. My result after searching for the best possibilities is this snippet:
public static void PrintPDF(string path, string printer)
Process process = new Process();       
process.StartInfo.FileName = path;
process.StartInfo.Verb = "printto";
process.StartInfo.Arguments = "\"" + printerName + "\"";
process.Start();
// I have to use this in case of Adobe Reader to close the window
process.WaitForInputIdle();
process.Kill();
This is the most generic solution - it prints a pdf unless no matter wich reader is installed.
Only deficit - the Adobe Reader window still pops up. Why it does not behave like it´s alternatives (for example Foxit Reader) and print the PDF without popping up ?
Regards

Similar Messages

  • Can we silently print a PDF file programmatically without opening Adobe Reader using DDE messages

    Hi,
    Can anyone help to solve this.
    I want to silently print a PDF file without opening the Adobe reader window.
    Thanks,
    Chandu. G.

    I would like to do that same thing.  Did you ever find an answer to this question?

  • How do I remove PDF messages stored on Adobe Reader XI?

    How do I remove  PDF files stored on Adobe Reader XI?

    On a Windows system use the Windows Explorer to delete the files.

  • How do I delete a file from the Adobe Reader for iOS?

    How do I delete a file from the Adobe Reader for iOS?

    Read this:
    http://forums.adobe.com/thread/1012973?tstart=0

  • Can' t print a pdf/a file in adobe reader for mac

    Can' t print a pdf/a file in adobe reader for mac

    You should try looking at this document: http://helpx.adobe.com/acrobat/kb/printing-tips-acrobat-reader.html

  • 2 medical softwares often can't open pdf, just after the adobe reader install but IExplorer succeded

    Hello,
    We have two softwares ( medical application) which open pdf via adobe reader XI.
    Theses softwares often can't open pdf, just after the adobe reader install( using adobeArCleaner+Customisation Wizard XI).
    At this point Internet Explorer is ok to open pdf with adobe reader...
    We have to launch manually adobe reader once on the computer to make the two applications to manage openning pdf
    Launching adobe reader seems to finish the installation...
    Did the editors have to put an "option" when they open pdf ( to act like Internet Explorer...) ?
    Thanks

    I am very glad to have a so rapid answered!
    Sorry I was not precise...
    When the file should open,
    for one application an error is happening,
    for the other application which is a "web" application, an other window ( not "web") opens with adobe reader and the pdf document ( the expected behavior is to open adobe reader and the pdf file in the web window already opened)
    I think that the file association is ok, if we double clik on a pdf, adobe reader is opening and then the file is opening  in adobe reader window...
    If I open Internet Explorer and I search for a pdf on the web, It is openning in the same window web.
    But something seems not finish for the medical softwares...

  • How do I paste PDF link address into Adobe Reader Touch?

    Hi anyone,
    How do I paste a link naddress into Adobe Reader Touch?
    Richard

    "paste a link address" - Do you mean adding a new hyperlink to a PDF document in Adobe Reader Touch?
    Adobe Reader Touch is a simple PDF viewer and does not support creation of new hyperlinks.

  • How to disable Display PDF in Browser in Adobe Reader XI?

    I am having troubles with opening a report in PDF form from a web browser, and I'm trying to figure out how to disable opening a PDF in a browser in Reader XI.  I tried disabling "Open in Read Mode" and "Allow Fast Web View" both individually and seperately, and none of those combinations did the trick.
    Any suggestions/help are appreciated.  Thanks.

    Hello Lloyd6770
    Try these steps.  ( I'm using Windows 7 x64 Ultimate, Internet Explorer 9,  and Adobe XI )
    1. Open Adobe XI
    2. Click Edit
    3. Click Accessibility
    4. Click Setup Assistant
    5. Click top radio button 'Set Options for Screen Readers'
    6. Click Next
    7. Do not change options on Screen 2 of 4, Click Next
    8. Do not change options on Screen 3 of 4, Click Next
    9. On screen 4 of 4, remove the check mark on ' Display PDF documents in the web browser '
    NOTE: I checked Internet Explorer 9 / Tools / Manage add-ons and Adobe PDF Link Helper is still enabled in Internet Explorer 9.
    PDF's will open in Adobe XI as you preferred and not in your brower.
    Cheers!

  • How to paste into PDF form opened by Adobe Reader?

    Hi,
    I need to fill out and fax a PDF form online that I've opened with Adobe Reader 9. Typing in the information is straightforward enough, however I can't seem to be able to paste onto the form. Is there some feature that I need to change that will enable me to do this?
    I know the alternative is to print out the form and then fill it out but my preference is to do this online, if possible.
    Thanks.

    Hi,
    Do you mean "open in full screen mode"?
    If so there is an example here: https://acrobat.com/#d=JK2I24ZgmsvMr6BtCQNMOg
    The script is in buttons to show the separate functions, but you can combine the ones you want in the docReady event.
    Hope that helps,
    Niall
    Assure Dynamics

  • How can I open XML form in the Adobe reader, but not through the browser extention

    I am saving the document as Adobe Dynamic XML Form (useing Adobe LiveCycle Designer), When I open the document I get this error and I do have a Adobe reader installer.
    Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF
    viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by
    visiting http://www.adobe.com/go/reader_download.
    For more assistance with Adobe Reader visit http://www.adobe.com/go/acrreader.
    Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark
    of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other
    countries

    Open the form in Adobe Reader.

  • How to save fillable pdf form *without* the blue highlight?

    Created a fillable pdf form.
    Clicked "remove highlight" and it went away.
    Saved file as extended other so I can fill in and save when opened.
    Open it and it still has all fields highlighted in the blue. How to I change this to be transparent?
    Thanks so much!
    Carolyn Witt

    Thanks for the respons... if that is the case how come when I open fillable pdf's in AA from other people there is no highlight. But when I open the one I just created, there is highlight. That's all on the same computer with the same preferences?

  • When I open an adobe document or the adobe reader window on my pc they close in a few seconds.  Why?

    MY computer just started doing this.  I have opened adobe documents lots of times with no problems but now it just open the window and then closes it after a few seconds.

    This forum is to comment on the functioning of the forums themselves, not Adobe products.
    Pick an appropriate forum for the product you're inquiring about:
    http://forums.adobe.com/index.jspa

  • Specific PDF not opening in Adobe Reader on Lumia ...

    I get an error message on a Lumia 625 when trying to open a downloaded pdf (88Mb) in Adobe Reader Vers 10.4.3.
    I have more than 3Gb free space. The file seems to be successfully downloaded & joins the list of all PDF documents in the Adobe Reader app. All other PDFs DO open OK. Just not this one.
    The message reads “The document path is not valid” & phone screen shows “Loading...” but fails to actually open anything
    What does this mean & how do I fix it? Thankyou in advance...

    Thankyou. The Central Question over this Lumia 625 inability to open a specific pdf (by Lonely Planet) remains:-I could uninstall this Adobe Reader app but think this is not the problem as this app does indeed open all other pdf's on my phone successfully, e.g. the Lonely Planet Invoice!
    On the other hand, this particular downloaded & installed pdf can be read on my home PC, my Macbook & my IpodTouch so I can't attribute fault to the filename.
    The basic Troubleshoot step of a "soft reset"  is NOT described in the Lumia 625 User Guide & I'm pessimistic this arbitrary step will bear fruit. I have come to the conclusion that no matter what I do, this Lumia model using the MIcrosoft OS has a system flaw that is unable to read the file (a file that other devices & another OS can read) & I will not waste time with ad hoc actions such as resets as this is not a hobby for me.
    The pdf in question (88Mb, Lumia free space is >3Gb)  is a travel guide I'd like to use on my next trip & this Lumia 625 is proving not worthy of coming with me. I am disappointed at the lack of "Customer Support" shown by the Nokia Company & I hope this is relayed as some "friendly feedback". Thank you for your own assistance, though.
    I invite correction if this assessment is mistaken.

  • Why has my pc started closing the Adobe document or adobe reader window as soon as i open it?

    My pc has recently started closing the document window or the
    Adobe Reader window as soon as I open them. I reinstalled Adobe reader and it did not help.

    What is your operating system?  What is your Reader version?

  • How can I print a Safari page without the links being printed and cover other text?

    How can I print a Safari page without the links being printed and covering other text?

    Try printing the page as PDF.
    From your Safari menu bar click File > Print > Save As PDF then print the PDF file.
    If you don't want to do it that way, reset the print system.
    Mac OS X: How to reset the printing system

Maybe you are looking for

  • Error while running ABAP web service

    Hi, I have WAS 6.4 with ABAP STACK and NetWeaver '04. I created an ABAP web service, it was deployed successfully, but while running it I am getting an error that "Settings for J2EE do not exist". Do I need to configure anything to rectify this error

  • Problems with value-based hierarchies in Oracle 11gR2

    Hello, I have the following problem: I want to cereate a dimension with 2 hierarchies. These hierarchies have to be value-based. It's no problem to fill and display one of them, but when I fill both and try to display them, at the lowest level, the p

  • PC Suite for older models

    Does anyone else think that the latest version of PC Suite intentionally does not support older models (even though they are listed) cos they think people will be frustrated and end up upgrading their phone rather then trying to uninstall, find an ol

  • GetPlus + (R) Error "Installation is corrupt" 16241.202.225

    Today my Adobe Reader would not read a .pdf from my browser.  So I uninstalled Reader 9 and attempted to install Reader 9.1 and got the above error message when loading the Adobe Installation Manager.  Any thoughts?  Evan

  • Is pixel by pixel painting possible in standard MIDP?

    With pixel by pixel painting I mean painting each pixel on the screen instead of using methods like draweline and drawarc. I know that this is possible when using platform specific Java libraries, like Nokias. But is it also possible to do this in st