Package javaforce.print
Class IPL
java.lang.Object
javaforce.print.IPL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBarcode2D(int x, int y, int scaleX, int scaleY, String code) Adds standard 2D Barcode (code 39).voidaddBarcode3D(int x, int y, int version, int scaleXY, String code) Adds 3D QR barcode.voidaddBox(int x, int y, int width, int height, int lineWidth) voidaddLine(int x, int y, int width, int height) voidvoidfinish()generate()void
-
Constructor Details
-
IPL
public IPL(int program) Creates an IPL file.- Parameters:
program- =1-99
-
-
Method Details
-
addBarcode2D
Adds standard 2D Barcode (code 39). Usually scaleX/scaleY are the same (try 1,1 or 2,2) -
addBarcode3D
Adds 3D QR barcode. version = size of QR code (how many Alphanumeric codes max it can hold) (ECC level=H) (ie:V4=50, V10=174, V25=1852) (see https://www.qrcode.com/en/about/version.html) scaleXY = scales QR in X/Y direction (try 1,2,3,4,5,...) -
addText
-
addLine
public void addLine(int x, int y, int width, int height) -
addBox
public void addBox(int x, int y, int width, int height, int lineWidth) -
finish
public void finish() -
generate
-
print
-