Returns a list of online printers and email printers from the repository.
If the name or object ID of a form is specified, only the printers using this form are listed.
If object ID of the form is specified, the parameter FormName is ignored.
Syntax
Rep_GetPrinters(string sessionId,string systemName, string containingFormId,string containingFormName, out string xmlResult)
| Parameter | Description |
|---|---|
| sessionId | Valid session identifier (SessionId) |
| systemName | SystemOId of the system |
| containingFormId | Optional: Object ID of the form. |
| containingFormName | Optional: Optional: Name of the form (only used when form ID is not specified) |
| xmlResult | Printer list serialized as MwsFolderContent XML, or MwsError in the event of an error |
Return Value
| Value | Description |
|---|---|
| 0 | OK |
| <>0 |
Error See Error Codes. |