WhatTheyThink Acquires PrepressForums.com, Releases New Version of PrintPlanet

This site is a static archive, you are free to search, and view but no new posts or registrations are allowed.

Please visit printplanet.com for the new discussion groups

Prepress Forums  

Go Back   Prepress Forums > General > General Prepress
Googlemap ME Members List Calendar Search Today's Posts Mark Forums Read

» Site Navigation
 > FAQ
» Skyscraper

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-06-2007, 02:52 PM
cameron cameron is offline
Junior Member
 
Join Date: Jan 2006
Posts: 11
alphanumeric number generator

I need to generate 5 million unique codes for a text to win job.
has anyone done this? and how did you do it?

cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-07-2007, 03:49 AM
Jezza's Avatar
Jezza Jezza is offline
Moderator
 
Join Date: Sep 2005
Location: South London
Posts: 1,279
Without any more info to go on, I would imagine this would be accomplished on press. Any one else?
__________________
http://nergalicious.wordpress.com/

Quote:
one sick prepress mofo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-07-2007, 07:35 AM
seetomtype's Avatar
seetomtype seetomtype is offline
Senior Member
 
Join Date: Jan 2005
Location: Seattle, WA
Posts: 1,247
Ya, you could definately do it on press. I'd get a tech to do a PM first though.
__________________
MacPro Dual Quad 3.0 Ghz 4 Gb RAM OS X 10.4.10
Pent D 2.8 Ghz 2 Gb RAM Win XP
Harlequin SW v5.3 | Eskofot DPX
Fiery EX2000d | DC 2060
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-07-2007, 08:11 AM
Dannigd Dannigd is offline
Senior Member
 
Join Date: Jan 2005
Posts: 132
We do scratch offs all the time. My husband writes a code and generates data for it. We never do it on the press. Give me more information and I can check with him on exactly how he would do it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-07-2007, 01:37 PM
cameron cameron is offline
Junior Member
 
Join Date: Jan 2006
Posts: 11
the codes have to be unique alphanumeric like this sort of thing
M6YKX305U1EU
T44GR17DB7G0
X9THPVTDKY72
Y7743AGKPSMO
4QAMDZNNXP0U

they then get digitally overprinted on collect card that the public get in pagkaging then the sms or enter on the web to win prizes and earn points
i can generate the codes but i then need to scan the code to remove letters and numbers that the public can get wrong on the entry procces ie 1 I G 6 and things like that, also need to scan all code to make sure that there is no dups

cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-07-2007, 01:44 PM
Jezza's Avatar
Jezza Jezza is offline
Moderator
 
Join Date: Sep 2005
Location: South London
Posts: 1,279
Hmm, so what we're looking at is some kind of variable data, a bit like a mail merge type thing in principle. So it could be accomplished via an applescript and/or XML.

I know what's possible but not sure how to accomplish it. Over to someone else I think
__________________
http://nergalicious.wordpress.com/

Quote:
one sick prepress mofo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-07-2007, 02:00 PM
cameron cameron is offline
Junior Member
 
Join Date: Jan 2006
Posts: 11
thanks
is looks simple but, it's the add ons that add to the fun
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-08-2007, 04:42 AM
afrazier afrazier is offline
Junior Member
 
Join Date: Feb 2006
Posts: 7
I'm dannigd's husband. (Hi honey! )

Most of the time for jobs like this I'll be tapped to write a program that generates the codes. However, one route you could take would be to use a password generator, like APG. It's got options to generate password using restricted character sets. To de-dupe, pipe the output through sort and uniq (just generate enough extras to ensure that after de-duping you have enough codes), then re-shuffle (if desired).

If you eliminate 1IG60OQ2Z5S, that's 25 characters available per position. You'd only need 5 characters to generate 5 million codes. 6 characters allows for 244 million codes, which should be enough to prevent guessing -- you'd be using just over 2% of the available space.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 05-08-2007, 06:59 AM
Jezza's Avatar
Jezza Jezza is offline
Moderator
 
Join Date: Sep 2005
Location: South London
Posts: 1,279
That's sme maths!
__________________
http://nergalicious.wordpress.com/

Quote:
one sick prepress mofo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 05-08-2007, 07:37 AM
born2print's Avatar
born2print born2print is offline
Senior Member
 
Join Date: Feb 2007
Location: On that OTHER crap forum, I guess...
Posts: 871
Quote:
Originally Posted by afrazier
I'm dannigd's husband. (Hi honey! )

Most of the time for jobs like this I'll be tapped to write a program that generates the codes. However, one route you could take would be to use a password generator, like APG. It's got options to generate password using restricted character sets. To de-dupe, pipe the output through sort and uniq (just generate enough extras to ensure that after de-duping you have enough codes), then re-shuffle (if desired).

If you eliminate 1IG60OQ2Z5S, that's 25 characters available per position. You'd only need 5 characters to generate 5 million codes. 6 characters allows for 244 million codes, which should be enough to prevent guessing -- you'd be using just over 2% of the available space.
Brilliant!
__________________
"I have come to kick ass and chew bubblegum... and I'm all out of bubblegum" -Rowdy Roddy Piper

Prinergy4
Trendsetter & Spectrum
Epson 9800s
Iris 43wides
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spreads and number sequences Ddog Tips/Tricks/Knowledgebase 8 12-29-2005 02:42 AM
Barcode Generator rhctp General Prepress 10 08-01-2005 11:22 AM
number raffle tickets rezin8 Tips/Tricks/Knowledgebase 12 07-14-2005 12:10 PM
Duplicate solid generator?? matmac General Prepress 3 04-15-2004 01:46 PM
number keyboard dimitri Indesign 3 10-23-2003 07:06 AM


All times are GMT -8. The time now is 04:24 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
Powered by vBadvanced CMPS v3.0 RC1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40