Author

Topic: Batch QR codes? (Read 2148 times)

newbie
Activity: 14
Merit: 0
May 27, 2014, 04:07:49 AM
#19
hey, i just found this qr code in excel
where you can also found qr code reader
legendary
Activity: 1022
Merit: 1000
December 18, 2012, 09:02:17 AM
#18
i=1;for x in `cat add2.txt`; do qrencode -o $i.png $x; ((i++); done

this works, why you change it?

It will work when you fix the error you have. It's missing the last closing parenthesis.

And yes, the -S is not needed, also, so the correct one
Code:
i=1;for x in `cat add2.txt`; do qrencode -o $i.png $x; ((i++)); done

ohh men, true
legendary
Activity: 1358
Merit: 1002
December 18, 2012, 09:00:18 AM
#17
i=1;for x in `cat add2.txt`; do qrencode -o $i.png $x; ((i++); done

this works, why you change it?

It will work when you fix the error you have. It's missing the last closing parenthesis.

And yes, the -S is not needed, also, so the correct one
Code:
i=1;for x in `cat add2.txt`; do qrencode -o $i.png $x; ((i++)); done
legendary
Activity: 1022
Merit: 1000
December 18, 2012, 08:58:07 AM
#16
i=1;for x in `cat add2.txt`; do qrencode -o $i.png $x; ((i++); done

this works, why you change it?
legendary
Activity: 1358
Merit: 1002
December 18, 2012, 08:54:53 AM
#15
Try this one

Code:
i=1;for x in `cat add2.txt`; do qrencode -S -o $i $x; ((i++)); done
member
Activity: 102
Merit: 10
December 18, 2012, 08:30:43 AM
#14
Quote
the -S needs to come before the -o and you need to remove the .png from the filename.
altho I don't understand why do you want that option, given that the files will already be numbered.


trying

i=1;for x in `cat add2.txt`; do qrencode -S -o $i $x; ((i++); done

is returning

bash: syntax error near unexpected token `done'





I need the files in order, because the order they are in the txt file is very different then "alphabetical" how it dumps out on my desktop

I tried moving my excel around and it counts differently.

the files are saving as the bitcoin address, and it acting weird with the order

1A...
1Z
11

vr

11
12..
1A


I tried sorting by "time" but that didnt work
 
legendary
Activity: 1358
Merit: 1002
December 18, 2012, 08:17:26 AM
#13
so, ran into a bit of a snag


I need to number the files in the order they are processed.

-o FILENAME  write PNG image to FILENAME. If '-' is specified, the result
               will be output to standard output. If -S is given, structured
               symbols are written to FILENAME-01.png, FILENAME-02.png, ...;
               if specified, remove a trailing '.png' from FILENAME.



if I try

for x in `cat add2.txt`; do qrencode -o  -S $x.png $x; done

it does a single file named -S


ive tried

$-.png

$'-'.png

for x in `cat add2.txt`; do qrencode -o -S  $x.png $x; done

for x in `cat add2.txt`; do qrencode -S $x; done



I dont understand "If -S is given" trying to get the -01 -02 -03 ext

the -S needs to come before the -o and you need to remove the .png from the filename.
altho I don't understand why do you want that option, given that the files will already be numbered.
legendary
Activity: 1022
Merit: 1000
December 18, 2012, 07:55:10 AM
#12
i=1;for x in `cat add2.txt`; do qrencode -o $i.png $x; ((i++); done
member
Activity: 102
Merit: 10
December 18, 2012, 07:19:28 AM
#11
so, ran into a bit of a snag


I need to number the files in the order they are processed.

-o FILENAME  write PNG image to FILENAME. If '-' is specified, the result
               will be output to standard output. If -S is given, structured
               symbols are written to FILENAME-01.png, FILENAME-02.png, ...;
               if specified, remove a trailing '.png' from FILENAME.



if I try

for x in `cat add2.txt`; do qrencode -o  -S $x.png $x; done

it does a single file named -S


ive tried

$-.png

$'-'.png

for x in `cat add2.txt`; do qrencode -o -S  $x.png $x; done

for x in `cat add2.txt`; do qrencode -S $x; done



I dont understand "If -S is given" trying to get the -01 -02 -03 ext
legendary
Activity: 1022
Merit: 1000
December 18, 2012, 06:08:35 AM
#10
you're not doing what I said.

copy and paste:
Quote
for x in `cat add2.txt`; do qrencode -o $x.png $x; done

EDIT: I can't see your dropbox file
member
Activity: 102
Merit: 10
December 18, 2012, 05:56:19 AM
#9
qrencode -o test.png add2.txt

returns a singular file png of "add2.txt"



qrencode -o test.png $add2.txt


returns a singular file png of "add2"




qrencode -o $test.png $add2.txt

does nothing


What am I missing?


my txt file looks like this

https://dl-web.dropbox.com/get/add2.txt?w=79ca2f0c


On linux you can use qrencode in a script to do this

I have Ubuntu running on VMware.

can you show an example?

for a simple addr list do not even need a script

for x in `cat addrlist.txt`; do qrencode -o $x.png $x; done

EDIT: you need install qrencode first Wink ( apt-get install qrencode )
legendary
Activity: 1022
Merit: 1000
December 18, 2012, 05:41:59 AM
#8
On linux you can use qrencode in a script to do this

I have Ubuntu running on VMware.

can you show an example?

for a simple addr list do not even need a script

for x in `cat addrlist.txt`; do qrencode -o $x.png $x; done

EDIT: you need install qrencode first Wink ( apt-get install qrencode )
You can use -s to specify the size of dot
member
Activity: 102
Merit: 10
December 18, 2012, 05:33:04 AM
#7
On linux you can use qrencode in a script to do this

I have Ubuntu running on VMware.

can you show an example?
member
Activity: 102
Merit: 10
December 18, 2012, 05:31:41 AM
#6
http://www.aurora3dsoftware.com/buy.html

is only 20$

still looking...
legendary
Activity: 1022
Merit: 1000
December 18, 2012, 05:26:27 AM
#5
On linux you can use qrencode in a script to do this
member
Activity: 102
Merit: 10
December 18, 2012, 05:24:08 AM
#4
Think I found a script but im not sure how to use it.

https://dl-web.dropbox.com/get/generate.py?w=1d77d447
member
Activity: 102
Merit: 10
December 18, 2012, 05:20:09 AM
#3
"The QR4 Desktop QR Code Software package for office use costs 1489 €"

really? some one actually paid them that?
member
Activity: 73
Merit: 10
www.bitex.co.uk - A new begining in cryptotech
December 18, 2012, 05:17:12 AM
#2
Is this what your looking for:

http://blog.qr4.nl/Batch-QR-Code.aspx
member
Activity: 102
Merit: 10
December 18, 2012, 05:13:04 AM
#1
I've used the Google QR code generator before.

But I want to run a script that takes a list of address's (excel or csv) and turns them into hundreds of individual .jpg files.

ware do I start?
Jump to: