Hoạt động Get-Việc hoạt động Get-Việc trả về một danh sách các công việc in ấn cho máy in. Mỗi yêu cầu phải có các thuộc tính sau đây trong nhóm hoạt động: các thuộc tính-charset Việc Hủy bỏ tất cả các công việc trên một máy in. 0 × 0013 Set-in-thuộc tính Thay đổi các thuộc tính máy in | previous page page_162 next page Page 162 Printer Operations IPP provides several operations that act on printer objects exclusively. Table lists them. TABLE Printer Operation Codes Code Name 0x000AGet-Jobs 0x000B Get-Printer-Attributes 0x0010 Pause-Printer 0x0011 Resume-Printer 0x0012 Purge-Jobs 0x0013 Set-Printer-Attributes 0x0015 Get-Printer-Supported-ValuesGet supported printer attributes for the specified document format. Allow new print jobs to be submitted to a printer. Prevent new print jobs from being submitted to a printer. Description Get a list of print jobs. Get the attributes for a printer. Temporarily stop a printer. Resume printing on a printer. Cancel all jobs on a printer. Change printer attributes. 0x0022 Enable-Printer 0x0023 Disable-Printer The Get-Jobs Operation The Get-Jobs operation returns a list of print jobs for the printer. Each request must contain at least the following attributes in the operation group attributes-charset charset attributes-natural-language naturalLanguage printer-uri uri The requested-attributes IsetOf type2 keyword attribute can also be included to potentially limit the number of attributes returned where each keyword represents an attribute name or group. The requesting-user-name name 127 attribute can be used to limit the list to those jobs submitted by that username. The limit integer 1 MAX attribute can limit the maximum number ofjobs that are returned. Finally the which-jobs type2 keyword attribute specifies which jobs you are interested in. A value of completed means that you want information on completed print jobs whereas a value of not-completed means that you want information on jobs that are pending pending-held processing or processingstopped. CUPS also supports a printer-uri value of ipp ServerName which will return jobs for all printers and classes. previous page page_162 next page previous page page_163 next page Page 163 The Get-Printer-Attributes Operation The Get-Printer-Attributes .