forked from science-ation/science-ation
Tweak the avery 5162 template a bit, lines up perfectly now
This commit is contained in:
parent
785f5bbf35
commit
9bad26096d
@ -149,12 +149,12 @@ LRP 180 99765 5967 4 1 3/4 x 1/2 80 */
|
||||
$report_stock['5162'] = array('name' => 'Avery 5162/5262/5962/8162/8462, G&T 99190 (1 1/3"x4")',
|
||||
'page_width' => 8.5,
|
||||
'page_height' => 11,
|
||||
'label_width' => 4,
|
||||
'label_width' => 3.99,
|
||||
'x_spacing' => 0.187,
|
||||
'cols' => 2,
|
||||
'label_height' => 1 + 0.33,
|
||||
'label_height' => 1.326,
|
||||
'y_spacing' => 0.00,
|
||||
'y_padding' => 0.80,
|
||||
'y_padding' => 0.30,
|
||||
'rows' => 7,
|
||||
);
|
||||
$report_stock['5163'] = array('name' => 'Avery 5163/5263/5963/8163/8463, G&T 99181 (2"x4")',
|
||||
|
2
lpdf.php
2
lpdf.php
@ -825,7 +825,7 @@ class lpdf
|
||||
$this->label_toppadding=$toppadding;
|
||||
|
||||
$this->labels_per_row=floor($this->page_width/($width+$xspacer));
|
||||
$this->labels_per_column=floor(($this->page_height-$toppadding)/($height+$yspacer));
|
||||
$this->labels_per_column=floor(($this->page_height-$toppadding*2)/($height+$yspacer));
|
||||
$this->labels_per_page=$this->labels_per_row * $this->labels_per_column;
|
||||
|
||||
$this->labels_start_xpos=($this->page_width-$this->labels_per_row*$width - $this->label_xspacer*($this->labels_per_row-1))/2;
|
||||
|
Loading…
Reference in New Issue
Block a user