# Make GUID into a barcode in iReport

**URL:** <https://speciforum.org/t/make-guid-into-a-barcode-in-ireport/324>\
**Category:** Specify 6 Documentation\
**Tags:** Specify-6, Members-only\
**Created:** [March 29, 2022, 4:26pm UTC](https://speciforum.org/t/make-guid-into-a-barcode-in-ireport/324 "2022-03-29T16:26:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [March 29, 2022, 4:26pm UTC](https://speciforum.org/t/make-guid-into-a-barcode-in-ireport/324/1 "2022-03-29T16:26:12Z")

</div>

GUID can be made into a barcode as long as the barcode type supports it.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/1X/1c919b497767be1a362b1d117a3372dea6116b57.png)

In iReport, click the Barcode tool button and size the barcode box on the report.

Right click on the barcode once it is placed. Select properties.

Change the Properties tab to Barcode.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/1X/7f7a231eaefc3fe5b9aa40bf059b8ca09bb321d2.png)

Change the Barcode Expression (in this case, “0815”) to $F{Guid} (or whichever field in iReport)

Change the Type from the dropdown menu to a supported barcode type (Int2of5, EAN13, UCC128, and UPCA are incompatible). The report will show a barcode error like below if it is incompatible in most cases:

> Specify supports the following barcodes:
> 
> | | | | | |
> | --- | --- | --- | --- | --- |
> | 2of7 | Code128B | EAN13 | SCC14Shipping | APCA |
> | 3of9 | Code128C | Global Trade | Shipment Identifier | UPC3 |
> | Bookland | Code39 | Int2of5 | SSCC18 | UPC4 |
> | Codabar | Code39(extended) | Monarch | Std2of5 | USPS |
> | Code128 | EAN128 | PDF417 | UCC128 | |

![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/1X/72389b68d966ad59488e2ef0bbdee54f78a2bf8e.png)

I recommend printing with Code128 or Code128B if you are using a handheld scanner.

Enabling the setting “Fill Frame” gives a greater surface area for the barcode.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/1X/d50655a17083c4bcac046e0b4737666d03f4d9bd.png)

Here is an example GUID **Code128B** barcode from a Specify report:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/1X/0cb5ffb8b1eea4abb14f14628af7b1e587cead20.png)

Let us know if you need any help or have problems with barcodes on reports/labels!
