Printing
Retrieve information about RAS printing settings.
Site ID for which to retrieve the RAS universal printing settings (optional)
GET /api/PrintingSettings HTTP/1.1
Host:
Accept: */*
{
"embedFonts": true,
"replicatePrinterFont": true,
"replicatePrinterPattern": true,
"replicatePrinterDrivers": true,
"driverAllowMode": [
"0 = AllowRedirUsingAnyDriver",
"1 = AllowRedirUsingSpecifiedDriver",
"2 = DoNotAllowRedirUsingSpecifiedDriver"
],
"printerDriversArray": [
"text"
],
"excludedFontsArray": [
"text"
],
"autoInstallFonts": [
"text"
],
"printerNamePattern": "text"
}
Modify printing settings of a Site. For each setting, the request has a corresponding parameter. To modify a setting, specify a matching parameter and its value.
Site ID (optional)
Update RAS Universal Printing settings
Printer Drivers string array.
Excluded Fonts string array.
Printer Name Pattern. Default pattern: %PRINTERNAME% for %USERNAME% by Parallels Valid pattern variables: %PRINTERNAME% | %USERNAME% | %CLIENTNAME% | %SESSIONID% Other valid pattern: 2X Universal Printer
Embed Fonts.
Replicate Printer Font Settings.
Replicate Printer Name Pattern Settings.
Replicate Printer Drivers Settings.
Printer Driver Allow Mode.
PUT /api/PrintingSettings HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 328
{
"printerDriversArray": [
"text"
],
"excludedFontsArray": [
"text"
],
"printerNamePattern": "text",
"embedFonts": true,
"replicatePrinterFont": true,
"replicatePrinterPattern": true,
"replicatePrinterDrivers": true,
"driverAllowMode": [
"0 = AllowRedirUsingAnyDriver",
"1 = AllowRedirUsingSpecifiedDriver",
"2 = DoNotAllowRedirUsingSpecifiedDriver"
]
}
No content
Was this helpful?