2
1
I’ve been searching around a lot for this but wasn’t able to find a solution.
How can I generate a PDF with an arbitrary paper format (say A4) and fill its pages with as many copies of an image as possible?
I’m looking for a CLI solution, using programs like ImageMagick, Poppler, Ghostscript and such.
My use case: Changed password for the guests Wi-Fi in my office, wanted to send around a nice A4 PDF composed of a tight grid, each cell containing the network SSID and WPA-Key, to be printed, cut into pieces handed out to guests visiting.
Could not find a way to do it and resorted to paste the tiny images manually in a page using MS Word.
EDIT: how these tiny images looked like. Just typed into a text editor and made a screenshot of the text.
I’ll be changing this password once every 3 months, so I’d like an automated/scriptable solution. Doesn’t need to be perfect, but it needs to be quick.
@zool I did play with
– Pimp Juice IT – 2018-10-13T03:23:02.467montage
options some and the images were blurry so I moved on to other methods. I also did not scale down the size of the original file to make smaller to see about fitting more smaller images into the one sheet but I assume this will be good enough for a basic starting point at least to get you by to work on automating into a script and such for your task.