public class GXPrinter
extends GXGeneralSession
Modifier and Type | Field and Description |
---|---|
static int |
LOG_MODE_DEBUG |
static int |
LOG_MODE_NORMAL |
Constructor and Description |
---|
GXPrinter() |
GXPrinter(GXParameters params) |
Modifier and Type | Method and Description |
---|---|
int |
attach() |
int |
getCharactersPerLine() |
int |
getLinesPerPage() |
GXIPrintObjectInterface |
getPrint()
Sends a request to the server to get the latest buffer and returns the
GXPrintObject object.
|
int |
getPrinterStatus()
Returns the printer status.
|
void |
setCharactersPerLine(int charactersPerLine) |
void |
setLinesPerPage(int linesPerPage) |
void |
setLogLevel(int logLevel) |
int |
setWaitCondition(int type,
String paramString,
int intParam1,
int intParam2,
int caseSensitive,
long timeout,
long flicker) |
public static final int LOG_MODE_NORMAL
public static final int LOG_MODE_DEBUG
public int attach()
public GXIPrintObjectInterface getPrint()
public int getPrinterStatus()
public void setLogLevel(int logLevel)
logLevel
- possible values: LOG_MODE_NORMAL, LOG_MODE_DEBUGpublic void setLinesPerPage(int linesPerPage)
public int getLinesPerPage()
public void setCharactersPerLine(int charactersPerLine)
public int getCharactersPerLine()
public int setWaitCondition(int type, String paramString, int intParam1, int intParam2, int caseSensitive, long timeout, long flicker)
Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.