Serial Barcode/QR code

Here everybody can post his problems with PhotoLine
Paul
Mitglied
Posts: 148
Joined: Fri 19 Dec 2008 11:36

Serial Barcode/QR code

Post by Paul » Thu 06 Sep 2018 11:49

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

User avatar
Gerhard Huber
Entwickler
Entwickler
Posts: 3557
Joined: Mon 18 Nov 2002 15:30
Location: Bad Gögging

Re: Serial Barcode/QR code

Post by Gerhard Huber » Thu 06 Sep 2018 14:48

Paul wrote:
Thu 06 Sep 2018 11:49
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.
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
Posts: 148
Joined: Fri 19 Dec 2008 11:36

Re: Serial Barcode/QR code

Post by Paul » Thu 06 Sep 2018 15:24

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
Posts: 148
Joined: Fri 19 Dec 2008 11:36

Re: Serial Barcode/QR code

Post by Paul » Fri 07 Sep 2018 06:59

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

User avatar
Gerhard Huber
Entwickler
Entwickler
Posts: 3557
Joined: Mon 18 Nov 2002 15:30
Location: Bad Gögging

Re: Serial Barcode/QR code

Post by Gerhard Huber » Fri 07 Sep 2018 07:50

You can setup the position of the Barcode:
You do not have the required permissions to view the files attached to this post.

Paul
Mitglied
Posts: 148
Joined: Fri 19 Dec 2008 11:36

Re: Serial Barcode/QR code

Post by Paul » Fri 07 Sep 2018 08:10

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