> For the complete documentation index, see [llms.txt](https://docs.yansalabs.com/barcode-and-qr-code-generator/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yansalabs.com/barcode-and-qr-code-generator/technical-docs/using-a-barcode-label/save-to-disk.md).

# Save to Disk

## From Form:

### **Save to Disk from Label Button - Save a barcode label using the built-in Save button:**

1. Enable the 'Savable' option on the **Barcode Generator** record for the desired barcode label
2. Any place where the in-browser view of the barcode label is enabled (form, dialog box (modal), ui page, widget), the 'Save' button can be clicked to save the barcode label to your local computer.

<figure><img src="/files/s5R1hppg1GqqPYio8adc" alt="" width="266"><figcaption><p>Save Label</p></figcaption></figure>

{% hint style="info" %}
All options to save barcode labels from label utilize client-side barcode generation. The resulting file type is PNG.
{% endhint %}

### **Save to Disk from Form Button -** Save a barcode label to your local computer:

1. Visit **Barcode & QR Code Generator -> UI Actions** in the left nav. Locate and open the UI Action titled 'Test Save Barcode'.
2. Update the **Name** and **Table** fields to match the table where you wish to place the button. Following the instructions in the commented code, update code values to accommodate your needs. Insert and Stay to create a new record.
3. Visit the form view for a record on the specified table. Click the button to save the barcode label to your local computer.

<figure><img src="/files/UIpTrxHdcsYsAL53jq0B" alt=""><figcaption><p>Save from Form</p></figcaption></figure>

{% hint style="info" %}
All options to save barcode labels from form utilize client-side barcode generation. The resulting file type is PNG.
{% endhint %}

## From List:

### **Save to Disk from List Choice -** Save barcode labels via a list choice:

1. Visit **Barcode & QR Code Generator -> UI Actions** in the left nav. Locate and open the UI Action titled 'Test Save Barcodes (List)'.
2. Update the **Name** and **Table** fields to match the table where you wish to place the list choice. Following the instructions in the commented code, update code values to accommodate your needs. Insert and Stay to create a new record.
3. Visit the list view of the specified table, check as many options as desired from the list, and then click the specified UI Action from the drop-down menu. This will trigger a save of the barcode labels to your local computer.

<figure><img src="/files/96zCN1HNNrjYCbgCrHhg" alt=""><figcaption><p>Save from List</p></figcaption></figure>

{% hint style="info" %}
All options to save barcode labels from list utilize client-side barcode generation. The resulting file type is PNG.

***Note**: The 'Savable' checkbox must be selected on the Barcode Generator record in order for this method to be successful.*
{% endhint %}


---

# 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://docs.yansalabs.com/barcode-and-qr-code-generator/technical-docs/using-a-barcode-label/save-to-disk.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.
