|
|||||||||
| 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.palm.io.print.irprint.IrPrintSettings
This class is used to get and set various settings from the printer. Note: font faces must be: Roman, Courier, Gothic or Pretige.
| Field Summary | |
static int |
AlignCenter
Used with Alignment |
static int |
AlignJustified
Used with Alignment |
static int |
AlignLeft
Used with Alignment |
static int |
Alignment
Used to get or set the text alignment |
static int |
AlignRight
Used with Alignment |
static int |
BorderAll
Used with BorderSize. |
static int |
BorderBottomMask
Used with BorderSize. |
static int |
BorderLeftMask
Used with BorderSize. |
static int |
BorderNone
Used with BorderSize. |
static int |
BorderRightMask
Used with BorderSize. |
static int |
BorderSize
Used to get or set the border type |
static int |
BorderTopMask
Used with BorderSize. |
static int |
BottomMargin
Used with Margins. unit in 1/16 inch(es), 16 means 1 inch, 24 means 1.5 inches |
static int |
BtConnectionBlade
Used with CommPort |
static int |
BtConnectionBlueV
Used with CommPort |
static int |
BtConnectionBT700
Used with CommPort |
static int |
BtConnectionMSB1
Used with CommPort |
static int |
BtConnectionSDIO
Used with CommPort |
static int |
CableConnection
Used with CommPort |
static int |
CodePage
Used to get or set the code page |
static int |
CodePage437
Used with CodePage. |
static int |
CodePage850
Used with CodePage. |
static int |
CodePage852
Used with CodePage. |
static int |
CodePage855
Used with CodePage. |
static int |
CodePage857
Used with CodePage. |
static int |
CodePage860
Used with CodePage. |
static int |
CodePage863
Used with CodePage. |
static int |
CodePage864
Used with CodePage. |
static int |
CodePage865
Used with CodePage. |
static int |
CodePage869
Used with CodePage. |
static int |
CodePagePalm
Used with CodePage. |
static int |
CommPort
Used to get or set the current communication port |
static int |
CurrentColumn
Used to get or set the current column |
static int |
DocColumns
Used to get or set the number of document columns |
static int |
FieldHeight
this function to configure the field height for text string. |
static int |
FontBackColor
Used to get or set the font background color |
static int |
FontColorBlack
Used with FontForeColor and FontBackColor |
static int |
FontColorBlue
Used with FontForeColor and FontBackColor |
static int |
FontColorCyan
Used with FontForeColor and FontBackColor |
static int |
FontColorGreen
Used with FontForeColor and FontBackColor |
static int |
FontColorMagenta
Used with FontForeColor and FontBackColor |
static int |
FontColorRed
Used with FontForeColor and FontBackColor |
static int |
FontColorWhite
Used with FontForeColor and FontBackColor |
static int |
FontColorYellow
Used with FontForeColor and FontBackColor |
static int |
FontForeColor
Used to get or set the font foreground color |
static int |
FontType
Used to get or set the font type |
static int |
FontTypeFixedFont
Used with FontType |
static int |
FontTypeProportionalFont
Used with FontType |
static int |
HdDate
Used with SetHeaderFormat. |
static int |
HdTime
Used with SetHeaderFormat. |
static int |
HeaderFormat
Used to get or set the header format |
static int |
IrCOMMConnection
Used with CommPort |
static int |
IrDAConnection
Used with CommPort |
static int |
LandScape
Used with Orientation. |
static int |
LeftMargin
Used with Margins. unit in 1/16 inch(es), 16 means 1 inch, 24 means 1.5 inches |
static int |
LeftMarginSize
Used to get or set the left margin size |
static int |
LineSpacing
Used to get or set the line spacing |
static int |
LineSpacing3LinesPerInch
Used with LineSpacing. |
static int |
LineSpacing4LinesPerInch
Used with LineSpacing. |
static int |
LineSpacing6LinesPerInch
Used with LineSpacing. |
static int |
LineSpacing8LinesPerInch
Used with LineSpacing. |
static int |
LineSpacingDefault
Used with LineSpacing. |
static int |
Margins
Used to get or set the margins |
static int |
NumCopies
Used to get or set the number of copies |
static int |
Orientation
Used to get or set the page orientation |
static int |
PageNumber
Used to get or set the page number |
static int |
PaperSize
Used to get or set the paper size |
static int |
PaperSizeA4
Used with PaperSize |
static int |
PaperSizeLetter
Used with PaperSize |
static int |
ParserType
Used to get or set the parser type |
static int |
ParserTypeIrPrintHTMLV10
Used with ParserType. |
static int |
ParserTypeIrPrintXHTMLV10
Used with ParserType. |
static int |
ParserTypeNone
Used with ParserType. |
static int |
Portrait
Used with Orientation. |
static int |
RightMargin
Used with Margins. unit in 1/16 inch(es), 16 means 1 inch, 24 means 1.5 inches |
static int |
RightMarginSize
Used to get or set the right margin size |
static int |
TCPIPConnection
Used with CommPort |
static int |
TopMargin
Used with Margins. unit in 1/16 inch(es), 16 means 1 inch, 24 means 1.5 inches |
static int |
Truncate
1 to truncate text when printing reached the paper. 0 to wrap aroud text to next line. |
static int |
USBConnection
Used with CommPort |
| 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 final int CurrentColumn
public static final int DocColumns
public static final int LeftMarginSize
public static final int RightMarginSize
public static final int BorderSize
public static final int NumCopies
public static final int ParserType
public static final int FontType
public static final int FontForeColor
public static final int FontBackColor
public static final int Alignment
public static final int Margins
public static final int Orientation
public static final int CodePage
public static final int LineSpacing
public static final int PageNumber
public static final int HeaderFormat
public static final int Truncate
public static final int FieldHeight
public static final int CommPort
public static final int PaperSize
public static final int FontColorWhite
public static final int FontColorCyan
public static final int FontColorMagenta
public static final int FontColorBlue
public static final int FontColorYellow
public static final int FontColorGreen
public static final int FontColorRed
public static final int FontColorBlack
public static final int ParserTypeNone
public static final int ParserTypeIrPrintHTMLV10
public static final int ParserTypeIrPrintXHTMLV10
public static final int FontTypeFixedFont
public static final int FontTypeProportionalFont
public static final int AlignLeft
public static final int AlignRight
public static final int AlignCenter
public static final int AlignJustified
public static final int TopMargin
public static final int BottomMargin
public static final int LeftMargin
public static final int RightMargin
public static final int LineSpacing6LinesPerInch
public static final int LineSpacing8LinesPerInch
public static final int LineSpacing4LinesPerInch
public static final int LineSpacing3LinesPerInch
public static final int LineSpacingDefault
public static final int Portrait
public static final int LandScape
public static final int CodePagePalm
public static final int CodePage437
public static final int CodePage850
public static final int CodePage852
public static final int CodePage855
public static final int CodePage857
public static final int CodePage860
public static final int CodePage863
public static final int CodePage864
public static final int CodePage865
public static final int CodePage869
public static final int BorderTopMask
public static final int BorderLeftMask
public static final int BorderBottomMask
public static final int BorderRightMask
public static final int BorderAll
public static final int BorderNone
public static final int HdDate
public static final int HdTime
public static final int IrDAConnection
public static final int IrCOMMConnection
public static final int CableConnection
public static final int USBConnection
public static final int TCPIPConnection
public static final int BtConnectionSDIO
public static final int BtConnectionMSB1
public static final int BtConnectionBT700
public static final int BtConnectionBlade
public static final int BtConnectionBlueV
public static final int PaperSizeLetter
public static final int PaperSizeA4
| 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 | ||||||||