> For the complete documentation index, see [llms.txt](https://prohelp.assetpanda.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prohelp.assetpanda.com/tools/barcode-generator.md).

# Barcode Generator

#### <img src="/files/fwTczBv9mBndqo9CQpZg" alt="Asset Panda Pro app link" data-size="line"> [Visit the Barcode generator in the app](https://assetpanda.app/tools/barcode-generator)

You can use barcodes to store unique values that can be printed and attached to each asset.&#x20;

When activated in your Asset Panda Pro environment, the Barcode Generator enables you to generate barcodes using fields or auto-incremented values. You can design and save barcode templates that match your physical labels and label sheets.

You can print individual labels, groups of labels, or full sheets based on your business needs. The barcodes can be scanned in the mobile app for faster searching, asset tracking, auditing, and updates.&#x20;

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUu4cjnyQbKvxlmR8IplS%2Fuploads%2FZ2jxrdvTegAFVSnOELA9%2FQS_-_Barcode_Generation.mp4?alt=media&token=93515714-c955-4872-a431-33400c1f3029>" %}

{% hint style="info" %}
For more information on accessing this feature, contact <support@assetpanda.com>. &#x20;
{% endhint %}

***

## Prepare your data

For best results, your collection should have at least one field with data that is unique for each asset:

* **Barcode** field
* **ID** field&#x20;
* **Numeric** **auto-increment** field (often used as an asset number)
* **Text** field
* **Numeric** field

### Create a dedicated Barcode field

We recommend adding a dedicated **Barcode** field to any collection where you plan to use barcodes. This improves mobile barcode scanning performance by ensuring each asset's barcode is unique. It also makes it clear which value is used for physical labels.

1. Go to the appropriate collection page. For example, click <i class="fa-house">:house:</i> and then select the **Assets** collection.
2. Perform one of the following tasks:

   * Hover over a column heading, select ![](/files/bcnzsf0lmYzkFN6vQTq3), and then select **Add field to left** or **Add field to right**.

     ***Tip:** For example, you could add the field to the left of the first column so it is easily accessible.*
   * After the last column in the page, select  <img src="/files/I9v4ufoNydZcW305eLmw" alt="" data-size="line">.

   The **New field** pane is displayed.
3. Enter the **Field name** (for example, Asset Barcode or Equipment Tag).
4. For **Data type**, select **Barcode**.
5. Keep **Set as unique field** selected so each record has its own barcode.
6. Select **Save**. The field is added to the collection.

#### Update a Barcode field

After you create a dedicated Barcode field, you can enter individual values for assets.

1. Go to the appropriate collection page.
2. Select the asset row. The asset details are displayed.
3. Add the unique value to the **Barcode** field.
4. Select **Save**.

### Use ID or auto‑increment fields

If you already rely on a system **ID** or **auto‑increment** field (such as an asset number), you can use that field's values instead of a separate **Barcode** field. In this setup, the barcode encodes the value from that field. Scanning the barcode on mobile searches the specified field and opens the matching record.

You can also use a **Barcode** field in some collections and use ID or auto‑increment fields in others.

***

## Design barcode templates

The Barcode Generator enables you to build barcode templates for different needs. For example:

* Large barcodes for warehouse environments
* Small labels with text for office equipment
* Templates with or without logos or images

You can design sheets to arrange labels on the page based on your label stock (for example, Avery‑style sheets). You can define the appearance of each label, including elements such as the barcode, text, fields, and images. You can save these layouts as templates to reuse for future print jobs.

1. In the web navigation, select <i class="fa-wrench">:wrench:</i> **Tools** > <i class="fa-qrcode-read">:qrcode-read:</i> **Barcode generator**.
2. Click **Add**. The **Barcode setup** page is displayed.
3. Select how barcodes will be generated for this template:
   * **Generate from Field**: Use values from an existing collection field (Barcode, ID, or auto‑increment) in each label.
   * **Auto‑generate**: Create a sequence of barcodes based on a starting value.
4. For field-generated labels, select the **Account**, **Module**, and **Collection** to associate with the barcode template. Fields for the selected collection are available to the label.
5. Select **Continue**. The **Barcode generator** page is displayed.

### Design the label sheet

The **Sheet** tab controls how labels are arranged on each page so they align with your label stock.&#x20;

{% hint style="info" %}
***Tips:***&#x20;

* *Whenever possible, you should start from a **preconfigured label type** that matches your label stock.*
* *When designing label sheets, always test print on plain paper and compare against your label sheet before printing on labels.*
  {% endhint %}

#### **Use a Preconfigured Label Type (Recommended)**

1. For **Label type**, select a known template (for example, an Avery‑style layout). The system automatically sets the page configuration to ensure labels align correctly:
   * **Page** size (Letter, A4)
   * Number of **rows** and **columns**
   * **Margins** (top/bottom and left/right)
   * **Row** and **column gutters** (space between labels)
2. To change the measurement units displayed for settings, select a different option for **Measurement unit**.

#### **Define a Custom Label Sheet**

If your label stock isn’t covered by a preconfigured label type, you can configure a custom sheet manually.

1. For **Label type**, select **Custom**.
2. Enter the details of the label sheet:

   * **Measurement unit** (inches or millimeters)
   * Sheet **Height** and **Length** (width)
     * Lette&#x72;**: Height** = 11 inches, **Length** = 8.5 inches
     * A4: **Height** = 297 mm, **Length** = 210 mm
   * **Rows** on the sheet
   * **Columns** on the sheet
   * **Row gutter** (vertical space between label rows)
   * **Column gutter** (horizontal space between label columns)
   * **Margins (top/bottom)**
   * **Margins (left/right)**

   The system calculates the label size based on the specified settings.&#x20;

{% hint style="info" %}
***Tips:***&#x20;

* *Use the dimensions from your label package or manufacturer specifications, if available.*
* *If specifications are not available, measure margins and gutters carefully.*
* *To change the label size, adjust the label page details.*
* *You can select **Reset sheet design** to discard the settings and revert to the default sheet settings.*
  {% endhint %}

***

### Design the label layout

The **Label** tab controls the appearance of each label, which can include the barcode and additional images, text strings, or field values. The layout is used for all labels on the sheet for a print job.

#### **Configure the barcode**

1. Select the barcode on the label.
2. Select a **Barcode type**:
   * Code 128
   * Code 128 with data: Displays the field value below the code.
   * QR code
3. For field-generated labels, select the **Field** to be used for the barcode.
4. For auto-generated labels, enter the **Start Value** for the label numbering and identify the number of **Leading zeros** to be displayed for each label.
5. To include static text before the field or auto-generated value, enter the **Prefix** text.

#### **Add an image**

You can add an image, such as a company logo or safety icon, to every label:

1. Select **Image** above the label view. An image block is added to the label.
2. In the field settings, click **Upload** to select the image to be added.
3. Select an option to fit the image within the bounding box:
   * **Fill**: Fill the bounding box (may crop the image)
   * **Fit**: Fit the image inside the bounding box while maintaining the aspect ratio

#### **Add static text**

&#x20;You can add text to each label, such a a title above the barcode and a note below it.

1. Select **Text** above the label view. A text block is added to the label.
2. Edit the **Text** to display in the label.
3. Edit the **Font**, **Font size**, **Color**, and font styles (**Bold** or **Italic**).&#x20;

#### **Add dynamic field values**

For field-generated labels, you can add field values, such as the asset name or serial number, to each label. You can add multiple fields to meet your needs.

1. Select **Field** above the label view. A field block is added to the label.\
   **Note**: If a field is empty for a specific record, that area is blank on the record’s label.
2. Edit the **Collection field** to display in the field block.
3. Edit the **Font**, **Font size**, **Color**, and font styles (**Bold** or **Italic**).&#x20;

#### **Adjust the label appearance**

1. To adjust the size of each barcode block:
   * Drag the corners of the barcode on the canvas
   * Select the block and then enter the appropriate **width** and **height** measurements. Values represent a percentage of the label dimensions.&#x20;
2. To adjust the location of blocks on the barcode, select the block in the label and then drag it to the appropriate location within the label.
3. To remove a barcode block, select it within the label and then click <i class="fa-trash">:trash:</i> above the block settings.

### **Preview the label sheet**

**Note**: The preview uses sample data to show layout only; it doesn’t display actual data.

1. Select the **Preview** tab.
2. Review the sample sheet to confirm that the barcode and any text or images are readable.

### **Save the barcode template**

1. Click **Save**. The **Save template** page is displayed.
2. Enter the **Template name** and then click **Save**. The template is displayed in the barcode template list.

***

## Generate barcodes

You can generate sheet of barcodes for selected records. You can also generate a single barcode when one becomes unreadable on an asset.

### Generate field-based collection barcodes

{% hint style="info" %}
***Tip:** Generating barcodes is limited to visible records. Selecting many records at once generates barcodes only for the records that are currently loaded. To include more records, scroll down to load additional records before selecting them.*&#x20;
{% endhint %}

1. Go to the appropriate collection page. For example, click <i class="fa-house">:house:</i> and then select the **Assets** collection.
2. Select the records for which you want to generate barcodes.\
   \&#xNAN;***Note**: For large collections, scroll down to load all records before selecting and generating barcodes.*&#x20;
3. Click **Barcode** <i class="fa-qrcode-read">:qrcode-read:</i>. The **Generate Barcodes** page is displayed.
4. If barcode templates do not exist for the collection:
   1. Click **Create a template**. The Barcode generator page is displayed.
   2. Click **Add** to create the template. See [#design-barcode-sheets-and-labels](#design-barcode-sheets-and-labels "mention").
   3. Select the new barcode template and click **Generate** to return to the associated collection and repeat this procedure.
5. If barcode templates exist for the collection:
   1. Select the appropriate **Barcode template**.
   2. If you’re using a partially-used label sheet, enter the number of the label from which you want to start printing. The preview indicates the labels that will be used on the label sheet.
   3. Click **Generate**. A popup indicates when the label export has finished.
6. Click **Download Link** to download the generated label print job in PDF format. You can open the PDF file to print it.

### Generate auto-generated barcodes

You can generate sequences of barcodes that are not tied to existing records; for example, to pre-print asset tags.

1. In the web navigation, select <i class="fa-wrench">:wrench:</i> **Tools** > <i class="fa-qrcode-read">:qrcode-read:</i> **Barcode generator**.
2. Create or select an **Auto generate** template.
3. Click **Generate**. The **Generate Barcodes** page is displayed.
4. For **How many barcodes?**, enter the number of bar codes that you want to create.
5. For **Row start position**, enter the number of the row where you want printing to begin. For example, to begin printing four rows down, enter **4**.\
   **Note**: This is not the individual label number displayed in the **Barcode print generation preview**.
6. For **Column start position**, enter the number of the row where you want printing to begin. For example, for the right-most column in a three-column sheet, enter **3**.
7. Click **Generate**. A popup indicates when the label export has finished.
8. Click **Download Link** to download the generated label print job in PDF format. You can open the PDF file to print it.

***

## Print barcodes

1. Open the generated PDF (or other output) in your browser or PDF viewer.
2. In the print dialog:
   * Set scale to **100%** or **Actual size**.
   * Avoid **Fit to page** if it shifts alignment.
3. Print a **test page** on plain paper.
4. Hold the test page against your label sheet to confirm everything lines up.
5. When alignment is verified, print on your label sheets.

***

## Scan barcodes in the mobile app

1. You can scan barcodes in the mobile app to quickly make audits, check‑outs, and day‑to‑day updates.
2. Attach or apply labels to your physical assets.
3. Open the **Asset Panda mobile app**.
4. Navigate to the relevant module/collection.
5. Use the **Scan** (barcode) option.
6. Scan a barcode. The app searches the appropriate field (Barcode, ID, or auto‑increment) and then opens the appropriate record so you can view or update it.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://prohelp.assetpanda.com/tools/barcode-generator.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
