Examples of BarcodeEAN


Examples of com.lowagie.text.pdf.BarcodeEAN

            innertable.add(new Paragraph("option:", f));
            innertable.add(new Paragraph("architecture", f));
            outertable.add(innertable);
      outertable.getDefaultCell().setBackgroundColor(new Color(0xFF, 0xDE, 0xAD));
      outertable.add(LwgImage.getInstance("bruno.jpg"));
            BarcodeEAN codeEAN = new BarcodeEAN();
            codeEAN.setCodeType(Barcode.EAN13);
            codeEAN.setCode("8010012529736");
      LwgImage imageEAN = codeEAN.createImageWithBarcode(cb, null, null);           
      imageEAN.setRotationDegrees(90);
      outertable.getDefaultCell().setBackgroundColor(Color.WHITE);
      outertable.add(imageEAN);
            outertable.writeSelectedRows(0, -1, 20, 100, writer.getDirectContent());
        }
View Full Code Here

Examples of com.lowagie.text.pdf.BarcodeEAN

            code39ext.setExtended(true);
            LwgImage image39ext = code39ext.createImageWithBarcode(cb, null, null);
            Barcode128 code128 = new Barcode128();
            code128.setCode("1Z234786 hello");
            LwgImage image128 = code128.createImageWithBarcode(cb, null, null);
            BarcodeEAN codeEAN = new BarcodeEAN();
            codeEAN.setCodeType(Barcode.EAN13);
            codeEAN.setCode("9780201615883");
            LwgImage imageEAN = codeEAN.createImageWithBarcode(cb, null, null);
            BarcodeInter25 code25 = new BarcodeInter25();
            code25.setGenerateChecksum(true);
            code25.setCode("41-1200076041-001");
            LwgImage image25 = code25.createImageWithBarcode(cb, null, null);
            BarcodePostnet codePost = new BarcodePostnet();
            codePost.setCode("12345");
            LwgImage imagePost = codePost.createImageWithBarcode(cb, null, null);
            BarcodePostnet codePlanet = new BarcodePostnet();
            codePlanet.setCode("50201402356");
            codePlanet.setCodeType(Barcode.PLANET);
            LwgImage imagePlanet = codePlanet.createImageWithBarcode(cb, null, null);
            BarcodeEAN codeSUPP = new BarcodeEAN();
            codeSUPP.setCodeType(Barcode.SUPP5);
            codeSUPP.setCode("54995");
            codeSUPP.setBaseline(-2);
            BarcodeEANSUPP eanSupp = new BarcodeEANSUPP(codeEAN, codeSUPP);
            LwgImage imageEANSUPP = eanSupp.createImageWithBarcode(cb, null, Color.blue);
            LwgPdfPTable table = new LwgPdfPTable(2);
            table.setWidthPercentage(100);
            table.getDefaultCell().setBorder(LwgRectangle.NO_BORDER);
View Full Code Here

Examples of com.lowagie.text.pdf.BarcodeEAN

            innertable.addCell(new Paragraph("option:", f));
            innertable.addCell(new Paragraph("architecture", f));
            outertable.addCell(innertable);
      outertable.getDefaultCell().setBackgroundColor(new Color(0xFF, 0xDE, 0xAD));
      outertable.addCell(Image.getInstance("bruno.jpg"));
            BarcodeEAN codeEAN = new BarcodeEAN();
            codeEAN.setCodeType(Barcode.EAN13);
            codeEAN.setCode("8010012529736");
      Image imageEAN = codeEAN.createImageWithBarcode(cb, null, null);           
      imageEAN.setRotationDegrees(90);
      outertable.getDefaultCell().setBackgroundColor(Color.WHITE);
      outertable.addCell(imageEAN);
            outertable.writeSelectedRows(0, -1, 20, 100, writer.getDirectContent());
        }
View Full Code Here

Examples of com.lowagie.text.pdf.BarcodeEAN

            code39ext.setExtended(true);
            Image image39ext = code39ext.createImageWithBarcode(cb, null, null);
            Barcode128 code128 = new Barcode128();
            code128.setCode("1Z234786 hello");
            Image image128 = code128.createImageWithBarcode(cb, null, null);
            BarcodeEAN codeEAN = new BarcodeEAN();
            codeEAN.setCodeType(Barcode.EAN13);
            codeEAN.setCode("9780201615883");
            Image imageEAN = codeEAN.createImageWithBarcode(cb, null, null);
            BarcodeInter25 code25 = new BarcodeInter25();
            code25.setGenerateChecksum(true);
            code25.setCode("41-1200076041-001");
            Image image25 = code25.createImageWithBarcode(cb, null, null);
            BarcodePostnet codePost = new BarcodePostnet();
            codePost.setCode("12345");
            Image imagePost = codePost.createImageWithBarcode(cb, null, null);
            BarcodePostnet codePlanet = new BarcodePostnet();
            codePlanet.setCode("50201402356");
            codePlanet.setCodeType(Barcode.PLANET);
            Image imagePlanet = codePlanet.createImageWithBarcode(cb, null, null);
            BarcodeEAN codeSUPP = new BarcodeEAN();
            codeSUPP.setCodeType(Barcode.SUPP5);
            codeSUPP.setCode("54995");
            codeSUPP.setBaseline(-2);
            BarcodeEANSUPP eanSupp = new BarcodeEANSUPP(codeEAN, codeSUPP);
            Image imageEANSUPP = eanSupp.createImageWithBarcode(cb, null, Color.blue);
            PdfPTable table = new PdfPTable(2);
            table.setWidthPercentage(100);
            table.getDefaultCell().setBorder(Rectangle.NO_BORDER);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.