Granite WMS/Troubleshoot/Printing

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Printing - also see installation page[edit | edit source]

General fault finding

  1. Run the label printing service as administrator in console. (bypass Windows service)
  2. Test if label can print in Bartender with no warnings or messages.
  3. Test printer, Windows test page.
  4. Test print through Bartender Granite label and Blank label.
  5. Test more than one printer.
  6. Test more than one Bartender label format.
  7. Test against service using API call. (http://localhost:2077/print?UserID=18&NumberOfLabels=1&LabelName=TrackingEntity.btw&Type=TrackingEntity&Barcode=157B7006). Change parameters of UserID and TrackingEntity&Barcode.
  8. Take Note: To view API enter address. http://localhost:2077/metadata. This will display available operations and their parameters.

Unable to print from Desktop client

One cause for this issue was the Firewall blocking the Port on the server.

To overcome the issue, I went into the firewall settings and added a rule to allow inbound communication on the port (2077).

Detail instructions WindowsFirewall

Label not printing

When printing labels and everything "works" except for label not printing.

Test by supplying a printername and not leaving empty or depending on default. This might be one reason, the other seems to have something to do with license server. It might be combination where it does not allow because the allocated license and the printername does not "match", note this is on Bartender SDK level.

Other issues and Object reference not set

  • You might have to also copy the dll's in directory (C:\Program Files (x86)\Seagull\BarTender Suite\SDK\Assemblies\.*) from the PC to the directory of the Granite label printing service.
  • Ensure the dll's in the directory is not blocked by windows. Right click and select Properties if you see a button [Unlock], the dll's are blocked, one by one unblock all.