Job
Description
Represents a single job in the queue for a printer. A job is obtained from the list of print jobs available on a printer.
Syntax
oJob = printerControl.Jobs.Item(nIndex)
Licensed properties
All properties are read-only.
Property | Description | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
document | Specifies the name of the print job, typically the title of the html document that has been printed. | ||||||||||||||||||||||||||
machineName | Specifies the name of the machine that created the print job. | ||||||||||||||||||||||||||
pagesPrinted | Specifies the number of pages that have printed. This value may be zero if the print job does not contain page delimiting information. | ||||||||||||||||||||||||||
position | Specifies the job's position in the print queue. | ||||||||||||||||||||||||||
printerName | Specifies the name of the printer for which the job is spooled. | ||||||||||||||||||||||||||
size | Specifies the size, in bytes, of the job. | ||||||||||||||||||||||||||
status |
Specifies the job status, can be one or more of the following values:
|
||||||||||||||||||||||||||
statusText | A string containing a description of the status. This may be provided by the printer driver or may be generated by ScriptX from the value ofstatus.If generated by ScriptX the description is in English only. | ||||||||||||||||||||||||||
submittedAt | Specifies the time when the job was submitted. | ||||||||||||||||||||||||||
totalPages | Specifies the number of pages required for the job. This value may be zero if the print job does not contain page delimiting information. | ||||||||||||||||||||||||||
userName | Specifies the name of the user who owns the print job. |
The value of all properties are determined at the time that the Jobs collection is created, no properties are dynamic (for example a loop inspecting the value of pagesPrinted will not see the value decrease as might be expected).