How to Print Shipping Labels with a Thermal Printer in NetSuite

By Stephanie Kim
Thermal printer printing shipping labels for efficient order fulfillment in NetSuite.

This guide covers printing NetSuite shipping labels in EPL or ZPL format—from installing and sharing your thermal printer to routing label files with a batch script. With proper setup and file associations, NetSuite can seamlessly generate and print carrier-compliant labels for efficient fulfillment.

In this post...

Back to Blog

This guide walks you through everything you need to print labels from NetSuite in EPL or ZPL format: installing and sharing your printer on Windows, creating a batch file to route label files, and configuring NetSuite to output labels in EPL or ZPL format.

Step 1: Install & Share Your Thermal Printer

Start by installing the printer driver following your manufacturer’s instructions. Once installed, share the printer on your network so NetSuite’s label files can reach it.

  1. Open Control Panel > Devices and Printers
  2. Right-click your printer and open Printer Properties
  3. Go to the Sharing tab and check Share This Printer
  4. Enter a name in the Share Name field
  5. Click OK

Important: The printer share name cannot contain spaces. Use something like ThermalLabel or ZebraZPL.

Step 2: Create a Batch File to Route Labels

NetSuite outputs label files in EPL2 or ZPL format. A small batch file tells Windows how to send those files directly to your thermal printer. Open Notepad and paste the appropriate command for your setup:

For a USB / Local Printer:

Net use LPT2: \\%ComputerName%\PrinterName

Copy %1 LPT2

Net use LPT2: /Delete

For a Network Printer:

print /d:\\Server\PrinterName %1

Replace PrinterName with your printer’s share name. For network printers, also replace Server with your print server name.

Save the file as label.bat — make sure to select All Files as the file type so it saves as .bat and not .txt.

Step 3: Register EPL2 & ZPL File Extensions

Windows needs to recognize label file formats and know how to open them with your batch file.

  1. From the Start menu, search Indexing Options and open it
  2. Click Advanced > File Types
  3. Add epl2 as a new extension, then repeat for zpl
  4. Right-click a saved EPL2 or ZPL file > Open With > Choose default program
  5. Browse to and select your label.bat file
  6. Check “Always use the selected program” and click OK

Step 4: Configure NetSuite for Thermal Labels

With your printer ready, configure your shipping account inside NetSuite to output in the correct format.

  1. Go to Setup > Accounting > Setup Tasks > Shipping
  2. Click the shipping account you want to configure
  3. In the Label Type field, select the format for your carrier and label size (see table below)
  4. Click Submit
FormatSizeSupported Carriers
EPL4 x 6UPS, USPS
EPL4 x 8UPS
ZPL4 x 6FedEx, UPS
ZPL4 x 8UPS
ZPLII4 x 6FedEx, USPS
ZPLII4 x 8½FedEx
ZPLII4 x 10½FedEx
Step 5: Print Your Labels

Once an order is fulfilled, printing is straightforward:

  1. Go to Transactions > Management > Print Checks and Forms
  2. Click Integrated Shipping Labels
  3. Set Starting Label to 1 (or 2 to start on the second label)
  4. Select your carrier, or choose All
  5. Leave Single Label Per Page unchecked (that setting is for PDF only)
  6. Check the box next to each order you want to print, then click Print

A window will appear with download instructions. The label file will automatically open with your batch file and print to your thermal printer. Attach the label to the package and it’s ready for drop-off or pickup.

We Are Experts at Generating ROI for our Clients Through Custom Integration of NetSuite and Acumatica ERP Software