[scribus] PDF export
Gregory Pittman
gpittman at iglou.com
Sun Jan 7 20:03:33 UTC 2018
On 01/07/2018 11:47 AM, Juraj Fedel wrote:
> On Sun, Jan 07, 2018 at 04:19:53PM +0100, Sergio Spina wrote:
>> Say I have a document opened in scribus named "simpledoc.sla" with 55 pages;
>>
>> I want to export to PDF pages 21 to 24 as "fourpages.pdf"
>>
>> Can you put down a chunk of python code that does what I have just said?
>
> import scribus
> pdf = scribus.PDFfile()
> pdf.pages = [21, 22, 23, 24]
> pdf.file = 'fourpages.pdf'
> pdf.save()
Thanks, Juraj.
I'll check this out and if I can get the gist, update the manual.
Greg
More information about the scribus
mailing list