Retail gift card with logo — 65×40 mm

Credit-card sized gift card with logo area, brand, value, card number, expiry and Code 128 barcode.

ZPL preview: Retail gift card with logo — 65×40 mm

Retail gift card with logo

65×40 mm @ 300 dpi, landscape credit-card (CR80) proportions. On the left the logo area: a placeholder frame with "LOGO" text, to be replaced with the real brand logo (^GF image). On the right the gift card title, large value, card number, expiry and a Code 128 for the till.

Placeholders

  • brand

  • currency, value — gift card currency and amount

  • card_no — card number

  • expiry — expiry date

  • barcode_code — data in the Code 128

The "LOGO" frame is a placeholder: replace it with your logo as a graphic (^GF).

When to use it

This card is for shops, chains and event organisers that issue their own gift vouchers: you print it at the point of sale or in batches before the holiday season, hand it over in an envelope and scan it again at the till when the customer redeems it. The credit-card format fits standard wallets and card holders.

On a Zebra label printer you print on card-format paperboard or synthetic tag stock, usually with thermal transfer: the card has to stay readable for months in a wallet, rubbed and bent.

Standards and requirements

The 85×54 mm size follows the ID-1 format of ISO/IEC 7810 (85.60×53.98 mm), known as CR80. In the EU the VAT treatment of vouchers (single-purpose or multi-purpose) is set by Directive (EU) 2016/1065; minimum validity, refunds and terms of use depend on national consumer law, so check them before you print an expiry date.

For the Code 128 use ^BC in automatic mode so long numbers are compressed into subset C, and keep a quiet zone of at least 10 modules on each side. At 300 dpi ^BY2 gives a module of about 0.17 mm, which suits POS scanners. Symbol quality is verified according to ISO/IEC 15416.

Common mistakes

  • Using sequential or predictable card numbers: anyone can guess a valid code and spend it.
  • Encoding data in the barcode that differs from what is registered in the POS system.
  • Printing in direct thermal: in a wallet the card darkens or fades before it expires.
  • Enlarging the ^GF logo until it eats into the barcode quiet zone.

FAQ

Can I print PVC gift cards on a Zebra label printer?

No. Label printers work with paper or synthetic rolls; PVC requires a dedicated card printer.

Does a gift card need an expiry date?

It depends on the country and on your own policy. Check national rules before you set a validity period.

ZPL code

^XA
^PW768
^LL472
^CI28
^FO30,40^GB300,390,3^FS
^CF0,50^FO110,210^FD LOGO ^FS
^CF0,40^FO360,40^FD{{brand}} Gift Card^FS
^CF0,90^FO360,110^FD{{currency}} {{value}}^FS
^CF0,28^FO360,235^FDCard No: {{card_no}}^FS
^FO360,285^FDValid until {{expiry}}^FS
^BY2,2,90
^FO360,335^BCN,90,Y,N,N^FD{{barcode_code}}^FS
^XZ

What this label contains

Barcodes

Code 128
High-density linear barcode that encodes the full ASCII set: ideal for tracking numbers, internal codes and alphanumeric IDs.

Elements

  • 5 text fields
  • 6 variable fields to fill in
  • boxes and separator lines

Variable fields

FieldDescriptionExample
brandBrandNORTHWIND
currencyCurrency€
valueValue50,00
card_noCard no.NW-GC-0042-7781
expiryExpiry31/12/2027
barcode_codeBarcodeNWGC004277810

Format and printing

65×40 mm (2.56×1.57″) at 300 dpi: 768×472 dots. Landscape.

Compatible Zebra printers

You need a printer with a 4″ printhead at 300 dpi, for example:

  • Zebra ZD421 (desktop)
  • Zebra ZD621 (desktop)
  • Zebra ZT231 (industrial)
  • Zebra ZT411 (industrial)
  • Zebra ZT610 (industrial)

Any Zebra printer with a wider printhead and the same resolution works too.

The code is written for 300 dpi: on a printer with a different resolution the label prints larger or smaller and needs rescaling.

How to use it

  1. Open “Customize placeholders” and enter your data in the variable fields listed above.
  2. Check the preview: it is rendered from the same ZPL code you will send to the printer.
  3. Download the .zpl file or copy the code and send it to the printer: with “Print” through Zebra Browser Print, or as a raw file to port 9100 if the printer is on the network.
  4. Load 65×40 mm labels and make sure the printer is set to 300 dpi. For a different size use “Duplicate & edit” and adapt the layout in the builder.

Edit it in the editor

To change the layout, use “Duplicate & edit”: the template opens in the online ZPL editor, where you modify it and save it to your account for free.

Discover the online ZPL editor

Related templates