UniPRT SDK  v2.0.0.1
com.UniPRT.Sdk.Json.PrinterUtil Class Reference

Static Private Member Functions

static boolean PingResponded (String ip, int timeoutSecs)
 Update firmware using file at fileLocation to printer using password and connection commDescriptor with a timeoutMins in minutes. More...
 
static boolean PingStoppedResponding (String ip, int timeoutSecs)
 

Detailed Description

\~English @brief
  Commmonly used services that allow for "one liner" or as close to "one liner" service as possible.

@details
  Services such as sending a print job, getting printer status.

@remarks
  @todo <b>Todo: Raul Update! </b> Clean this up and remove "under construction" signs. \n
  This is where the services that can be achieved with __one liners__ go. \n
  For example:
    - 1.) Get printer hardware info. Is this the right hardware to send print job to ?
    - 2.) Get printer status (online, offline, fault, etc).  Is it ready for me to send print job ?
    - 3.) Download new firmware here ?

@section Examples
@anchor refToPrinterUtilExample
@include PrinterUtilSnippet.java

@section Output

...

Output

Member Function Documentation

◆ PingResponded()

static boolean com.UniPRT.Sdk.Json.PrinterUtil.PingResponded ( String  ip,
int  timeoutSecs 
)
staticprivate

Update firmware using file at fileLocation to printer using password and connection commDescriptor with a timeoutMins in minutes.

Returns true if successfully sent firmware to printer, false otherwise.
Note that the printer should not be powered off during software update, and the update may take several minutes.
e.g. commDescriptor could be the IP address of the printer i.e. "192.168.1.101"

◆ PingStoppedResponding()

static boolean com.UniPRT.Sdk.Json.PrinterUtil.PingStoppedResponding ( String  ip,
int  timeoutSecs 
)
staticprivate

The documentation for this class was generated from the following file: