EventSpark Home

Badge Content

Now that you have saved your badge record after configuring the general information, size and print areas, you are now ready to configure the content of the badge.

For this example we will continue with our example from the previous step of setting up a single sided PVC Card Magnet Badge.

Step 1:

If you are pre-printing badges with your design and branding (preferred method), you can ignore Step 1 and Step 2.

If you are printing the whole badge including any background image/ logo or branding on the day of the event with a Full-Color PVC Card Printer, for example, you can add the branding images to a folder on the print server device (The computer in which the print server is installed). The folder is called "Images" which ca be found in the "EventSpark" folder found in the C: Drive ((C:) Local Disk)

These images must preferably be a to-scale PNG file type image. This means that if your badge size is a PPVC Card, then your whole image needs to be the same size, with the branding in the correct place on that image.

  1. 2.

Drop your image in the Images folder. You can name this what ever you would like. Give it a name that might be meaningful to your event.

Step 2:

Capture the Front Background Image field with the exact name of the file, including the file extension.

e.g. Event Name PVC Badge.png

If your badge is not a duplicate or single sided badge, and you would like to have either the same or different image on the back of the badge, repeat the steps for the Back Background Image field.


The JSON works based on co-ordinates and defined values for each field you want to be printed on the badge. e.g. If you want Delegate First Name and Delegate Last Name to print on the badge in on line, this needs to be defined in a single JSON Quotation.

Please use the correct JSON Syntax. You can also use an AI Tool to assist with this or contact support@sparksmiths.com for further assistance.

In this example I want to print the Delegate First and Last Name on one line, in a larger text, and the Compnay on the next line in smaller text size, with the Delegate Name above the Company and all of my content centered.

My JSON example can be found below in the following code snippet - this will be captured in the "Body (JSON)" field, where in the case of this example, we will not require anything captured in the "Body Back (JSON)".

[
{
"name": "Delegate Name",
"x": 0,
"y": 15,
"width": 85,
"height": 15,
"alignment": "center",
"position": "center",
"fontSize": 16,
"type": "text",
"content": "{delegate.firstName} {delegate.lastName}"
},
{
"name": "Company Name",
"x": 0,
"y": 30,
"width": 85,
"height": 15,
"position": "center",
"alignment": "center",
"fontSize": 14,
"type": "text",
"content": "{delegate.company}"
}
]

Note that I have not provided a Font Color or Font Face Type. This is because I am using the default as setup on my Badge Configuration. This can be overrideable in the JSON within each field configuration.



To test print the configured badge, ensure you have run the Print server on your Windows Machine, select any printer you have installed on the Print Server (I like to test with Microsoft Print to PDF). While on your Badge Document Template record under the Print Test Badge section, paste any Delegate/Guest ID in the field "Delegate ID".

  • To find the Delegate/Guest Id, select any Delegate/Guest and copy the Number in the URL

    • .

Then select your Local Host Event Print Server, and click "Print Badge.



Here is the example of my badge printed to PDF. As yo ucan see I have printed Outlines to display my layout and size of badge to confirm if I am happy with my badge setup.