How to Print Barcode Labels
Print barcode labels for assets, locations, departments and custodians. Print them as a PDF on sheets of labels, or on a thermal label printer. The barcode is Code 128 unless the label layout uses a QR code. For preprinted labels and RFID tags, see Labels and Tags.
Prerequisites
- The Barcoding feature must be on (gear icon > Enable/Disable Features).
- A printer. A laser or inkjet printer prints the PDF labels on sheets of adhesive labels. A thermal label printer (Zebra or another ZPL printer) prints one label at a time from a roll, on more durable stock.
- Assets must have a value in the Barcode field. By default, xAssets assigns an 8-digit barcode automatically when an asset is created.
Printing Asset Barcode Labels
From the Barcoding Menu
- Go to Barcoding > Print Barcode Labels > Asset Barcode Label Printing.
- Choose the assets in the prompt.
- xAssets makes a PDF of labels, four across. Each label shows the description, the barcode, its value and the serial number. Only assets with an in-service status are included.
- Print the PDF on sheets of adhesive labels.
A Single Asset
The Asset Editor has no label option. Use Asset Barcode Label Printing or Asset Labels on a Label Printer, and choose the one asset in the prompt.
From the Barcoding Dashboard
Barcoding > Barcoding Dashboard shows how many assets have a barcode, and its Assets Without a Barcode tile lists the assets without one. Its buttons open the label prints. See Barcoding Dashboard.
Printing Location, Department, Cost Center, and Custodian Labels
These entities use a single-letter prefix on the barcode to distinguish them from assets:
| Entity | Prefix | Example Label |
|---|---|---|
| Location | L | L00042 |
| Department | D | D00015 |
| Cost Center | C | C00008 |
| Custodian | U | U00123 |
The prefix is added automatically when printing and stripped automatically when scanning. See Barcode Identification for details on how prefixes work.
To print labels for these entities, go to Barcoding > Print Barcode Labels. Choose Location Barcode Label Printing, Department Barcode Label Printing or Custodian Barcode Label Printing for a PDF. Choose Location Labels on a Label Printer, Department Labels on a Label Printer or Custodian Labels on a Label Printer for a thermal printer. There is no label menu item for cost centers.
Printing on a Zebra or Other Label Printer
Thermal label printers print one label at a time from a roll. Zebra printers use the ZPL printer language. Many Honeywell, SATO and TSC printers accept ZPL too.
- Go to Barcoding > Print Barcode Labels. Choose Asset Labels on a Label Printer, or the Location, Department or Custodian menu of the same name.
- Choose the records in the prompt, as for the PDF labels.
- xAssets makes one ZPL label for each record. The label has the same layout as the PDF label: the same size, barcode and text.
- The browser downloads a
.zplfile. Send it to the printer with the Zebra Setup Utilities Send File option, or withcopy /b labels.zpl \\pcname\sharedprinterfrom a Windows command prompt.
The label settings are in Barcoding > Barcoding Setup > Barcoding Settings:
| Setting | Use |
|---|---|
| Label Printer Resolution | 203, 300 or 600. Match the printer's print head, or the labels print at the wrong size. A 2.5 x 1.3 inch label is 512 x 264 dots at 203 dpi. |
| Network Label Printer Address | The printer's IP address or host name, with :port if the port is not 9100. When this is set, the server sends the labels straight to the printer and no file is downloaded. The xAssets server must be able to reach the printer, so this suits an on-premise server on the same network. |
Label Printers
| Printer | Notes |
|---|---|
| Zebra desktop (ZD421, ZD621) | 203 or 300 dpi. Suits labels up to 4 inches wide. |
| Zebra industrial (ZT231, ZT411) | High volume, wider labels and tougher stock. |
| Zebra RFID (ZD621R, ZT411 RFID) | Prints the label and writes an RFID tag inside it. See Printing RFID Labels. |
| Honeywell, SATO, TSC | Many models accept ZPL. Check the printer's language settings. |
A printer that does not accept ZPL can print the PDF labels through its Windows driver.
Changing the Label Layout
The label size comes from the label query's report layout. To change the label, change the layout in the report designer. The PDF and the label printer both use it. Load label stock of that size, or change the layout to suit your stock.
- Barcode style: select the barcode on the layout. Its Style is Code 128 or QR code. A QR code fits a small square label. The scanners must read QR and 2D codes.
- Text: add or remove fields such as the description, serial number, location or a company name.
- Size: the label's height is the height of the layout's Detail section. Its width is the widest item on it.
On a label printer, xAssets prints the barcode and the fields bound to data. Calculated text, page numbers, lines and shapes on the layout are left off.
Printing RFID Labels
An RFID label has a tag inside and a barcode printed on top. An RFID printer, such as a Zebra ZT411 RFID or ZD621R, prints the label and writes the tag in one pass. xAssets writes each asset's RFID Tag into its label's tag, so a scan with an RFID reader finds the asset.
- Go to Barcoding > Print Barcode Labels > Give Assets RFID Tag Numbers and choose the assets. The list shows only assets without an RFID Tag. Each one chosen gets a unique tag number in its RFID Tag field. Its Barcode does not change.
- Go to Barcoding > Print Barcode Labels > Write Asset RFID Tags on a Label Printer and choose the assets. Each label carries the barcode and text, as in Asset Labels on a Label Printer. Its tag is written with the asset's RFID Tag.
- The labels go to the printer as for any thermal label. The server sends them when Network Label Printer Address is set. Otherwise the browser downloads a file.
If a tag cannot be written, the printer marks that label void and normally tries again on the next label.
Assets without an RFID Tag are left out, so no tag is left blank. A tag number is 24 hexadecimal characters (the usual 96-bit EPC). Numbers typed in, imported or assigned in hexadecimal are written as they are. A number with other characters cannot go into a tag, so that asset's label is left out.
To keep a tag's factory number instead, apply blank RFID labels and link each tag to its asset with Assign Labels to Assets. See How to Assign Labels to Assets and RFID.
Preprinted Labels and Manufacturer Labels
- Preprinted labels carry their own numbers. Apply them, then link each one with Barcoding > Print Barcode Labels > Assign Labels to Assets. The label's number becomes the asset's Barcode.
- Manufacturer serial number labels need no printing. A scan of the serial number finds the asset when its Serial Number is filled in.
See Labels and Tags.
Label Best Practices
- Use durable media. For assets in harsh environments (warehouses, outdoor locations), use polyester or polypropylene labels that resist moisture, heat, and abrasion.
- Place labels consistently. Establish a standard placement for barcode labels on each asset type (e.g., bottom-right corner of monitors, front panel of servers). This speeds up audits because scanners know where to look.
- Print location labels and post them visibly. Scan a location barcode during an audit to set the location for every asset scanned after it.
- Keep spare labels. Print extras so that damaged or missing labels can be quickly replaced.
- Use fixed-length, zero-padded values. The default 8-digit format (e.g.,
00041681) keeps every label the same size. - Avoid re-using barcode values. If an asset is disposed of, do not reassign its barcode value to a new asset.
Troubleshooting
| Problem | Solution |
|---|---|
| Labels are too small to scan | Increase the label size in print settings, or use a higher-resolution printer |
| Scanner does not read printed labels | Verify the printer resolution is at least 300 DPI for small labels. A QR code label needs a scanner that reads 2D codes. |
| Labels print at the wrong size on a label printer | Set Label Printer Resolution to the printer's print head: 203, 300 or 600. |
| Nothing prints from the network printer | The xAssets server must reach the printer's address and port (9100 unless set). On a hosted site, clear Network Label Printer Address and send the downloaded file from a PC on the printer's network. |
| "None of these assets has an RFID tag number to write" | Run Give Assets RFID Tag Numbers first, or give the assets an RFID Tag with Assign Labels to Assets. |
| An RFID label prints but its tag reads nothing | Calibrate the printer's RFID encoder for the label stock (on a Zebra printer, run the RFID calibration from its menu), and check that the stock's tag is UHF Gen 2. |
| Barcode field is empty for some assets | Check whether those assets were imported without barcode values. Edit the asset and assign a barcode manually, or run a batch update. |
Related Articles
- Labels and Tags — every kind of label and tag, and choosing one
- How to Assign Labels to Assets — preprinted labels and RFID tags
- RFID — RFID tags and RFID labels
- Barcodes — barcode types and standards
- Barcode Identification — how barcode values map to records
- Barcode Types — Code 128, QR codes and other formats
- How to Set Up Barcoding — first-time barcoding setup