public class BarcodePrint extends BarcodePrintStd
barcFont, barcodeDrawer, exhausted, fixText, fixtextFont, fixTextSize, image
form
curY, extraordinaryFormat, firstPrintCalled, groupStart, lineFeed, PRINT_DIALOG_ALWAYS, PRINT_DIALOG_EACH_GROUP, PRINT_DIALOG_NEVER, PRINT_DIALOG_ONCE, printDialogChoice, printerJob, printService
currentFontSpec, originalFont
Constructor and Description |
---|
BarcodePrint(int formId,
long startNbr,
int fixedNumberLength,
int pages)
Constructs a new BarcodePrint.
|
BarcodePrint(int formId,
long startNbr,
int fixedNumberLength,
int amount,
java.lang.String unit,
int exhausted)
Constructs a new BarcodePrint.
|
BarcodePrint(int formId,
long startNbr,
int fixedNumberLength,
java.lang.String textBefore,
int amount,
java.lang.String unit,
int exhausted)
Constructs a new BarcodePrint.
|
Modifier and Type | Method and Description |
---|---|
long |
getLastNbr() |
int |
print(java.awt.Graphics graphics,
java.awt.print.PageFormat pageFormat,
int pageIndex) |
setAdjustment, setBarcodeType, setEncodedImagaData, setFixtext, setImage
beforePrinting, getLabelAmount, getLabelCapacity, getSupportedForms
afterPrinting, getBottomPrintEnding, getLeftPrintStart, getPageFormat, getRightPrintEnding, getTopPrintStart, isToManipulate, print, print, print, replaceSize, replaceSize, setBottomPrintEnding, setLeftPrintStart, setMargins, setPrinter, setPrinterDialog, setRightPrintEnding, setTopPrintStart, startGroup
changeFontIfNew, getCompletelyLoadedImage, getCompletelyLoadedImage, getPx, getPxD, getRightAllignOffset, getRightAllignStartPoint, limit, limit, resetFont, setOnBold, wrap
public BarcodePrint(int formId, long startNbr, int fixedNumberLength, int pages)
formId
- the ID of the used form, e.g. FORM_AVERY_ZWECKFORM_L4732REV25startNbr
- the start number - each new barcode is increased by onefixedNumberLength
- the fixed length of the barcode text - leading zeroes will be added until this length is reachedpages
- the number of pages to print#FORM_AVERY_ZWECKFORM_L4732REV25
public BarcodePrint(int formId, long startNbr, int fixedNumberLength, int amount, java.lang.String unit, int exhausted)
formId
- the ID of the used form, e.g. FORM_AVERY_ZWECKFORM_L4732REV25startNbr
- the start number - each new barcode is increased by onefixedNumberLength
- the fixed length of the barcode text - leading zeroes will be added until this length is reachedamount
- the number of pages or labels to printunit
- whether the amount means pages or labels, e.g. UNIT_PAGESexhausted
- how many labels of the first page are already used#FORM_AVERY_ZWECKFORM_L4732REV25
,
ApplConstStd.UNIT_PAGES
,
ApplConstStd.UNIT_LABELS
public BarcodePrint(int formId, long startNbr, int fixedNumberLength, java.lang.String textBefore, int amount, java.lang.String unit, int exhausted)
formId
- the ID of the used form, e.g. FORM_AVERY_ZWECKFORM_L4732REV25startNbr
- the start number - each new barcode is increased by onefixedNumberLength
- the fixed length of the barcode text - leading zeroes will be added until this length is reachedtextBefore
- the text before the number to printamount
- the number of pages or labels to printunit
- whether the amount means pages or labels, e.g. UNIT_PAGESexhausted
- how many labels of the first page are already used#FORM_AVERY_ZWECKFORM_L4732REV25
,
ApplConstStd.UNIT_PAGES
,
ApplConstStd.UNIT_LABELS
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de