-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.php
More file actions
92 lines (79 loc) · 2.4 KB
/
index.php
File metadata and controls
92 lines (79 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?php
//test file
require 'vendor/autoload.php';
$d2 = new DNS2DBarcode();
$d2->save_path="";
//echo $d2->getBarcodePNGPath("dinesh", 'pdf417',2, 2, 'black');
//echo $d2->getBarcodePNGPath("dinesh", 'datamatrix',2, 2, 'black');
//echo $d2->getBarcodePNGPath("dinesh", 'qrcode',2, 2, 'black');
$d1=new DNS1DBarcode();
$d1->save_path="";
echo $d1->getBarcodePNGPath("1234567", 'C39');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'C39+');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'C39E');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'C39E+');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'C93');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'S25');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'S25+');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'I25');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'I25+');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'C128');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'C128A');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'C128B');
echo "<br />";
echo $d1->getBarcodePNGPath("1234", 'C128C');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'EAN2');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'EAN5');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'EAN8');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'EAN13');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'UPCA');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'UPCE');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'MSI');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'MSI+');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'POSTNET');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'PLANET');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'RMS4CC');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'KIX');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'IMB');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'CODABAR');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'CODE11');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'PHARMA');
echo "<br />";
echo $d1->getBarcodePNGPath("1234567", 'PHARMA2T');
echo "<br />";
$as = 'asdasdasd asdasdasd asdasdasd
asdasdasdasd
asdasdasd
asdasdasdasdsda
sd
asdasdasdasdda
sd';
?>
<img src="<?php echo $d2->getBarcodePNGPath($as, 'pdf417',2, 2, array(0, 0, 0), 'filename'); ?>" />