public abstract class SimplePrinting extends RemotePrint
Modifier and Type | Field and Description |
---|---|
protected int |
bottomPrintEnding |
protected boolean |
groupStart |
static int |
PRINT_DIALOG_ALWAYS |
static int |
PRINT_DIALOG_EACH_GROUP |
static int |
PRINT_DIALOG_NEVER |
static int |
PRINT_DIALOG_ONCE |
protected int |
printDialogChoice |
protected int |
rightPrintEnding |
protected int |
topPrintStart |
constantItems, currentFont, currentPrintablePage, curX, curY, defaultFont, DIN_A4, DIN_A4_MIN_MARGIN, DIN_A6, frContext, imaAreaHeight, imaAreaWidth, imaAreaX, imaAreaY, out, pageCounter, paper, paperHeight, paperWidth, printableItemsForEachPage, printerName, printingClass, sessionData, SQUARE_ROOT_OF_TWO, yStartPosition
Constructor and Description |
---|
SimplePrinting(SessionData sessionData) |
Modifier and Type | Method and Description |
---|---|
protected void |
beforePrinting()
Called before printing is started - override this method to load data.
|
void |
setPrinterDialog(int printerDialogWished)
Sets the type of wished printer dialog.
|
void |
startGroup() |
addEmptyLine, addEmptyLine, addSingleLine, addSingleLine, fillPageHeader, getAppResStr, getBottomPrintEnding, getCurrentPrintPosition, getFontHeight, getFontHeight, getLeftPrintStart, getPx, getRightAllignOffset, getRightAllignStartPoint, getRightPrintEnding, getStringWidth, getTopPrintStart, getTranslation, limit, lineFeedAndPageCheck, newPage, print, print, print, printBarcode, printIamge, printIndividualStuff, printInSameLine, printLine, resetFont, setFont, setImageableArea, setImageableArea, setOnBold, setPage, setPaper, setPaperSize, setPrinter, setPrintingClass, setYStartPosition
public static final int PRINT_DIALOG_NEVER
public static final int PRINT_DIALOG_ONCE
public static final int PRINT_DIALOG_EACH_GROUP
public static final int PRINT_DIALOG_ALWAYS
protected int printDialogChoice
protected boolean groupStart
protected int rightPrintEnding
protected int topPrintStart
protected int bottomPrintEnding
public SimplePrinting(SessionData sessionData)
public void setPrinterDialog(int printerDialogWished)
printerDialogWished
- the the type of wished printer dialogPRINT_DIALOG_NEVER
,
PRINT_DIALOG_ONCE
,
PRINT_DIALOG_EACH_GROUP
,
PRINT_DIALOG_ALWAYS
public void startGroup()
protected void beforePrinting()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de