> 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/print.md).

# Print

## From Form:

### **Print from Label Button - Print a barcode label using the built-in Print button:**

1. Enable the 'Printable' 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 'Print' button can be clicked to print the barcode label.

<figure><img src="/files/14EbYSEdTYoGj5XKOmwH" alt="" width="266"><figcaption><p>Print Label</p></figcaption></figure>

### **Print from Form Button -** Print a barcode label via a button click:

1. Visit **Barcode & QR Code Generator -> UI Actions** in the left nav. Locate and open the UI Action titled 'Test Print 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 trigger a print of the barcode label.

<figure><img src="/files/3EUfRyXLSq19AVKjm3vY" alt=""><figcaption><p>Print from Form</p></figcaption></figure>

{% hint style="info" %}
All options to print barcode labels from form utilize client-side barcode generation.
{% endhint %}

## From List

### **Print from List Choice (One-per-Page) -** Print 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 Print One-Per-Page 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 print of the barcode labels, printing one label per page.

<div><figure><img src="/files/rEIqTHELNQ7TS60ggQhe" alt=""><figcaption><p>Print from List (One-per-Page)</p></figcaption></figure> <figure><img src="/files/s01ixoNpx0t1OJuK3o2D" alt=""><figcaption><p>Printing One-per-Page</p></figcaption></figure></div>

{% hint style="info" %}
When printing from list, it may be helpful to configure your browser for 'silent printing' so that you can print directly from the browser without having to confirm a print dialog each time. Otherwise, when printing one-per-page, you will be asked to confirm for each individual page.
{% endhint %}

{% hint style="warning" %}
We no longer recommend using the Many-per-Page printing functionality below, due to difficulty achieving the necessary precision to print label formats such as those offered by Avery. For best results, we recommend using our integration with [Yansa Labs' PDF Generator](/barcode-and-qr-code-generator/technical-docs/printing-pages-w-multiple-labels.md). PDF Generator provides turn-key integrations with Avery Labels and allows for highly specific printing of multiple barcode labels per page.
{% endhint %}

### **Print from List Choice (Many-per-Page) -** Print 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 Show/Print Multiple 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 display of those barcode labels on a single page.
4. Click the *Open in new Window* link at the bottom of the rendered barcodes. This will open the view in a new window without the ServiceNow left nav, enabling a cleaner print.
5. Print from your browser.

<div><figure><img src="/files/O7g8SbwzKQkcT16BiSEN" alt=""><figcaption><p>Print from List (Many-per-Page)</p></figcaption></figure> <figure><img src="/files/oEytauMSqYgqRAWypvmY" alt=""><figcaption><p>Printing Many-per-Page</p></figcaption></figure></div>

{% hint style="info" %}
All options to print barcode labels from list utilize client-side barcode generation.
{% endhint %}
