Interface ToolsUtilLinkOs

All Known Subinterfaces:
ZebraPrinterLinkOs

public interface ToolsUtilLinkOs
Utility class for performing Link-OS™ printer actions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Send the print directory label command to the printer.
    void
    Send the print network configuration command to the printer.
    void
    Sends the network reset command to the printer.
    void
    Sends the network reset command to the printer on protected mode.
    void
    resetProtected(String authPassword)
    Sends the appropriate reset command to the printer on protected mode.
    void
    Send the restore network defaults command to the printer.
    void
    setClock(String dateTime)
    Set the RTC time and date on the printer.
  • Method Details

    • restoreNetworkDefaults

      void restoreNetworkDefaults() throws ConnectionException
      Send the restore network defaults command to the printer.
      Throws:
      ConnectionException - if there is an error communicating with the printer.
    • printNetworkConfigurationLabel

      void printNetworkConfigurationLabel() throws ConnectionException
      Send the print network configuration command to the printer.
      Throws:
      ConnectionException - if there is an error communicating with the printer.
    • printDirectoryLabel

      void printDirectoryLabel() throws ConnectionException
      Send the print directory label command to the printer.
      Throws:
      ConnectionException - if there is an error communicating with the printer.
    • resetNetwork

      void resetNetwork() throws ConnectionException
      Sends the network reset command to the printer.
      Throws:
      ConnectionException - if there is an error communicating with the printer.
    • setClock

      void setClock(String dateTime) throws ConnectionException, ZebraIllegalArgumentException
      Set the RTC time and date on the printer. Accepted dateTime values include date (e.g. "MM-dd-yyyy"), time (e.g. "HH:mm:ss"), or both (e.g. "MM-dd-yyyy HH:mm:ss").
      Parameters:
      dateTime - date and or time in the proper format (MM-dd-yyyy, HH:mm:ss, or MM-dd-yyyy HH:mm:ss)
      Throws:
      ConnectionException - if there is an error communicating with the printer.
      ZebraIllegalArgumentException - if the format of dateTime is invalid.
    • resetProtected

      void resetProtected(String authPassword) throws ConnectionException, ZebraIllegalArgumentException
      Sends the appropriate reset command to the printer on protected mode.

      An authentication password is provided to the printer in protected mode. The method constructs a JSON payload for authentication and sends it to the printer.

      Parameters:
      authPassword - the authentication password to be sent to the printer for protected mode reset
      Throws:
      ConnectionException - if there is an issue communicating with the printer (e.g.the connection is not open, or the printer returns an error response.)
      ZebraIllegalArgumentException
    • resetNetworkProtected

      void resetNetworkProtected(String authPassword) throws ConnectionException, ZebraIllegalArgumentException
      Sends the network reset command to the printer on protected mode.

      An authentication password is provided to the printer in protected mode. The method constructs a JSON payload for authentication and sends it to the printer.

      Parameters:
      authPassword - the authentication password to be sent to the printer for protected mode reset
      Throws:
      ConnectionException - if there is an issue communicating with the printer (e.g.the connection is not open, or the printer returns an error response.)
      ZebraIllegalArgumentException