pinboard-bookmachine icon indicating copy to clipboard operation
pinboard-bookmachine copied to clipboard

Generate QR code locally

Open nogweii opened this issue 12 years ago • 3 comments

(rQRcode)1 seems like it's a good choice for this. It's homepage even shows how to generate a table element with background colors for the QR code. Perhaps that works with PrinceXML? (I haven't used it, so I don't know what it's capabilities are.)

Granted, the current method works well, but let's give that poor server a rest.

PS: Off topic, but where did you print the books? Did they accept the raw PDF and boom? Prices?

nogweii avatar Mar 06 '12 04:03 nogweii

Well, I just read the README entirely, and you did say you used LuLu. Yay for paying attention.

nogweii avatar Mar 06 '12 04:03 nogweii

Regarding prices: http://infovore.org/archives/2012/03/04/a-year-of-links-your-questions-answered

infovore avatar Mar 06 '12 07:03 infovore

Regarding rQRcode: I've had a poke of that, and it wasn't really that great. The problem is: many of the QR codes are quite large, and I shrink them all to the same size. Many of them would require table cells smaller than 1px at the dpi of the page. Also, the CSS wrangling was nowhere near as straightforward as I'd have liked.

In short: I got far enough with it to make a horrible mess, and promptly got much better results from using the online service. Ideally, I'd probably use something local and rMagick based, but in the time I had - making a personal thing for me - it seemed reasonable.

You're welcome to submit an rQRcode-using patch, though I'd be interested to see it working well in the current template, rather than just a proof-of-concept verison (given I had that and threw it away).

infovore avatar Mar 06 '12 07:03 infovore