I want to print a A4 paper full of the same QR image. I want more elegant way to this answer here, yes I can get it working like that but I want to leave just enough space for scissors and no space near the edges and equal spacing (and is it possible to do that with for -loop or otherwise simpler?) -- possible?

Using \psbarcode directly creates a dimensionless object (width and height of 0pt). The spacing of 2cm is arbitrary, as is the setting for \baselineskip. You can modify this to suit your scissor-cutting expertise.

@hhh: You can modify the row and column counters, as well as the margins set by geometry. I chose margin=1cm, but you can reduce that to your liking as long as your printer can handle it. Is that what you're referring to by "covering the corners/sides"?
–
WernerJan 17 '12 at 1:09

there is no "includegraphics"? This is nice! It generates the images directly from the text! (needless to have middle image) Is it possible to output the ps to image formats such as png?
–
hhhJan 17 '12 at 21:08

1

@hhh: The picture is generated by LaTeX via the package pst-barcode. It has a function (or command) \psbarcode{...}{}{qrcode} which generates the output since the structure for producing QR codes is known. The benefit of producing it on-the-fly means that you can literally create your own QR code for every image that you produce, rather than have them all the same. My code produces the exact same QR code, pointing to TeX.SX. Yes, you can port the output to an image form.
–
WernerJan 17 '12 at 21:14

@hhh: You won't be able to output directly to PNG, but you can output to PS or PDF and convert to PNG. Also, this holds for either the entire page (as in my example), or a single QR code.
–
WernerJan 17 '12 at 21:16