-
Web Service URL: https://[SERVER_ADDRESS]/PrintJobsWS/PrintJobsData.asmx
-
MPS Version: Starting with 5.3.0
Description
Returns print jobs according to the specified parameters.
Syntax
public string GetPrintJobs(string enterpriseName, string enterpriseKey, string authDomainName, string authLogonName, string authPassword, string filterDate, string filterDateType, string returnFieldsList)
Parameters
-
enterpriseName: Company name
-
enterpriseKey: Company key
-
authDomainName: Domain name
-
authLogonName: User logon (must be an administrator)
-
authPassword: Encrypted user password
-
filterDate: Date of print jobs (yyyy-MM-dd)
-
filterDateType: Date filter type
-
0 = By print date; 1 = By inclusion date
-
-
fieldsList: List of fields that will be returned by the function. They must be specified separated by semicolons ';'
-
Exemplo: LogonName;Printer;PagesMono;PagesColor
-
Fields recognized in fieldsList
|
Field |
Description |
|---|---|
|
Summarize |
It is a predefined return where user's print jobs will be grouped and returning the following fields:
This field should not be used in conjunction with other fields and will be ignored if it is |
|
LogonName |
User logon |
|
FullName |
User's complete name |
|
DomainName |
Domain name |
|
CostAccount |
Print job account |
|
CostAccountCode |
Print account code |
|
Machine |
Computer name |
|
MachineIP |
Computer IP |
|
Printer |
Printer name |
|
PrinterPort |
Printer port |
|
PrinterBrand |
Printer manufacturer |
|
PrinterModel |
Printer model |
|
PrinterAddress |
Printer address |
|
PrinterType |
Printer type:
|
|
SerialNumber |
Printer serial number |
|
PrinterQueue |
Queue name |
|
PrinterQueuePort |
Queue door |
|
SharedQueue |
Queue share name |
|
Driver |
Queue driver |
|
Site |
Site name |
|
Department |
Department name |
|
IsColor |
Print color type:
|
|
IsDuplex |
Duplex printing:
|
|
IsLogicalTrust |
Print confidence:
|
|
PrintQuality |
Print quality |
|
PrintApplication |
Application |
|
SpoolSize |
Print size in bytes |
|
PaperSize |
Paper type |
|
JobOrigin |
Origin of printing |
|
JobType |
Print type |
|
DatePrinted |
Date of the impression |
|
DateIncluded |
Data of inclusion of the printout |
|
PagesMono |
Mono pages |
|
PagesColor |
Colored pages |
|
CostMono |
Mono cost. The decimal separator is the period
|
|
CostColor |
Color-coded cost. The decimal separator is the period
|
|
Title |
Print title |
Return fields
Click here to learn more about working with returns.
Possible errors returned by the server
Click here to check the possible errors that may be returned and learn about their reasons.