UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.Json.PrinterUtil Class Reference

Commmonly used services that allow for "one liner" or as close to "one liner" service as possible. More...

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

Commmonly used services that allow for "one liner" or as close to "one liner" service as possible.

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

Remarks
Todo:
Todo: Raul Update! Clean this up and remove "under construction" signs.
This is where the services that can be achieved with one liners go.
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 ?

Examples

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: