Latest News

the latest news from our team

Printing Integrated Shipping Labels With a Thermal Printer in NetSuite

This post is taken from the NetSuite Help Center: (Must be logged in to view)

Other Posts on NetSuite Integration

SSL Configure
Configure SSL to Trust NetSuite
SSL Configure

Token-Based Authentication
Configuring NetSuite for Token-Based Authentication

Custom Fields
Adding Custom Field to NetSuite Sales Order Line
Editing Custom Field from NetSuite Sales Order Line

Printing Integrated Shipping Labels With a Thermal Printer in NetSuite

NetSuite: Printing Integrated Shipping Labels With a Thermal Printer

If you use the Shipping Label Integration feature, you can print a barcode shipping label for a sales order, vendor return, or transfer order. To be able to print a label, you must create a shipping item, create a sales order with the shipping item, and fulfill the sales order with the box checked to generate a shipping label.

For a list of compatible thermal printers, visit and

To print labels in EPL or ZPL format using a thermal printer:

ZPL format is currently supported by USPS and UPS services.

  • To install the thermal printer driver on a Windows PC
  • To set up your NetSuite account to print shipping labels in EPL or ZPL format
  • To print a shipping label in EPL or ZPL format

To install the thermal printer driver on a Windows PC:

There are four distinct stages to setting up the printer driver:

    • Install the driver according to the printer manufacturer’s instructions.
    • Sharing the printer on a network.
    • Creating a batch file to send the label files to the printer.
    • Adding the appropriate file extension and assigning default program associations.

Sharing the Printer

After installing the printer driver supplied by the printer manufacturer

  1. Go to Control Panel > Devices and Printers.
  2. Right-click the icon for your printer.
  3. Select Printer properties, then the Sharing
  4. Click Share This Printer.
  5. In the Share Name field, enter the name of the printer, such as LP 2844. Make sure the printer name contains no spaces.
  6. Click OK.

Creating the Batch File

NetSuite uses a batch file, called label. bat, to send the EPL2 and ZPL labels to a printer. If you created this file earlier, delete it before proceeding.

  1. Open a text editor such as Notepad or WordPad.
  2. If you are printing to a local printer using a USB port, enter the following, replacing ‘PrinterName’ with the name of your printer. Do not replace ‘ComputerName’ with the name of your computer. It will change dynamically when the batch file runs.
    Net use LPT2: \\%ComputerName%\PrinterName
    Copy %1 LPT2
    Net use LPT2: /Delete
  3. If you are using a network thermal printer, enter the following, replacing ‘Server’ with the print server name and ‘PrinterName’ with the name of your printer:
    print /d:\\Server\PrinterName %1
  4. Click Save. In Filename, enter bat, (replacing the .txt suffix with .bat).
  5. Select All Files in the Save as Type
  6. Select a location to save the file to and click Save.

Add the appropriate file extension to Windows Index

Completing these steps ensures that you will be able to search for your EPL2 and .ZPL files using Windows search.

  1. Go to the Start Enter Indexing and click Enter.
  2. In the Indexing Options window, click Advanced.
  3. Click on the File Types
  4. In the Add new extension to list field, add epl2 and click . Repeat for zpl.

Setting a default program to open the batch file

Complete these steps if you want to open EPL2 or ZPL files from your desktop.

Method 1

  1. Save the EPL2 or ZPL file to your desktop.
  2. Right-click the saved file.
  3. Click Open With, then Choose default program.
  4. Click Browse and find the bat file. Click Open.
  5. Check the Always use the selected to open this kind of file. Click OK.

Method 2

  1. Right-click the saved EPL2 or ZPL file and select Properties.
  2. In the General tab, click Change.
  3. Select a program from the list or click Browse to select the label.bat file you saved earlier.

To set up your NetSuite account to print shipping labels in EPL or ZPL format:

Set up your NetSuite account to print using either EPL or ZPL format. Printer types that can use this format include certain Zebra, Eltron, and Epson printers. ZPL format is available for FedEx, USPS and UPS shipping accounts and offers up to four times faster print speeds compared to the EPL format.

  1. Before fulfilling the order, go to Setup > Accounting > Setup Tasks > Shipping.
  2. Click the shipping account you want to use to print the label.
  3. In the Label Type field, select from the options below. For FedEx shipping accounts, select the Label Stock Orientation and Doctab Location for the EPL label that you use. You have the option to print EPL labels with or without doctabs only with FedEx shipping accounts. Click Submit.
Format Available Shipping Accounts
EPL (4 x 6) Fedex, UPS, USPS
EPL (4 x 8) UPS
ZPL (4 x 6) UPS
ZPL (4 x 8) UPS
ZPLII (4 x 6) USPS, FedEx

To print a shipping label in EPL or ZPL format:

  1. After you have fulfilled the order, go to Transactions > Management > Print Checks and Forms.
  2. Click Integrated Shipping Labels.
  3. In the Starting Label field, enter 1 to begin printing on the first label of the first sheet of labels. Enter 2 to begin printing on the second column, or second label, on the sheet.
  4. Select a carrier to print labels for or select All.
  5. Leave the Single Label Per Page box clear. This preference is for printing in PDF format.
  6. Optionally, select a location.
  7. In the Print column, check the box next to each order you want to print a label for.
    • Click Mark All to check the boxes for all items.
    • Click the Order Date for an order to view the sales order.
    • Click the Ship Date to view the Item Fulfillment for that order.
  8. Click Print. A window opens with instructions on how to download your label. Attach the label to the package for the order, and it is ready for drop-off or pick-up.

Leave a Reply

Your email address will not be published. Required fields are marked *