BenVang Posted April 18, 2021 Posted April 18, 2021 I am producing Raffle Tickets for clubs. There are 5 tickets on an A4 page and each ticket is sequentially numbered, with the number being shown twice - once on the ticket and once on the ticket tab. The numbering sequence in this case starts at 2021-001. Is there a way to have the numbering automatically insert and advance in the two fields on each ticket, and continue on as many pages as needed? At the moment I dublicate each page of 5 tickets and manually increase the number. Thanks, Ben Quote
walt.farrell Posted April 18, 2021 Posted April 18, 2021 Should be easy to do with Publisher's Data Merge function and an xlsx file containing all the numbers. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5
MojoTojo Posted April 18, 2021 Posted April 18, 2021 I'm designing multiple labels which we will print on a letter sized paper and cut up. One paper will have around 30 or so labels and each label needs to have a unique number serialized from 00001 and onward. Quote
carl123 Posted April 18, 2021 Posted April 18, 2021 You need the Data Merge function but that is only available in Affinity Publisher Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.
AlanPickup Posted April 18, 2021 Posted April 18, 2021 A free program I use for printing raffle tickets for the charities I do work FOC for may help you get what you are after https://www.raffleprinter.com/cardprinter/ Quote Alan Pickup Windows 11 Home all Affinity suite of Apps PC and Gigabyte Laptop 16gb Ram and Nvidia GTX1660 Super on each.
Andy05 Posted April 18, 2021 Posted April 18, 2021 You can create a single label in Publisher and use the page-number feature on that. Change their style to one with leading zeroes. Create as many pages as you need labels. When printing, use the N-up feature in order to print multiple pages onto one page. You might have to adjust the original label's size so it includes the margins needed for getting placed correctly onto pre-cut label printing papers. loukash 1 Quote »There are three responses to a piece of design: yes, no, and wow. Wow is the one to aim for.« Milton Glaser (1929 - 2020)
loukash Posted April 18, 2021 Posted April 18, 2021 1 hour ago, Andy05 said: When printing, use the N-up feature in order to print multiple pages onto one page. Or you can work with nested artboards, sharing an afdesign document between Designer and Publisher for whichever specific tools you need. Similar to what I've demoed here: Quote MacBookAir 15": MacOS Sonoma > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 18 > Affinity v2
Andy05 Posted April 18, 2021 Posted April 18, 2021 14 minutes ago, loukash said: Or you can work with nested artboards, True, but it might get a bit confusing, if you try that with 100 or 1000 labels. Quote »There are three responses to a piece of design: yes, no, and wow. Wow is the one to aim for.« Milton Glaser (1929 - 2020)
v_kyr Posted April 18, 2021 Posted April 18, 2021 10 hours ago, MojoTojo said: I'm designing multiple labels which we will print on a letter sized paper and cut up. One paper will have around 30 or so labels and each label needs to have a unique number serialized from 00001 and onward. Without Publisher and it's data merge, one would have to export the labels doc in an outside of Affinity editable format (as SVG XML text format), where each label needs to have some pseudo placeholder text for the number then (as a unique layer name/id). So the labels inside the SVG file could be edited/altered/manipulated by some script or little program then. One would read in the SVG file, inititialize a counter variable for incrementation accordingly and iterate (with a for loop etc.) over the placeholder text occurences, where each placeholder occurence would be replaced by the incremented counter variable (with left padded zeros) as text. ### --- python sample for counter & autoincrement --- def counter(start, interval): count = start while True: yield count count += interval count = counter(start=1, interval=1) def autoIncrement(): return str(count.next()).zfill(5) ### -------- test increment -------- >> print autoIncrement() 00001 >> print autoIncrement() 00002 >> print autoIncrement() 00003 >> print autoIncrement() 00004 >> ... Afterwards when the SVG file(s) have been altered you would reopen them in Affinity, check and print them. Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2
h_d Posted April 18, 2021 Posted April 18, 2021 If you're on macOS I can drop you an AppleScript that will generate a .csv for the ticket numbers (any starting number, any number of tickets) which could be used as the basis of a data merge. Quote Affinity Photo 2.6.3, Affinity Designer 2.6.3 Affinity Publisher 2.6.3, Mac OSX 15.5, 2018 MacBook Pro 15" Intel.
BenVang Posted April 19, 2021 Author Posted April 19, 2021 On 4/18/2021 at 11:06 AM, walt.farrell said: Should be easy to do with Publisher's Data Merge function and an xlsx file containing all the numbers. I thought of that, but seems to be just as much work as individually numbering. 21 hours ago, Andy05 said: You can create a single label in Publisher and use the page-number feature on that. Change their style to one with leading zeroes. Create as many pages as you need labels. When printing, use the N-up feature in order to print multiple pages onto one page. You might have to adjust the original label's size so it includes the margins needed for getting placed correctly onto pre-cut label printing papers. I didn't think of that, but have actually used this method for printing numbered labels with another program. Will give that a fly in Publisher. Thanks. Quote
bananafrenchtoast Posted January 26, 2022 Posted January 26, 2022 On 4/17/2021 at 9:06 PM, walt.farrell said: Should be easy to do with Publisher's Data Merge function and an xlsx file containing all the numbers. What are the steps to do this on AD publisher's Data merge? Quote
Komatös Posted January 27, 2022 Posted January 27, 2022 Hello @bananafrenchtoast and welcome to the forums. AD stand here for Affinity Designer. But back to your question, There are many videos on Youtube that describe the data merge function of Affinity Publisher in detail. A very detailed video is this one: James Mcilwraith 1 Quote MAC mini M4 | MacOS Sequoia 15.5 | 16 GB RAM | 256 GB SSD AMD Ryzen 7 5700X | Sapphire Nitro+ RX 9060 XT 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.4351) Windows 11 Pro on VMWare Virtual Machine (on Mac) Affinity Suite V 2.6.3 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF No backup, no pity.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.