|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--superwaba.ext.xplat.io.print.Settings
|
+--superwaba.ext.xplat.io.print.pboy.PBoySettings
This class is used to get and set various settings from the printer.
| Field Summary | |
static int |
DPI_X
The argument is an integer. |
static int |
DPI_Y
The argument is an integer. |
static int |
GRAPHIC_CAPS
The argument is an integer. |
static int |
IS_GRAPHICAL
The argument is an integer. |
static int |
IS_RASTER
The argument is an integer. |
static java.lang.String |
licenseKey
Important! |
static int |
MAX_LINES_PER_PAGE
The argument is an integer. |
static int |
PAGE_HEIGHT
The argument is an integer. |
static int |
PAGE_ORIENTATION
The argument is an integer: ORIENTATION_PORTRAIT or ORIENTATION_LANDSCAPE. |
static int |
PAGE_ORIENTATION_LANDSCAPE
Value for PAGE_ORIENTATION |
static int |
PAGE_ORIENTATION_PORTRAIT
Value for PAGE_ORIENTATION |
static int |
PAGE_WIDTH
The argument is an integer. |
static int |
PAPER_TYPE
The argument is an integer. |
static int |
PAPER_TYPE_A4
Value for PAPER_TYPE |
static int |
PAPER_TYPE_LEGAL
Value for PAPER_TYPE |
static int |
PAPER_TYPE_LETTER
Value for PAPER_TYPE |
static int |
PAPER_TYPE_ROLL
Value for PAPER_TYPE |
static int |
TAB_SIZE
The argument is an integer. |
| Method Summary | |
float |
getFloat(int what)
Gets a float value |
int |
getInt(int what)
Gets an integer value |
java.lang.String |
getString(int what)
Gets a String value |
void |
set(int what,
float f)
Sets a value as float |
void |
set(int what,
int i)
Sets a value as integer |
void |
set(int what,
java.lang.String s)
Sets a value as String |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static java.lang.String licenseKey
public static final int MAX_LINES_PER_PAGE
public static final int TAB_SIZE
public static final int PAGE_WIDTH
public static final int PAGE_HEIGHT
public static final int PAGE_ORIENTATION
public static final int PAPER_TYPE
public static final int DPI_X
public static final int DPI_Y
public static final int IS_GRAPHICAL
public static final int IS_RASTER
public static final int GRAPHIC_CAPS
public static final int PAGE_ORIENTATION_PORTRAIT
public static final int PAGE_ORIENTATION_LANDSCAPE
public static final int PAPER_TYPE_ROLL
public static final int PAPER_TYPE_LETTER
public static final int PAPER_TYPE_A4
public static final int PAPER_TYPE_LEGAL
| Method Detail |
public void set(int what,
java.lang.String s)
throws NotSupportedException,
PrinterException
public void set(int what,
int i)
throws NotSupportedException,
PrinterException
public void set(int what,
float f)
throws NotSupportedException,
PrinterException
public java.lang.String getString(int what)
throws NotSupportedException,
PrinterException
public int getInt(int what)
throws NotSupportedException,
PrinterException
public float getFloat(int what)
throws NotSupportedException,
PrinterException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||