

ID Card Printing Under Linux? 29
peng1can asks: "I'm searching for a way to print ID cards in a an LDAP and preferably open source environment. We use LDAP heavily, and ideally we want to be able to pull user information and photos from LDAP and print onto ID Cards. Thus far, I've come up against two roadblocks: 1) Trying to make the ID station work under linux would be great, especially if I can script gphoto. But, I can't find an ID-card printer that doesn't supply windows-only drivers. The closest thing I can find is that Eltron provides a programming manual for their printers, but I have no knowledge of how to write a CUPS/LPRng printer driver. 2) If we had to resort to a Win-based workstation, I can find no method for accessing LDAP in a way that would work with an ID card system without spending thousands of dollars per station on an LDAP/ODBC gateway. I could try to write something in PERL for Win32, but can't find a way to control a digital camera that way. Any suggestions would be greatly appreciated."
Try old DataCard printers (Score:3, Informative)
If you do go looking for DataCard printers, the best source is to scan eBay periodically -- the dealers which specialize in older printers will charge an arm, leg, and probably a few other things as well. Stay far away from them, and stick to auctions and such.
Hope this helps you out!
Laminate (Score:2, Insightful)
Buy some kind of cheap color printer that works under Linux (most mainstream printers will probably work).
Buy a pair of scissors.
Buy a lamination machine with some ID sized laminating sleeves.
Print. Cut. Laminate.
I don't know how often you'll be making IDs, but if you're willing to buy one of those id making machines, it's probably still cheaper to pay some student a cheap wage to handle the paper cutting and laminating than it would be to have the machine do it for you.
Wow (Score:1, Flamebait)
Re:Laminate (Score:2)
Depends I suppose how many you are printing...
How much would it cost you to hire a printer driver programmer to knock one up for you?
Re:Laminate (Score:2, Informative)
Thanks for the suggestion, though.
Keycards (Score:2)
Neither will work with a cheapo lamination system.
Re:Keycards (Score:2)
But vastly more insecure. Anyone can read the ID off your card and retransmit it. There is no encryption in the communication protocol. At least magstripes can only be read at extremely close range.
Misses the point of a badge printer (Score:2)
OLEDB and LDAP (Score:1)
ie, you can do this:
'SELECT attribute1, attribute2 FROM "LDAP://Servern:port" WHERE blah = "Person" AND Class= "user"'
You can use SQL dialect or LDAP type dialect.
You don't have to get into hooking up your LDAP servers into Active Directory. 3 years ago I was using OLEDB to query Netscape Enterprise LDAP servers.Works the same as if you're querying Active Directory.
Also, with SQL 7x and greater, you can 'link' to a LDAP server, and then hit it like an other SQL Data source.
You pretty much have to pay the MS tax... (Score:2, Insightful)
I'm curious: what's your reason for wanting to control the digital camera with a computer? Personally I would just mount it on a tripod and take the shot manually.
The only reason I can think of (that you might computer-control) is for focusing, that is, through an image on a monitor rather than squinting at the digicam's 1.8" LCD. But digicams don't have that ability anyway (not that I know of, unless you switch into video mode). For that, what my school did at its ID card printing center was to get some DV video cameras (with stills capability) and fed live the video live into computers. Seems overkill to me, frankly.
Also, I'm not sure what your requirements are exactly, but LDAP access is QED (quite easily done) with the right modules [cpan.org].
Re:You pretty much have to pay the MS tax... (Score:2)
Actually, this could be interesting... (Score:2)
BTW, this is a "free idea" for those wanting to go into business on it:
Imagine that you had this "kiosk" type device, perhaps set up in a small room. The device has a "fixed focus" (ie 3ft to infinity), high resolution digital camera on a controllable pan/tilt mount. Imagine that it is all in a nice "self contained" housing, with only the camera facing the wall, and maybe a small monitor or display of some sort on the kiosk.
At the wall, which is painted white, is a spot aligned with the camera, and on the floor is a "pad", also aligned, that has two "feet marks". The pad is a pressure sensitive switch.
Need to make an ID card for the user?
Tell him/her to go into the room, and stand on the "feet marks", facing the camera. The computer would "aim" the camera using the pan/tilt mount to align the head and shoulders area of the person up with a "bit mask", until the majority filled the bit mask, signifying that the image was mostly centered (maybe have lights on the front of the camera kiosk, or display on the monitor - red for alignment, yellow for get ready, green for taking picture). The picture would then be taken, and the person would exit the room - the image would go into a database (card ID, picture), whoever was issuing the card would enter in other info as needed (guest, temporary worker, permanent worker, name, age, etc), then the card would be printed with the picture and whatever other info (for mag stripe, etc) and given to the individual.
It would be an almost completely automated, turnkey ID card generation system. I bet if you made the kiosk system slick enough, you could sell it for big $$$.
Actually, considering how easy this sounds - I bet it has already been done...
PPD files (Score:3, Informative)
easy (Score:2)
2) Release them under the GPL.
3) Make your ID cards.
Other apps (Score:1)
Re:Other apps (Score:1)
LDAP and ODBC (Score:1)
I've used access to dump data from a foxpro database (Wind2 FMS) into and postgresql database so that uses could do reports. All you would need to do is to use some perl/java/etc to dump the data from your LDAP source into your database. Then use the ODBC drivers to pull data into the ID app. It's kind of a kludge but it should work no problems, but not as nice as being able to pull them in directly
Normal Postscript or FX 80 printers (Score:1)
Eltron printers would work just fine (Score:1)
They simply take clear text commands via parallel or serial ports that can be scripted easily in your favorite dialect. I actually wrote my stuff in C, sending the commands out the serial port. I'm sure there are other interfaces too, but parallel and serial are so simple.
No Windows drivers are needed. No CUPS/LPRng drivers are needed.