Skip to content

GET /printers

Returns all configured printers — both auto-discovered and manually added.

Endpoint:

GET /api/v1/printers
{
"status": "success",
"statusCode": 200,
"result": {
"module": "/printers",
"message": "Successfully obtained printers.",
"content": [
{
"id": "MYS9QT8D",
"type": "printer",
"path": "tcp_192-168-86-250_9100",
"connection": {
"type": "network",
"host": "192.168.86.250",
"port": 9100,
"protocol": "tcp"
},
"model": "Zebra ZD421",
"content": "zpl",
"discovered": false,
"localAddress": "192.168.86.250"
}
]
}
}
FieldTypeDescription
idstringUnique printer identifier.
pathstringThe addressable path — use this as the target parameter when printing.
connection.typestringnetwork or usb.
connection.hoststringIP or hostname (network printers).
connection.portnumberPort number (network printers).
connection.protocolstringtcp, ipp, http, or https.
connection.serialNumberstringSerial number (USB printers only).
modelstringPrinter model name.
contentstringContent type: raw, pdf, or zpl.
supportedFormatsstring[]MIME types supported (discovered via IPP).
discoveredbooleantrue if auto-discovered, false if manually added.