Class Cups.CupsJob
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.unix.Cups.CupsJob
- Enclosing interface:
Cups
@FieldOrder({"id","dest","title","user","format","state","size","priority","completed_time","creation_time","processing_time"})
public static class Cups.CupsJob
extends Structure
CUPS job structure.
Corresponds to cups_job_t in <cups/cups.h>. Represents a
print job in the CUPS system.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionTime the job was completed (time_t, Unix epoch).Time the job was created (time_t, Unix epoch).Printer or class name.Document format (MIME type).intThe job ID.intPriority (1-100).Time the job began processing (time_t, Unix epoch).intSize in kilobytes.intJob state (ipp_jstate_t).Title of the job.User who submitted the job.Fields inherited from class Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
id
public int idThe job ID. -
dest
Printer or class name. -
title
Title of the job. -
user
User who submitted the job. -
format
Document format (MIME type). -
state
public int stateJob state (ipp_jstate_t). -
size
public int sizeSize in kilobytes. -
priority
public int priorityPriority (1-100). -
completed_time
Time the job was completed (time_t, Unix epoch). -
creation_time
Time the job was created (time_t, Unix epoch). -
processing_time
Time the job began processing (time_t, Unix epoch).
-
-
Constructor Details
-
CupsJob
public CupsJob() -
CupsJob
-