IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Page 2 of 2 < 1 2
Topic Options
#37102 - 09/04/11 10:33 AM Re: QR Code for VCard [Re: ]
cube Offline
OL User

Registered: 09/03/10
Posts: 76
I have tested the below vcard in version 7.3, however when I select all the content of the vcard from the data pane, right click, drag and drop, select barcode, then change the properties of the barcode to QR ; barcode mode : Alpha, it only shows QR code for the first line and ignores the rest, I have tried this with ascii and line printer emulations, with the same result i.e. it takes only the first line of the vcard from the data pane.

Any ideas?

Thanks!

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
_________________________
There is no Knowledge that is not Power - MK

Top
#37117 - 09/06/11 08:09 PM Re: QR Code for VCard [Re: cube]
Eric Lachance
Unregistered


Hi Cube,

I'm not exactly sure why that would be. I'm able to reproduce your issue, but with the added issue that I need to put the barcode mode to "Full", or the ; causes an 'illegal character' message to appear.

What you can do as a workaround is to check "Custom Data Selection" and then put in a series of data selections - one line of string for each of the lines you want to add to the code. It's a little longer to setup, but once it's done there should be no difference in the end result. Just hit "Enter" at the end of the line to create a new one, in the Custom data selection box.

Top
#37158 - 09/11/11 02:27 AM Re: QR Code for VCard [Re: ]
cube Offline
OL User

Registered: 09/03/10
Posts: 76
Hi Eric,

Thanks for your response. I have tried the 'Custom data selection' method and am able to generate the QR code. However, when read by a QR reader from my iphone, it does not recognize the data read as vaid vCard format.

Upon visually inspecting the data read by the QR reader, I see that there are no CR/LF at the end of each line which is causing the vcard to be become invalid. Upon reading further wrt to Vcard format, the CR/LF at the end of each line are a part of the vcard standard and are necessary.

Is there a way to automatically add line feeds at the end of each vcard line?
_________________________
There is no Knowledge that is not Power - MK

Top
#37162 - 09/12/11 09:08 AM Re: QR Code for VCard [Re: cube]
Eric Lachance
Unregistered


Hi cube,

You're correct. It's odd, I was sure it was possible to read these QR Codes automatically, I guess I was wrong.

In any case, if you add "char(10)" at the end of each line that will add an LF, which should be sufficient (it is for the QR Droid application on my smartphone anyway). If not, char(15) is CR.

Example:
Code:
='BEGIN:VCARD' + char(10)
='VERSION:3.0' + char(10)
='N:Gump;Forrest' + char(10)
='FN:Forrest Gump' + char(10)
='ORG:Bubba Gump Shrimp Co.' + char(10)
='TITLE:Shrimp Man' + char(10)
='Etc, etc'

Top
#37189 - 09/14/11 08:36 AM Re: QR Code for VCard [Re: ]
cube Offline
OL User

Registered: 09/03/10
Posts: 76
Hi Eric,

Great!, why didn't I think of that!. Thanks for the workaround.

I guess this would be fixed in the next planet press release.

Thanks again.
_________________________
There is no Knowledge that is not Power - MK

Top
Page 2 of 2 < 1 2