Merging PDF pages

Craig Newman craig at starfirelighting.com
Fri Aug 25 09:39:56 EDT 2023


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.

Craig

> On Aug 25, 2023, at 9:33 AM, Craig Newman via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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 built in.
> 
> 
> 
> Craig
> 
> 
>> On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> 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-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list