Convert SVG to PDF on several sheets
I have a SVG file created in Inkscape. I want to print it on multiple sheets to finally form a big poster. I need these multiple sheets converted to a PDF so I can print it from any operating system.
The file I'm working with:
- SVG has a size of 840 mm x 297 mm. (width x height)
- Generate a PDF with two A3 sheets (420 mm x 297 mm).
You can download the file if you want to try out your solution yourself.
I'm open to almost any solution, be it Inkscape extensions/scripts or command-line tools. I just don't want to mess around manually each time I have to re-do the conversion.
Things I've tried and didn't work:
- inkscape-pages adds support for multiple pages to Inkscape, but no support to separate a given file to the pages.
Tools which will only work with raster image format (like PNG or JPG) are a no-go:
- Gwenview
- PosteRazor from the accepted answer of the question: Printing a poster (over several sheets of paper)
Tools I have heard that might work but where I'm unsure if they will and how to approach them:
- Scribus
Update: Added download link.
Solution 1:
Have you tried the pdfposter
package? From the project's website: "Pdfposter can be used to create a large poster by building it from multiple pages and/or printing it on large media. It expects as input a PDF file, normally printing on a single page. The output is again a PDF file, maybe containing multiple pages together building the poster. The input page will be scaled to obtain the desired size."
I tried a quick example from the man page: pdfposter -mA3 -pA0 askUbuntu.pdf printer-pages.pdf
with your sample file (which I converted to PDF in Inkscape), and it seems to work : 6 A3 pages that need to be set in a 2×3 grid.
Solution 2:
You can save as the image as pdf from inkscape directly using the highest resolution (dpi), say 600, of the printer you plan to use for printing.
Afterwards, you can use imagemagick (command convert) to crop the upper and lower parts of the image independently into two different pdf files. For instance (typed on a terminal):
convert askUbuntu.pdf -crop 100%x50% +repage askUbuntuSplit.pdf
You can then split it into individual pdf files using:
pdftk filename.pdf burst
I presume imagemagick and pdftk are already installed.