Re: Merging PDF files through LC

2014-10-07 Thread Magicgate Software - Skip Kimpel
I took a total left turn here in my solution and I wanted to share the results. My problem spawned from reports I was creating from Excel and a series of data that needed to be produced for different store locations at our company. However, each store needed a consolidated view as well. Last wee

Re: Merging PDF files through LC

2014-10-01 Thread Bruce Pokras
Distribute PDFTK??? My instructions for Patent Grabber simply tell Windows users where they can download it themselves. Much less complicated that way. Bruce Pokras Blazing Dawn Software www.blazingdawn.com On Sep 30, 2014, at 10:39 PM, Dr. Hawkins wrote: > On Tue, Sep 30, 2014 at 5:34 PM, Bru

Re: Merging PDF files through LC

2014-10-01 Thread Bob Sneidar
It works on Windows too. Just remember to save the PDF form as extended, otherwise Acrobat Reader users will not be able to fill the forms. I can send you some snippets so you can see how it’s done if you like. Contact me on private. Bob S On Oct 1, 2014, at 08:10 , Roger Eller mailto:roger.

Re: Merging PDF files through LC

2014-10-01 Thread Dr. Hawkins
On Tue, Sep 30, 2014 at 8:01 PM, Magicgate Software - Skip Kimpel < s...@magicgate.com> wrote: > Getting it to work, probably not that hard. Distributing it with your > application, that's a whole other issue. > Actually, it's allowed and straightforward; I'm thinking of the mechanics. It's GPL

Re: Merging PDF files through LC

2014-10-01 Thread Magicgate Software - Skip Kimpel
Roger... you are and I are both stuck in the Windows world... On Wed, Oct 1, 2014 at 11:10 AM, Roger Eller wrote: > That sounds like a pretty slick way to populate a form (hoping it works > x-plat). The OP wants a >Windows< solution to combine pages though. > > > On Wed, Oct 1, 2014 at 10:40 AM

Re: Merging PDF files through LC

2014-10-01 Thread Roger Eller
That sounds like a pretty slick way to populate a form (hoping it works x-plat). The OP wants a >Windows< solution to combine pages though. On Wed, Oct 1, 2014 at 10:40 AM, Bob Sneidar wrote: > The easy way to do this is to assemble an FDF data file. I have already > done this in my Forms Gene

Re: Merging PDF files through LC

2014-10-01 Thread Bob Sneidar
The easy way to do this is to assemble an FDF data file. I have already done this in my Forms Generator application. First, I export the form data. To get all the fields even the empty ones you have to create a javascript action, because the built in data export only exports fields with data in

Re: Merging PDF files through LC

2014-09-30 Thread Magicgate Software - Skip Kimpel
>From the looks of it, you only need to have two files to get it to work from the command line: pdftk.exe and libconv2.dll (found in the PDFtk Server /bin directory after install) Getting it to work, probably not that hard. Distributing it with your application, that's a whole other issue. I ha

Re: Merging PDF files through LC

2014-09-30 Thread Dr. Hawkins
On Tue, Sep 30, 2014 at 5:34 PM, Bruce Pokras wrote: > PDFTK works fine under Windows using shell commands from Livecode. That is > how my Patent Grabber app combines individual patent pages into a single > PDF. Ooohh! Someone who's done it on windows with a commercial program! How do you han

Re: Merging PDF files through LC

2014-09-30 Thread Magicgate Software - Skip Kimpel
Thanks everybody. I think I have a few options to choose from now. SKIP On Tue, Sep 30, 2014 at 8:34 PM, Bruce Pokras wrote: > PDFTK works fine under Windows using shell commands from Livecode. That is > how my Patent Grabber app combines individual patent pages into a single > PDF. > > Bruce

Re: Merging PDF files through LC

2014-09-30 Thread Bruce Pokras
PDFTK works fine under Windows using shell commands from Livecode. That is how my Patent Grabber app combines individual patent pages into a single PDF. Bruce Pokras Blazing Dawn Software www.blazingdawn.com On Sep 30, 2014, at 11:48 AM, Dr. Hawkins wrote: > On Tue, Sep 30, 2014 at 6:39 AM, Ma

Re: Merging PDF files through LC

2014-09-30 Thread JB
Here is a link for a program that appears to be free and open source code that will split and merge pdf files. http://www.pdfsam.org John Balgenorth On Sep 30, 2014, at 3:57 PM, Bob Sneidar wrote: > Adobe has a document describing the structure. Looks like the format is a > little more compl

Re: Merging PDF files through LC

2014-09-30 Thread Bob Sneidar
Check with some Acrobat Developer forums. I’ll bet dollars to doughnuts there is a way to do this with their Java API. Bob S On Sep 30, 2014, at 16:20 , JB wrote: > Well it was a good try anyway. I am going to search > for some pdf code and see if I can find any that can > be used in Xcode

Re: Merging PDF files through LC

2014-09-30 Thread JB
Well it was a good try anyway. I am going to search for some pdf code and see if I can find any that can be used in Xcode that will show what is going on. John Balgenorth On Sep 30, 2014, at 3:57 PM, Bob Sneidar wrote: > Adobe has a document describing the structure. Looks like the format is

Re: Merging PDF files through LC

2014-09-30 Thread Bob Sneidar
And *THAT* is why I LOVE THIS LIST!!! Bob S On Sep 30, 2014, at 16:13 , Matthias Rebbe | M-R-D mailto:matthias_livecode_150...@m-r-d.de>> wrote: http://applehelpwriter.com/2013/03/23/how-to-merge-pdf-files-in-os-x/ shows how to use applescript to merge PDFs. Regards, Matthias

Re: Merging PDF files through LC

2014-09-30 Thread Matthias Rebbe | M-R-D
http://applehelpwriter.com/2013/03/23/how-to-merge-pdf-files-in-os-x/ shows how to use applescript to merge PDFs. Regards, Matthias Am 01.10.2014 um 00:57 schrieb Bob Sneidar : > Adobe has a document describing the structure. Looks like the format is a > little more complicated than would p

Re: Merging PDF files through LC

2014-09-30 Thread Bob Sneidar
Adobe has a document describing the structure. Looks like the format is a little more complicated than would permit this. I tried it, the resulting document is corrupted (of course). But if you knew how to extract the pointers to all the objects, and the body information containing any fonts and

Re: Merging PDF files through LC

2014-09-30 Thread JB
It might know by some info at the beginning of the file but you could probably delete it. John Balgenorth On Sep 30, 2014, at 3:25 PM, JB wrote: > That is a good question. How would the file know > anything other than it is still a file only larger. > > John Balgenorth > > > On Sep 30, 20

Re: Merging PDF files through LC

2014-09-30 Thread JB
That is a good question. How would the file know anything other than it is still a file only larger. John Balgenorth On Sep 30, 2014, at 3:25 PM, Bob Sneidar wrote: > I wonder what would happen if you opened the two PDF’s as binary files, then > wrote them back out to a single file… > > Bob

Re: Merging PDF files through LC

2014-09-30 Thread Bob Sneidar
I wonder what would happen if you opened the two PDF’s as binary files, then wrote them back out to a single file… Bob S On Sep 30, 2014, at 06:21 , Magicgate Software - Skip Kimpel wrote: > Good morning, > > Anybody know of a way (on Windows) to merge two PDF documents together via > scrip

Re: Merging PDF files through LC

2014-09-30 Thread Dr. Hawkins
On Tue, Sep 30, 2014 at 6:39 AM, Matthias Rebbe | M-R-D < matthias_livecode_150...@m-r-d.de> wrote: > You could use 3rd party tool ghostscript. > I used to use ghostscript from my scripts. Sometimes it takes just far too long (minutes)< others it doesn't like files (but every pdf program refuses

Re: Merging PDF files through LC

2014-09-30 Thread Roger Eller
Way back in Adobe Acrobat Pro 5, there was a built-in adobe scripting feature that could combine pages. In later versions that option disappeared. So I now provide my users a "collect" button which fetches all the files that need combined into a folder on the Desktop, and they combine them using

Re: Merging PDF files through LC

2014-09-30 Thread Matthias Rebbe | M-R-D
You could use 3rd party tool ghostscript. Here´s a short how to http://www.rgagnon.com/gp/gp-0015.html Regards, Matthias Am 30.09.2014 um 15:31 schrieb Magicgate Software - Skip Kimpel : > I have not tried this yet but I just found this link posted online: > > http://quartam.blogspot.com/2

Re: Merging PDF files through LC

2014-09-30 Thread Magicgate Software - Skip Kimpel
I have not tried this yet but I just found this link posted online: http://quartam.blogspot.com/2010/12/concatenating-pdf-files.html On Tue, Sep 30, 2014 at 9:21 AM, Magicgate Software - Skip Kimpel < s...@magicgate.com> wrote: > Good morning, > > Anybody know of a way (on Windows) to merge tw

Merging PDF files through LC

2014-09-30 Thread Magicgate Software - Skip Kimpel
Good morning, Anybody know of a way (on Windows) to merge two PDF documents together via scripting? Any insight would be helpful if you have done this before. Thank you! SKIP ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit thi