Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate QR code locally #4

Open
nogweii opened this issue Mar 6, 2012 · 3 comments
Open

Generate QR code locally #4

nogweii opened this issue Mar 6, 2012 · 3 comments

Comments

@nogweii
Copy link

nogweii commented Mar 6, 2012

(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
Copy link
Author

nogweii commented Mar 6, 2012

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

@infovore
Copy link
Owner

infovore commented Mar 6, 2012

@infovore
Copy link
Owner

infovore commented Mar 6, 2012

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants