Update Printers
post
/config/sim/v1/devices/updatePrinters
Updates a printer record for the current organization.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
A request body
Root Schema : PrinterCUDRequestBody
Type:
object
Model for the Printer CUD Request
Show Source
-
hierUnitId(required):
integer
Unique hierarchy unit valueExample:
1
-
name(required):
object name
Name
-
objectNum(required):
integer
Object number of the PrinterExample:
1
-
options:
string
A string value of 0s & 1s of length 6 representing the enablement or disablement of the options associated with the PrinterExample:
000000
-
printerConfiguration:
object PrinterConfiguration
An object containing the configuration settings for the printer
-
printerType:
integer
The type of the printer. The value must lie between 1 and 16 (both inclusive).Example:
1
-
trailingLineFeeds:
integer
The number of trailing line feeds, normally used in guest check and customer receipt.Example:
1
-
wsObjNum:
integer
Object number of the workstation to function as the print controller.Example:
1
Nested Schema : name
Type:
object
Name
Example:
{
"en-US":"Hotline PC",
"de-DE":"Hotline-PC"
}
Nested Schema : PrinterConfiguration
Type:
object
An object containing the configuration settings for the printer
Show Source
-
address:
string
The IP address or hostname for the printer. If using the printer for banquet checks, enter the hostname. Applicable only if printerType = 2 / 3 / 4 / 11Example:
127.0.0.0
-
baudRate:
integer
The baud rate for the printer. Applicable only if printerType = 1/ 6 / 7 / 8 / 9 / 10 / 12 / 14Example:
1
-
bluetoothSettings:
object BluetoothSettings
Bluetooth settings
-
centerLogoUsing:
integer
The appropriate paper size for the printer to center the logo. 1 - 3 (1/8) (80mm) Paper 2 - 2 (1/4) (58mm) Paper. Applicable only if printerType = 3 / 11Example:
1
-
comPort:
string
The COM port for the printer. Applicable only if printerType = 1 / 6 / 7 / 8 / 9/ 10 / 12 / 14Example:
COM4
-
dataBits:
integer
The data bits for the printer. Applicable only if printerType = 1 / 6 / 7 / 8 / 9 / 10 / 12 / 14Example:
8
-
fileName:
string
The directory and file name to store the local disk file. Applicable only if printerType = 13Example:
/local/config.txt
-
firstPageMargins:
object FirstPageMargins
An object containing the Bluetooth configuration settings for the printer. Applicable only if printerType = 4
-
idnId:
integer
The IDN ID for the printer. Applicable only if printerType = 12Example:
1
-
oposPrinterConfig:
object OposPrinterConfig
An object containing the configuration settings for the OPOS Printer. Applicable only if printerType = 15
-
otherPageMargins:
object FirstPageMargins
An object containing the Bluetooth configuration settings for the printer. Applicable only if printerType = 4
-
parity:
integer
The parity for the printer.0 - None 1 - Even 2 - Odd Applicable only if printerType = 1 / 6 / 7 / 8 / 9 / 10 / 12 / 14Example:
1
-
port:
integer
The port number for the IP printer. Applicable only if printerType = 2 / 3 / 4 / 11Example:
9100
-
serialNumber:
integer
The Serial Number of S1F2 terminal. Applicable only if printerType = 16Example:
123456789012345
-
stopBits:
integer
The stop bits for this printer. Applicable only if printerType = 1 / 6/ / 7 / 8 / 9 / 10 / 12 / 14Example:
1
Nested Schema : BluetoothSettings
Type:
object
Bluetooth settings
Show Source
-
id:
string
The Bluetooth ID of the printer or leave the field blank to allow configuration from a Mobile client when using different printers per event.Example:
11:22:33:44:55:66
-
numberOfColumns:
integer
The column width of the printer.Example:
32
-
pin:
integer
The Bluetooth PIN of the printer.Example:
1
Nested Schema : FirstPageMargins
Type:
object
An object containing the Bluetooth configuration settings for the printer. Applicable only if printerType = 4
Show Source
-
bottom:
integer
The bottom margin, in inches, for the page.Example:
0
-
left:
integer
The left margin, in inches, for the page.Example:
0
-
top:
integer
The top margin, in inches, for the page.Example:
0
Nested Schema : OposPrinterConfig
Type:
object
An object containing the configuration settings for the OPOS Printer. Applicable only if printerType = 15
Show Source
-
bufferAllDateBeforePrint:
boolean
A Boolean flag indicating to enable fast OPOS printing. Does not work with all printers as it depends on OPOS printing implementation.Example:
false
-
bufferOutput:
boolean
A Boolean flag indicating to enable faster printing for printers other than Epson printers.Example:
false
-
deviceName:
string
The name of the deviceExample:
DeviceName
-
printerColumns:
integer
The number of columns in the printerExample:
1
-
printerId:
integer
The identifier of the printerExample:
1
-
printPlainText:
boolean
A Boolean flag indicating to remove all OPOS commands and send plain text to the printer.Example:
false
-
useNearEmptyAsEmpty:
boolean
A Boolean flag indicating to use near empty as emptyExample:
false
Response
Supported Media Types
- application/json
200 Response
Printer Object Updated or Added.
Root Schema : PrinterResponse
Type:
Show Source
object
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
objectNum:
integer
Object number of the printerExample:
1