#36103 - 05/18/11 06:29 AM
QR Code for VCard
|
OL User
Registered: 09/03/10
Posts: 76
|
Hello,
I am trying to represent Vcard information using a QR Code in Planet Press Design.
Following is the sample VCard data
BEGIN:VCARD VERSION:3.0 N:Gump;Forrest FN:Forrest Gump ORG:Bubba Gump Shrimp Co. TITLE:Shrimp Man PHOTO;VALUE=URL;TYPE=GIF:http://www.example.com/dir_photos/my_photo.gif TEL;TYPE=WORK,VOICE:(111) 555-1212 TEL;TYPE=HOME,VOICE:(404) 555-1212 ADR;TYPE=WORK:;;100 Waters Edge;Baytown;LA;30314;United States of America LABEL;TYPE=WORK:100 Waters EdgeBaytown, LA 30314 United States of America ADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America LABEL;TYPE=HOME:42 Plantation St.Baytown, LA 30314 United States of America EMAIL;TYPE=PREF,INTERNET:forrestgump@example.com REV:20080424T195243Z END:VCARD
The above vcard data is being used from a sample data file in ascii emulation.
I get the following error when in the data properties of the QR code I check custom data selection and then select the entire contents of the vcard (as above).
0 - 13:45:39 PTK0197 : Barcode error: Illegal character in code. Warning
I figured that there are charachters like - ; ( ) = @ that are triggering the illegal character error. Is there a way to escape these characters or handle them in some way so that the error is eliminated? or am I doing this the wrong way?
Thanks
_________________________
There is no Knowledge that is not Power - MK
|
Top
|
|
|
|
#36111 - 05/18/11 02:05 PM
Re: QR Code for VCard
[Re: cube]
|
OL Expert
Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
|
cube,
Our QR Code currently supports the numeric, alphanumeric and kanji encodings, but does not include the Binary includes, which is required for characters like the ones you mentionned. Alphanumeric supports letters and numbers, but not other symbols.
You could always use stringreplace to take out the invalid characters, but in the case of email addresses, you'll end up losing information, so this may not be a solution. Unfortunately, I don't think there really is anything we can do about this, since Binary encoding support is not included.
Regards, Raphaël Lalonde Lefebvre
|
Top
|
|
|
|
#36119 - 05/19/11 01:04 AM
Re: QR Code for VCard
[Re: Raphael Lalonde Lefebvre]
|
OL User
Registered: 09/03/10
Posts: 76
|
Hi Raphaël,
Thanks for the information. I understand the limitation.
Is it possible to accomplish the vcard QR Code in Print Shop Mail? I mean does Print Shop mail support binary encoding?
Regards
_________________________
There is no Knowledge that is not Power - MK
|
Top
|
|
|
|
#36123 - 05/19/11 10:59 AM
Re: QR Code for VCard
[Re: cube]
|
OL Expert
Registered: 03/06/03
Posts: 713
Loc: Swindon, England
|
One possibility is to go to this website Barcode writer and use the code there to generate your barcode. I mention this just in case you want to try it - it is not straightforward. Running the postscript barcode functions from Planet press is not easy but it can be done. The QRcode generator appears to support all the characters in your example, and its printer based.
|
Top
|
|
|
|
#36304 - 06/09/11 05:30 AM
Re: QR Code for VCard
[Re: stuartg]
|
OL Newbie
Registered: 05/20/10
Posts: 5
Loc: Gloucester England
|
Hi Can anyone confirm whether Print Shop Mail 7 does or does not support binary encoding for QR Codes? I have a client that wants to set up pURL's but the code would require the use of = and ? which will not work in Planet Press. Regards John
|
Top
|
|
|
|
#36307 - 06/09/11 09:38 AM
Re: QR Code for VCard
[Re: John Orchard]
|
Eric Lachance
Unregistered
|
Hi John, I just tried putting the following in an expression for a QR Code in PrintShop Mail 7.1. It generates the correct QR code which 2 different apps on my Android phone (Barcode Reader and QR Droid) can read without a hitch. This is a MECARD, not a VCARD, but the supported characters are essentially the same so there shouldn't be a problem. "MECARD:N:John;TEL:5145551234;URL:http://www.google.ca/search?q=qr+code+zxing;EMAIL:john@mycompany.com;ADR:123 Avenue Street;NOTE:And this is a memo field with )(*&^%$#@!_+;;" Since QR Codes are becoming increasingly popular, I'll make sure that a feature request has been entered for future versions of PlanetPress.
Edited by Eric Lachance (06/09/11 09:39 AM) Edit Reason: forgot the expression.
|
Top
|
|
|
|
#36333 - 06/11/11 07:44 PM
Re: QR Code for VCard
[Re: ]
|
OL Newbie
Registered: 06/11/11
Posts: 1
|
I have found http://orangeqr.com to be exceptional for creating over 7 different kinds of QR codes and being able to track them.
|
Top
|
|
|
|
#36415 - 06/22/11 11:33 AM
Re: QR Code for VCard
[Re: Rizzo]
|
Eric Lachance
Unregistered
|
Please note that in PlanetPress Design 7.3 (which will come out soon), QR codes will now accept 3 new characters: the semicolon (;), the comma (,) and the at sign (@). With these three new characters, the issue in this thread should be resolved.
|
Top
|
|
|
|
#36900 - 08/12/11 04:28 PM
Re: QR Code for VCard
[Re: ]
|
Thomas D. Greer
Unregistered
|
What about the characters necessary for a URL?
|
Top
|
|
|
|
#36901 - 08/12/11 04:33 PM
Re: QR Code for VCard
[Re: ]
|
Eric Lachance
Unregistered
|
Hi Thomas,
Actually the characters that make up a URL were already previously supported. That includes the colon (:), forward slash (/), question mark (?), percent sign(%), etc.
The following URL works perfectly well in the QR Code (at least in 7.3, but I'm fairly certain in any version of 7): http://www.google.com/#sclient=psy&hl=en&site=&source=hp&q=Test&pbx=1&oq=Test&aq=f&aqi=g5&aql=1&gs_sm=e&gs_upl=1624l1884l0l2279l4l3l0l0l0l0l177l414l1.2l3l0&bav=on.2,or.r_gc.r_pw.r_cp.&fp=fde523c3cbd82b69&biw=1280&bih=836
|
Top
|
|
|
|
|
|