forked from cfinke/anyInventory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
label_templates.php
executable file
·78 lines (76 loc) · 2.24 KB
/
label_templates.php
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
<?php
$templates = array(
// 2 columns of 7 labels
// 1.33" X 4"
// http://avery.com/us/Main?action=software.BlankTPLProductSKU&catalogcode=WEB01&softwarecode=12017
0 => array("page_width"=>8.5,
"page_height"=>11,
"left_margin"=>0.16,
"top_margin"=>0.83,
"num_cols"=>2,
"num_rows"=>7,
"label_width"=>4,
"label_height"=>1.33),
// 3 columns of 10 labels
// 1" X 2-5/8"
// http://avery.com/us/Main?action=software.BlankTPLProductSKU&catalogcode=WEB01&softwarecode=12003
1 => array("page_width"=>8.5,
"page_height"=>11,
"left_margin"=>0.19,
"top_margin"=>0.5,
"num_cols"=>3,
"num_rows"=>10,
"label_width"=>2.625,
"label_height"=>1),
// 2 columns of 10 labels
// 1" X 4"
// http://avery.com/us/Main?action=software.BlankTPLProductSKU&catalogcode=WEB01&softwarecode=12005
2 => array("page_width"=>8.5,
"page_height"=>11,
"left_margin"=>0.16,
"top_margin"=>0.5,
"num_cols"=>2,
"num_rows"=>10,
"label_width"=>4,
"label_height"=>1),
// 3 columns of 6 labels
// 1-1/4" X 2-3/8"
// http://avery.com/us/Main?action=software.BlankTPLProductSKU&catalogcode=WEB01&softwarecode=4009
3 => array("page_width"=>8.5,
"page_height"=>11,
"left_margin"=>.63,
"top_margin"=>1.25,
"num_cols"=>3,
"num_rows"=>6,
"label_width"=>2.375,
"label_height"=>1.25),
// 3 columns of 6 labels
// 1-1/4" X 2-3/8"
// http://avery.com/us/Main?action=software.BlankTPLProductSKU&catalogcode=WEB01&softwarecode=4010
4 => array("page_width"=>8.5,
"page_height"=>11,
"left_margin"=>.63,
"top_margin"=>1.25,
"num_cols"=>2,
"num_rows"=>6,
"label_width"=>3.75,
"label_height"=>1.25),
// 4 columns of 20 labels^M
// 1-3/4" X 1/2"^M
5 => array("page_width"=>8.5,
"page_height"=>11,
"left_margin"=>.27,
"top_margin"=>.56,
"num_cols"=>4,
"num_rows"=>20,
"label_width"=>1.78,
"label_height"=>.37),
6 => array("page_width"=>1.75,
"page_height"=>.5,
"left_margin"=>.00001,
"top_margin"=>.1,
"num_cols"=>1,
"num_rows"=>1,
"label_width"=>1.78,
"label_height"=>.37));
?>