7 ms·
If it’s going to simply guillotine content between pages, is there a better way to present it? Can PDFs have arbitrary length pages with better divides? Or one
by Waterluvian 1y ago
If it’s going to simply guillotine content between pages, is there a better way to present it? Can PDFs have arbitrary length pages with better divides? Or one massive page? I guess I’m assuming nobody actually wants to print these and PDF is just a nice format.
- der_gopher 1y agoSomething to improve, I use gotenberg, and it doesn't do it by default, need to somehow cut it nicely.
- sixtyj 1y agoThere are some pdf libraries that can format inputs into pages with margins defined in some config file. But I had to ask Claude to make a script as there are so many parameters… Tcpdf or mpdf for PHP… fpdf or weasyprint for python.
- gus_massa 1y agoI print code from time to time, when I have to modify an existing project I never read before. Perhaps 5 or 10 pages only. I like to make annotations with a pen, or cross irrelevant parts. I usually use an editor to try to make sensible page jumps first, and in an extreme case I used adhesive paper tape to make a looooong page and then help to refactor the code.