oxplot / pdftilecut Goto Github PK
View Code? Open in Web Editor NEWpdftilecut lets you sub-divide a PDF page(s) into smaller pages so you can print them on small form printers.
License: BSD 3-Clause "New" or "Revised" License
pdftilecut lets you sub-divide a PDF page(s) into smaller pages so you can print them on small form printers.
License: BSD 3-Clause "New" or "Revised" License
I see that you can use pdftileccut to take a pdf coded for a certain page size, and split it into multiple pages coded for another size.
I don't see if I could take pdftilecut and use it to split a pdf of whatever input size, and split each input page into 4 pages 2-by-2, 6 pages 3-by-2, 6 pages 2-by-3, 9 pages 3-by-3, etc...
If it can do that, I think the readme should cover how.
If it can't, I think the readme should clarify that.
Hi,
Thanks for this wonderful program.
I wonder what I am doing wrong here?
I have a PDF which is A1 (594 x 840mm) and when I run it through it through pdftilecut the resulting pages are 19.94 × 26.08 cm. I would expect the page size to be 210 x 297mm.
The command I using is:
pdftilecut -in "Live Music A1.pdf" -out out.pdf
Specifying -tile-size A4 doesn't change anything:
pdftilecut -in "Live Music A1.pdf" -out out.pdf -tile-size A4
Nor does -tile-size "210mm x 297mm".
I don't know which version I am using (I didn't see a -version flag), but I installed on Mac OS using homebrew.
Edit: I think I have figured out the problem. I guess tile-size is the maximum page size, so it will produce pages smaller than this sometimes. If you print without scaling, it should just result in a larger margin. Is that right?
Second edit: I wonder whether (in light of #23) it might be better to product pages at the requested size, and simply have the additional margin on the page? It seems like there would be less opportunity for confusion with scaling.
The tool nicely split my A3 scan to A4 pages. However the tool always put some markers in each corner (page number, lines, tool logo etc.).
This means that I cannot print the resulting document, because it includes these markers. How can we remove these markers?
Thanks a lot for this nice little tool!
I have a large PDF that I would like to print onto individual A4 pages. The original is exactly 50x50cm, but when I put the tiles together (making sure to print at 100% scale) the resulting width is slightly over 58cm. It seems that the splitting is done in a way to maximise the size for the given pages, but it would be nice to have an option to preserve the scale.
"It may be damaged or use a file format that Preview doesn’t recognize."
Hi. I'm getting the above error message when I try to open the resulting PDF.
I've installed pdftilecut from homebrew on macOS 11.4. There were no errors during the install.
I have a sample "in.pdf" file on ~/Desktop. It is 1.7MB.
Here is a link to that in.pdf file
From ~/Desktop, I run:
pdftilecut -tile-size A4 -in in.pdf -out out.pdf
This message is produced:
2021/06/06 14:14:58 cannot find MediaBox for page:
/Contents 6 0 R
/Parent 3 0 R
/Resources 8 0 R
/Type /Page
An "out.pdf" file is created that is 660 bytes. When I attempt to open it, I get the titled error.
Here is a link to that out.pdf file
Here is my use case:
I have PDFs that are exported from Safari (both iOS and macOS) that end up being one, long PDF page, rather than split/paginated. Yes, I could simply Print to PDF, but these long PDFs are what results when you choose "Annotate" in Safari on iOS. I find it easier to read/work on PDFs that are in A4 format, but, I digress.
Can you advise on the above?
Thank you,
John
Hello, I just started using Linux recently.
Can you list please all the steps to make your software run on Fedora?
A lot of s = strings.Replace(s, ...
is in the code which eats up memory is slow on larger files.
Should have some slices of new objects and only write them up at the end.
Instead of the white margin to hopefully increase the rendering speed on viewers.
I'd like to print the following PDF to A4 oriented in landscape, then join the sheets together along the short sides.
I tried this command:
./pdftilecut -tile-size '297mm x 210mm' -in github_sample.pdf -out github_sample_A4.pdf
Which produced this PDF:
github_sample_A4.pdf
As you can see, the top half of each page is cropped. Is it possible to achieve what I want with pdftilecut? Thanks
I just want to output the original size of my A3 drawing tiled over several A4 pages. Is this possible? I didnt find your SmallIncreaseInOutputSize variable ;D
I just tried using this to print a sewing pattern and, after hours of cutting and taping, we noticed that it was about 12% larger than it should be. Fortunately we spotted this before we started cutting fabric.
./pdftilecut -tile-size A4 -in "Math 215 Course Outline.pdf" -out "Math 215 Course Outline split.pdf"
2020/06/04 10:25:41 cannot find MediaBox for page:
/Contents 10 0 R
/Parent 3 0 R
/Resources 12 0 R
/Type /Page
Hey, thanks for this great application.
I am trying to print A1 (841mm x 594) using four sheets of SRA3 (450 x 320mm).
This allows for 46mm overlap horizontally and 59mm overlap vertically.
I think my printer should be able to manage this, since it can do borderless printing at this size.
When using pdftilecut as follows:
pdftilecut -in Live\ Music\ A1.pdf -out "out.pdf" -tile-size "320mm x 450mm"
The resulting page size is 24.89 × 33.08 cm and so requires 9 pages.
I wonder if this is due to the space required for the margin? Could we possibly have an option to adjust margin size, which could mean using fewer pages?
pdftilecut -tile-size A4 -in Homework\ 32.pdf -out Homework_32_a4.pdf
2023/10/11 10:38:16 cannot find MediaBox for page:
/Contents 5 0 R
/Parent 3 0 R
/Resources 7 0 R
/Type /Page
Homework 32.pdf
I converted this PDF to A4 tiles: github_sample.pdf
./pdftilecut -tile-size A4 -in github_sample.pdf -out github_sample_A4-2.pdf
output PDF: github_sample_A4-2.pdf
But the output seems to be not A4. Loading that PDF into Gimp produces images that are 737x885 pixels (I would expect 595x842)
Hey, first of all thank you for the amazing software!
Now, once I used it I noticed that the pages of the output PDF are actually not A4 size but are actually smaller.
This leads to my printer printing some extra white borders.
Is there a possibility to enforce A4 format on the output pages?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.