Is it possible to do PDF merging/splitting functions in command line?

Hi,
Currently we are merging the hundreds of PDF files using Acrobat User Interface and we're trying to automate this process using command line scripts. Does Adobe has built-in this capability in the Acrobat or any other Product?
Thanks

This patch should do what you want;
From f273bbd559b453e0af5a038b3bb8f3111272f9a7 Mon Sep 17 00:00:00 2001
From: Phillip Smith <[email protected]>
Date: Tue, 30 Apr 2013 09:00:21 +1000
Subject: [PATCH] makepkg: add support for CARCH environment var
Add support for overriding configuration in /etc/makepkg.conf and
~/.makepkg.conf by setting the environment variable CARCH similar to
how SRCDEST and PKGDEST behave.
scripts/makepkg.sh.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index da620a4..50bf41d 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -2604,6 +2604,7 @@ trap 'trap_exit USR1 "$(gettext "An unknown error has occurred. Exiting...")"' E
[[ -n ${SRCEXT} ]] && _SRCEXT=${SRCEXT}
[[ -n ${GPGKEY} ]] && _GPGKEY=${GPGKEY}
[[ -n ${PACKAGER} ]] && _PACKAGER=${PACKAGER}
+[[ -n ${CARCH} ]] && _CARCH=${CARCH}
# default config is makepkg.conf
MAKEPKG_CONF=${MAKEPKG_CONF:-$confdir/makepkg.conf}
@@ -2703,6 +2704,7 @@ PKGEXT=${_PKGEXT:-$PKGEXT}
SRCEXT=${_SRCEXT:-$SRCEXT}
GPGKEY=${_GPGKEY:-$GPGKEY}
PACKAGER=${_PACKAGER:-$PACKAGER}
+CARCH=${_CARCH:-$CARCH}
if (( ! INFAKEROOT )); then
if (( EUID == 0 && ! ASROOT )); then
1.8.2.1
EDIT: https://bugs.archlinux.org/task/35030
Last edited by fukawi2 (2013-04-29 23:11:27)

Similar Messages

  • Is it possible to check out whole repository from dtr command line tool?

    Hi
    I wonder is it possible to check out whole repository from dtr command line tool.
    Normally, in NWDS i have to log into SLD, select a component, then select components i want to check out into workspace.
    I would like to do some static analysis (PMD, etc) but checkiing out everything manually is really painfull.
    Are there any guides how to check out everyhing from the command line (so i would nothave to specify any paths except top level components)?

    Hi,
    I don't know of a feature which would allow to check out "everything" from the "root".
    checkout Checks the given resource out.
    Syntax checkout/co \[-exclusive| -x] resource \[activity]
    Options exclusive|x If specified the resource is exclusively checkout-out.
    Arguments resource The resource that should be checked out.
    activity The path or name of the open activity that should be used for the checkout, if no activity is specified one is implicitly created.
    Output Variables
    $wr[] Working resources
    $act[] Activities
    Description Checks a resource out.
    Examples
    Checkout a file within a given activity
    Checks out the file "/ws/wspdir/wsp/dir/a.txt" in the activity "/act/myActivity".
    checkout /ws/wspdir/wsp/dir/a.txt /act/myActivity
    Checkout a file
    Checks out the file "/ws/wspdir/wsp/dir/a.txt" in an activity that is implicitly created and returned in the output variable "$act".
    checkout /ws/wspdir/wsp/dir/a.txt
    Checkout a file exclusively
    Checks out the file "/ws/wspdir/wsp/dir/a.txt" exclusively in an activity that is implicitly created and returned in the output variable "$act".
    checkout -x /ws/wspdir/wsp/dir/a.txt
    Can you please also tell us what kind of statistics you intend to create? Sorry I don't know what PMD abbreviates.
    You can always generate yourself an up-to-date documentation of the DTR Console by exporting the help (for details type help help): help -x c:/DTRConsole.doc
    Best Regards,
    Ervin

  • How to merge multiple documents via command line (Adobe Acrobat Pro 9.3.2)?

    I'm searching solutions to merge multiple documents (all stored in one folder) via command line or batch file to a single PDF-File...
    Is there a way to do this?
    Finaly I want to control this from a application written in MS-Access. So, perhaps there are some features already integrated in Access to do this?
    Thanks for answer!

    If you have some programming experience you could probably do this using VBA from within MS Access to control Acrobat via OLE.
    Lots of examples on the Web.
    Hope this helps

  • Is it possible to write to an open DOS windows - command line

    HI,
    I am able to open applications from LabVIEW, But except for the first command I am unable to write to the same application again and the LabVIEW will always open a new application. Is there a way to communicate with a DOS window application without re opening it each time? Is there a possibility to have a Dialogue with a DOS window?
    Thanks

    Hi,
    The command "Tasklist" will return the applications running in the system (as viewed in the task manager).  Parse the list and if the application you are trying to launch is already running do not launch else launch the application following the same procedure.
    With regards,
    JK
    (Certified LabVIEW Developer)
    Give Kudos for Good Answers, and Mark it a solution if your problem is solved.

  • PDF Merge in Publication of Web Intelligence

    Hi ,
    Is it possible to do PDF merge in Publication of Web Intelligence documents in BO Xi 3.1
    Thanks.

    Hi,
    You can-not merge the two pdfs in publication by default. It might be possible through SDK.
    You can look for some 3rd party tool for the same feature.
    Regards,
    Rohit

  • How to print a specific page from a given PDF document, using command line, please?

    Hello,
    I need your advise, please. My customer requires to print a specfic page from a pdf document they receive, using command line or 3rd party solution.
    Anything you can advise, please? I have seen AcroRD32.exe options, but can only print the whole document.
    Kind Regards

    Not sure if there are any examples. The Acrobat SDK is a must, but it is best treated as documentation to study rather than examples to copy. The examples only illustrate a tiny fraction of the capabiliies.
    (One other note: the solution must involve the client owning Acrobat; Acrobat is not for server use).

  • Application command line (PDF)

    I'm trying to launch another PDF-report by using application command line. I manage to create the report in to file but is there a way to launch it automatically "on the top" of the first report or on it's own window?
    This is what I have now on the application command line:
    C:\OraDS\bin\rwrun.exe c:\kkk\test userid=aki/aki@db destype=file desname=c:\temp\test.pdf desformat=pdf

    The way that I'd approach this would be to run the report through a URL to the reports server rather than a direct call to rwrun.
    In your command line you're telling reports to run the report to file (which it's doing correctly). If you run it via a URL then the reports server should stream the output back to the browser window, where it'll be read by Acrobat.
    Hope this helps,
    Danny

  • Is it possible to set BIOS settings over a command line?

    Hi,
    is there a possibility to set Toshiba BIOS settings over a command line tool?
    We have hundreds of Toshiba Notebooks and would like to activate Wake On Lan.
    I know there is hwsetup, but as far as I know this GUI doesn't accept parameters...
    We would like to propagate new settings over a script.
    Any solution for this ?
    Thanx

    > is there a possibility to set Toshiba BIOS settings over a command line tool?
    Something like that is not known to me and I doubt this could be possible.
    As you said there is an preinstalled Toshiba HWSetup tool which can be used to change some certain BIOS settings. But this is only one way to change the BIOS settings from the Windows OS.

  • Can one large pdf be split into a packaged pdf?

    can one large pdf be split into a package without having to extract pages then merged back together?
    i have been scanning documents and some have been over 400 pages.
    i have been creating seperate pdf's for each appendix/section then merging them into a packaged pdf to find each appendix easier.
    but it is a bit time consuming to look at the 400+ pages then removing each appendix.
    so i was wonder if it is possible to just find where all the appendixes start and have them put into package without need to extract each appendix one at a time.

    Graffiti:
    Correct. Knew that about other formats not being able to be seen by all users.
    I tried exporting a PDF to HTML and then couldn't place it in an email without it loosing formating. I'm a long-time PM/ID (even before Adobe) user and am not familiar with Dreamweaver, which I guess I need to learn now. Thanks for the response.

  • Merge split image segments

    Dear Friends,
    in an external PDF all images are splitted to smaller segments.
    I heard this is quite common in PDF generation due Postscript.
    I am placing this external PDF on an Indesign document page which is also exported again as a final PDF/SWF/JPEG.
    But in the final PDF/SWF/JPEG there are white lines visible in the images, when they appear, allways between two image segments.
    I heard this is due to rounding errors of position x-/y-coordinates of these image segments rendering them not perfectly onto their intended position.
    I think about two general solutions:
    Merge all image segments to a complete image.
    Being able to position these segments with lock / automatically to make them perfectly edge to each other (but what would be with these rounding errors?).
    This is a quite common problem to designers who want to further use the ressources or pages of an external PDF.
    Often the senders of those external PDFs have not even got the original data (careless/lost/etc.).
    It would be great if there is a reliable, solid solution to this problem.
    Thank you for answers in advance!
    With best regards
    Inno

    A naive (but possibly sufficient) implementation could just be to keep a table mapping (x,y) pairs to countries. To keep the table smaller, you could map 10x10 blocks of pixels to countries.
    Ultimately this is about storing and then managing data.
    One hack (in my opinion) is to check the color of the clicked pixel in the image of the map. But that is nasty for a variety of reasons (such as, it keeps you from being able to easily change the map image, and things like text in the map (like the names of countries) kind of screws that up. But it's an option.
    You can also keep lists of pixels in sequence describing a polygon, and then use certain algorithms (which I don't recall right now) to determine whether a given point is inside or outside a given polygon.
    Also you can do things like "binary space partitions", I think.
    These last two things are computer graphics techniques, and are non-trivial to implement. I dimly recall them from college but recall no details. You can get a computer graphics textbook (which tend to be expensive) to get more info, or these days there's probably a wiki about it somewhere.
    But I'd suggest keeping it modular. Add a layer of abstraction, writing an API around this functionality. Then write an implementation with a simple table of locations or blocks of locations, and if this proves to be insufficient later, swap it out with something more sophisticated.

  • LockWindowUpdate() is our friend + better PDF merging

    Hi,
    We're building eBooks from hundreds of pdfs. This is a problem for Acrobat because such large numbers of input files are apparently way beyond current design specs.
    A problem comes up when combining files via FILE >> Create PDF >> Merge Files into a single PDF...
    When you point to a folder with hundred or thousands of PDFs the GUI bogs down simply because the listbox updates itself after every new file.
    The first improvement is very easy for the Acrobat developers. They simply need to wait to drive the list box updates until after the file name gathering is done. This is easily accomplished with the Win32 API LockWindowUpdate(). This could easily reduce the time to load big file lists to just 5% or less of
    Once the filenames are populated on the COMBINE FILES dialog the processing is horribly slow because the Warning/Errors column need to be updated for each file. I, for one, could easily do without that column. A simple report at the end of the process would much faster.  I'm running a job of 2700 files on a dual core 2.6 ghz box and it will problably take an hour. My guess is upwards of 90% of those CPU cycles go into listbox updates.
    Another happily simple minded approach would be to allow the user to point to a text file with all of the paths. Acrobat would read that and provide very lightweight process indicators. The file with the paths could be very simple with just one path per line. Wildcard processing would be nice. Of course, this should run with the lightest possible process indicators. The COMBINE FILES dialog should not be used.
    ---ebook_merge_source.txt---
    c:\pdfsource\ebook_cover.pdf
    c:\pdfsource\front_matter_1.pdf
    c:\pdfsource\front_matter_2.pdf
    c:\pdfsource\preface_1.pdf
    c:\pdfsource\TOC_1.pdf
    c:\pdfsource\content_1.pdf
    c:\pdfsource\content_10001.pdf    (yes, that's 10,000 pages)
    c:\pdfsource\conclusion.pdf
    This would be a low cost addition that many people would readily appreciate.  The idea of using simple files for persisting source file selections is as old as the hills and it would serve the Acrobat audience well.

    Hi,
    We're building eBooks from hundreds of pdfs. This is a problem for Acrobat because such large numbers of input files are apparently way beyond current design specs.
    A problem comes up when combining files via FILE >> Create PDF >> Merge Files into a single PDF...
    When you point to a folder with hundred or thousands of PDFs the GUI bogs down simply because the listbox updates itself after every new file.
    The first improvement is very easy for the Acrobat developers. They simply need to wait to drive the list box updates until after the file name gathering is done. This is easily accomplished with the Win32 API LockWindowUpdate(). This could easily reduce the time to load big file lists to just 5% or less of
    Once the filenames are populated on the COMBINE FILES dialog the processing is horribly slow because the Warning/Errors column need to be updated for each file. I, for one, could easily do without that column. A simple report at the end of the process would much faster.  I'm running a job of 2700 files on a dual core 2.6 ghz box and it will problably take an hour. My guess is upwards of 90% of those CPU cycles go into listbox updates.
    Another happily simple minded approach would be to allow the user to point to a text file with all of the paths. Acrobat would read that and provide very lightweight process indicators. The file with the paths could be very simple with just one path per line. Wildcard processing would be nice. Of course, this should run with the lightest possible process indicators. The COMBINE FILES dialog should not be used.
    ---ebook_merge_source.txt---
    c:\pdfsource\ebook_cover.pdf
    c:\pdfsource\front_matter_1.pdf
    c:\pdfsource\front_matter_2.pdf
    c:\pdfsource\preface_1.pdf
    c:\pdfsource\TOC_1.pdf
    c:\pdfsource\content_1.pdf
    c:\pdfsource\content_10001.pdf    (yes, that's 10,000 pages)
    c:\pdfsource\conclusion.pdf
    This would be a low cost addition that many people would readily appreciate.  The idea of using simple files for persisting source file selections is as old as the hills and it would serve the Acrobat audience well.

  • Is it possible to convert PDF file into HTML

    Dear friends
    Is it possible to convert PDF file into HTML. I have few hundread PDF files i like to convert this files into HTML. I hope it can be done through Java but i don't know how to start this coding. anybody can give me a brief idea to go ahead.

    Why do you want to do this yourself? I quick search on Google showed several utilities to do this, some freeware, some commercial.

  • I have acrobat 11 standard is it possible to convert pdf files to word files ?

    I have acrobat 11 standard is it possible to convert pdf files to word files ? or is it just possible in the Pro version.

    It sounds to me like you're using Reader, not Acrobat. Make sure you open
    the PDF file in Acrobat, and then go to File - Save As Other - Microsoft
    Word.
    On Thu, Mar 12, 2015 at 2:55 PM, nickk23435928 <[email protected]>

  • Split PDF by pages using command line options

    Hi,
    I am after a product to split a PDF file by pages / bookmark using command line options.  It would be good, if the product comes with functionality to call from VB/.NET SDK.
    I googled and came across many products, out of these following looks good.  Has anyone used this.  Please suggest me.
    www.neeviapdf.com
    www.coherentpdf.com
    Thanks
    Sarav

    You are posting in the wrong forum. This forum is for Acrobat Scripting.

  • Is possible see a pdf file without the buttons of the program adobe? don´t permit a copy of the file

    Is possible see a pdf file without the buttons of the program adobe? don´t permit a copy of the file

    For the hiding, go to the document properties under initial view. You may confuse some folks if there is no file menu to close the file (a lot of folks just can't get the keyboard shortcut, alt-F4, into their head. They are going to look for where to find the file menu to close.

Maybe you are looking for

  • How to enter text on a drawing in pages

    I want to make a triangle with horizontal lines across and text inside. Kind of like Mazlows (sp??) hierarchy of needs pyramid. Is there a way to draw a shape, then write text over it? I'm able to make a triangle, however, everytime I attempt to plac

  • Opening ADF page from java script

    I am trying to use window.open(url, winName) to open an ADF page from java script. I have set the same winName but when i call the window.open method every time it opens up a new window. The code is as below: <html> <head> </head> <body> <script> fun

  • No audio from Itunes Movies via AppleTV

    I haven't been able to get any audio from any of the movies I stream from Itunes. Funnily enough, AppleTV works with Netflix and Youtube. The audio works here. Can someone help?

  • Send a welcome email to a new user

    Dear All, I am having a Domain Controller named as Test.com ready with Exchange server 2010 SP2. I want to set, whenever I create a new user account, one welcome email should go to new users. And one email to go to all users that new user has join ou

  • Probook 450 G2 hotkeys for brightness not working with windows 8.1

    Hi Please help solve this issue, since (fn+f8/f9) which by default are  supposed to increase or decrease light are not doing so. on windows 8.1. i followed instruction on :- http://h30434.www3.hp.com/t5/Notebook-Operating-Systems-and-Software/ProBook