Class Cups.CupsDest
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.unix.Cups.CupsDest
- Enclosing interface:
Cups
@FieldOrder({"name","instance","is_default","num_options","options"})
public static class Cups.CupsDest
extends Structure
CUPS destination (printer or class) structure.
Corresponds to cups_dest_t in <cups/cups.h>. Each
destination represents a printer or printer class known to the CUPS
system.
Starting with CUPS 1.2, the options array includes attributes such as "printer-info", "printer-is-accepting-jobs", "printer-is-shared", "printer-make-and-model", "printer-state", "printer-state-change-time", "printer-state-reasons", "printer-type", and "printer-uri-supported".
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionLocal instance name ornullfor the primary instance.intNon-zero if this is the default destination.Printer or class name.intNumber of options.Pointer to options array (cups_option_t *).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
-
name
Printer or class name. -
instance
Local instance name ornullfor the primary instance. -
is_default
public int is_defaultNon-zero if this is the default destination. -
num_options
public int num_optionsNumber of options. -
options
Pointer to options array (cups_option_t *).
-
-
Constructor Details
-
CupsDest
public CupsDest() -
CupsDest
-