Saturday, February 2, 2019

Test UNC Path Used in Label.bat file to Determine if NetSuite Can Print the Integrated Shipping Label to the Shared Thermal Printer

When troubleshooting why a shipping label does not print to the designated thermal printer, it is imperative to test first if the batch file (label.bat) can access the printer location. This can be done by entering the UNC Path specified in your label.bat file in Windows Run box.

Here are the steps:


1. Determine the UNC path in your label.bat file

If you are using the command format below:

Net use LPT2: \\%ComputerName%\PrinterName
Copy %1 LPT2
Net use LPT2: /Delete

The UNC path in the format is %ComputerName%\PrinterName

If you are using:

print /d:\\Server\PrinterName %1

Then the UNC path in the format is Server\PrinterName %1

Note: It is important to verify first that the Server name and the printer share name is correct to make sure that the UNC path is valid.

2. Enter the UNC path in the Windows Run box

In Windows XP

  • Click Windows button
  • Select Run
  • Enter the UNC path

In Windows 7 and above

  • Click Windows button
  • Enter the UNC path in the Search field

If the Thermal Printer dialog box opens. This means that label.bat can access the printer location. If it does not open, you have to contact an IT specialist because it is no longer a problem with NetSuite. What we have to remember here is that NetSuite only relies on the computer's ability to access the printer via the UNC path to successfully print the label. If his computer cannot access it, NetSuite cannot print the label as well.

No comments:

Post a Comment