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