Adobe XI remains open after printing from command line

I am using a program to collect, batch print and delete multiple PDF files.
The following command line is used to print the files, after which the file is deleted and next file is collected.
     "C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" /T /N FileName.pdf
I have now upgraded to Adobe XI, however Adobe remains open (and minimized) after sending the print job to the printer, resulting in my programing freezing while waiting to delete.
Is there a parameter to close Adobe after printing?
This is rather urgent as we have started rolling out the new Adobe XI.
OS = Windows7 Prof x64

Command line parameters are sparsely documented and are officially not supported. What is documented can be found here: http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/intro_to_sdk/DeveloperFAQ.pd f
I've not seen anything that shows what you want to do.

Similar Messages

  • Setup a printer from command line issues

    I have been trying to figure out why my arguments are not working. I was originally creating a .bat file with the PrinterUIEntry commands, but I was getting an "Invalid Argument" error. I switched to the cscript method and I am still not understanding
    why it get errors on the driver install and printer install. The user of the created batch file will be non-IT users. I want to send a package with them with the unzipped printer drivers and install using the .inf file. I can't seem to get it
    working properly and don't want to waste more time trying to figure out what is wrong. Any help would be appreciated. Thanks!
    ====First method attempted====
    rundll32 printui.dll,PrintUIEntry /ia /c\\L638 /l "C:\Temp\NC Print Drivers\dellopd_A06\dellopd.inf"
    ----Error read "Invalid Arguments"
    rundll32 printui.dll,PrintUIEntry /if /c\\L638 /f "C:\Temp\dellopd_A06\dellopd.inf" /b"Dell 5210n" /u /r "IP_192.168.10.157"
    ----Error read "Invalid Arguments"
    =====Current method====
    cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnport.vbs -a -r IP_192.168.10.157 -h 192.168.10.157
    ----This creates the port just fine, no errors
    cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -i "C:\Temp\dellopd_A06\dellopd.inf" -h "C:\Temp\dellopd_A06"
    ----Error reads "Unable to add printer driver Error 0x80041008"
    cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -a -p "Dell 5210n" -r "192.168.10.157"
    ----Error reads "Unable to add printer Dell 5210n Error 0x80041008 invalid parameter
                              Operation PutInstance
                              Provider CIMWin32
                              Description
                              Win32 Error Code"

    Hi,
    Would you please try following commands?
    Please don't add quotes on the inf file path: change the driver folder name NC Print Drivers as NCPrintDrivers.
    rundll32 printui.dll PrintUIEntry /if /f C:\Temp\NCPrintDrivers\dellopd_A06\dellopd.inf /r "192.168.10.157"
    Make sure to run the command as admin.
    Let me know if it can work fine.
    Kate Li
    TechNet Community Support

  • Acrobat 9 - PDF doesn't open after print

    After updating Acrobat 9, my PDF printer was renamed to "Adobe PDF (Copy 1)" and after printing, the created PDF does not open automatically. How can I change the setting back to have the PDF open after printing?
    I tried renaming the printer to "Adobe PDF".  There is only one PDF printer.  I checked the settings of the printer, and believe them to be correct.  Any suggestions?
    Thanks!

    I do not know why you have a copy of the Adobe PDF printer. The original Adobe PDF printer is used for printing to a PDF and the settings are found in the properties under the settings tab. You might have to select the advanced button on the general tab first. Some of the properties require stepping into another level of menus.

  • How to open an online pdf from command-line

    Hi,
    I'm trying to get my application to open a pdf file from an url like http://xxxx.dk/xxx.aspx?CID=xxx
    it work from inside adobe reader so the pdf file is a functionel file, but when i try to open it from command line like: AcroRd32.exe /n /A "pagemode=none" "http://xxxx.dk/xxx.aspx?CID=xxx" i keep getting an error telling me "There was an error opening this document. The filename, directory name, or volume label syntax is incorrect"
    does anyone have an idea of what i need to do? i could also make a public test if someone needs to see the issue "live"

    it works with the browser, so no problems there.. i just wanted the pdf file to open in adobe reader instead of browser window, as it opens from a windows application.. but perhaps i need to look more into merging a embedded pdf viewer in the application instead..

  • Adobe Reader XI does not open files with a command line "path" argument.

    Adobe Reader XI does not open files with a command line "path" argument. Version X and lower all worked fine. I have deleted and reinstalled the program with no success. Is this a bug?

    Hi Daniel,
    What is the make of the printer and is it using PCL or PS driver.?
    Do you have Acrobat installed on this machine as well?
    Please check if 'Print Spooler' service is running on the machine.
    Regards,
    Rave

  • In adobe reader, I can't print from different trays?

    Using Adobe Reader, I can't print from different trays on my Lexmark x954 printer.  I've tried reinstalling the print driver (latest version) and reinstalling Adobe Reader with no luck.  I can see the trays and even select them in the print dialog box in adobe but when I print I am unable to print from the correct trays.  It always prints from tray 3 of my printer no matter what tray and type of paper I choose in adobe.  Any suggestions?
    I've also noticed a problem printing through Preview.  I can select different trays using preview but the print time is extremely slow.  It seems like it has to re-download the pdf page each time it goes to print.  So a 100 page print job takes 20-30 minutes to complete which means other have to wait for my job to complete so it really slows our office down.
    Thanks for your help.  Also, I am using the mountain lion operating system.  Thanks again! 

    Don't know whether it will make any difference, but a new version of Adobe Reader has just been released:
    http://www.macupdate.com/app/mac/73/adobe-reader  (version 11.0.03).

  • How do i get the download window to remain open after closing firefox browser window

    i sometimes download a bunch of files all at ones then have to go back to review them. but i don't need the browser open to do this just the download window. in older versions the download window would remain open after i closed the browser but i don't see a way to do that anymore?

    You can set the pref browser.download.manager.quitBehavior to 2 on the about:config page.
    See http://kb.mozillazine.org/browser.download.manager.quitBehavior
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • To run an application on iAS6sp1 on HP-Unix, while starting the kjs from command line, it gives a GDS error and crashes. Subsequently, after stopping all services and restarting iAS wouldnot come up.

     

    Hi,
    Not a problem, please post the KJS error logs for me to hunt the
    exact reason for the error.
    Thanks & Regards
    Raj
    Neel John wrote:
    To run an application on iAS6sp1 on HP-Unix, while starting the kjs
    from command line, it gives a GDS error and crashes. Subsequently,
    after stopping all services and restarting iAS wouldnot come up.
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • HT1338 exe files won't open after downloaded from Safari on my Mac OS X 10.4.11

    exe files won't open after downloaded from Safari on my Mac OS X 10.4.11

    I use the free Unarchiver: http://unarchiver.c3.cx/unarchiver
    I have just tested it on a self-extracting Windows Internet Explorer and it opened it first time on my Mac.
    However, as you have been told, normally Windows executable files cannot be opened or used on Macs.

  • Printing to AEX connected printer fails after printing from WinXP

    I have an HP Laserjet 1010 printer connected to my Airport Express Base Station. Setting up the printer on my iBook and my PC (WinXP and Linux) worked fine.
    But everytime I printed from WinXP I have to restart the Base Station because I cannot print anymore. After restarting it works again. This happens only after printing from WinXP.
    The firmware of the AEX is V6.2.

    Firmware Version:
    4.0.16.1.56.0.10.14.4
    Model Name:
    MI424-WR
    Hardware Version:
    D
    Again - it's a verizon router.   For the record, I kept the printer turned off all day - while I was at work.  I came home, I rebooted the router twice.  I looked in the table, I renamed the epson printer that was in there (marked inactive).  I renamed that to "notonet".  It was the *.8 ip address.  I then restored the printer to factory settings.  I set the printer back up on the net.  It retook the *.8 ip address - in the router table - the name was just "notonet".  So I renamed it back to Epson - it didn't really change anything.
    Now, all devices see the printer and can print.   But - soon - it will disappear!

  • My Adobe Acrobat does not always print from Illustrator.  This is very time-consuming to have contin

    My Adobe Acrobat does not always print from Illustrator.  This is very time-consuming to have continuous problems that are obviously software based.  I have no issues with Illustrator, but we communicate on this campus via low res PDF files as proofs for approval.  Acrobat gives me no reasons why it does not want to print, it just says it can not print the file.  Fonts are NOT and issue here.  It will created a high res Illustrator PDF file but I can not print a low res PDF file.

    This usually happens when you introduce a specific dependency like trying to resample certain placed image types and things like color profile conversions fail. Also stripping native AI data to reduce file size may cause this. Generally it is not recommended to print to PDF from apps that have native PDF saving functionality, anyway. You can just as well get the same result using AI's Save As feature.
    Mylenium

  • Query runs from command line, but not from scheduler

    We use Control-M to schedule shell scripts to be run on a Solaris server. Some of the scripts have to access an Oracle database and in that case our security team will include the DB user and password in the script, then encrypt it and the sys admin team schedules the encrypted shell script with Control-M. That works fine, but we've been trying to have the DB user and password on a separate encrypted file so that we don't have to ask for file encryption every time it's necessary to modify a script (this is a test environment).
    We have the script at ~/system_name/scripts, the query at ~/system_name/sql and the encrypted file and key at ~/system_name/keys. The SQLPlus call in the script is:
    ${ORACLE_HOME}/bin/sqlplus "`decrypt -a 3des -k ./../keys/key.3des.system -i ./../keys/login.system`"@instance_name <<EOF
    @${DIR_SQL}/TEST_QUERY.SQL
    quit
    EOF
    The security analyst has tested is successfully from command line, but when we schedule it with Control-M the job abends and we get the following in the sysout:
    + decrypt -a 3des -k ./../keys/key.3des.system -i ./../keys/login.system
    decrypt: cannot open ./../keys/key.3des.system
    decrypt: invalid key.
    + /u00/app/oracle/product/11.1.0/db_1/bin/sqlplus @instance_name
    + 0<<
    @/sistemas/hmp/system_name/sql/TEST_QUERY.SQL
    quit
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon May 3 09:41:55 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    SP2-0310: unable to open file "instance_name.sql"
    Enter user-name: SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER|SYSASM}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] [edition=valu\
    e] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER|SYSASM}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] [edition=valu\
    e] | /
    Enter password:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    0000000080
    Any ideas?

    Looks like the command is being split in some way - the connection to sqlplus is being made before it completes the whole string
    It appears to be seeing the @instance_name as a script to execute rather than a db to connect to.
    Is the database on the same server as the script?
    If so, try setting your environment to the correct databsae, so that you can omit the @instance_name part of the syntax and see if it helps
    Also just noticed the failure to open the decrypt script. It would appear uyou are not using a full path name. Have you checked which directroy the scheduled job starts in? You may need to look at running some environment specific scripts first.
    Edited by: LindaA on 05-May-2010 07:43

  • Restart/start/stop network from command line

    Hi all...
    How do I restart/start or stop my network from command line? I red somewhere about using netstart, but I guess the article was refering to OpenBSD and not OS X...
    So.. any hints?
    Thanks.

    Hey You are right there...
    OKK..To my knowledge, you can start an application, from the servlet in a thread. But stopping a thread from outside is not safe and even sun doesn't advice.
    1. Starting a thread : you can start your program using an Runtime class. But your client program can see if the server port is open or not. So after starting the server program, through servlet, execute the client program. OR you can log every command/step in to a log file, and start the server program and see the log, where currently the program is waiting, so you can check, if the server program has exited.
    2. Stoping an application i.e a thread is a tricky thing. One i would suggest is, send data to the server socket with your pass code and the command "Shutdown" with a sequence which will not repeat in the data communication. If the first command is your passcode and "Shutdown" you can kill the server thread from inside the server application. To make this possible, every thing the new connection is accepted, you have to validate the first line is this your command to shutdown.
    and repeat the step 1.
    Hope this gives you a little idea to proceed. if not let me know...
    Cheers
    Venkat

  • How to print pdf's direct to default printer by command line

    I want to direct print pdf's to the default printer by command line.
    this work's with:
    C:\Programme\Adobe\Reader 11.0\Reader\AcroRd32.exe /n /s /h /t test.pdf
    But at the end, when printing was done. Adobe does not close automatically.
    Is there an opportunity to automatically close adobe after printing?

    No, Adobe stopped that happening many releases ago, for reasons that I don't understand but they will not change.

  • Batch/script from command line and crontab

    Is possible to create a batch from adobe photoshop 5.5 and use a command line to execute? I need easy batch like "open and save in another kind of extension" but can't find the solution to automate the process from command line.
    Any1 can help me?
    Thank u all

    It sounds like droplets are exactly what you need.  Droplets turn any action into an executable that can be run from the command line passing files to process as arguments.  Just make the action you described, and go to go to file > automate > create droplet in photoshop to make the droplet.
    P.S. this has nothing to do with bridge

Maybe you are looking for

  • How do I download a lower version of skype for my iphone 2g?

    How do I download a lower version of skype for my iphone 2g?

  • Burning music videos to CD or DVD

    I downloaded some musich videos and planned to burn them to a CD or DVD so I can play them without hooking my computer up to my stereo system. Out of six I tried to burn I got an message saying I could not burn five of them. Don't remember exactly wh

  • Web Banners

    Are there any good tutorials on creating Web Banners in Photoshop CC 2014.

  • Java Certification Doubt

    Hi, I want to do a java certification SCJP, but I read online the exam is called OCPJP now. I have purchased a book 'SCJP Sun Certified Programmer for Java 6 Exam 310-065' for it. I want to know if SCJP and OCPJP mean the same so that the book I ment

  • Changing grid parameters makes PS crash

    Hi! I've been recently having this problem with my Photoshop CS3 (Mac OSX). First I go to Preferences > Guides, Grid and Slices, and change the Gridline parameter to a different number, then click OK. At first the Grid is hidden, and when I hit Comma