Im working with a large svg file which I want to print on A4 or letter sized sheets. I have created a multipage svg file for this, which I need to export to a multi-page pdf in order to be able to print it out. Im looking for a way to do this. I do not want to use Inkscape through cli. For reference, the file I'm working with is attached (empty with 25 pages) :)
If there is a line/path going over multiple pages, would the bounding box of the page pick up parts of the path/line which is only on that page? (see attached example)
Hi,
Im working with a large svg file which I want to print on A4 or letter sized sheets. I have created a multipage svg file for this, which I need to export to a multi-page pdf in order to be able to print it out. Im looking for a way to do this. I do not want to use Inkscape through cli. For reference, the file I'm working with is attached (empty with 25 pages) :)
Best regards,
Anna
It can be done via inkex.
However it would first require that you determine what objects are within the boundaries of each page.
Inkex is only able to get path (geometric) bounding boxes. I cannot retrieve stroke/filter/text (visual) bounding boxes.
So it would require a command call first to get those bounding boxes.
It's something I have done in the past.
However is there a reason you do not want to use the extension system instead of
File>Export>Batch Export>Pages
(and select pdf as format) ?Thanks for helping out again :)
Yes, I want to automate the whole process from generating the svg, drawing on it and exporting the files as pdf's.
If there is a line/path going over multiple pages, would the bounding box of the page pick up parts of the path/line which is only on that page? (see attached example)