Bitcoin Forum
May 24, 2024, 04:00:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Batch QR codes?  (Read 2122 times)
WorldOfBitcoin (OP)
Member
**
Offline Offline

Activity: 102
Merit: 10



View Profile
December 18, 2012, 10: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?
Aldur1
Member
**
Offline Offline

Activity: 73
Merit: 10


www.bitex.co.uk - A new begining in cryptotech


View Profile WWW
December 18, 2012, 10:17:12 AM
 #2

Is this what your looking for:

http://blog.qr4.nl/Batch-QR-Code.aspx

Donations: 1PX1uRHtWzYLBdbbRm2nbhqS3H4QcxqDkD
Bitcoin OTC WoT: http://bitcoin-otc.com/viewratingdetail.php?nick=aldur1
https://www.facebook.com/BitEx.Cryptocurrency.Solutions
https://twitter.com/bitEX_Ltd
http://instagram.com/bitex_ltd
http://www.linkedin.com/company/bitex-ltd
<html>
<a href="http://bitcoin.stackexchange.com/users/13963/hafnero">
<img src="http://bitcoin.stackexchange.com/users/flair/13963.png" width="208" height="58" alt="profile for hafnero at Bitcoin Stack Exchange, Q&amp;A for Bitcoin crypto-currency enthusiasts" title="profile for hafnero at Bitcoin Stack Exchange, Q&amp;A for Bitcoin crypto-currency enthusiasts">
</a>
</html>
WorldOfBitcoin (OP)
Member
**
Offline Offline

Activity: 102
Merit: 10



View Profile
December 18, 2012, 10:20:09 AM
 #3

"The QR4 Desktop QR Code Software package for office use costs 1489 €"

really? some one actually paid them that?
WorldOfBitcoin (OP)
Member
**
Offline Offline

Activity: 102
Merit: 10



View Profile
December 18, 2012, 10: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
tbcoin
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000



View Profile WWW
December 18, 2012, 10:26:27 AM
 #5

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

Sorry for my bad english Wink
Bitcoin card for deposit and payment + Little POS
Donations:1N65efiNUhH6sEQg7Z6oUC76kJS9Yhevyf
WorldOfBitcoin (OP)
Member
**
Offline Offline

Activity: 102
Merit: 10



View Profile
December 18, 2012, 10:31:41 AM
 #6

http://www.aurora3dsoftware.com/buy.html

is only 20$

still looking...
WorldOfBitcoin (OP)
Member
**
Offline Offline

Activity: 102
Merit: 10



View Profile
December 18, 2012, 10: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?
tbcoin
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000



View Profile WWW
December 18, 2012, 10:41:59 AM
Last edit: December 18, 2012, 11:16:02 AM by tbcoin
 #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

Sorry for my bad english Wink
Bitcoin card for deposit and payment + Little POS
Donations:1N65efiNUhH6sEQg7Z6oUC76kJS9Yhevyf
WorldOfBitcoin (OP)
Member
**
Offline Offline

Activity: 102
Merit: 10



View Profile
December 18, 2012, 10: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 )
tbcoin
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000



View Profile WWW
December 18, 2012, 11: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

Sorry for my bad english Wink
Bitcoin card for deposit and payment + Little POS
Donations:1N65efiNUhH6sEQg7Z6oUC76kJS9Yhevyf
WorldOfBitcoin (OP)
Member
**
Offline Offline

Activity: 102
Merit: 10



View Profile
December 18, 2012, 12:19:28 PM
 #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 <this outputs a single file named himbhs>



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

Activity: 1022
Merit: 1000



View Profile WWW
December 18, 2012, 12:55:10 PM
 #12

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

Sorry for my bad english Wink
Bitcoin card for deposit and payment + Little POS
Donations:1N65efiNUhH6sEQg7Z6oUC76kJS9Yhevyf
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
December 18, 2012, 01:17:26 PM
 #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 <this outputs a single file named himbhs>



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.
WorldOfBitcoin (OP)
Member
**
Offline Offline

Activity: 102
Merit: 10



View Profile
December 18, 2012, 01:30:43 PM
 #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
 
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
December 18, 2012, 01:54:53 PM
 #15

Try this one

Code:
i=1;for x in `cat add2.txt`; do qrencode -S -o $i $x; ((i++)); done
tbcoin
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000



View Profile WWW
December 18, 2012, 01:58:07 PM
 #16

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

this works, why you change it?

Sorry for my bad english Wink
Bitcoin card for deposit and payment + Little POS
Donations:1N65efiNUhH6sEQg7Z6oUC76kJS9Yhevyf
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
December 18, 2012, 02:00:18 PM
 #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
tbcoin
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000



View Profile WWW
December 18, 2012, 02:02:17 PM
 #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

Sorry for my bad english Wink
Bitcoin card for deposit and payment + Little POS
Donations:1N65efiNUhH6sEQg7Z6oUC76kJS9Yhevyf
cindy313
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
May 27, 2014, 09:07:49 AM
 #19

hey, i just found this qr code in excel
where you can also found qr code reader
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!