]> git.immae.eu Git - github/wallabag/wallabag.git/blob - inc/3rdparty/libraries/mpdf/examples/example51_new_mPDF_4_features.php
add pdf and mobi libraries
[github/wallabag/wallabag.git] / inc / 3rdparty / libraries / mpdf / examples / example51_new_mPDF_4_features.php
1 <?php
2
3 $html = '
4 <style>
5 body { font-family: sans; }
6 h4, p { margin: 0pt;
7 }
8 h5 { margin-bottom: 0; }
9 table.items {
10 font-size: 9pt;
11 border-collapse: collapse;
12 border: 3px solid #880000;
13 background-color: #FFFFFF;
14 }
15 td { vertical-align: top;
16 }
17 table thead td { background-color: #EEEEEE;
18 text-align: center;
19 }
20 table tfoot td { background-color: #AAFFEE;
21 text-align: center;
22 }
23 .barcode {
24 padding: 1.5mm;
25 margin: 0;
26 vertical-align: top;
27 color: #000000;
28 }
29 .barcodecell {
30 text-align: center;
31 vertical-align: middle;
32 padding: 0;
33 }
34
35 @page {
36 background-gradient: linear #00FFFF #FFFF00 0 0.5 1 0.5;
37 odd-header-name: html_myHTMLHeaderOdd;
38 even-header-name: html_myHTMLHeaderEven;
39 odd-footer-name: html_myHTMLFooterOdd;
40 even-footer-name: html_myHTMLFooterEven;
41 }
42 #myfixed {
43 position: fixed;
44 overflow: auto;
45 height: 60mm;
46 margin-left: auto;
47 right: 30mm;
48 top: 150mm;
49 border: 1px solid #880000;
50 background-color: #EEDDFF;
51 padding: 3em;
52 text-align: justify;
53 text-indent: 3em;
54 font-size: 10pt;
55 font-family:sans;
56 font-style: italic;
57 line-height: 1.8;
58 color: red;
59 }
60 .myfixed2 { position: absolute;
61 overflow: visible;
62 left: 0;
63 right: 0;
64 width: 100mm;
65 top: 40mm;
66 margin-left: auto;
67 margin-right: auto;
68 border: 1px solid #000088;
69 background-color: #EEDDFF;
70 background: transparent url(\'bg.jpg\') repeat scroll right top;
71 padding: 1.5em;
72 font-family:sans;
73 }
74 .myfixed3 { position: absolute;
75 overflow: visible;
76 right: 0;
77 bottom: 0;
78 border: 1px solid #000088;
79 background-color: #EEDDFF;
80 background-gradient: linear #c7cdde #f0f2ff 0 1 0 0.5;
81 padding: 1.5em;
82 font-family:sans;
83 }
84 .myfixed4 { position: absolute;
85 overflow: auto;
86 left: 150mm;
87 right: 0;
88 top: 100mm;
89 height: 10mm;
90 border: 1px solid #000088;
91 background-color: #EEDDFF;
92 background-gradient: linear #c7cdde #f0f2ff 0 1 0 0.5;
93 padding: 0.5em;
94 font-family:sans;
95 }
96 .myfixed5 { position: absolute;
97 overflow: visible;
98 left: 150mm;
99 right: 0;
100 top: 125mm;
101 height: 10mm;
102 border: 1px solid #000088;
103 background-color: #EEDDFF;
104 background-gradient: linear #c7cdde #f0f2ff 0 1 0 0.5;
105 padding: 0.5em;
106 font-family:sans;
107 }
108 .myfixed6 { position: absolute;
109 overflow: hidden;
110 right: 150mm;
111 left: 0;
112 top: 110mm;
113 height: 10mm;
114 border: 1px solid #000088;
115 background-color: #EEDDFF;
116 background-gradient: linear #c7cdde #f0f2ff 0 1 0 0.5;
117 padding: 0.5em;
118 font-family:sans;
119 }
120 .myfixed7 { position: absolute;
121 right: 140mm;
122 top: 130mm;
123 width: auto;
124 border: 1px solid #000088;
125 background-color: #EEDDFF;
126 background-gradient: linear #c7cdde #f0f2ff 0 1 0 0.5;
127 padding: 0.5em;
128 font-family:sans;
129 }
130 div.indic, div.arabic {
131 font-size: 14pt;
132 }
133 div.indic h5, div.arabic h5 {
134 margin: 0;
135 }
136 div.indic p, div.arabic p, div.arabic li {
137 margin: 0;
138 margin-botom: 1em;
139 line-height: 1.8;
140 }
141 div.arabic p, div.arabic h5, div.arabic h4, div.arabic td {
142 text-align: right;
143 }
144 div.arabic td {
145 text-align: right;
146 font-size: 14pt;
147 padding: 1em;
148 }
149 h2 { color: #880000; margin-bottom: 0.2em; }
150 h4 { margin-bottom: 0.2em; }
151 </style>
152 <htmlpageheader name="myHTMLHeaderOdd" style="display:none">
153 <div style="background-color:#BBEEFF" align="center"><b>Page {PAGENO} of {nb}</b></div>
154 </htmlpageheader>
155 <htmlpageheader name="myHTMLHeaderEven" style="display:none">
156 <div style="background-color:#EFFBBE" align="center"><b><i>{PAGENO}</i></b></div>
157 </htmlpageheader>
158 <htmlpagefooter name="myHTMLFooterOdd" style="display:none">
159 <div style="background-color:#CFFFFC" align="center"><b>{PAGENO}</b></div>
160 </htmlpagefooter>
161 <htmlpagefooter name="myHTMLFooterEven" style="display:none">
162 <div style="background-color:#FFCCFF" align="center"><b><i>{PAGENO}</i></b></div>
163 </htmlpagefooter>
164
165
166 <h1>mPDF Version 4.0 New features</h1>
167 <ul><li>Ability to embed font subsets (much smaller files)</li>
168 <li>Support for Fixed position block elements</li>
169 <li>Support for Indic languages including consonant conjuncts</li>
170 <li>Much improved support for Arabic languages</li>
171 <li>New utility to help create your own fonts</li>
172 <li>Increased support for barcodes</li>
173 </ul>
174
175 <h2>Indic Fonts/Languages</h2>
176 <h5>From BBC World Service Hindi News (http://www.bbc.co.uk/hindi/)</h5>
177 <div class="indic">
178 <h4 lang="hi">&#x915;&#x941;&#x91b; &#x914;&#x930; &#x924;&#x925;&#x94d;&#x92f; &#x92a;&#x949;&#x92a;</h4>
179 <p lang="hi">&#x91c;&#x948;&#x915;&#x94d;&#x938;&#x928; &#x92e;&#x93e;&#x92e;&#x932;&#x947; &#x938;&#x947; &#x91c;&#x941;&#x921;&#x93c;&#x947; &#x928;&#x90f; &#x924;&#x925;&#x94d;&#x92f; &#x938;&#x93e;&#x92e;&#x928;&#x947; &#x906;&#x90f;.</p>
180 </div>
181
182
183 <h5>From BBC World Service Tamil News (http://www.bbc.co.uk/tamil/)</h5>
184 <div class="indic">
185 <h4 lang="ta">&#xb9a;&#xbc6;&#xbaf;&#xbcd;&#xba4;&#xbbf;&#xbaf;&#xbb0;&#xb99;&#xbcd;&#xb95;&#xbae;&#xbcd;</h4>
186 <p lang="ta">&#xb87;&#xbb2;&#xb99;&#xbcd;&#xb95;&#xbc8;&#xbaf;&#xbbf;&#xbb2;&#xbcd; &#xb9a;&#xbbf;&#xbb1;&#xbc1;&#xbaa;&#xbbe;&#xba9;&#xbcd;&#xbae;&#xbc8;&#xb95;&#xbcd; &#xb95;&#xb9f;&#xbcd;&#xb9a;&#xbbf;&#xb95;&#xbb3;&#xbc1;&#xb95;&#xbcd;&#xb95;&#xbbf;&#xb9f;&#xbc8;&#xbaf;&#xbbf;&#xbb2;&#xbcd; &#xbaa;&#xbca;&#xba4;&#xbc1; &#xb87;&#xba3;&#xb95;&#xbcd;&#xb95;&#xbaa;&#xbcd;&#xbaa;&#xbbe;&#xb9f;&#xbcd;&#xb9f;&#xbc8; &#xb8e;&#xb9f;&#xbcd;&#xb9f;&#xbc1;&#xbae;&#xbcd; &#xbae;&#xbc1;&#xbaf;&#xbb1;&#xbcd;&#xb9a;&#xbbf;&#xbaf;&#xbbf;&#xbb2;&#xbcd; ...</p>
187 </div>
188
189 <h5>From Yahoo Indian- Malayalam (http://in.malayalam.yahoo.com/)</h5>
190 <div class="indic">
191 <h4 lang="ml">&#xd2a;&#xd34;&#xd36;&#xd4d;&#xd36;&#xd3f;&#xd30;&#xd3e;&#xd1c; &#xd2e;&#xd46;&#xd17;&#xd3e;&#xd39;&#xd3f;&#xd31;&#xd4d;&#xd31;&#xd4d;; &#x2018;&#xd38;&#xd4d;&#xd35;.&#xd32;&#xd47;&#x2019; &#xd2e;&#xd41;&#xd28;&#xd4d;&#xd28;&#xd47;&#xd31;&#xd41;&#xd28;&#xd4d;&#xd28;&#xd41;</h4>
192 <p lang="ml">&#xd2a;&#xd34;&#xd36;&#xd4d;&#xd36;&#xd3f;&#xd30;&#xd3e;&#xd1c; &#xd2e;&#xd32;&#xd2f;&#xd3e;&#xd33; &#xd38;&#xd3f;&#xd28;&#xd3f;&#xd2e;&#xd2f;&#xd41;&#xd1f;&#xd46; &#xd1a;&#xd30;&#xd3f;&#xd24;&#xd4d;&#xd30;&#xd24;&#xd4d;&#xd24;&#xd3f;&#xd32;&#xd46; &#xd0f;&#xd31;&#xd4d;&#xd31;&#xd35;&#xd41;&#xd02; &#xd35;&#xd32;&#xd3f;&#xd2f; &#xd35;&#xd3f;&#xd1c;&#xd2f;&#xd2e;&#xd3e;&#xd15;&#xd41;&#xd15;&#xd2f;&#xd3e;&#xd23;&#xd4d;. 30 &#xd26;&#xd3f;&#xd35;&#xd38;&#xd19;&#xd4d;&#xd19;&#xd33;&#xd4d;&#x200d; &#xd2a;&#xd3f;&#xd28;&#xd4d;&#xd28;&#xd3f;&#xd1f;&#xd4d;&#xd1f;&#xd2a;&#xd4d;&#xd2a;&#xd4b;&#xd33;&#xd4d;&#x200d; &#xd1a;&#xd3f;&#xd24;&#xd4d;&#xd30;&#xd24;&#xd4d;&#xd24;&#xd3f;&#xd28;&#xd4d;&#x200d;&#xd31;&#xd46; &#xd15;&#xd33;&#xd15;&#xd4d;&#xd37;&#xd28;&#xd4d;&#x200d; 12 &#xd15;&#xd4b;&#xd1f;&#xd3f;...</p>
193 </div>
194
195 <h5>From Yahoo Indian- Punjabi (http://in.punjabi.yahoo.com/)</h5>
196 <div class="indic">
197 <h4 lang="pa">&#xa1a;&#xa3e;&#xa02;&#xa38; &#xa2a;&#xa47; &#xa21;&#xa3e;&#xa02;&#xa38; &#xa36;&#xa3e;&#xa39;&#xa3f;&#xa26; &#xa26;&#xa40; &#xa15;&#xa39;&#xa3e;&#xa23;&#xa40;</h4>
198 <p lang="pa">&#xa15;&#xa47;&#xa28; &#xa18;&#xa4b;&#xa36; &#xa26;&#xa40; &#xa5e;&#xa3f;&#xa32;&#xa2e; &#xa1a;&#xa3e;&#xa02;&#xa38; &#xa2a;&#xa47; &#xa21;&#xa3e;&#xa02;&#xa38; &#xa5e;&#xa3f;&#xa32;&#xa2e; &#xa35;&#xa3f;&#xa71;&#xa1a; &#xa36;&#xa3e;&#xa39;&#xa3f;&#xa26; &#xa15;&#xa2a;&#xa42;&#xa30; &#xa2e;&#xa41;&#xa71;&#xa16; &#xa2d;&#xa42;&#xa2e;&#xa3f;&#xa15;&#xa3e; &#xa35;&#xa3f;&#xa71;&#xa1a; &#xa39;&#xa28;&#x964; &#xa5e;&#xa3f;&#xa32;&#xa2e; &#xa26;&#xa47; &#xa2c;&#xa3e;&#xa30;&#xa47; &#xa35;&#xa3f;&#xa71;&#xa1a; &#xa15;&#xa3f;&#xa39;&#xa3e; &#xa1c;&#xa3e; &#xa38;&#xa15;&#xa26;&#xa3e; &#xa39;&#xa48; &#xa15;&#xa3f; &#xa07;&#xa39; &#xa06;&#xa2a; &#xa36;&#xa3e;&#xa39;&#xa3f;&#xa26; &#xa26;&#xa40; &#xa15;&#xa39;&#xa3e;&#xa23;&#xa40; &#xa39;&#xa48;&#x964; &#xa5e;&#xa3f;&#xa32;&#xa2e; &#xa26;&#xa3e; &#xa28;&#xa3e;&#xa07;&#xa15; &#xa2e;&#xa71;&#xa27;&#xa2e; &#xa2a;&#xa30;&#xa3f;&#xa35;&#xa3e;&#xa30; &#xa26;&#xa3e; &#xa26;&#xa71;&#xa38;&#xa3f;&#xa06; &#xa17;&#xa3f;&#xa06; &#xa39;&#xa48; &#xa05;&#xa24;&#xa47; &#xa15;&#xa08;...</p>
199 </div>
200
201 <h5>From Yahoo Indian- Gujarati (http://in.gujarati.yahoo.com/)</h5>
202 <div class="indic">
203 <h4 lang="gu">&#xab6;&#xabf;&#xab2;&#xacd;&#xaaa;&#xabe; &#xa85;&#xaa8;&#xac7; &#xab0;&#xabe;&#xa9c; &#xa86;&#xa9c;&#xac7; &#xab8;&#xabe;&#xaa4; &#xaab;&#xac7;&#xab0;&#xabe; &#xab2;&#xac7;&#xab6;&#xac7;</h4>
204 <p lang="gu">&#xaac;&#xacb;&#xab2;&#xac0;&#xab5;&#xac1;&#xaa1; &#xab8;&#xac1;&#xa82;&#xaa6;&#xab0;&#xac0; &#xab6;&#xabf;&#xab2;&#xacd;&#xaaa;&#xabe; &#xab6;&#xac7;&#xa9f;&#xacd;&#xa9f;&#xac0; &#xaaa;&#xacb;&#xaa4;&#xabe;&#xaa8;&#xabe; &#xaae;&#xa82;&#xa97;&#xac7;&#xaa4;&#xab0; &#xaad;&#xabe;&#xab0;&#xaa4;&#xac0;&#xaaf; &#xaae;&#xac2;&#xab3;&#xaa8;&#xabe; &#xaac;&#xacd;&#xab0;&#xabf;&#xa9f;&#xabf;&#xab6; &#xa89;&#xaa6;&#xacd;&#xaaf;&#xacb;&#xa97;&#xaaa;&#xaa4;&#xabf; &#xab0;&#xabe;&#xa9c; &#xa95;&#xac1;&#xa82;&#xaa6;&#xacd;&#xab0;&#xabe; &#xab8;&#xabe;&#xaa5;&#xac7; &#xa86;&#xa9c;&#xac7; &#xab2;&#xa97;&#xacd;&#xaa8; &#xaac;&#xa82;&#xaa7;&#xaa8;&#xaae;&#xabe;&#xa82; &#xaac;&#xa82;&#xaa7;&#xabe;&#xaaf; &#xa9c;&#xab6;&#xac7;. &#xab5;&#xabf;&#xab5;&#xabe;&#xab9; &#xab8;&#xaae;&#xabe;&#xab0;&#xa82;&#xaad; &#xab0;&#xabe;&#xa9c;&#xaa8;&#xabe; &#xaae;&#xabf;&#xaa4;&#xacd;&#xab0; &#xa95;&#xabf;&#xab0;&#xaa3; &#xaac;&#xabe;&#xab5;&#xabe;&#xaa8;&#xabe; &#xa96;&#xa82;&#xaa1;&#xabe;&#xab2;&#xabe;&#xaae;&#xabe;&#xa82; &#xa86;&#xab5;&#xac7;&#xab2; &#xaab;&#xabe;&#xab0;&#xacd;&#xaae;...</p>
205 </div>
206 <pagebreak />
207
208 <h2>Arabic Fonts/Languages</h2>
209 <h5>From BBC World Service Arabic News (http://www.bbc.co.uk/arabic/)</h5>
210 <div class="arabic">
211 <h4 lang="ar">&#x628;&#x64a;&#x639; &#x642;&#x641;&#x627;&#x632; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x628;&#x640; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631;</h4>
212 <p lang="ar">&#x628;&#x64a;&#x639; &#x627;&#x644;&#x642;&#x641;&#x627;&#x632; &#x627;&#x644;&#x62c;&#x644;&#x62f;&#x64a; &#x627;&#x644;&#x645;&#x631;&#x635;&#x639; &#x627;&#x644;&#x630;&#x64a; &#x627;&#x631;&#x62a;&#x62f;&#x627;&#x647; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x644;&#x644;&#x645;&#x631;&#x629; &#x627;&#x644;&#x627;&#x648;&#x644;&#x649; &#x639;&#x627;&#x645; 1983 &#x62e;&#x644;&#x627;&#x644; &#x627;&#x648;&#x644; &#x62e;&#x637;&#x648;&#x629; &#x645;&#x646; &#x631;&#x642;&#x635;&#x62a;&#x647; &#x627;&#x644;&#x634;&#x647;&#x64a;&#x631;&#x629; "&#x627;&#x644;&#x633;&#x64a;&#x631; &#x639;&#x644;&#x649; &#x627;&#x644;&#x642;&#x645;&#x631; (&#x645;&#x648;&#x646; &#x648;&#x648;&#x643;)" &#x628;&#x633;&#x639;&#x631; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631; &#x627;&#x644;&#x633;&#x628;&#x62a; &#x641;&#x64a; &#x646;&#x64a;&#x648;&#x64a;&#x648;&#x631;&#x643; &#x62e;&#x644;&#x627;&#x644; &#x645;&#x632;&#x627;&#x62f; &#x644;&#x645;&#x642;&#x62a;&#x646;&#x64a;&#x627;&#x62a; &#x627;&#x644;&#x645;&#x63a;&#x646;&#x64a; &#x627;&#x644;&#x627;&#x645;&#x631;&#x64a;&#x643;&#x64a; &#x627;&#x644;&#x631;&#x627;&#x62d;&#x644;.</p>
213 </div>
214
215 <h5 style="text-align: right;">In alternative fonts (available with mPDF):</h5>
216 <div class="arabic">
217 <table border="1" style="border-collapse: collapse;" width="100%"> <tr> <td>
218 <p style="font-family: ar_1_002">&#x628;&#x64a;&#x639; &#x642;&#x641;&#x627;&#x632; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x628;&#x640; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631;</p>
219 <p style="font-family: ar_1_003">&#x628;&#x64a;&#x639; &#x642;&#x641;&#x627;&#x632; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x628;&#x640; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631;</p>
220 <p style="font-family: ar_1_004">&#x628;&#x64a;&#x639; &#x642;&#x641;&#x627;&#x632; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x628;&#x640; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631;</p>
221 <p style="font-family: ar_1_005">&#x628;&#x64a;&#x639; &#x642;&#x641;&#x627;&#x632; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x628;&#x640; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631;</p>
222 <p style="font-family: ar_1_006">&#x628;&#x64a;&#x639; &#x642;&#x641;&#x627;&#x632; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x628;&#x640; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631;</p>
223 </td><td>
224 <p style="font-family: ar_1_007">&#x628;&#x64a;&#x639; &#x642;&#x641;&#x627;&#x632; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x628;&#x640; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631;</p>
225 <p style="font-family: ar_2_001">&#x628;&#x64a;&#x639; &#x642;&#x641;&#x627;&#x632; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x628;&#x640; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631;</p>
226 <p style="font-family: ar_2_002">&#x628;&#x64a;&#x639; &#x642;&#x641;&#x627;&#x632; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x628;&#x640; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631;</p>
227 <p style="font-family: ar_2_003">&#x628;&#x64a;&#x639; &#x642;&#x641;&#x627;&#x632; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x628;&#x640; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631;</p>
228 <p style="font-family: ar_2_004">&#x628;&#x64a;&#x639; &#x642;&#x641;&#x627;&#x632; &#x645;&#x627;&#x64a;&#x643;&#x644; &#x62c;&#x627;&#x643;&#x633;&#x648;&#x646; &#x628;&#x640; 350 &#x627;&#x644;&#x641; &#x62f;&#x648;&#x644;&#x627;&#x631;</p>
229 </td></tr></table>
230 </div>
231
232
233
234 <h5>From BBC World Service Persian News (http://www.bbc.co.uk/persian/)</h5>
235 <div class="arabic">
236 <h4 lang="fa">\'&#x637;&#x628;&#x642; &#x646;&#x638;&#x631;&#x633;&#x646;&#x62c;&#x6cc; &#x62f;&#x648;&#x644;&#x62a; &#x627;&#x646;&#x62a;&#x62e;&#x627;&#x628;&#x627;&#x62a; &#x628;&#x647; &#x62f;&#x648;&#x631; &#x62f;&#x648;&#x645; &#x6a9;&#x634;&#x6cc;&#x62f;&#x647; &#x645;&#x6cc; &#x634;&#x62f;\'</h4>
237 <p lang="fa">&#x639;&#x644;&#x6cc;&#x631;&#x636;&#x627; &#x632;&#x627;&#x6a9;&#x627;&#x646;&#x6cc; &#x646;&#x645;&#x627;&#x6cc;&#x646;&#x62f;&#x647; &#x62a;&#x647;&#x631;&#x627;&#x646; &#x62f;&#x631; &#x645;&#x62c;&#x644;&#x633; &#x6af;&#x641;&#x62a;&#x647; &#x6a9;&#x647; &#x6cc;&#x6a9; &#x631;&#x648;&#x632; &#x67e;&#x6cc;&#x634; &#x627;&#x632; &#x628;&#x631;&#x6af;&#x632;&#x627;&#x631;&#x6cc; &#x627;&#x646;&#x62a;&#x62e;&#x627;&#x628;&#x627;&#x62a; &#x631;&#x6cc;&#x627;&#x633;&#x62a; &#x62c;&#x645;&#x647;&#x648;&#x631;&#x6cc; &#x62f;&#x631; &#x627;&#x6cc;&#x631;&#x627;&#x646;&#x60c; &#x646;&#x638;&#x631;&#x633;&#x646;&#x62c;&#x6cc; &#x648;&#x632;&#x627;&#x631;&#x62a; &#x6a9;&#x634;&#x648;&#x631; &#x648; &#x648;&#x632;&#x627;&#x631;&#x62a; &#x627;&#x637;&#x644;&#x627;&#x639;&#x627;&#x62a; &#x627;&#x6cc;&#x631;&#x627;&#x646; &#x646;&#x634;&#x627;&#x646; &#x645;&#x6cc; &#x62f;&#x627;&#x62f; &#x6a9;&#x647; &#x627;&#x646;&#x62a;&#x62e;&#x627;&#x628;&#x627;&#x62a; &#x628;&#x647; &#x62f;&#x648;&#x631; &#x62f;&#x648;&#x645; &#x6a9;&#x634;&#x6cc;&#x62f;&#x647; &#x645;&#x6cc; &#x634;&#x648;&#x62f;.</p>
238 </div>
239
240
241 <h5>From BBC World Service Urdu News (http://www.bbc.co.uk/urdu/)</h5>
242 <div class="arabic">
243 <h4 lang="ur">&#x62c;&#x6cc;&#x6a9;&#x633;&#x646; &#x6a9;&#x627; &#x62f;&#x633;&#x62a;&#x627;&#x646;&#x6c1; 35 &#x644;&#x627;&#x6a9;&#x6be; &#x688;&#x627;&#x644;&#x631; &#x6a9;&#x627;</h4>
244 <p lang="ur">&#x627;&#x645;&#x631;&#x6cc;&#x6a9;&#x6cc; &#x67e;&#x627;&#x67e; &#x633;&#x646;&#x6af;&#x631; &#x645;&#x627;&#x626;&#x6cc;&#x6a9;&#x644; &#x62c;&#x6cc;&#x6a9;&#x633;&#x646; &#x6a9;&#x627; &#x62f;&#x633;&#x62a;&#x627;&#x646;&#x6c1; &#x62c;&#x633; &#x67e;&#x631; &#x646;&#x642;&#x644;&#x6cc; &#x6c1;&#x6cc;&#x631;&#x6d2; &#x62c;&#x691;&#x6d2; &#x6c1;&#x648;&#x626;&#x6d2; &#x62a;&#x6be;&#x6d2; &#x627;&#x648;&#x631; &#x62c;&#x648; &#x627;&#x646;&#x6be;&#x6cc;&#x6ba; &#x67e;&#x6c1;&#x644;&#x6cc; &#x645;&#x631;&#x62a;&#x628;&#x6c1; &#x2019;&#x645;&#x648;&#x646; &#x648;&#x627;&#x6a9;&#x2018; &#x67e;&#x6cc;&#x634; &#x6a9;&#x6cc;&#x626;&#x6d2; &#x62c;&#x627;&#x646;&#x6d2; &#x67e;&#x631; &#x645;&#x644;&#x627; &#x62a;&#x6be;&#x627; &#x67e;&#x6cc;&#x646;&#x62a;&#x6cc;&#x633; &#x644;&#x627;&#x6a9;&#x6be; &#x688;&#x627;&#x644;&#x631; &#x645;&#x6cc;&#x6ba; &#x646;&#x6cc;&#x644;&#x627;&#x645; &#x6c1;&#x648; &#x6af;&#x6cc;&#x627; &#x6c1;&#x6d2;&#x6d4;</p>
245 </div>
246
247
248 <h5>From BBC World Service Pashto News (http://www.bbc.co.uk/pashto/)</h5>
249 <div class="arabic">
250 <h4 lang="ps">&#x633;&#x62a;&#x627;&#x633;&#x64a; &#x67e;&#x64a;&#x63a;&#x627;&#x645;&#x648;&#x646;&#x647; &#x627;&#x648;&#x62f; &#x62e;&#x648;&#x69a;&#x649; &#x633;&#x646;&#x62f;&#x631;&#x6d0;</h4>
251 <p lang="ps">&#x62f; &#x645;&#x648;&#x633;&#x64a;&#x642;&#x6cd; &#x62f;&#x627;&#x62e;&#x67e;&#x631;&#x648;&#x646;&#x6d0; &#x67e;&#x647; &#x627;&#x641;&#x63a;&#x627;&#x646;&#x633;&#x62a;&#x627;&#x646; &#x6a9;&#x6d0; &#x62f;&#x627;&#x6d0;&#x641; &#x627;&#x6d0;&#x645; &#x67e;&#x647; &#x685;&#x67e;&#x648;&#x62f; &#x633;&#x647;&#x627;&#x631; &#x67e;&#x647; &#x644;&#x633;&#x648; &#x628;&#x62c;&#x648; &#x627;&#x648;&#x631;&#x64a;&#x62f;&#x644;&#x649; &#x634;&#x649;</p>
252 </div>
253
254
255 <pagebreak />
256 <h2>Fixed-position block elements</h2>
257 mPDF 4.0 supports fixed-position block elements (at least partially). This page has some examples of fixed-position elements.
258 <div id="myfixed">
259 <div style="border: 1px solid #000088; background-gradient: linear #c7cdde #f0f2ff 0 1 0 0.5; background-color: #DDFFEE; padding: 0.5em;">#1. Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula eros vehicula pretium. Maecenas feugiat pede vel risus. <span title="Nulla is marked by a span">Nulla</span> et lectus. Fusce eleifend neque sit amet erat. Integer <a href="mailto:admin@bpm1.com">consectetuer</a> nulla non orci. Morbi feugiat pulvinar dolor. Cras odio.
260 <p>Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula eros vehicula pretium. Maecenas feugiat pede vel risus. <span title="Nulla is marked by a span">Nulla</span> et lectus. Fusce eleifend neque sit amet erat. Integer <a href="mailto:admin@bpm1.com">consectetuer</a> nulla non orci. Morbi feugiat pulvinar dolor. Cras odio. </p>
261 Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus. Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt eros turpis, vel aliquam quam eros odio et sapien.
262 <div style="border: 1px solid #008800; background-color: #EEFFDD; text-align: left; padding: 0.5em;">
263 Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus. Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt eros turpis, vel aliquam quam eros odio et sapien.
264 </div>
265 Mauris ante pede, eros auctor ac, suscipit quis, malesuada sed, nulla. Integer sit amet odio sit amet lectus luctus euismod. Donec et nulla. Sed quis orci. </div>
266 </div>
267
268 <div class="myfixed2">#2. Praesent pharetra nulla in turpis. Sed ipsum nulla, sodales nec, vulputate in, scelerisque vitae, magna. <div style="border: 1px dotted green; padding: 1em; background-color: #FFEEFF; color: red">Praesent pharetra nulla in turpis. Sed ipsum nulla, sodales nec, vulputate in, scelerisque vitae, magna. Sed egestas justo nec ipsum. Nulla facilisi. Praesent sit amet pede quis metus aliquet vulputate. Donec luctus. Cras euismod tellus vel leo.</div>Sed egestas justo nec ipsum. Nulla facilisi. Praesent sit amet pede quis metus aliquet vulputate. Donec luctus. Cras euismod tellus vel leo.</div>
269
270 <div class="myfixed3">#3. Praesent pharetra nulla in turpis. Sed ipsum nulla, sodales nec, vulputate in, scelerisque vitae, magna. Praesent pharetra nulla in turpis. Sed ipsum nulla, sodales nec, vulputate in, scelerisque vitae, magna. Sed egestas justo nec ipsum. Nulla facilisi. Praesent sit amet pede quis metus aliquet vulputate. Donec luctus. Cras euismod tellus vel leo.</div>
271
272 <div class="myfixed4">#4. overflow: auto<br />Praesent pharetra nulla in turpis. Sed ipsum nulla, sodales nec, vulputate in, scelerisque vitae, magna. Sed egestas justo nec ipsum. Nulla facilisi.</div>
273
274 <div class="myfixed5">#5. overflow: visible<br />Praesent pharetra nulla in turpis. Sed ipsum nulla, sodales nec, vulputate in, scelerisque vitae, magna. Sed egestas justo nec ipsum. Nulla facilisi.</div>
275
276 <div class="myfixed6">#6. overflow: hidden<br />Praesent pharetra nulla in turpis. Sed ipsum nulla, sodales nec, vulputate in, scelerisque vitae, magna. Sed egestas justo nec ipsum. Nulla facilisi.</div>
277
278 <div class="myfixed7">#7. width: auto<br />Shrink-to-fit</div>
279
280 <pagebreak />
281 <h2>Barcodes</h2>
282 <p>NB <b>Quiet zones</b> - The barcode object includes space to the right/left or top/bottom only when the specification states a \'quiet zone\' or \'light margin\'. All the examples below also have CSS property set on the barcode object i.e. padding: 1.5mm; </p>
283
284 <h3>EAN-13 Barcodes (EAN-2 and EAN-5)</h3>
285 <p>NB EAN-13, UPC-A, UPC-E, and EAN-8 may all include an additional bar code(EAN-2 and EAN-5) to the right of the main bar code (see below).</p>
286 <p>A nominal height and width for these barcodes is defined by the specification. \'size\' will scale both the height and width. Values between 0.8 and 2 are allowed (i.e. 80% to 200% of the nominal size). \'height\' can also be varied as a factor of 1; this is applied after the scaling factor used for \'size\'.</p>
287 <table class="items" width="100%" cellpadding="8" border="1">
288 <thead>
289 <tr>
290 <td width="10%">CODE</td>
291 <td>DESCRIPTION</td>
292 <td>BARCODE</td>
293 </tr>
294 </thead>
295 <tbody>
296 <!-- ITEMS HERE -->
297 <tr>
298 <td align="center">EAN13</td>
299 <td>Standard EAN-13 barcode. Accepts 12 or 13 characters (creating checksum digit if required). [0-9] numeric only.</td>
300 <td class="barcodecell"><barcode code="978-0-9542246-0" class="barcode" /></td>
301 </tr>
302 <tr>
303 <td align="center">ISBN</td>
304 <td>Standard EAN-13 barcode with \'ISBN\' number shown above [shown at height="0.66"]</td>
305 <td class="barcodecell"><barcode code="978-0-9542246-0" type="ISBN" class="barcode" height="0.66" text="1" /></td>
306 </tr>
307 <tr>
308 <td align="center">ISSN</td>
309 <td>Standard EAN-13 barcode with \'ISSN\' number shown above [shown at size="0.8"]</td>
310 <td class="barcodecell"><barcode code="978-0-9542246-0-8" type="ISSN" size="0.8" class="barcode" text="1" /></td>
311 </tr>
312 </tbody>
313 </table>
314
315 <h3>EAN-8, UPC-A and UPC-E Barcodes</h3>
316 <p>UPC-A, UPC-E, EAN-13, and EAN-8 may all include an additional bar code(EAN-2 and EAN-5) to the right of the main bar code (see below).</p>
317 <p>A nominal height and width for these barcodes is defined by the specification. \'size\' will scale both the height and width. Values between 0.8 and 2 are allowed (i.e. 80% to 200% of the nominal size). \'height\' can also be varied as a factor of 1; this is applied after the scaling factor used for \'size\'.</p>
318 <table class="items" width="100%" cellpadding="8" border="1">
319 <thead>
320 <tr>
321 <td width="10%">CODE</td>
322 <td>DESCRIPTION</td>
323 <td>BARCODE</td>
324 </tr>
325 </thead>
326 <tbody>
327 <!-- ITEMS HERE -->
328 <tr>
329 <td align="center">UPCA</td>
330 <td>UPC-A barcode. This is a subset of the EAN-13. (098277211236) Accepts 11 or 12 characters (creating checksum digit if required). [0-9] numeric only</td>
331 <td class="barcodecell"><barcode code="09827721123" type="UPCA" class="barcode" /></td>
332 </tr>
333 <tr>
334 <td align="center">UPCE</td>
335 <td>UPC-E barcode. Requires the UPC-A code to be entered as above (e.g. 042100005264 to give 425261). NB mPDF will die with an error message if the code is not valid, as only some UPC-A codes can be converted into valid UPC-E codes. UPC-E doesn\'t have a check digit encoded explicity, rather the check digit is encoded in the parity of the other six characters. The check digit that is encoded is the check digit from the original UPC-A barcode.</td>
336 <td class="barcodecell"><barcode code="04210000526" type="UPCE" class="barcode" /></td>
337 </tr>
338 <tr>
339 <td align="center">EAN8</td>
340 <td>EAN-8 (5512345) Accepts 7 or 8 characters (creating checksum digit if required). [0-9] numeric only</td>
341 <td class="barcodecell"><barcode code="2468123" type="EAN8" class="barcode" /></td>
342 </tr>
343 </tbody>
344 </table>
345
346 <h3>EAN-2 and EAN-5 supplements, and combined forms</h3>
347 <p>UPC-A, UPC-E, EAN-13, and EAN-8 may all include an additional bar code(EAN-2 and EAN-5) to the right of the main bar code.</p>
348 <table class="items" width="100%" cellpadding="8" border="1">
349 <thead>
350 <tr>
351 <td width="10%">CODE</td>
352 <td>DESCRIPTION</td>
353 <td>BARCODE</td>
354 </tr>
355 </thead>
356 <tbody>
357 <!-- ITEMS HERE -->
358 <tr>
359 <td align="center">EAN2</td>
360 <td colspan="2">EAN-2 supplement barcode. mPDF does not generate EAN-5 barcode on its own; see supplements below. Used to denote an issue of a periodical. EAN-2 supplement accepts 2 digits [0-9] only, EAN-5 five.</td>
361 </tr>
362 <tr>
363 <td align="center">EAN5</td>
364 <td colspan="2">EAN-5 supplement barcode. mPDF does not generate EAN-5 barcode on its own; see supplements below. Usually used in conjunction with EAN-13 for the price of books. 90000 is the code for no price. </td>
365 </tr>
366 <tr>
367 <td align="center">EAN13P2</td>
368 <td>Standard EAN-13 barcode with 2-digit UPC supplement (07)</td>
369 <td class="barcodecell"><barcode code="978-0-9542246-0-8 07" type="EAN13P2" class="barcode" /></td>
370 </tr>
371 <tr>
372 <td align="center">ISBNP2</td>
373 <td>Standard EAN-13 barcode with \'ISBN\' number shown above, and 2-digit EAN-2 supplement</td>
374 <td class="barcodecell"><barcode code="978-0-9542246-0-8 07" type="ISBNP2" class="barcode" text="1" /></td>
375 </tr>
376 <tr>
377 <td align="center">ISSNP2</td>
378 <td>Standard EAN-13 barcode with \'ISSN\' number shown above, and 2-digit EAN-2 supplement</td>
379 <td class="barcodecell"><barcode code="978-0-9542246-0-8 07" type="ISSNP2" class="barcode" text="1" /></td>
380 </tr>
381 <tr>
382 <td align="center">UPCAP2</td>
383 <td>UPC-A barcode with 2-digit EAN-2 supplement. This is a subset of the EAN-13. (075678164125 07)</td>
384 <td class="barcodecell"><barcode code="00633895260 24" type="UPCAP2" class="barcode" /></td>
385 </tr>
386 <tr>
387 <td align="center">UPCEP2</td>
388 <td>UPC-E barcode with 2-digit EAN-2 supplement. (042100005264 07)</td>
389 <td class="barcodecell"><barcode code="042100005264 07" type="UPCEP2" class="barcode" /></td>
390 </tr>
391 <tr>
392 <td align="center">EAN8P2</td>
393 <td>EAN-8 barcode with 2-digit EAN-2 supplement (55123457 07)</td>
394 <td class="barcodecell"><barcode code="55123457 07" type="EAN8P2" class="barcode" /></td>
395 </tr>
396 <tr>
397 <td align="center">EAN13P5</td>
398 <td>Standard EAN-13 barcode with 5-digit UPC supplement (90000)</td>
399 <td class="barcodecell"><barcode code="978-0-9542246-0-8 90000" type="EAN13P5" class="barcode" /></td>
400 </tr>
401 <tr>
402 <td align="center">ISBNP5</td>
403 <td>Standard EAN-13 barcode with \'ISBN\' number shown above, and 5-digit EAN-5 supplement</td>
404 <td class="barcodecell"><barcode code="978-0-9542246-0-8 90000" type="ISBNP5" class="barcode" text="1" /></td>
405 </tr>
406 <tr>
407 <td align="center">ISSNP5</td>
408 <td>Standard EAN-13 barcode with \'ISSN\' number shown above, and 5-digit EAN-5 supplement</td>
409 <td class="barcodecell"><barcode code="978-0-9542246-0-8 90000" type="ISSNP5" class="barcode" text="1" /></td>
410 </tr>
411 <tr>
412 <td align="center">UPCAP5</td>
413 <td>UPC-A barcode with 5-digit EAN-5 supplement. This is a subset of the EAN-13. (075678164125 90000)</td>
414 <td class="barcodecell"><barcode code="075678164125 90000" type="UPCAP5" class="barcode" /></td>
415 </tr>
416 <tr>
417 <td align="center">UPCEP5</td>
418 <td>UPC-E barcode with 5-digit EAN-5 supplement. (042100005264 90000)</td>
419 <td class="barcodecell"><barcode code="042100005264 90000" type="UPCEP5" class="barcode" /></td>
420 </tr>
421 <tr>
422 <td align="center">EAN8P5</td>
423 <td>EAN-8 barcode with 5-digit EAN-5 supplement (55123457 90000)</td>
424 <td class="barcodecell"><barcode code="55123457 90000" type="EAN8P5" class="barcode" /></td>
425 </tr>
426 </tbody>
427 </table>
428
429 <pagebreak />
430 <h3>Postcode Barcodes</h3>
431 <p>These all have sizes fixed by their specification. Although they can be altered using \'size\' it is not recommended. \'height\' is ignored.</p>
432 <table class="items" width="100%" cellpadding="8" border="1">
433 <thead>
434 <tr>
435 <td width="10%">CODE</td>
436 <td>DESCRIPTION</td>
437 <td>BARCODE</td>
438 </tr>
439 </thead>
440 <tbody>
441 <!-- ITEMS HERE -->
442 <tr>
443 <td align="center">IMB</td>
444 <td>Intelligent Mail Barcode - also known as: USPS OneCode 4-State Customer Barcode, OneCode 4CB, USPS 4CB, 4-CB, 4-State Customer Barcode, USPS OneCode Solution Barcode. (01234567094987654321-01234567891) Accepts: Up to 31 digits (required 20-digit Tracking Code, and up to 11-digit Routing Code; this may be 0, 5, 9, or 11 digits). If the Routing code is included, it should be spearated by a hyphen - like this example.</td>
445 <td class="barcodecell"><barcode code="01234567094987654321-01234567891" type="IMB" class="barcode" /></td>
446 </tr>
447 <tr>
448 <td align="center">RM4SCC</td>
449 <td>Royal Mail 4-state Customer barcode (SN34RD1A). Accepts: max. 9 characters. Valid characters: [A-Z,0-9] Checksum digit: automatic.</td>
450 <td class="barcodecell"><barcode code="SN34RD1A" type="RM4SCC" class="barcode" /></td>
451 </tr>
452 <tr>
453 <td align="center">KIX</td>
454 <td>Dutch KIX version of Royal Mail 4-state Customer barcode (SN34RD1A). Valid characters: [A-Z,0-9]. Checksum digit: automatic.</td>
455 <td class="barcodecell"><barcode code="SN34RD1A" type="KIX" class="barcode" /></td>
456 </tr>
457 <tr>
458 <td align="center">POSTNET</td>
459 <td>POSTNET barcode. Accepts 5, 9 or 11 digits. Valid characters: [0-9]. Checksum digit: automatic.</td>
460 <td class="barcodecell"><barcode code="123456789" type="POSTNET" class="barcode" /></td>
461 </tr>
462 <tr>
463 <td align="center">PLANET</td>
464 <td>PLANET barcode. Accepts 11 or 13 digits. Valid characters: [0-9]. Checksum digit: automatic.</td>
465 <td class="barcodecell"><barcode code="00123456789" type="PLANET" class="barcode" /></td>
466 </tr>
467 </tbody>
468 </table>
469
470
471 <h3>Variable width Barcodes</h3>
472 <p>These barcodes are all of variable length depending on the code entered. There is no recommended maximum size for any of these specs, but all recommend a minimum X-dimension (width of narrowest bar) as 7.5mil (=0.19mm). The default used here is twice the minimum i.e. X-dim = 0.38mm.</p>
473 <p>The specifications give a minimum height of 15% of the barcode length (which can be variable). The bar height in mPDF is set to a default value of 10mm. </p>
474 <p>\'size\' will scale the barcode in both dimensions. mPDF will accept any number, but bear in mind that size="0.5" will set the bar width to the minimum. The \'height\' attribute further allows scaling - this factor is applied to already scaled barcode. Thus size="2" height="0.5" will give a barcode twice the default width (X-dim=0.76mm) and at the default height set in mPDF i.e. 10mm.</p>
475 <table class="items" width="100%" cellpadding="8" border="1">
476 <thead>
477 <tr>
478 <td width="10%">CODE</td>
479 <td>DESCRIPTION</td>
480 <td>BARCODE</td>
481 </tr>
482 </thead>
483 <tbody>
484 <tr>
485 <td align="center">C128A</td>
486 <td>CODE 128 A. Valid characters: [A-Z uppercase and control chars ASCII 0-31]. Checksum digit: automatic.</td>
487 <td class="barcodecell"><barcode code="CODE 128 A" type="C128A" class="barcode" /></td>
488 </tr>
489 <tr>
490 <td align="center">C128B</td>
491 <td>CODE 128 B. Valid characters: [Upper / Lower Case + All ASCII Printable Characters]. Checksum digit: automatic.</td>
492 <td class="barcodecell"><barcode code="ABC123abc@456" type="C128B" class="barcode" /></td>
493 </tr>
494 <tr>
495 <td align="center">C128C</td>
496 <td>CODE 128 C. Valid characters: [0-9]. Must be an even number of digits. Checksum digit: automatic.</td>
497 <td class="barcodecell"><barcode code="0123456789" type="C128C" class="barcode" /></td>
498 </tr>
499
500 <tr>
501 <td align="center">EAN128C [A/B/C]</td>
502 <td>EAN128 (A, B, and C). Specified variant of Code 128, utilising an FNC1 start code. Also known as UCC/EAN-128 or GS1-128. Valid characters: [cf. Code 128]. Checksum digit: automatic.</td>
503 <td class="barcodecell"><barcode code="0112345678912343" type="EAN128C" class="barcode" /></td>
504 </tr>
505
506 <tr>
507 <td align="center">C39</td>
508 <td>CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9. Valid characters: [0-9 A-Z \'-\' . Space $/+%]</td>
509 <td class="barcodecell"><barcode code="TEC-IT" type="C39" class="barcode" /></td>
510 </tr>
511 <tr>
512 <td align="center">C39+</td>
513 <td>CODE 39 + CHECKSUM. Checksum digit: automatic.</td>
514 <td class="barcodecell"><barcode code="39OR93" type="C39+" class="barcode" /></td>
515 </tr>
516 <tr>
517 <td align="center">C39E</td>
518 <td>CODE 39 EXTENDED. Valid characters: [ASCII-characters between 0..127]</td>
519 <td class="barcodecell"><barcode code="CODE 39 E" type="C39E" class="barcode" /></td>
520 </tr>
521 <tr>
522 <td align="center">C39E+</td>
523 <td>CODE 39 EXTENDED + CHECKSUM. Checksum digit: automatic.</td>
524 <td class="barcodecell"><barcode code="CODE 39 E+" type="C39E+" class="barcode" /></td>
525 </tr>
526
527 <tr>
528 <td align="center">S25</td>
529 <td>Standard 2 of 5. Valid characters: [0-9]</td>
530 <td class="barcodecell"><barcode code="54321068" type="S25" class="barcode" /></td>
531 </tr>
532 <tr>
533 <td align="center">S25+</td>
534 <td>Standard 2 of 5 + CHECKSUM. Valid characters: [0-9]. Checksum digit: automatic.</td>
535 <td class="barcodecell"><barcode code="54321068" type="S25+" class="barcode" /></td>
536 </tr>
537 <tr>
538 <td align="center">I25</td>
539 <td>Interleaved 2 of 5. Valid characters: [0-9]</td>
540 <td class="barcodecell"><barcode code="54321068" type="I25" class="barcode" /></td>
541 </tr>
542 <tr>
543 <td align="center">I25+</td>
544 <td>Interleaved 2 of 5 + CHECKSUM. Valid characters: [0-9]. Checksum digit: automatic.</td>
545 <td class="barcodecell"><barcode code="54321068" type="I25+" class="barcode" /></td>
546 </tr>
547 <tr>
548 <td align="center">I25B</td>
549 <td>Interleaved 2 of 5 with bearer bars. Valid characters: [0-9]</td>
550 <td class="barcodecell"><barcode code="1234567" type="I25B" class="barcode" /></td>
551 </tr>
552 <tr>
553 <td align="center">I25B+</td>
554 <td>Interleaved 2 of 5 + CHECKSUM with bearer bars. Valid characters: [0-9]. Checksum digit: automatic.</td>
555 <td class="barcodecell"><barcode code="1234567" type="I25B+" class="barcode" /></td>
556 </tr>
557
558 <tr>
559 <td align="center">C93</td>
560 <td>CODE 93 - USS-93 (extended). Valid characters: [ASCII-characters between 0..127]. Checksum digits: automatic.</td>
561 <td class="barcodecell"><barcode code="39OR93" type="C93" class="barcode" /></td>
562 </tr>
563
564 <tr>
565 <td align="center">MSI</td>
566 <td>MSI. Modified Plessey. Valid characters: [0-9]</td>
567 <td class="barcodecell"><barcode code="01234567897" type="MSI" class="barcode" /></td>
568 </tr>
569 <tr>
570 <td align="center">MSI+</td>
571 <td>MSI + CHECKSUM (module 11). Checksum digit: automatic.</td>
572 <td class="barcodecell"><barcode code="0123456789" type="MSI+" class="barcode" /></td>
573 </tr>
574
575 <tr>
576 <td align="center">CODABAR</td>
577 <td>CODABAR. Valid characters: [0-9 \'-\' $:/.+ ABCD] ABCD are used as stop and start characters e.g. A34698735B</td>
578 <td class="barcodecell"><barcode code="A34698735B" type="CODABAR" class="barcode" /></td>
579 </tr>
580
581 <tr>
582 <td align="center">CODE11</td>
583 <td>CODE 11. Valid characters: [0-9 and \'-\']. Checksum digits: 1 (or 2 if length of code is > 10 characters) - automatic.</td>
584 <td class="barcodecell"><barcode code="123-456-789" type="CODE11" class="barcode" /></td>
585 </tr>
586
587
588 </tbody>
589 </table>
590
591 ';
592
593
594 //==============================================================
595 //==============================================================
596 //==============================================================
597 include("../mpdf.php");
598
599 $mpdf=new mPDF('s');
600
601 $mpdf->SetDisplayMode('fullpage');
602
603 $mpdf->WriteHTML($html);
604
605 $mpdf->Output();
606
607 exit;
608
609 //==============================================================
610 //==============================================================
611 //==============================================================
612 //==============================================================
613
614
615 ?>