Printing Integrated Shipping Labels With a Thermal Printer in NetSuite
This post is taken from the NetSuite Help Center: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_n1266244.html (Must be logged in to view)
Other Posts on NetSuite Integration
• Configuring NetSuite for Token-Based Authentication
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.
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
- Go to Control Panel > Devices and Printers.
- Right-click the icon for your printer.
- Select Printer properties, then the Sharing
- Click Share This Printer.
- In the Share Name field, enter the name of the printer, such as LP 2844. Make sure the printer name contains no spaces.
- 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.
- Open a text editor such as Notepad or WordPad.
- 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
- 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
- Click Save. In Filename, enter bat, (replacing the .txt suffix with .bat).
- Select All Files in the Save as Type
- 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.
- Go to the Start Enter Indexing and click Enter.
- In the Indexing Options window, click Advanced.
- Click on the File Types
- 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.
- Save the EPL2 or ZPL file to your desktop.
- Right-click the saved file.
- Click Open With, then Choose default program.
- Click Browse and find the bat file. Click Open.
- Check the Always use the selected to open this kind of file. Click OK.
- Right-click the saved EPL2 or ZPL file and select Properties.
- In the General tab, click Change.
- 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.
- Before fulfilling the order, go to Setup > Accounting > Setup Tasks > Shipping.
- Click the shipping account you want to use to print the label.
- 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:
- After you have fulfilled the order, go to Transactions > Management > Print Checks and Forms.
- Click Integrated Shipping Labels.
- 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.
- Select a carrier to print labels for or select All.
- Leave the Single Label Per Page box clear. This preference is for printing in PDF format.
- Optionally, select a location.
- 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.
- 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.