Skip to content

getDevicePath

Description

Gets the USB device path of the printer.
If the getPortType is 0, an empty string is returned.

Syntax

public String getDevicePath()

Return value

Returns the USB device path.
Example: "/dev/bus/usb/001/002"