# Barcode Generator

Whether you need to display a single QR Code or an elaborate barcode label with various data, it all starts at the **Barcode Generators** module in your left nav. This is where the top-level configuration & testing interface exists for your barcode label.

When you install the Asset Tag Maker app you will find several included **Barcode Generators** for different scenarios. 'Sample Barcode' is a great place to get started.

<div><figure><img src="/files/WfXcxMFBgiq9UOWriwtu" alt=""><figcaption><p>Barcode Generator Form</p></figcaption></figure> <figure><img src="/files/JEBM2M5UJddW2Ktad9Lh" alt=""><figcaption><p>Included Example Generators</p></figcaption></figure></div>

* **Test record**: Setting a test record will determine the data that is dynamically included in the label on the **Test Barcode Form** section on the Barcode Generator form. This is a great way to test your barcode label as you build it out.
* **Printable/Savable/Attachable**: Selecting these checkboxes will determine if the print/save/attach icons appear above the barcode label when it is rendered on a form, UI page, or Service Portal.
* **Width/Height**: Width is the width of the barcode label being generated, and must always be specified regardless of label **Orientation**. Height is optional, but is useful if you are constrained to a particular height, especially for printing. If height is not set, the label will grow to accommodate its contents.
* **Orientation**: Determines how the **Barcode Parts** are rendered, either **Vertically** (top-to-bottom) or **Horizontally** (left-to-right).
* **Padding**: Optionally, add padding (in inches) around the perimeter of your label to improve appearance.
* **Show border**: Optionally, display a border around the label dimensions. This is useful during the building/testing process to ensure the contents of your barcode label fit within the **Width/Height** specified. Generally, this will be disabled prior to printing, but may be maintained for display on screen or in email notifications.

The **Test Barcode Form** section displays a sample of the **Barcode Generator** you are working on, including data from the record listed in the **Test record** field. This is the ideal place to view your progress as you build out a new barcode label.

The actual contents of your **Barcode Generator** are covered in our next section on [**Barcode Parts**](/asset-tag-maker/technical-docs/building-barcode-content/barcode-parts.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yansalabs.com/asset-tag-maker/technical-docs/building-barcode-content/barcode-generator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
