Serialized Form


Package com.java4less.rbarcode

Class com.java4less.rbarcode.BarCode extends java.awt.Canvas implements Serializable

Serialized Fields

textOnTop

boolean textOnTop
put text on the top of the barcode


barType

int barType
Symbology to be used. Default is BAR39


code

java.lang.String code
text to be encoded as barcode.


usedCodeSup

java.lang.String usedCodeSup
user defined 2 or 5 digit supplement for EAN or UPC codes.


checkCharacter

boolean checkCharacter
if true, the checksum character will be calculated and appended to the code. Default value is true.


postnetHeightTallBar

double postnetHeightTallBar
height in CM of POSTNET's tall bars. The default is 0.25


postnetHeightShortBar

double postnetHeightShortBar
height in CM of POSTNET's short bars. The default is 0.125


leftMarginCM

double leftMarginCM
left margin of the barcode (also know as quite zone). The default is 0.5 CM.


topMarginCM

double topMarginCM
top margin of the barcode (also know as quite zone). The default is 0.5 CM.


supplement

java.lang.String supplement
user defined 2 or 5 digit supplement for EAN or UPC codes.


guardBars

boolean guardBars
if true (default), guardbars in EAN and UPC codes will be longer than data bars.


backColor

java.awt.Color backColor
background color.


codeText

java.lang.String codeText
text after encoding. It will contain the appenden checksum, if calculated.


resolution

int resolution
 
 resolution used to convert from CM to pixels. The value is pixels/CM. The default is 96 dpi.
 If you set the resolution to 1 then all units are pixels.
 


barHeightCM

double barHeightCM
bar height in CM. If 0 it will be calculated using H.


textFont

java.awt.Font textFont
font of the text. The default is Arial, size 11.


fontColor

java.awt.Color fontColor
color of the text. The default value is Color.black.


barColor

java.awt.Color barColor
color of the bars.The default value is Color.black.


UPCESytem

char UPCESytem
system to be used in UPCE. It can be "0" or "1". The default is "1".


CODABARStartChar

char CODABARStartChar
start character for CODABAR. The default is A.


CODABARStopChar

char CODABARStopChar
stop character for CODABAR. The default is B.


UPCEANSupplement2

boolean UPCEANSupplement2
2 digit supplement for EAN or UPC codes.


UPCEANSupplement5

boolean UPCEANSupplement5
5 digit supplement for EAN or UPC codes.


Code128Set

char Code128Set
set of character to be used in code 128. Possible values are 'A', 'B' or 'C' (only for numeric codes). The default is 'B'


MSIChecksum

int MSIChecksum
MSI checksum algorithm. The default value is MSI_CHECKSUM_10


X

double X
size in CM of modules (narrow bars or spaces). The resolution is used to converto to pixels.


N

double N
multiplicator value for width bars. A value of 2 (default) means that wide bars will be 2*N CM width.


I

double I
space between 2 characters (code 39). This a multiplicator of X. The default is 1.


H

double H
height of bars. This a multiplicator of X. The default is 0.45.


L

double L
Symbol length in CM. This is calculated by RBarcode and the user can read it.


rotate

int rotate
rotation angle. Valid values are 0 (default),90,180 and 270.


supSeparationCM

double supSeparationCM
Separation in CM between the barcode and the supplement


supHeight

double supHeight
height of the supplement. This is a multiplicator of the height of the code. The default is 0.8 (80%).


processTilde

boolean processTilde
process ~ in code?
 the string ~dNNN will be replace by the character for the ascii value NNN. For example d065 stands for A
 


currentX

int currentX
current position of painting cursor.


currentY

int currentY

set39

java.lang.String[][] set39
code 39 table.


set25

java.lang.String[][] set25
code 2 of 5 table.


setMSI

java.lang.String[][] setMSI
code MSI table.


set11

java.lang.String[][] set11
code 11 table.


setCODABAR

java.lang.String[][] setCODABAR
CODABAR table.


set93

java.lang.String[][] set93
code 93 table.


setUPCALeft

java.lang.String[][] setUPCALeft
code UPCA left table.


setUPCARight

java.lang.String[][] setUPCARight
code UPCA right table.


setUPCEOdd

java.lang.String[][] setUPCEOdd
code UPCE odd table.


setUPCEEven

java.lang.String[][] setUPCEEven
code UPCE even table.


set39Ext

java.lang.String[] set39Ext
code 39 extended table.


set93Ext

java.lang.String[] set93Ext
code 93 extended table.


UPCESystem0

java.lang.String[] UPCESystem0
code UPCE system 0 table.


UPCESystem1

java.lang.String[] UPCESystem1
code UPCE system 1 table.


setEANLeftA

java.lang.String[][] setEANLeftA
code EAN left A table.


setEANLeftB

java.lang.String[][] setEANLeftB
code EAN left B table.


setEANRight

java.lang.String[][] setEANRight
code EAN right table.


setEANCode

java.lang.String[] setEANCode
code EAN table.


fiveSuplement

java.lang.String[] fiveSuplement
5 digit supplement table.


set128

java.lang.String[] set128
code 128 table.


set128A

java.lang.String[] set128A
code 128, character set A


set128B

java.lang.String[] set128B
code 128, character set B


set128C

java.lang.String[] set128C
code 128, character set C


setPOSTNET

java.lang.String[][] setPOSTNET
code POSTNET table


leftMarginPixels

int leftMarginPixels

topMarginPixels

int topMarginPixels

narrowBarPixels

int narrowBarPixels

widthBarPixels

int widthBarPixels

narrowBarCM

double narrowBarCM

widthBarCM

double widthBarCM

barHeightPixels

int barHeightPixels

extraHeight

int extraHeight

leftGuardBar

int leftGuardBar

centerGuardBarStart

int centerGuardBarStart

centerGuardBarEnd

int centerGuardBarEnd

rightGuardBar

int rightGuardBar

endOfCode

int endOfCode

startSuplement

int startSuplement

endSuplement

int endSuplement

suplementTopMargin

int suplementTopMargin

Class com.java4less.rbarcode.BarCode2D extends BarCode implements Serializable

Serialized Fields

PDF417_START

int PDF417_START

PDF417_STOP

int PDF417_STOP

textCodes

java.lang.String[][] textCodes
PDF417 text mode character set


coef

int[][] coef
PDF417 error correction coeficients


PDF417_BITS

int[][] PDF417_BITS
PDF417 bar patterns


PDFPointerNextData

int[] PDFPointerNextData
number of rows of the PDF417 code. If 0 the number will be calculated automatically.


PDFRows

int PDFRows
preferred number of rows. The default value is 3.


PDFMaxRows

int PDFMaxRows
maximum number of rows. The default value is 30.


runtimeRows

int runtimeRows

PDFColumns

int PDFColumns
number of columns of the PDF417 code. The default value is 10


PDFECLevel

int PDFECLevel
PDF417 error correction level. The default value is 0.


PDFMode

int PDFMode
PDF417 mode. Valid values are PDF_BINARY (default), PDF_TEXT (for ascii data) and PDF_NUMERIC (for numeric data).


PDFCompact

boolean PDFCompact
compact or truncated mode


PDFMacroSegment

int PDFMacroSegment
PDF Macro segment


PDFMacroFileId

int[] PDFMacroFileId
PDF Macro field id


PDFMacroFileName

java.lang.String PDFMacroFileName
PDF Macro field name


PDFMacroTimeStamp

java.lang.String PDFMacroTimeStamp
PDF Macro time stamp


PDFMacroSender

java.lang.String PDFMacroSender
PDF Macro Sender


PDFMacroAddresse

java.lang.String PDFMacroAddresse
PDF Macro Adresse


PDFMacroFileSize

long PDFMacroFileSize
PDF Macro file size


PDFMacroSegmentCount

int PDFMacroSegmentCount
number of Macro PDF symbols needed


PDFMacroLastSegment

boolean PDFMacroLastSegment
set it to true if you are creating the last segment of the sequence in a macro pdf 417 barcode


PDFMacroOffset

long PDFMacroOffset
internal use


codeBinary

byte[] codeBinary
binary data to be encoded

Class com.java4less.rbarcode.BarCodeBean extends BarCode implements Serializable

Class com.java4less.rbarcode.BarCodePDF417Bean extends BarCode2D implements Serializable

Serialized Fields

PDFMode

int PDFMode
PDF417 mode. Valid values are PDF_BINARY (default), PDF_TEXT (for ascii data) and PDF_NUMERIC (for numeric data).

Class com.java4less.rbarcode.BCApplet extends java.applet.Applet implements Serializable

Serialized Fields

BC

BarCode BC

isStandalone

boolean isStandalone

Class com.java4less.rbarcode.BCApplet2D extends BCApplet implements Serializable

Class com.java4less.rbarcode.RBarCodeServlet extends javax.servlet.http.HttpServlet implements Serializable

Serialized Fields

debug

boolean debug
Handle the HTTP POST method by sending an e-mail


BC

BarCode BC
--------------------------------------------------------- code for loading parameters ---------------------------------------------------------


Package com.java4less.rdatamatrix

Class com.java4less.rdatamatrix.BCAppletDM extends BCApplet implements Serializable

Class com.java4less.rdatamatrix.RDataMatrix extends BarCode implements Serializable

Serialized Fields

dotPixels

int dotPixels
Size in pixels of the square modules that made up the symbol.


margin

int margin
margin in pixels of the symbol


processTilde

boolean processTilde
if true (default is false) the class will process the ~ character in the input data (see help file for more information ).


reBuild

boolean reBuild
set this field to true if you want to redraw the symbol.


internalCode

java.lang.String internalCode

codeBinary

byte[] codeBinary
bytes for binary encoding


bitmap

int[][] bitmap

currentEncoding

int currentEncoding

rows

int rows

cols

int cols

datarows

int datarows

datacols

int datacols

maprows

int maprows

mapcols

int mapcols

regions

int regions

totaldata

int totaldata

totalerr

int totalerr

reeddata

int reeddata

reederr

int reederr

reedblocks

int reedblocks

C49rest

int C49rest

calculatedFormat

int calculatedFormat

encoding

int encoding
selects the encoding you want to use: E_AUTO, E_ASCII (default), E_C40, E_TEXT or E_BASE256.


preferredFormat

int preferredFormat
if -1 (default) , the class wil automatically select the format of the symbol. Otherwise you must specify a value (C10X10 till C144X144).

Class com.java4less.rdatamatrix.RDataMatrixBean extends RDataMatrix implements Serializable