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

How to print QR codes next to each other #43

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 1 comment
Open

How to print QR codes next to each other #43

GoogleCodeExporter opened this issue Mar 17, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

looked everywhere and googled it...
nowhere i can find easy to understand info on how to print QR codes next to 
each other


right now i have this code:

#           if havePrinter: Epson.text("Tilbereder\n")
#           if havePrinter: 
Epson.qr('http://print.xn--pizzalg-v1a.dk/arduino4.php?sc=****&s=cooking&o='+str
(order))

#           if havePrinter: Epson.text("P\x7D Vej\n")
#           if havePrinter: 
Epson.qr('http://print.xn--pizzalg-v1a.dk/arduino4.php?sc=****&s=onway&o='+str(o
rder))

#           if havePrinter: Epson.text("Leveret\n")
#           if havePrinter: 
Epson.qr('http://print.xn--pizzalg-v1a.dk/arduino4.php?sc=****&s=delivered&o='+s
tr(order))

# is because i have disabled the codes for now as the print is to long if 
printed under each other

Original issue reported on code.google.com by [email protected] on 15 Mar 2015 at 4:02

@GoogleCodeExporter
Copy link
Author

first line i would rewrite:

#           if havePrinter: Epson.text("Tilbereder         P\x7D Vej       
Leveret\n")

That should be excatly 40 chars long and is the same as the paper

next line would be 3 QR codes evenly spaced... i messured one and they should 
just fit

of course it will be some trial and error to get the text on top of the code

Original comment by [email protected] on 15 Mar 2015 at 4:14

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

No branches or pull requests

1 participant