Merging PDF pages

Richmond Mathewson richmondmathewson at gmail.com
Fri Aug 25 09:58:10 EDT 2023


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 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
> _______________________________________________
> 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