Re: Merging PDF pages

2023-08-28 Thread Chris Heidecker via use-livecode
t; > > ~Roger > > ____ > From: use-livecode on behalf of > matthias rebbe via use-livecode > Sent: Friday, August 25, 2023 2:16 PM > To: How to use LiveCode > Cc: matthias_livecode_150...@m-r-d.de > Subject: Re: Merging PDF pages &

Re: Merging PDF pages

2023-08-26 Thread doc hawk via use-livecode
richard reasoned be aware that you will lose one the most valuable things about a PDF document: the embedded text layer. Oh, no, there’s something more valuable, which you also lose: anything over 72 dpi! I played with a pdf library for python for a bit, as well as raw pdf, without much luck.

Re: Merging PDF pages

2023-08-25 Thread Eller, Roger via use-livecode
: Merging PDF pages CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Just noticed that my steps are missing something. So here's version 2 of it. 1. download https://

Re: Merging PDF pages

2023-08-25 Thread matthias rebbe via use-livecode
Just noticed that my steps are missing something. So here's version 2 of it. 1. download https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg 2. to extract the pkg run the following in Terminal pkgutil --expand If the source path to the pkg contains sp

Re: Merging PDF pages

2023-08-25 Thread matthias rebbe via use-livecode
On which OS are you planning to do this? On Windows and macOS you could make use of PDFTK server from PDFLabs.com On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. 1. Do not use the d/

Re: Merging PDF pages

2023-08-25 Thread panagiotis m via use-livecode
Hello all, There is a built-in utility on MacOS for merging PDFs. You can call it from "shell", as Paul suggested. This seems to work - tested on MacOS Mojave. It merges "test1.pdf" and "test2.pdf" into "merged.pdf" on Desktop. Just check that the path of tApp actually exists in modern MacOS as w

Re: Merging PDF pages

2023-08-25 Thread Paul Dupuis via use-livecode
The short answer is NO. There is nothing built into Livecode to take a set fo existing PDF files and append them to create a readable PDF that is them all stitched together. Neither the XPDF external nor the PDF widget will do this. You best option is to use some 3rd party command line utility

Re: Merging PDF pages

2023-08-25 Thread Craig Newman via use-livecode
Richmond. Did I mention this was a bit clunky? Craig > On Aug 25, 2023, at 9:39 AM, Craig Newman via use-livecode > wrote: > > Hmmm. > > Rereading, did you want to be able to collect existing pdf documents, read > them, and then output a single new PDF? If so, I guess you can import those

Re: Merging PDF pages

2023-08-25 Thread Richmond Mathewson via use-livecode
Humph . . . importing documents at images and then knitting them together . . . be aware that you will lose one the most valuable things about a PDF document: the embedded text layer. Richmond. On 25.08.23 16:39, Craig Newman via use-livecode wrote: Hmmm. Rereading, did you want to be able t

Re: Merging PDF pages

2023-08-25 Thread Craig Newman via use-livecode
Hmmm. Rereading, did you want to be able to collect existing pdf documents, read them, and then output a single new PDF? If so, I guess you can import those documents as images on successive cards, and do what I posted earlier. Seems clunky, but then you are asking LC to do something clunky.

Re: Merging PDF pages

2023-08-25 Thread Craig Newman via use-livecode
Hi. Sure. Try this in a button on card 1 of a new stack with, say, three cards: on mouseUp get the desktop folder open printing to pdf it & "/" & “yourNamehere" & ".pdf" repeat with x = 1 to 3 print card x end repeat close printing end mouseUp And I wonder if the new pdf widget has that

Merging PDF pages

2023-08-25 Thread Eller, Roger via use-livecode
It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? Thanks. ~Roger ___ use-livecode mailing list use-liveco