Serial Barcode/QR code

Here everybody can post his problems with PhotoLine
Paul
Mitglied
Beiträge: 235
Registriert: Fr 19 Dez 2008 11:36

Serial Barcode/QR code

Beitrag von Paul »

Hi,

Does anyone have an example or small tutorial how I can generate a document with 500 QR-codes as tickets, preferably with ascending numbers?
It seems possible, but I can't find it in the handbook.

Thanks,

- Paul
Benutzeravatar
Gerhard Huber
Entwickler
Entwickler
Beiträge: 4143
Registriert: Mo 18 Nov 2002 15:30
Wohnort: Bad Gögging

Re: Serial Barcode/QR code

Beitrag von Gerhard Huber »

Paul hat geschrieben: Do 06 Sep 2018 11:49Does anyone have an example or small tutorial how I can generate a document with 500 QR-codes as tickets, preferably with ascending numbers? It seems possible, but I can't find it in the handbook.
It's an undocumented feature, so there is no help in the manual.
You have to create a document first, with as many pages as you want to get tickets - 500 pages in your example.
The syntax in the barcode panel is
{p:13}text{##} or {#3}
where 13 is the start number.
{##}creates a number with 2 digits {#3} with 3 digits.
my example would create
text13 or 013
on the first page
text14 or 014
on the second and so on.
Paul
Mitglied
Beiträge: 235
Registriert: Fr 19 Dez 2008 11:36

Re: Serial Barcode/QR code

Beitrag von Paul »

Great, thanks!
With a little careful editing I can place all the codes in the position that I want and with a virtual background layer do the rest of the design on the tickets.

- Paul
Paul
Mitglied
Beiträge: 235
Registriert: Fr 19 Dez 2008 11:36

Re: Serial Barcode/QR code

Beitrag von Paul »

Now I think of it: would it be possible to set the position (x,y) of the QR code when creating it? For one QR code it's not important, but for a serial document it would make things very much easier, e.g. when placing all the codes in the right lower corner of a ticket.
Assigning a colour would be nice, too...

- Paul
Benutzeravatar
Gerhard Huber
Entwickler
Entwickler
Beiträge: 4143
Registriert: Mo 18 Nov 2002 15:30
Wohnort: Bad Gögging

Re: Serial Barcode/QR code

Beitrag von Gerhard Huber »

You can setup the position of the Barcode:
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Paul
Mitglied
Beiträge: 235
Registriert: Fr 19 Dez 2008 11:36

Re: Serial Barcode/QR code

Beitrag von Paul »

Gee, sorry, I missed that one. I was too preoccupied with the code...
- Paul