| There is a method to force the pdf to create a new page. When you want the pdf start with a new page you must insert a page-break Html comment: & | The extension convert the HTML from the source page but there are some special setup to now: | | | You can directly add bar codes, by directly inserting the barcode tag in the HTML to convert : | | <barcode type="EAN13" value="45" label="label" style="width:30mm; height:6mm; color: #770000; font-size: 4mm"></barcode> | | The different types of barcode are : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9 | C39 | CODE 39 + CHECKSUM | C39+ | CODE 39 EXTENDED | C39e
| CODE 39 EXTENDED + CHECKSUM | C39E+ | CODE 93 - USS-93 | C93 | Standard 2 of 5 | S25 | Standard 2 of 5 + CHECKSUM | S25+ | Interleaved 2 of 5 | I25 | Interleaved 2 of 5 + CHECKSUM | I25+ | CODE 128 A | C128A | CODE 128 B | C128B | CODE 128 C | C128C | EAN 8 | EAN8 | EAN 13 | EAN13 | 2-Digits UPC-Based Extention | EAN2 | 5-Digits UPC-Based Extention | EAN5 | UPC-A | UPCA | UPC-e
| UPCe
| MSI | MSI | MSI + CHECKSUM (module 11) | MSI+ | IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200 | IMB | POSTNET | POSTNET | PLANET | PLANET | RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code) | RMS4CC | KIX (Klant index - Customer index) | KIX | CODABAR | CODABAR | CODE 11 | CODE11 | PHARMACODe
| PHARMA | PHARMACODE TWO-TRACKS | PHARMA2T |
| | | | | | You can directly add bar codes to two-dimensional QR-Code, by inserting the tag directly QRcode in the HTML to convert : | | <qrcode value="Value to Coder" ec="H" style="width: 50mm; background-color: white; color: black;"></qrcode> | | value=”…“ : value to turn into QR-Code
ec=”…“ : level of error correction: L, M, Q, H (not mandatory, default: H) style=”…“ : specifies QRcode size (width: 40mm) colors (background-color and color) the presence or absence of a border (border: none)
| | | How work NewPage tag | | There is a method to force the pdf to create a new page. When you want the pdf start with a new page you must insert a page-break Html comment: <!-- pagebreak --> This tag cannot be insert inside other Html tags like tables, span, div, etc... but must be at the body level and must be on a single line.
The page break can have some attributes to change the page settings like:
< ! pagebreak format="A4" orientation="L" backcolor="#cecece" backimg="/image.png" backimgx="center" backimgy="middle" backimgw="100%"--> The value of this attributes can be:
| format: | The page format: A0 (841x1189 mm ; 33.11x46.81 in) A1 (594x841 mm ; 23.39x33.11 in) A2 (420x594 mm ; 16.54x23.39 in) A3 (297x420 mm ; 11.69x16.54 in) A4 (210x297 mm ; 8.27x11.69 in) A5 (148x210 mm ; 5.83x8.27 in) A6 (105x148 mm ; 4.13x5.83 in) A7 (74x105 mm ; 2.91x4.13 in) A8 (52x74 mm ; 2.05x2.91 in) A9 (37x52 mm ; 1.46x2.05 in) A10 (26x37 mm ; 1.02x1.46 in) B0 (1000x1414 mm ; 39.37x55.67 in) B1 (707x1000 mm ; 27.83x39.37 in) B2 (500x707 mm ; 19.69x27.83 in) B3 (353x500 mm ; 13.90x19.69 in) B4 (250x353 mm ; 9.84x13.90 in) B5 (176x250 mm ; 6.93x9.84 in) B6 (125x176 mm ; 4.92x6.93 in) B7 (88x125 mm ; 3.46x4.92 in) B8 (62x88 mm ; 2.44x3.46 in) B9 (44x62 mm ; 1.73x2.44 in) B10 (31x44 mm ; 1.22x1.73 in) C0 (917x1297 mm ; 36.10x51.06 in) C1 (648x917 mm ; 25.51x36.10 in) C2 (458x648 mm ; 18.03x25.51 in) C3 (324x458 mm ; 12.76x18.03 in) C4 (229x324 mm ; 9.02x12.76 in) C5 (162x229 mm ; 6.38x9.02 in) C6 (114x162 mm ; 4.49x6.38 in) C7 (81x114 mm ; 3.19x4.49 in) C8 (57x81 mm ; 2.24x3.19 in) C9 (40x57 mm ; 1.57x2.24 in) C10 (28x40 mm ; 1.10x1.57 in) RA0 (860x1220 mm ; 33.86x48.03 in) RA1 (610x860 mm ; 24.02x33.86 in) RA2 (430x610 mm ; 16.93x24.02 in) RA3 (305x430 mm ; 12.01x16.93 in) RA4 (215x305 mm ; 8.46x12.01 in) SRA0 (900x1280 mm ; 35.43x50.39 in) SRA1 (640x900 mm ; 25.20x35.43 in) SRA2 (450x640 mm ; 17.72x25.20 in) SRA3 (320x450 mm ; 12.60x17.72 in) SRA4 (225x320 mm ; 8.86x12.60 in) LETTER (216x279 mm ; 8.50x11.00 in) LEGAL (216x356 mm ; 8.50x14.00 in) FOLIO (216x330 mm ; 8.50x13.00 in) EXECUTIVE (184x267 mm ; 7.25x10.50 in) | orientation: | P portrait / L landscape | backcolor: | The background color in exadecimal format | backimg: | The path of the background image
| backimgx: | The position of the background image: left / center / right / value (mm, px, pt, % ) | backimgy: | The position of the background image: top / middle / bottom / value (mm, px, pt, % ) | backimgw: | The image width: value (mm, px, pt, % ) |
| <!-- pagebreak --> This tag cannot be insert inside other Html tags like tables, span, div, etc... but must be at the body level and must be on a single line.
The page break can have some attributes to change the page settings like:
< ! pagebreak format="A4" orientation="L" backcolor="#cecece" backimg="/image.png" backimgx="center" backimgy="middle" backimgw="100%"--> The value of this attributes can be:
| format: | The page format: A0 (841x1189 mm ; 33.11x46.81 in) A1 (594x841 mm ; 23.39x33.11 in) A2 (420x594 mm ; 16.54x23.39 in) A3 (297x420 mm ; 11.69x16.54 in) A4 (210x297 mm ; 8.27x11.69 in) A5 (148x210 mm ; 5.83x8.27 in) A6 (105x148 mm ; 4.13x5.83 in) A7 (74x105 mm ; 2.91x4.13 in) A8 (52x74 mm ; 2.05x2.91 in) A9 (37x52 mm ; 1.46x2.05 in) A10 (26x37 mm ; 1.02x1.46 in) B0 (1000x1414 mm ; 39.37x55.67 in) B1 (707x1000 mm ; 27.83x39.37 in) B2 (500x707 mm ; 19.69x27.83 in) B3 (353x500 mm ; 13.90x19.69 in) B4 (250x353 mm ; 9.84x13.90 in) B5 (176x250 mm ; 6.93x9.84 in) B6 (125x176 mm ; 4.92x6.93 in) B7 (88x125 mm ; 3.46x4.92 in) B8 (62x88 mm ; 2.44x3.46 in) B9 (44x62 mm ; 1.73x2.44 in) B10 (31x44 mm ; 1.22x1.73 in) C0 (917x1297 mm ; 36.10x51.06 in) C1 (648x917 mm ; 25.51x36.10 in) C2 (458x648 mm ; 18.03x25.51 in) C3 (324x458 mm ; 12.76x18.03 in) C4 (229x324 mm ; 9.02x12.76 in) C5 (162x229 mm ; 6.38x9.02 in) C6 (114x162 mm ; 4.49x6.38 in) C7 (81x114 mm ; 3.19x4.49 in) C8 (57x81 mm ; 2.24x3.19 in) C9 (40x57 mm ; 1.57x2.24 in) C10 (28x40 mm ; 1.10x1.57 in) RA0 (860x1220 mm ; 33.86x48.03 in) RA1 (610x860 mm ; 24.02x33.86 in) RA2 (430x610 mm ; 16.93x24.02 in) RA3 (305x430 mm ; 12.01x16.93 in) RA4 (215x305 mm ; 8.46x12.01 in) SRA0 (900x1280 mm ; 35.43x50.39 in) SRA1 (640x900 mm ; 25.20x35.43 in) SRA2 (450x640 mm ; 17.72x25.20 in) SRA3 (320x450 mm ; 12.60x17.72 in) SRA4 (225x320 mm ; 8.86x12.60 in) LETTER (216x279 mm ; 8.50x11.00 in) LEGAL (216x356 mm ; 8.50x14.00 in) FOLIO (216x330 mm ; 8.50x13.00 in) EXECUTIVE (184x267 mm ; 7.25x10.50 in) | orientation: | P portrait / L landscape | backcolor: | The background color in exadecimal format | backimg: | The path of the background image
| backimgx: | The position of the background image: left / center / right / value (mm, px, pt, % ) | backimgy: | The position of the background image: top / middle / bottom / value (mm, px, pt, % ) | backimgw: | The image width: value (mm, px, pt, % ) |
|