Slow processing time, via Command line, with Reader

I'm using Reader 9, via command line, to process PDFs in a 3rd party application and it's taking much longer to process files this way than with Acroplot or Ghostscript.  Is there a way to improve this processing time?
thanks

Ladies and gentlemen.....I have solved my problemo!
The reason why the rest of the reports were getting the 'could not open file.' error was due to the fact that each discoverer instance launched was
trying to access the same standard log file simultaneously.
I modified each cmd file to write logging info to individual files: eg
/logfile "H:\Projects\DRP Import Modelling\Automation\input2_log.txt"
Now that's there's no contention with logging, the reports are firing off beautifully in parallel :)
I am definitely having a beer this evening!
Thanks for everyone's input...kept me on the righteous path :)

Similar Messages

  • Running reports via command-line with /batch option

    Hi,
    I have created a batch file which runs, and exports the results of 7 different discoverer reports with /batch option.
    Contents of batch file:
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input1.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input2.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input3.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input4.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input5.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input6.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input7.txt"
    Sample of a cmd file the bacth file runs:....
    /connect user/password@oraprd /apps_responsibility "BIS Super User"
    /open "H:\Projects\DRP Import Modelling\Dev\Intransit Extract.dis"
    /sheet 1 /export xls "H:\Projects\DRP Import Modelling\automation\Intransit Input.xls" /batch
    The batch file runs ok and processes each report in sequence, and creates the excel export one after the other.
    However, I need to process the 7 reports in parallel, so changed the batch file to process in own thread :
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input1.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input2.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input3.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input4.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input5.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input6.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input7.txt"
    The reports kick off at the same time and I can see 7 dis4usr.exe processes running via task manager
    Problem:
    The first reports runs and exports ok.
    All the others dis4usr.exe processing stops with the following error pop-up:
    ! Could not open file. OK
    Question:
    Can you only process reports sequentially via command line mode with /batch option?
    If not...what am I missing...its driving me insane :)
    All asistance is greatly appreciated. Thanks

    Ladies and gentlemen.....I have solved my problemo!
    The reason why the rest of the reports were getting the 'could not open file.' error was due to the fact that each discoverer instance launched was
    trying to access the same standard log file simultaneously.
    I modified each cmd file to write logging info to individual files: eg
    /logfile "H:\Projects\DRP Import Modelling\Automation\input2_log.txt"
    Now that's there's no contention with logging, the reports are firing off beautifully in parallel :)
    I am definitely having a beer this evening!
    Thanks for everyone's input...kept me on the righteous path :)

  • Open application via. command line with parameters - Multiple times

    I'm using ANT to compile a program, then launch in FireFox ... I've looked all over for a solution to this, but have yet to find one.
    I need the command to open a specified URL in FireFox... easy enough, right?
    Solution #1 was to use the "open -a" command, with the URL- so "open -a FireFox.app/ http://someURL.com" ... the problem with this is that it opens a new window or tab every time- its a minor annoyance, but when you do 100 or more compiles during the day, its quite annoying.
    Solution #2 is to actually launch the program executable (FireFox.app/Content/MacOS/firefox) using the argument -url and that makes it so FireFox opens the URL in the current & front-most window. This worked great the first time, second time I get an error saying "A copy of Firefox is already open. Only one copy of Firefox can be open at a time."
    Anybody know how to make it so I don't have to close a window every time I compile? Your help would be greatly appreciated.
    Thanks!
    -Eric
    Message was edited by: eheaton

    If you don't get an answer here, you might try reposting in the UNIX forum. That's where the command line experts tend to hang out. Good luck.

  • Execute Process Flow via command line

    How can I execute a Process flow from the command line?

    As far as I know once the job is setup in OEM it is submitted either through OEM UI or by scheduling, I don't think there is a command line interface. I would ask on OEM forum anyway Enterprise Manager
    But why such complexity? All OWB maps keep the execution audit history in one place already.
    Nikolai

  • Adobe Reader 11 (XI) won't open file via command line

    Hello,
    I have posted this question to probably inapropriate topic earlier today, so I am repeating it again.
    I installed newest Adobe Reader XI today and when I tried to open certain pdf file via command line, it reported a syntax error. Now, this syntax worked so far on versions 9 and 10  (I checked today with them and it is working), so my question is - where can I find new syntax, if there is any? Googling didn't help. Or what else could wrong?
    In previous versions I was able to open pdf file (on page 5) like this (all was taken from Help file "Open parameters")
    "CompletePathToAdobeReader"/A"page=5""CompletePathToPDF",
    ie
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"/A"page=5""d:\V2\DataSheet.pdf"
    but now - not that it doesn't open specific page, but it doesn't want to open file at all.
    edit:
    Operating systems running: Windows 7, Windows XP
    Thank you.
    Message was edited by: v604

    Yes, it reported correctly becuase there is a syntax error in your command. Try spaces between the /A switch and open parameter. Try this:
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /A "page=5" "d:\V2\DataSheet.pdf"
    Hope this helps.
    -Sumit

  • Turn on "Real-time preotection" via command line

    Hello!
    We have a cient without networking resources and I need to turn on the "Real-time protection" which is currently in OFF state.
    How can I do that via command line?
    I tried to review the "mpcmdrun" command but did not found proper switch to turning on this service.
    Regards, 
    Tamas

    You could do a regedit command to silently import a .reg file with the setting in it:
    create a .reg file from the following key:
    HKLM\SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Real-Time Protection
    Name: DisableRealtimeMonitoring
    Type: REG_DWORD
    Data: 0
    Then import it silently with this command:
    regedit /s C:\ExamplePath\Example.reg
    You could also do a PowerShell command:
    Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Real-Time Protection' -Name DisableRealtimeMonitoring -Value 0

  • Add protocol args with quotes via command-line

    I am creating a small script to insert objects into the SGD databases (ENS) via command-line and perl. I have some difficulties with protocol-arguments which require quotes (").
    For example:
    /opt/tarantella/bin/tarantella object new_windowsapp --name "o=applications/cn=new_winapp" --width 600 --height 800 --protoargs "<protocol-arguments>"
    The problem comes when I need to add multiple protocol-arguments with quotes like: -dir "c:\Program Files\Application Directory"
    Can someone tell me how to add those arguments including the quotes?
    Thanks,
    Remold Krol | Everett

    Try to use the single quote ( ' )
    say, for instance
    protoargs 'dir "c:\Program Files\Application Directory" '
    That works for me.
    Regards.

  • How to install adobe flash player through command line with some script

    Hi Guys,
    Do you know how to install adobe flash player through command line with some script?
    Thanks,
    Galina

    Windows. I tried silent install  with "install_flash_player.exe /install" but it works only with one file that I downloaded from adobe.com - "install_flashplayer10_mssd_aih.exe". But it is possible to download this last file only one time, every next time it redirects me to download install_flash_player.exe file.

  • [SOLVED] How to Crop an MP4 Video via Command-line?

    I have ffmpeg, mpg123, and mencoder. Does anyone know of a way I could use any of those to crop an mp4 video via command-line? I am trying to take off the black space above and below a video. Thanks in advance!
    Last edited by tony5429 (2009-04-12 00:12:57)

    I don't think it's possible to crop without re-encoding, but you can crop from the command line with ffmpeg and mencoder. Not sure about mpg123 - I think that's for playing audio but I could be wrong there.
    Anyway, with ffmpeg you can do cropping by using -croptop, -cropbottom, -cropleft, and -cropright. So if you wanted to crop 16 pixels off of the top and the bottom, your command line would look something like this:
    ffmpeg -i <input file> -croptop 16 -cropbottom 16 <video encoding options> <audio encoding options> <output file>
    With mencoder you use the "crop" video filter, like this:
    mencoder <input file> -o <output file> -vf crop=320:208:0:16 <other options>
    where the "320:208:0:16" means that the resulting picture is 320 pixels wide, 208 pixels high, and the 0:16 is the x,y position of the cropped area.
    These command lines are just really very basic examples - ffmpeg and mencoder have a LOT of options. Way too many to explain here. If you don't believe me, just try reading through the mencoder man page sometime. (There's an online version of it at: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html)
    Hope this helps!!

  • Setting IIS W3C Extended Log File settings via command line, registry or configuration file

    I am currently in need of a way to set IIS W3C Extended Log File settings via command line, registry or configuration file.  More specifically the 'Bytes Sent (sc-bytes)' and 'Bytes Received (cs-bytes)' settings that are not enabled by default. 
    If anyone knows where I can locate these setting (outside of the GUI) for all IIS versions that would be greatly appreciated.

    I believe I have found a valid solution. You must have the WebAdministration module loaded.  I hope this helps someone.
    Use the following syntax to view current W3C fields:
    Get-WebConfiguration -filter system.applicationhost/sites/sitedefaults/logfile | select-object -expandProperty logExtFileFlags
    Use the following syntax to set W3C fields:
    Set-WebConfigurationProperty -Filter System.Applicationhost/Sites/SiteDefaults/logfile -Name LogExtFileFlags -Value "Date,Time,ClientIP,UserName,SiteName,ComputerName,ServerIP,Method,UriStem,UriQuery,HttpStatus,Win32Status,BytesSent,BytesRecv,TimeTaken,ServerPort,UserAgent,Cookie,Referer,ProtocolVersion,Host,HttpSubStatus"}

  • How to see via command line blocked mails

    Im having a problem...i have a C100 Ironport appliance and i want to know via command line, how to grep and see mails that never went delivered.
    For example...i know that someone, like [email protected] send to my exchange server an email...but in exchange never entered. So i assume that it was filtered by Ironport.
    I go to the command line, use grep and 13 and search for [email protected] and i see something like this
    Wed Apr 18 14:17:54 2007 Info: MID 3977209 ICID 8813638 From: <pedro>
    Wed Apr 18 14:18:44 2007 Info: MID 3977209 ready 3019672 bytes from <pedro>
    I see that 2 mails came from pedro....so i want to see what happened to them...they were bounced? rejected? Delivered?
    I dont have any email in the local quarantine... and i want to know how to track what happened to those emails that never entered to my exchange server.
    Is there any command?
    Than you!

    Wanted to add that you can shortcut the "grep" process by putting everything on one line.
    grep -i "Mid 3977209" mail_logs
    grep -i "ICID 8813638" mail_logs
    grep -i "From: " mail_logs
    basically
    grep -i "pattern" mail_logs
    -i ===> ignore case
    Im having a problem...i have a C100 Ironport appliance and i want to know via command line, how to grep and see mails that never went delivered.
    For example...i know that someone, like [email protected] send to my exchange server an email...but in exchange never entered. So i assume that it was filtered by Ironport.
    I go to the command line, use grep and 13 and search for [email protected] and i see something like this
    Wed Apr 18 14:17:54 2007 Info: MID 3977209 ICID 8813638 From:
    Wed Apr 18 14:18:44 2007 Info: MID 3977209 ready 3019672 bytes from
    I see that 2 mails came from pedro....so i want to see what happened to them...they were bounced? rejected? Delivered?
    I dont have any email in the local quarantine... and i want to know how to track what happened to those emails that never entered to my exchange server.
    Is there any command?
    Than you!

  • Invoking XSLT from the Command Line with JRE1.4 and JRE1.5

    When I invoke XSLT from the Windows Command Line with "java.exe org.apache.xalan.xslt.Process -IN OldFile.xml -XSL StyleSheet.xsl -OUT NewFile.xml" it worked fine with JRE1.4.
    Then I installed JRE1.5.0_09. The class "org.apache.xalan.xslt.Process" was moved to "com.sun.org.apache.xalan.internal.xslt.Process". But when I call it with "java.exe com.sun.org.apache.xalan.internal.xslt.Process -IN OldFile.xml -XSL StyleSheet.xsl -OUT NewFile.xml" I get the error "Exception in thread "main" java.lang.NoSuchMethodError: main". When I look into the Process class there is no "main", but a "public static void _main(String argv[])".
    The "JAXP Compatibility Guide for the J2SE Platform, versions 1.4 and 1.5" on "http://java.sun.com/webservices/docs/1.6/jaxp/JAXP-Compatibility_150.html" chapter "Invoking XSLT from the Command Line" claims it should work.
    Is there no more chance to invoke XSLT from the Windows Command Line? Why is "main" renamed to "_main"? Is the documentation wrong or is this a bug?

    When I invoke XSLT from the Windows Command Line with "java.exe org.apache.xalan.xslt.Process -IN OldFile.xml -XSL StyleSheet.xsl -OUT NewFile.xml" it worked fine with JRE1.4.
    Then I installed JRE1.5.0_09. The class "org.apache.xalan.xslt.Process" was moved to "com.sun.org.apache.xalan.internal.xslt.Process". But when I call it with "java.exe com.sun.org.apache.xalan.internal.xslt.Process -IN OldFile.xml -XSL StyleSheet.xsl -OUT NewFile.xml" I get the error "Exception in thread "main" java.lang.NoSuchMethodError: main". When I look into the Process class there is no "main", but a "public static void _main(String argv[])".
    The "JAXP Compatibility Guide for the J2SE Platform, versions 1.4 and 1.5" on "http://java.sun.com/webservices/docs/1.6/jaxp/JAXP-Compatibility_150.html" chapter "Invoking XSLT from the Command Line" claims it should work.
    Is there no more chance to invoke XSLT from the Windows Command Line? Why is "main" renamed to "_main"? Is the documentation wrong or is this a bug?

  • Unable to Launch FMEL via Command Line for Osprey 460e Simulstream Mode

    Subject: Unable to Launch Flash Media Encoder Live v3.2 via Command Line for Windows 2008 for Osprey 460e Simulstream Mode.
    Dear Users,
    Its urgent and I request you to looking into the problem and oblige.
    We are facing problem in command line section of Flash Media Encoder Live v3.2 while using  Osprey 460e Device Capture.
    When we are launching the setup via GUI mode of Adobe Flash Media Encoder Live then its showing fine, However when we are trying to execute the same using the commandline then its throwing the error that the device is in use already.
    Please clarify the error and confirm that there is no errors issues from your FMLE side. We have installed the latest downloadable (stable version) from Osprey Viewcast  website only.
    Regards
    Vibs

    I have solved the error by installing Desktop Experience Feature in Windows 2008
    To resolve this problem, install the Desktop Experience feature of Windows Server 2008. To do this, follow these steps: 
    Click Start, click Administrative Tools, and then double-click Server Manager. 
    In Server Manager, click Add Features under Features Summary. 
    In the Add Features Wizard dialog box, make sure that the Desktop Experience option is selected. 
    Click Next, and then click Install. 
    After the installation process is complete, click Close, and then close Server Manager.
    Note After you install Desktop Experience, you have to restart the computer.

  • How do I remove Lotus Notes PDFMaker plugin via command line?

    How do I remove the lotus notes PDFMaker plugin via command line?  I originally deployed Adobe Acrobat 10 as a complete install to many computers.  I see how to remove this specific feature through the GUI in Windows 7 by going to control panel / programs and features / Adobe Acrobat X / change / modify / create adobe PDF / acrobat PDFMaker / Lotus Notes, but this would be a tedious task to do manually at each computer.  I've experimented with a few msiexec commands after removing Acrobat such as:
    msiexec /i "\\path to msi" remove=pdfmakerforlotusnotes
    msiexec /i "\\path to msi" disable_pdfmaker=yes
    Both still install acrobat as a complete install.  Any help and suggestions would be appreciated.  Thank you!

    Thank you Sabian, that did the trick.  Here is the command line I used for anyone else having a similar issue:
    msiexec /i "\\path to msi" REMOVE=PDFMakerForLotusNotes /qn
    I did this on a test machine with a complete Acrobat installed.  I ran the above command and it removed the Lotus Notes PDFMaker plugin.  I should also note that it didn't downgrade my version of Acrobat and all of my custom settings within the application are still there.

  • [SOLVED] How to Create an Image from UTF8 Text via Command-line

    As the title points out, I'm trying to create an image from unicode text via command line. I tried...
    convert -pointsize 48 -size 400 caption:测试用 text.png
    But that results in question marks for the Chinese characters. So searching around online I discovered that I needed to specify a font which could display the characters. The characters show up just fine in Firefox, KDE, Kate, Terminal, etc so I know I have a font which can render them. I thought it might be DejaVu but this also resulted in question marks...
    convert -font /usr/share/fonts/TTF/DejaVuSerif.ttf -pointsize 48 -size 400 caption:测试用 text.png
    Any ideas?
    Last edited by tony5429 (2011-01-31 23:17:41)

    DejaVu doesn't contain those Chinese glyphs at all, so please don't blame ImageMagick for not rendering them.
    So, Firefox, Kate, Terminal and the others you stated to use DejaVu, if encounter these characters, fall back to some other fonts to render them. These fonts are, however, not vector, but bitmap fonts. (This can be seen if you increase text size (Ctrl++ in Firefox): the Chinese characters don't change, they remain of their inherent size.)
    Actually, e.g. /usr/share/fonts/misc/18x18ko.pcf.gz definitely contains the three example characters, so the mentioned apps may use this font as fall back.
    Apparently ImageMagick doesn't handle bitmap fonts (I'm not sure), so you won't be able to hit your original target. Anyway, since you tried to parse "-pointsize 48", you wouldn't be satisfied with the font size.
    Your only choice seems to be using the above mentioned CJK-approved TTFs.
    EDIT: typo
    Last edited by barto (2011-01-28 21:52:33)

Maybe you are looking for

  • How do i sync my Ipod to my new laptop?

    How do I sync my Ipod w/ my new laptop? It is apparently still registered to my now dead PC. Only some of my music shows up in the laptop library. I would like to have all my music on both the new laptop and Ipod, will not sync, even manually. How do

  • API and WebServices

    What is WebServices and API in MDM? How both are linked to each other when you are doing ABAP API in the real time scenarios? Thanks in Advance, Best Regards, Vijay

  • [solved] xfce menus suddenly exhibit odd sorting order

    Earlier today, out of the blue, the icons in my xfce applications menus have taken on a strange ordering. Not the top-level menu, because that's hard-coded.. But, for instance, in the Accessories menu items which are lowercase (such as medit) are sor

  • Partial page navigation

    hi everybody , i have a page wich content a menu , i want when i clic on a menu only the content of the page change (from table to form in my case) . how to achieve this with adf i think i can use ppr but how ? thanks

  • 2 updates loading for hours. I can't stop it, quit, escape...

    Software update popped up and I started it which restarted my Macbook as usual, but it has been loading for a couple of hours. In the meantime, I've tried turning my Macbook off and on to no avail, it stays in loading status (gray screen, small apple