printing_labels 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/printing_labels.rb +2 -2
- data/lib/printing_labels/version.rb +1 -1
- data/website/index.html +1 -1
- metadata +1 -1
data/lib/printing_labels.rb
CHANGED
@@ -8,7 +8,7 @@ require 'printing_labels/version'
|
|
8
8
|
@p_width = 210
|
9
9
|
@labels = []
|
10
10
|
@start_number = 1
|
11
|
-
@label_layout = LabelLayout.new(:type => "Tipo A", :border => true, :n_row => 7, :n_col=> 2, :pm_top => 25, :pm_left => 5, :pm_bottom => 24, :pm_right => 5.5, :l_width => 98, :l_height => 35.5, :lm_left => 0, :lm_right => 0, :lm_top => 0, :lm_bottom => 0, :lm_inter => 2, :text_size => 14, :line_height => 7)
|
11
|
+
@label_layout = LabelLayout.new(:type => "Tipo A", :border => true, :n_row => 7, :n_col=> 2, :pm_top => 25, :pm_left => 5, :pm_bottom => 24, :pm_right => 5.5, :l_width => 98, :l_height => 35.5, :lm_left => 0, :lm_right => 0, :lm_top => 0, :lm_bottom => 0, :label_padding => 8, :lm_inter => 2, :text_size => 14, :line_height => 7)
|
12
12
|
end
|
13
13
|
|
14
14
|
def which_template?
|
@@ -124,7 +124,7 @@ require 'printing_labels/version'
|
|
124
124
|
end
|
125
125
|
|
126
126
|
class LabelLayout
|
127
|
-
attr_accessor :type, :border, :n_row, :n_col, :l_width, :l_height, :pm_top, :pm_left, :pm_bottom, :pm_right, :lm_left, :lm_right, :lm_top, :lm_bottom, :lm_inter
|
127
|
+
attr_accessor :type, :border, :n_row, :n_col, :l_width, :l_height, :pm_top, :pm_left, :pm_bottom, :pm_right, :lm_left, :lm_right, :lm_top, :lm_bottom, :lm_inter, :label_padding, :text_size, :line_height
|
128
128
|
|
129
129
|
def initialize(*args)
|
130
130
|
options = args.shift.dup if args.first.is_a?(Hash)
|
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>Print labels with</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/printing_labels"; return false'>
|
35
35
|
Get Version
|
36
|
-
<a href="http://rubyforge.org/projects/printing_labels" class="numbers">0.0.
|
36
|
+
<a href="http://rubyforge.org/projects/printing_labels" class="numbers">0.0.2</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ ‘printing_labels’</h1>
|
39
39
|
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: printing_labels
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
6
|
+
version: 0.0.2
|
7
7
|
date: 2007-06-12 00:00:00 +02:00
|
8
8
|
summary: create pdf labels sheet defining template and label start point
|
9
9
|
require_paths:
|