3.2. Detected Printer Structure

To detect connected printers, the Printer::Detect function is used. It creates a list of detected printers.

Detected printer is described as a map with following keys:

Example 3.2. Detected Printer Structure

$[
  "device":"Stylus Photo 810",
  "device_db":"STYLUSPHOTO810",
  "info":"EPSON Stylus Photo 810",
  "location":"USB printer on //EPSON/Stylus%20Photo%20810",
  "unique_key":"cLrx.twN5GQuyNJ3",
  "uri":"usb://EPSON/Stylus%20Photo%20810",
  "vendor":"EPSON",
  "vendor_db":"EPSON"
]