current (PUT)
{server}/api/v1/printer/current/{printerName}
Description
Selects a printer in the underlying print processor.
Applies to:
- ScriptX.Services for Windows PC 2.19 and later.
Request parameters
printerName (string, required)
- printerName (string, required)
-
The name of the printer to select
If the printer is networked and includes the network share name, for example "\\AcmeServer\iUsefulPrinter" then the backslash characters may be custom encoded if required:
thePrinterName.replace(/\\/g, "||");
Response model
string
- String name of the current printer in the underlying print processor.