u
This commit is contained in:
@@ -1655,7 +1655,7 @@
|
||||
"Printer"
|
||||
],
|
||||
"summary": "Create printer",
|
||||
"description": "Creates a new printer for the selected company.\n`type` must be `\"esc/pos\"` (lines) or `\"zpl\"` (pages).\n",
|
||||
"description": "Creates a new printer for the selected company.\n`type` must be `\"esc/pos\"` (lines), `\"zpl\"` (pages), or `\"ipp\"`.\n",
|
||||
"security": [
|
||||
{
|
||||
"cookieAuth": []
|
||||
@@ -11914,9 +11914,10 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"esc/pos",
|
||||
"zpl"
|
||||
"zpl",
|
||||
"ipp"
|
||||
],
|
||||
"description": "Printer type (\"esc/pos\" for lines or \"zpl\" for pages)"
|
||||
"description": "Printer type (\"esc/pos\" for lines, \"zpl\" for pages, or \"ipp\")"
|
||||
},
|
||||
"model": {
|
||||
"type": "string",
|
||||
@@ -11954,9 +11955,10 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"esc/pos",
|
||||
"zpl"
|
||||
"zpl",
|
||||
"ipp"
|
||||
],
|
||||
"description": "Printer type (\"esc/pos\" for lines or \"zpl\" for pages)"
|
||||
"description": "Printer type (\"esc/pos\" for lines, \"zpl\" for pages, or \"ipp\")"
|
||||
},
|
||||
"model": {
|
||||
"type": "string",
|
||||
@@ -11985,7 +11987,8 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"esc/pos",
|
||||
"zpl"
|
||||
"zpl",
|
||||
"ipp"
|
||||
]
|
||||
},
|
||||
"model": {
|
||||
|
||||
@@ -5,7 +5,7 @@ Protected. Requires a valid session cookie (`credentials: 'include'`).
|
||||
Create printer
|
||||
|
||||
Creates a new printer for the selected company.
|
||||
`type` must be `"esc/pos"` (lines) or `"zpl"` (pages).
|
||||
`type` must be `"esc/pos"` (lines), `"zpl"` (pages), or `"ipp"`.
|
||||
|
||||
|
||||
## Body (JSON)
|
||||
|
||||
@@ -764,8 +764,8 @@
|
||||
* description: Printer network address or hostname
|
||||
* type:
|
||||
* type: string
|
||||
* enum: [esc/pos, zpl]
|
||||
* description: Printer type ("esc/pos" for lines or "zpl" for pages)
|
||||
* enum: [esc/pos, zpl, ipp]
|
||||
* description: Printer type ("esc/pos" for lines, "zpl" for pages, or "ipp")
|
||||
* model:
|
||||
* type: string
|
||||
* nullable: true
|
||||
@@ -790,8 +790,8 @@
|
||||
* description: Printer network address or hostname
|
||||
* type:
|
||||
* type: string
|
||||
* enum: [esc/pos, zpl]
|
||||
* description: Printer type ("esc/pos" for lines or "zpl" for pages)
|
||||
* enum: [esc/pos, zpl, ipp]
|
||||
* description: Printer type ("esc/pos" for lines, "zpl" for pages, or "ipp")
|
||||
* model:
|
||||
* type: string
|
||||
* nullable: true
|
||||
@@ -810,7 +810,7 @@
|
||||
* type: string
|
||||
* type:
|
||||
* type: string
|
||||
* enum: [esc/pos, zpl]
|
||||
* enum: [esc/pos, zpl, ipp]
|
||||
* model:
|
||||
* type: string
|
||||
* nullable: true
|
||||
|
||||
@@ -250,7 +250,7 @@ export function register(app, basePath = '') {
|
||||
* summary: Create printer
|
||||
* description: |
|
||||
* Creates a new printer for the selected company.
|
||||
* `type` must be `"esc/pos"` (lines) or `"zpl"` (pages).
|
||||
* `type` must be `"esc/pos"` (lines), `"zpl"` (pages), or `"ipp"`.
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: printer/create.md
|
||||
|
||||
Reference in New Issue
Block a user