rghost_barcode 0.8 → 0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. data/lib/rghost_barcode.rb +7 -5
  2. data/lib/rghost_barcode/ps/barcode_base.ps +17090 -0
  3. data/lib/rghost_barcode/rghost_barcode_adapter.rb +22 -226
  4. data/lib/rghost_barcode/rghost_barcode_base.rb +12 -14
  5. data/lib/rghost_barcode/rghost_barcode_types.rb +86 -0
  6. data/lib/rghost_barcode/rghost_barcode_version.rb +2 -2
  7. metadata +30 -177
  8. data/lib/doc/classes/RGhost.html +0 -109
  9. data/lib/doc/classes/RGhost/Barcode.html +0 -147
  10. data/lib/doc/classes/RGhost/Barcode/Auspost.html +0 -113
  11. data/lib/doc/classes/RGhost/Barcode/Azteccode.html +0 -113
  12. data/lib/doc/classes/RGhost/Barcode/Base.html +0 -266
  13. data/lib/doc/classes/RGhost/Barcode/Base.src/M000004.html +0 -34
  14. data/lib/doc/classes/RGhost/Barcode/Base.src/M000005.html +0 -30
  15. data/lib/doc/classes/RGhost/Barcode/Base.src/M000006.html +0 -20
  16. data/lib/doc/classes/RGhost/Barcode/Border.html +0 -170
  17. data/lib/doc/classes/RGhost/Barcode/Border.src/M000001.html +0 -27
  18. data/lib/doc/classes/RGhost/Barcode/Code11.html +0 -113
  19. data/lib/doc/classes/RGhost/Barcode/Code128.html +0 -113
  20. data/lib/doc/classes/RGhost/Barcode/Code2of5.html +0 -113
  21. data/lib/doc/classes/RGhost/Barcode/Code39.html +0 -113
  22. data/lib/doc/classes/RGhost/Barcode/Code93.html +0 -113
  23. data/lib/doc/classes/RGhost/Barcode/Datamatrix.html +0 -113
  24. data/lib/doc/classes/RGhost/Barcode/Ean13.html +0 -113
  25. data/lib/doc/classes/RGhost/Barcode/Ean2.html +0 -113
  26. data/lib/doc/classes/RGhost/Barcode/Ean5.html +0 -113
  27. data/lib/doc/classes/RGhost/Barcode/Ean8.html +0 -113
  28. data/lib/doc/classes/RGhost/Barcode/Guard.html +0 -174
  29. data/lib/doc/classes/RGhost/Barcode/Guard.src/M000003.html +0 -27
  30. data/lib/doc/classes/RGhost/Barcode/Interleaved2of5.html +0 -113
  31. data/lib/doc/classes/RGhost/Barcode/Isbn.html +0 -113
  32. data/lib/doc/classes/RGhost/Barcode/Kix.html +0 -113
  33. data/lib/doc/classes/RGhost/Barcode/Maxicode.html +0 -113
  34. data/lib/doc/classes/RGhost/Barcode/Msi.html +0 -113
  35. data/lib/doc/classes/RGhost/Barcode/Onecode.html +0 -113
  36. data/lib/doc/classes/RGhost/Barcode/Parameter.html +0 -262
  37. data/lib/doc/classes/RGhost/Barcode/Parameter.src/M000007.html +0 -20
  38. data/lib/doc/classes/RGhost/Barcode/Parameter.src/M000008.html +0 -18
  39. data/lib/doc/classes/RGhost/Barcode/Parameter.src/M000009.html +0 -18
  40. data/lib/doc/classes/RGhost/Barcode/Parameter.src/M000010.html +0 -18
  41. data/lib/doc/classes/RGhost/Barcode/Parameter.src/M000011.html +0 -18
  42. data/lib/doc/classes/RGhost/Barcode/Parameter.src/M000012.html +0 -24
  43. data/lib/doc/classes/RGhost/Barcode/Parameter.src/M000013.html +0 -18
  44. data/lib/doc/classes/RGhost/Barcode/Parameter.src/M000014.html +0 -18
  45. data/lib/doc/classes/RGhost/Barcode/Parameter.src/M000015.html +0 -16
  46. data/lib/doc/classes/RGhost/Barcode/Pdf417.html +0 -113
  47. data/lib/doc/classes/RGhost/Barcode/Pharmacode.html +0 -113
  48. data/lib/doc/classes/RGhost/Barcode/Plessey.html +0 -113
  49. data/lib/doc/classes/RGhost/Barcode/Postnet.html +0 -113
  50. data/lib/doc/classes/RGhost/Barcode/Qrcode.html +0 -113
  51. data/lib/doc/classes/RGhost/Barcode/Rationalizedcodabar.html +0 -113
  52. data/lib/doc/classes/RGhost/Barcode/Raw.html +0 -113
  53. data/lib/doc/classes/RGhost/Barcode/Royalmail.html +0 -113
  54. data/lib/doc/classes/RGhost/Barcode/Rss14.html +0 -113
  55. data/lib/doc/classes/RGhost/Barcode/Rssexpanded.html +0 -113
  56. data/lib/doc/classes/RGhost/Barcode/Rsslimited.html +0 -113
  57. data/lib/doc/classes/RGhost/Barcode/Symbol.html +0 -113
  58. data/lib/doc/classes/RGhost/Barcode/Text.html +0 -193
  59. data/lib/doc/classes/RGhost/Barcode/Text.src/M000002.html +0 -30
  60. data/lib/doc/classes/RGhost/Barcode/Upca.html +0 -113
  61. data/lib/doc/classes/RGhost/Barcode/Upce.html +0 -113
  62. data/lib/doc/classes/RGhost/Config.html +0 -150
  63. data/lib/doc/classes/RGhost/Config.src/M000016.html +0 -45
  64. data/lib/doc/classes/RGhost/Document.html +0 -704
  65. data/lib/doc/classes/RGhost/Document.src/M000017.html +0 -19
  66. data/lib/doc/classes/RGhost/Document.src/M000018.html +0 -18
  67. data/lib/doc/classes/RGhost/Document.src/M000019.html +0 -18
  68. data/lib/doc/classes/RGhost/Document.src/M000020.html +0 -18
  69. data/lib/doc/classes/RGhost/Document.src/M000021.html +0 -18
  70. data/lib/doc/classes/RGhost/Document.src/M000022.html +0 -18
  71. data/lib/doc/classes/RGhost/Document.src/M000023.html +0 -18
  72. data/lib/doc/classes/RGhost/Document.src/M000024.html +0 -18
  73. data/lib/doc/classes/RGhost/Document.src/M000025.html +0 -18
  74. data/lib/doc/classes/RGhost/Document.src/M000026.html +0 -18
  75. data/lib/doc/classes/RGhost/Document.src/M000027.html +0 -18
  76. data/lib/doc/classes/RGhost/Document.src/M000028.html +0 -18
  77. data/lib/doc/classes/RGhost/Document.src/M000029.html +0 -18
  78. data/lib/doc/classes/RGhost/Document.src/M000030.html +0 -18
  79. data/lib/doc/classes/RGhost/Document.src/M000031.html +0 -18
  80. data/lib/doc/classes/RGhost/Document.src/M000032.html +0 -18
  81. data/lib/doc/classes/RGhost/Document.src/M000033.html +0 -18
  82. data/lib/doc/classes/RGhost/Document.src/M000034.html +0 -18
  83. data/lib/doc/classes/RGhost/Document.src/M000035.html +0 -18
  84. data/lib/doc/classes/RGhost/Document.src/M000036.html +0 -18
  85. data/lib/doc/classes/RGhost/Document.src/M000037.html +0 -18
  86. data/lib/doc/classes/RGhost/Document.src/M000038.html +0 -18
  87. data/lib/doc/classes/RGhost/Document.src/M000039.html +0 -18
  88. data/lib/doc/classes/RGhost/Document.src/M000040.html +0 -18
  89. data/lib/doc/classes/RGhost/Document.src/M000041.html +0 -18
  90. data/lib/doc/classes/RGhost/Document.src/M000042.html +0 -18
  91. data/lib/doc/classes/RGhost/Document.src/M000043.html +0 -18
  92. data/lib/doc/classes/RGhost/Document.src/M000044.html +0 -18
  93. data/lib/doc/classes/RGhost/Document.src/M000045.html +0 -18
  94. data/lib/doc/classes/RGhost/Document.src/M000046.html +0 -18
  95. data/lib/doc/classes/RGhost/Document.src/M000047.html +0 -18
  96. data/lib/doc/classes/RGhost/Document.src/M000048.html +0 -18
  97. data/lib/doc/created.rid +0 -1
  98. data/lib/doc/files/rghost_barcode/rghost_barcode_adapter_rb.html +0 -101
  99. data/lib/doc/files/rghost_barcode/rghost_barcode_base_rb.html +0 -101
  100. data/lib/doc/files/rghost_barcode/rghost_barcode_classes_rb.html +0 -101
  101. data/lib/doc/files/rghost_barcode/rghost_barcode_examples_rb.html +0 -101
  102. data/lib/doc/files/rghost_barcode/rghost_barcode_version_rb.html +0 -101
  103. data/lib/doc/files/rghost_barcode_rb.html +0 -111
  104. data/lib/doc/files/teste_main_rb.html +0 -110
  105. data/lib/doc/fr_class_index.html +0 -67
  106. data/lib/doc/fr_file_index.html +0 -33
  107. data/lib/doc/fr_method_index.html +0 -74
  108. data/lib/doc/index.html +0 -24
  109. data/lib/rghost_barcode/ps/auspost.ps +0 -192
  110. data/lib/rghost_barcode/ps/azteccode.ps +0 -357
  111. data/lib/rghost_barcode/ps/barcode_template.eps +0 -1193
  112. data/lib/rghost_barcode/ps/code11.ps +0 -128
  113. data/lib/rghost_barcode/ps/code128.ps +0 -121
  114. data/lib/rghost_barcode/ps/code2of5.ps +0 -106
  115. data/lib/rghost_barcode/ps/code39.ps +0 -109
  116. data/lib/rghost_barcode/ps/code93.ps +0 -117
  117. data/lib/rghost_barcode/ps/datamatrix.ps +0 -328
  118. data/lib/rghost_barcode/ps/ean13.ps +0 -183
  119. data/lib/rghost_barcode/ps/ean2.ps +0 -101
  120. data/lib/rghost_barcode/ps/ean5.ps +0 -116
  121. data/lib/rghost_barcode/ps/ean8.ps +0 -101
  122. data/lib/rghost_barcode/ps/interleaved2of5.ps +0 -132
  123. data/lib/rghost_barcode/ps/isbn.ps +0 -118
  124. data/lib/rghost_barcode/ps/kix.ps +0 -98
  125. data/lib/rghost_barcode/ps/maxicode.ps +0 -307
  126. data/lib/rghost_barcode/ps/msi.ps +0 -104
  127. data/lib/rghost_barcode/ps/onecode.ps +0 -276
  128. data/lib/rghost_barcode/ps/pdf417.ps +0 -428
  129. data/lib/rghost_barcode/ps/pharmacode.ps +0 -69
  130. data/lib/rghost_barcode/ps/plessey.ps +0 -121
  131. data/lib/rghost_barcode/ps/postnet.ps +0 -114
  132. data/lib/rghost_barcode/ps/qrcode.ps +0 -530
  133. data/lib/rghost_barcode/ps/rationalizedcodabar.ps +0 -117
  134. data/lib/rghost_barcode/ps/raw.ps +0 -35
  135. data/lib/rghost_barcode/ps/render.ps +0 -307
  136. data/lib/rghost_barcode/ps/render.ps~ +0 -308
  137. data/lib/rghost_barcode/ps/royalmail.ps +0 -119
  138. data/lib/rghost_barcode/ps/rss14.ps +0 -237
  139. data/lib/rghost_barcode/ps/rssexpanded.ps +0 -211
  140. data/lib/rghost_barcode/ps/rsslimited.ps +0 -191
  141. data/lib/rghost_barcode/ps/symbol.ps +0 -49
  142. data/lib/rghost_barcode/ps/upca.ps +0 -128
  143. data/lib/rghost_barcode/ps/upce.ps +0 -157
  144. data/lib/rghost_barcode/rghost_barcode_classes.rb +0 -96
  145. data/lib/rghost_barcode/rghost_barcode_examples.rb +0 -35
  146. data/lib/teste_main.rb +0 -94
@@ -1,242 +1,38 @@
1
-
2
-
3
- RGhost::Config::GS[:extensions] << File.join(File.dirname(__FILE__),'ps')
4
- RGhost::Config::GS[:preload] << :render
5
-
6
1
  class RGhost::Document
7
2
 
8
- #Facade for RGhost::Barcode::Isbn
9
- def barcode_isbn(barcode_string,options={})
10
- set RGhost::Load.library(:ean13)
11
- set RGhost::Barcode::Isbn.new(barcode_string,options)
12
- end
13
-
14
- #Facade for RGhost::Barcode::Code11
15
- def barcode_code11(barcode_string,options={})
16
- set RGhost::Barcode::Code11.new(barcode_string,options)
17
- end
18
-
19
- #Facade for RGhost::Barcode::Code2of5
20
- def barcode_code2of5(barcode_string,options={})
21
- set RGhost::Barcode::Code2of5.new(barcode_string,options)
22
- end
23
-
24
- #Facade for RGhost::Barcode::Ean8
25
- def barcode_ean8(barcode_string,options={})
26
- set RGhost::Barcode::Ean8.new(barcode_string,options)
27
- end
28
-
29
- #Facade for RGhost::Barcode::Postnet
30
- def barcode_postnet(barcode_string,options={})
31
- set RGhost::Barcode::Postnet.new(barcode_string,options)
32
- end
33
-
34
- #Facade for RGhost::Barcode::Rssexpanded
35
- def barcode_rssexpanded(barcode_string,options={})
36
- set RGhost::Barcode::Rssexpanded.new(barcode_string,options)
37
- end
38
-
39
- #Facade for RGhost::Barcode::Auspost
40
- def barcode_auspost(barcode_string,options={})
41
- set RGhost::Barcode::Auspost.new(barcode_string,options)
42
- end
43
-
44
- #Facade for RGhost::Barcode::Code39
45
- def barcode_code39(barcode_string,options={})
46
- set RGhost::Barcode::Code39.new(barcode_string,options)
47
- end
48
-
49
- #Facade for RGhost::Barcode::Upce
50
- def barcode_upce(barcode_string,options={})
51
- set RGhost::Barcode::Upce.new(barcode_string,options)
52
- end
53
-
54
- #Facade for RGhost::Barcode::Azteccode
55
- def barcode_azteccode(barcode_string,options={})
56
- set RGhost::Barcode::Azteccode.new(barcode_string,options)
57
- end
58
-
59
- #Facade for RGhost::Barcode::Ean5
60
- def barcode_ean5(barcode_string,options={})
61
- set RGhost::Barcode::Ean5.new(barcode_string,options)
62
- end
63
-
64
- #Facade for RGhost::Barcode::Plessey
65
- def barcode_plessey(barcode_string,options={})
66
- set RGhost::Barcode::Plessey.new(barcode_string,options)
67
- end
68
-
69
- #Facade for RGhost::Barcode::Raw
70
- def barcode_raw(barcode_string,options={})
71
- set RGhost::Barcode::Raw.new(barcode_string,options)
72
- end
73
-
74
- #Facade for RGhost::Barcode::Rss14
75
- def barcode_rss14(barcode_string,options={})
76
- set RGhost::Barcode::Rss14.new(barcode_string,options)
77
- end
78
-
79
- #Facade for RGhost::Barcode::Royalmail
80
- def barcode_royalmail(barcode_string,options={})
81
- set RGhost::Barcode::Royalmail.new(barcode_string,options)
82
- end
83
-
84
- #Facade for RGhost::Barcode::Datamatrix
85
- def barcode_datamatrix(barcode_string,options={})
86
- set RGhost::Barcode::Datamatrix.new(barcode_string,options)
87
- end
88
-
89
- #Facade for RGhost::Barcode::Code128
90
- def barcode_code128(barcode_string,options={})
91
- set RGhost::Barcode::Code128.new(barcode_string,options)
3
+ RGhost::Barcode::BARCODES.keys.each do |name|
4
+ #nomalize
5
+ bwpp_name = name.to_s.gsub(/_/,'-')
6
+ clazz_name = name.to_s.capitalize
7
+ clazz = Class.new(RGhost::Barcode::Base)
8
+ ::RGhost::Barcode.const_set clazz_name.to_sym,clazz
9
+
10
+ self.send :define_method, "barcode_#{name}" do |data_string, options|
11
+ set clazz.new(data_string, options)
12
+ end
92
13
  end
93
-
94
- #Facade for RGhost::Barcode::Upca
95
- def barcode_upca(barcode_string,options={})
96
- set RGhost::Barcode::Upca.new(barcode_string,options)
97
- end
98
-
99
- #Facade for RGhost::Barcode::Qrcode
100
- def barcode_qrcode(barcode_string,options={})
101
- set RGhost::Barcode::Qrcode.new(barcode_string,options)
102
- end
103
-
104
- #Facade for RGhost::Barcode::Maxicode
105
- def barcode_maxicode(barcode_string,options={})
106
- set RGhost::Barcode::Maxicode.new(barcode_string,options)
107
- end
108
-
109
- #Facade for RGhost::Barcode::Rationalizedcodabar
110
- def barcode_rationalizedcodabar(barcode_string,options={})
111
- set RGhost::Barcode::Rationalizedcodabar.new(barcode_string,options)
112
- end
113
-
114
- #Facade for RGhost::Barcode::Code93
115
- def barcode_code93(barcode_string,options={})
116
- set RGhost::Barcode::Code93.new(barcode_string,options)
117
- end
118
-
119
- #Facade for RGhost::Barcode::Msi
120
- def barcode_msi(barcode_string,options={})
121
- set RGhost::Barcode::Msi.new(barcode_string,options)
122
- end
123
-
124
- #Facade for RGhost::Barcode::Rsslimited
125
- def barcode_rsslimited(barcode_string,options={})
126
- set RGhost::Barcode::Rsslimited.new(barcode_string,options)
127
- end
128
-
129
- #Facade for RGhost::Barcode::Ean13
130
- def barcode_ean13(barcode_string,options={})
131
- set RGhost::Barcode::Ean13.new(barcode_string,options)
132
- end
133
-
134
- #Facade for RGhost::Barcode::Onecode
135
- def barcode_onecode(barcode_string,options={})
136
- set RGhost::Barcode::Onecode.new(barcode_string,options)
137
- end
138
-
139
- #Facade for RGhost::Barcode::Ean2
140
- def barcode_ean2(barcode_string,options={})
141
- set RGhost::Barcode::Ean2.new(barcode_string,options)
142
- end
143
-
144
- #Facade for RGhost::Barcode::Interleaved2of5
145
- def barcode_interleaved2of5(barcode_string,options={})
146
- set RGhost::Barcode::Interleaved2of5.new(barcode_string,options)
147
- end
148
-
149
- #Facade for RGhost::Barcode::Symbol
150
- def barcode_symbol(barcode_string,options={})
151
- set RGhost::Barcode::Symbol.new(barcode_string,options)
152
- end
153
-
154
- #Facade for RGhost::Barcode::Pdf417
155
- def barcode_pdf417(barcode_string,options={})
156
- set RGhost::Barcode::Pdf417.new(barcode_string,options)
157
- end
158
-
159
- #Facade for RGhost::Barcode::Kix
160
- def barcode_kix(barcode_string,options={})
161
- set RGhost::Barcode::Kix.new(barcode_string,options)
162
- end
163
-
164
- #Facade for RGhost::Barcode::Pharmacode
165
- def barcode_pharmacode(barcode_string,options={})
166
- set RGhost::Barcode::Pharmacode.new(barcode_string,options)
167
- end
168
-
169
-
170
14
  end
171
15
 
172
16
  module RGhost::Config
173
- BARCODE_EXAMPLES={
174
- 'plessey' => ['01234ABCD',{ :text => {:size => 10}}],
175
- 'isbn' => ['978-1-56592-479',{:text => {:size => 10}, :guard=>{:whitespace => true }}],
176
- 'rsslimited' => ['00978186074271',{:height => 1 , :text => {:size => 10}}],
177
- 'pdf417' => ['^453^178^121^239',{:text => {:size => 10}, :columns => 2, :rows=> 10}],
178
- 'royalmail' => ['LE28HS9Z',{:text => {:size => 10}}],
179
- 'ean13' => ['977147396801',{ :guard=>{:whitespace => true }}],
180
- 'code11' => ['0123456789',{:text => {:size => 10}}],
181
- 'symbol' => ['fima',{:text => {:size => 10}}],
182
- 'qrcode' => ['000100000010000000001100010101100110000110000',{:text => {:size => 10}}],
183
- 'msi' => ['0123456789',{:text => {:size => 10}}],
184
- 'upca' => ['78858101497',{:text => {:size => 10}}],
185
- 'pharmacode' => ['117480',{:text => {:size => 10}}],
186
- 'kix' => ['1231FZ13XHS',{:text => {:size => 10}}],
187
- 'datamatrix' => ['^142^164^186',{:columns => 32, :rows=> 32}],
188
- 'rssexpanded' => ['000000010011001010100001000000010000',{:text => {:size => 10}}],
189
- 'ean2' => ['05',{:text => {:size => 10}}],
190
- 'rationalizedcodabar' => ['A0123456789B',{:text => {:size => 10}}],
191
- 'upce' => ['0123456',{:text => {:size => 10}}],
192
- 'ean5' => ['90200',{:text => {:size => 10}}],
193
- 'code2of5' => ['01234567',{:text => {:size => 10}}],
194
- 'code93' => ['THIS IS CODE 93',{:text => {:size => 10}}],
195
- 'postnet' => ['012345',{:text => {:size => 10}}],
196
- 'maxicode' => ['^059^042^041^059^040^03001^02996152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291^0471^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^030^062^004^063', {:mode=> 2, :text => {:size => 10}}],
197
- 'raw' => ['331132131313411122131311333213114131131221323',{:text => {:size => 10}}],
198
- 'onecode' => ['0123456709498765432101234567891',{:text => {:size => 10}}],
199
- 'code39' => ['THIS IS CODE 39',{:text => {:size => 10}}],
200
- 'auspost' => ['5956439111ABA 9',{:text => {:size => 10}}],
201
- 'azteccode' => ['00100111001000000101001101111000010100111100101000000110',{:text => {:size => 10}, :format=> :compact}],
202
- 'ean8' => ['01335583',{:text => {:size => 10}}],
203
- 'interleaved2of5' => ['24012345678905',{
204
- :text => {:size => 10, :offset => [0,-10], :enable => [:text, :check, :checkintext] },
205
- :border => {:width => 4, :left => 15, :right => 15, :show => true},
206
- :height => 2
207
- }],
208
- 'code128' => ['^104^102Count^0990123456789^101!',{:text => {:size => 10}}],
209
- 'rss14' => ['24012345678905',{:text => {:size => 10}}]
210
-
211
-
212
- }
213
17
  #Generates catalog of barcodes.
214
18
  #
215
19
  # RGhost::Config.barcode_examples.render :pdf, :filename => "/tmp/barcode_catalog.pdf"
216
20
  #
217
- def self.barcode_examples() #(options={:text => {:size => 10}})
218
- d=RGhost::Document.new :paper => [15,8], :margin_left => 2
219
- #d.set RGhost::Barcode::Code39.new("ASDHAJSDF", :x => 1, :y => 5, :color => 'FF0000', :border =>{:color => '00FF00'}, :text =>{:size => 10, :color => '553297' }, :height => 1, :width => 4.545)
220
- #d.barcode_isbn("978-1-56592-479", :x => 1, :y => 5, :color => 'FF0000', :border =>{:color => '00FF00'}, :text =>{:size => 10, :color => '553297' }, :height => 1, :width => 4.545)
221
- #d.barcode_isbn("978-1-56592-479", :x => 1, :y => 10, :text =>{:size => 10})
222
- d.define_template :barcode_template, File.join(File.dirname(__FILE__),'ps',"barcode_template.eps")
223
- d.before_page_create do
224
- use_template :barcode_template
225
- end
226
- RGhost::Config::BARCODE_EXAMPLES.each do |k,v|
227
-
228
- d.show "Barcode Name: #{k}"
229
- d.jump_rows 6
230
- #opt=v[1][:text][:size]=10
231
- opt=v[1]
232
- d.send "barcode_#{k}".to_sym,v[0],opt.dup
233
- d.jump_rows 2
234
- d.show "Code String: #{v[0]}"
21
+ def self.barcode_examples
22
+ d=RGhost::Document.new :paper => [18,10], :margin_left => 2
23
+ RGhost::Barcode::BARCODES.each do |k,v|
24
+ opts = v.dup
25
+ d.text "Barcode Name: <b>#{k}</b> "
235
26
  d.next_row
236
- d.text("Options: #{opt.inspect}",false)
27
+ d.show "Barcode description: #{opts.delete(:desc)}"
28
+ d.jump_rows 8
29
+ barcode_string = opts.delete(:default)
30
+ d.send "barcode_#{k}".to_sym,barcode_string,opts.dup
31
+ d.jump_rows 3
32
+ d.text("Code: doc.barcode_#{k}('#{barcode_string}',#{opts.inspect})",false)
237
33
  d.next_page
238
34
  end
239
- license=%Q{<big>Barcode Writer License</big><br/>Anybody is free to use and develop this code as they see fit, under the terms of the permissive MIT/X-Consortium license(http://postscriptbarcode.googlecode.com/svn/trunk/LICENSE), which requires that developers attribute any derivative code to this project in both the source code and documentation. As such I take no liability for its use or misuse.<br/><br/>Thanks a lot Terry!<br/> <i>Shairon Toledo</i> }
35
+ license=%Q{<big>Barcode Writer License</big><br/>Anybody is free to use and develop this code as they see fit, under the terms of the permissive MIT/X-Consortium license(http://postscriptbarcode.googlecode.com/svn/trunk/LICENSE), which requires that developers attribute any derivative code to this project in both the source code and documentation. As such I take no liability for its use or misuse.<br/><br/><br/> <i>Shairon Toledo</i> }
240
36
  d.text license
241
37
  d.next_row
242
38
  d.show "RGhost::VERSION #{RGhost::VERSION::STRING}" , :align => :page_right, :tag => :b
@@ -24,9 +24,6 @@ module RGhost::Barcode
24
24
 
25
25
  #using the framework unit
26
26
  def add_with_unit(key,value)
27
-
28
-
29
-
30
27
  v=if RGhost::Config::GS[:unit] == RGhost::Units::Cm
31
28
  (value.to_f/2.545)
32
29
  end
@@ -40,8 +37,6 @@ module RGhost::Barcode
40
37
  map
41
38
  end
42
39
  def make() end #prototype
43
-
44
-
45
40
  end
46
41
 
47
42
 
@@ -159,7 +154,7 @@ module RGhost::Barcode
159
154
  # doc=Document.new
160
155
  # doc.barcode_code39('0123456789')
161
156
  class Base <RGhost::Barcode::Parameter
162
-
157
+ include RGhost::RubyToPs
163
158
  attr_reader :text, :guard, :border ,:point
164
159
 
165
160
  def initialize(barcode_string,options={})
@@ -168,7 +163,9 @@ module RGhost::Barcode
168
163
  @options=options.dup
169
164
  @options[:x]||= :limit_left
170
165
  @options[:y]||= :current_row
171
- @barcode=barcode_string
166
+
167
+ @barcode=(barcode_string.to_s == '') ? "Data Missing" : barcode_string
168
+ #@barcode =to_string(@barcode)
172
169
  @text = RGhost::Barcode::Text.new(@options[:text])
173
170
 
174
171
  @guard = RGhost::Barcode::Guard.new(@options[:guard])
@@ -178,8 +175,7 @@ module RGhost::Barcode
178
175
  @scale=RGhost::Scale.new @options[:scale][0],@options[:scale][1] if @options[:scale]
179
176
  [:scale, :enable, :text,:guard,:border, :x, :y, :rotate].each{|v| @options.delete v}
180
177
  super(@options)
181
- @self_name=self.class.to_s.downcase.split(/::/).last
182
- RGhost::Config::GS[:preload] << @self_name
178
+ @self_name=self.class.to_s.downcase.split(/::/).last.gsub(/_/,'-')
183
179
  end
184
180
 
185
181
  def make
@@ -192,7 +188,12 @@ module RGhost::Barcode
192
188
  when :background then add_color("backgroundcolor", value)
193
189
  when :width, :height then add_with_unit(key,value)
194
190
  #when :inkspread then add(key,value)
195
- else add(key,value)
191
+ else
192
+ if (value == true)
193
+ add_single(key)
194
+ next
195
+ end
196
+ add(key,value)
196
197
  end
197
198
  end
198
199
 
@@ -200,11 +201,8 @@ module RGhost::Barcode
200
201
 
201
202
  def ps
202
203
  formated_params=[ @text.map, @border.map, @guard.map, self.map].join(" ")
203
-
204
- "gsave newpath #{@point.ps} #{@rotate} #{@scale} 0 0 moveto (#{@barcode}) (#{formated_params}) #{@self_name} barcode closepath grestore"
204
+ "gsave newpath #{@point.ps} #{@rotate} #{@scale} 0 0 moveto (#{@barcode}) (#{formated_params}) /#{@self_name} /uk.co.terryburton.bwipp findresource exec closepath grestore"
205
205
  end
206
-
207
-
208
206
  end
209
207
 
210
208
  end
@@ -0,0 +1,86 @@
1
+ module RGhost::Barcode
2
+ BARCODES ={
3
+ :auspost=> { :desc => "AusPost 4 State Customer Code",:text => {:size => 8}, :enable => [:text], :default => '5956439111ABA 9', :custinfoenc=> 'character' },
4
+ :azteccode=> { :desc => "Aztec Code",:text => {:size => 8}, :default => 'This is Aztec Code', :format => 'full' },
5
+ :bc412=> { :desc => "BC412",:text => {:size => 8},:default => 'BC412',:enable => [:text,:checkintext], :semi => true },
6
+ :channelcode=> { :desc => "Channel Code",:text => {:size => 8},:default => 3493, :height=> '0.5',:enable => [:text] },
7
+ :codablockf=> { :desc => "Codablock F",:text => {:size => 8},:default => 'CODABLOCK F 34567890123456789010040digit', :cols=> 8 },
8
+ :code11=> { :desc => "Code 11",:text => {:size => 8}, :default => '0123456789',:enable => [:text,:checkintext, :check] },
9
+ :code128=> { :desc => "Code 128",:text => {:size => 8},:default => 'Count01234567^FNC2!', :enable => [:text], :parsefnc => true },
10
+ :code16k=> { :desc => "Code 16K",:text => {:size => 8},:default => 'Abcd-1234567890-wxyZ' },
11
+ :code2of5=> { :desc => "Code 25",:text => {:size => 8},:default => '01234567', :version=> 'iata',:enable => [:text,:checkintext, :check] },
12
+ :code32=> { :desc => "Italian PharmaCode",:text => {:size => 8},:default => '01234567', :enable => [:text] },
13
+ :code39=> { :desc => "Code 39",:text => {:size => 8},:default => 'MULTIPLE ROWS IN CODE 49', },
14
+ :code39ext=> { :desc => "Code 39 Extended",:text => {:size => 8}, :enable => [:text,:checkintext, :check], :default => 'Code39 Ext!' },
15
+ :code49=> { :desc => "Code 49",:text => {:size => 8} },
16
+ :code93=> { :desc => "Code 93",:text => {:size => 8}, :default => 'THIS IS CODE 93',:enable => [:text, :check] },
17
+ :code93ext=> { :desc => "Code 93 Extended",:text => {:size => 8},:default => 'Code93 Ext!',:enable => [:text,:check], },
18
+ :codeone=> { :desc => "Code One",:text => {:size => 8}, :default => 'Code One', :version=>'B' },
19
+ :daft=> { :desc => "Raw DAFT succession for custom 4 state symbologies",:text => {:size => 8},:default => 'FATDAFTDAD' },
20
+ :databarexpanded=> { :desc => "GS1 DataBar Expanded",:text => {:size => 8},:default => '(01)95012345678903(3103)000123' },
21
+ :databarexpandedcomposite=> { :desc => "GS1 DataBar Expanded Composite",:text => {:size => 8},:default => '(01)93712345678904(3103)001234|(91)1A2B3C4D5E' },
22
+ :databarexpandedstacked=> { :desc => "GS1 DataBar Expanded Stacked",:text => {:size => 8},:default => '(01)95012345678903(3103)000123', :segments=> 4 },
23
+ :databarexpandedstackedcomposite=> { :desc => "GS1 DataBar Expanded Stacked Composite",:text => {:size => 8},:default => '(01)00012345678905(10)ABCDEF|(21)12345678', :segments=> 4 },
24
+ :databarlimited=> { :desc => "GS1 DataBar Limited",:text => {:size => 8},:default => '(01)15012345678907' },
25
+ :databarlimitedcomposite=> { :desc => "GS1 DataBar Limited Composite",:text => {:size => 8},:default => '(01)03512345678907|(21)abcdefghijklmnopqrstuv' },
26
+ :databaromni=> { :desc => "GS1 DataBar Omnidirectional",:text => {:size => 8},:default => '(01)24012345678905' },
27
+ :databaromnicomposite=> { :desc => "GS1 DataBar Omnidirectional Composite",:text => {:size => 8},:default => '(01)03612345678904|(11)990102' },
28
+ :databarstacked=> { :desc => "GS1 DataBar Stacked",:text => {:size => 8},:default => '(01)24012345678905' },
29
+ :databarstackedcomposite=> { :desc => "GS1 DataBar Stacked Composite",:text => {:size => 8},:default => '(01)03412345678900|(17)010200' },
30
+ :databarstackedomni=> { :desc => "GS1 DataBar Stacked Omnidirectional",:text => {:size => 8},:default => '(01)03612345678904' },
31
+ :databarstackedomnicomposite=> { :desc => "GS1 DataBar Stacked Omnidirectional Composite",:text => {:size => 8}, :default => "(01)03412345678900|(17)010200" },
32
+ :databartruncated=> { :desc => "GS1 DataBar Truncated",:text => {:size => 8},:default => '(01)24012345678905' },
33
+ :databartruncatedcomposite=> { :desc => "GS1 DataBar Truncated Composite",:text => {:size => 8},:default => '(01)03612345678904|(11)990102' },
34
+ :datamatrix=> { :desc => "Data Matrix",:text => {:size => 8},:default => 'This is Data Matrix!',:rows=> '32', :columns=> '32' },
35
+ :ean13=> { :desc => "EAN-13",:text => {:size => 8},:default => '977147396801', :enable => [:text],:guard=>{:whitespace => true } },
36
+ :ean13composite=> { :desc => "EAN-13 Composite",:text => {:size => 8},:enable => [:text], :default => '331234567890|(99)1234-abcd' },
37
+ :ean14=> { :desc => "GS1-14",:text => {:size => 8},:enable => [:text], :default => '(01)04601234567893' },
38
+ :ean2=> { :desc => "EAN-2 (2 digit addon)",:text => {:size => 8},:enable => [:text],:guard=>{:whitespace => true },:default => '05' },
39
+ :ean5=> { :desc => "EAN-5 (5 digit addon)",:text => {:size => 8}, :default => '90200',:enable => [:text],:guard=>{:whitespace => true } },
40
+ :ean8=> { :desc => "EAN-8",:text => {:size => 8}, :default => '01335583',:guard => {:whitespace => true}, :enable => [:text], :height=> '0.5' },
41
+ :ean8composite=> { :desc => "EAN-8 Composite",:text => {:size => 8},:enable => [:text], :default => '12345670|(21)A12345678' },
42
+ :flattermarken=> { :desc => "Flattermarken",:default => "12345", :inkspread=> -0.25 },
43
+ :gs1_128=> { :desc => "GS1-128",:text => {:size => 8}, :default => '(01)95012345678903(3103)000123', :enable => [:text] },
44
+ :gs1_128composite=> { :desc => "GS1-128 Composite",:text => {:size => 8},:default => '(00)030123456789012340|(02)13012345678909(37)24(10)1234567ABCDEFG', :ccversion => 'c' },
45
+ :gs1_cc=> { :desc => "GS1 Composite 2D Component",:text => {:size => 8}, :default => '(01)95012345678903(3103)000123',:ccversion=>'b', :cccolumns=>'4' },
46
+ :hibccodablockf=> { :desc => "HIBC Codablock F",:text => {:size => 8},:default => 'A123BJC5D6E71' },
47
+ :hibccode128=> { :desc => "HIBC Code 128",:text => {:size => 8},:default => 'A123BJC5D6E71', :enable => [:text] },
48
+ :hibccode39=> { :desc => "HIBC Code 39",:text => {:size => 8},:default => 'A123BJC5D6E71',:enable => [:text] },
49
+ :hibcdatamatrix=> { :desc => "HIBC Data Matrix",:text => {:size => 8},:default => 'A123BJC5D6E71' },
50
+ :hibcmicropdf417=> { :desc => "HIBC MicroPDF417",:text => {:size => 8},:default => 'A123BJC5D6E71' },
51
+ :hibcpdf417=> { :desc => "HIBC PDF417",:text => {:size => 8},:default => 'A123BJC5D6E71' },
52
+ :hibcqrcode=> { :desc => "HIBC QR Code",:text => {:size => 8},:default => 'A123BJC5D6E71' },
53
+ :identcode=> { :desc => "Deutsche Post Identcode",:text => {:size => 8},:default => '563102430313', :enable => [:text] },
54
+ :interleaved2of5=> { :desc => "Interleaved 2 of 5 (ITF)",:text => {:size => 8} , :height=> '0.5' , :enable => [:text, :checkintext, :check], :default => '2401234567'},
55
+ :isbn=> { :desc => "ISBN",:text => {:size => 8},:default => '978-1-56592-479 54495',:guard=>{:whitespace => true } },
56
+ :ismn=> { :desc => "ISMN",:text => {:size => 8}, :default => '979-0-2600-0043',:enable => [:text],:guard=>{:whitespace => true } },
57
+ :issn=> { :desc => "ISSN",:text => {:size => 8}, :default => '0317-8471 00 05',:enable => [:text],:guard=>{:whitespace => true } },
58
+ :itf14=> { :desc => "ITF-14",:text => {:size => 8}, :enable => [:text], :default => '04601234567893' },
59
+ :japanpost=> { :desc => "Japan Post 4 State Customer Code",:text => {:size => 8},:default => '6540123789-A-K-Z', :enable => [:text, :checkintext] },
60
+ :kix=> { :desc => "Royal Dutch TPG Post KIX 4-State Barcode",:text => {:size => 8},:default => '1231FZ13XHS', :enable => [:checkintext, :check] },
61
+ :leitcode=> { :desc => "Deutsche Post Leitcode",:text => {:size => 8},:default => '21348075016401',:enable => [:text] },
62
+ :maxicode=> { :desc => "MaxiCode",:text => {:size => 8}, :mode=> '2', :parse => true, :default => '[\)>^03001^02996152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291/1^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^029^004' },
63
+ :micropdf417=> { :desc => "MicroPDF417",:text => {:size => 8},:default => 'MicroPDF417' },
64
+ :msi=> { :desc => "MSI Modified Plessey",:text => {:size => 8}, :default => '0123456789',:enable => [:text,:checkintext, :check] },
65
+ :onecode=> { :desc => "United States Postal Service Intelligent Mail",:text => {:size => 8}, :default => '0123456709498765432101234567891',:barcolor=> "FF0000" },
66
+ :pdf417=> { :desc => "PDF417",:text => {:size => 8},:default => 'This is PDF417' },
67
+ :pharmacode=> { :desc => "Pharmaceutical Binary Code",:text => {:size => 8},:default => '117480' },
68
+ :pharmacode2=> { :desc => "Two-track Pharmacode",:text => {:size => 8},:default => '117480', :border => {:color => '#FF44FF'}, :enable => [:text] },
69
+ :planet=> { :desc => "United States Postal Service PLANET",:text => {:size => 8},:default => '01234567890',:enable => [:text,:checkintext] },
70
+ :plessey=> { :desc => "Plessey UK",:text => {:size => 8}, :default => '01234ABCD',:enable => [:text,:checkintext] },
71
+ :posicode=> { :desc => "PosiCode",:text => {:size => 8},:default => 'ABC123', :version=>'b', :inkspread=> '-0.5', :parsefnc => true, :enable =>[:text] },
72
+ :postnet=> { :desc => "United States Postal Service POSTNET",:text => {:size => 8}, :default => '01234',:enable => [:checkintext, :text] },
73
+ :pzn=> { :desc => "Pharmazentralnummer (PZN)",:text => {:size => 8},:default => '123456',:enable => [:text] },
74
+ :qrcode => { :desc => "QR Code",:text => {:size => 8},:default => 'http://www.terryburton.co.uk/barcodewriter/', :eclevel=> 'M' },
75
+ :rationalizedCodabar=> { :desc => "Rationalized Codabar",:text => {:size => 8},:default => 'A0123456789B',:enable => [:text,:checkintext, :check] },
76
+ :raw=> { :desc => "Raw bar space succession for custom symbologies ",:text => {:size => 8},:default => '331132131313411122131311333213114131131221323', :height=> '1' },
77
+ :royalmail=> { :desc => "Royal Mail 4 State Customer Code (RM4SCC)",:text => {:size => 8}, :enable => [:checkintext, :text], :barcolor => "FF0000", :default => 'LE28HS9Z' },
78
+ :sscc18=> { :desc => "SSCC-18",:text => {:size => 8},:default => '(00)006141411234567890',:enable => [:text] },
79
+ :symbol=> { :desc => "Miscellaneous symbols",:text => {:size => 8},:default => 'fima' },
80
+ :telepen=> { :desc => "Telepen",:text => {:size => 8}, :default => '123456', :enable => [:text], :numeric => true },
81
+ :upca=> { :desc => "UPC-A",:text => {:size => 8},:default => '78858101497', :enable => [:text] },
82
+ :upcacomposite=> { :desc => "UPC-A Composite",:text => {:size => 8}, :default => '01600033610|(99)1234-abcd' },
83
+ :upce=> { :desc => "UPC-E",:text => {:size => 8},:default => '0123456', :height=> '0.4', :enable => [:text] },
84
+ :upcecomposite=> { :desc => "UPC-E Composite", :default => '0121230|(15)021231', :text => {:size => 8},:enable => [:text]}
85
+ }
86
+ end
@@ -1,8 +1,8 @@
1
1
  module RGhost::Barcode::VERSION #:nodoc:
2
2
  MAJOR = 0
3
- MINOR = 8
3
+ MINOR = 9
4
4
  TINY = 0
5
- DATE=1211827153
5
+ DATE=1301238712
6
6
  STRING = [MAJOR, MINOR, TINY].join('.')
7
7
 
8
8
  end
metadata CHANGED
@@ -1,27 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rghost_barcode
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.8"
4
+ hash: 25
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 9
9
+ version: "0.9"
5
10
  platform: ruby
6
11
  authors:
7
- - Shairon Toledo and Terry Burton
12
+ - Shairon Toledo
8
13
  autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2008-06-18 00:00:00 -03:00
17
+ date: 2011-03-27 00:00:00 -04:00
13
18
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: rghost
17
- version_requirement:
18
- version_requirements: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 0.8.0
23
- version:
24
- description:
19
+ dependencies: []
20
+
21
+ description: "RGhost Barcode is adapter from Barcode Writer. The Barcode Writer in Pure Postscript is an award-winning open source barcode maker, as used by NASA. "
25
22
  email: shairon.toledo@gmail.com
26
23
  executables: []
27
24
 
@@ -30,189 +27,45 @@ extensions: []
30
27
  extra_rdoc_files: []
31
28
 
32
29
  files:
33
- - lib/teste_main.rb
34
- - lib/doc
35
- - lib/doc/classes
36
- - lib/doc/classes/RGhost
37
- - lib/doc/classes/RGhost/Config.src
38
- - lib/doc/classes/RGhost/Config.src/M000016.html
39
- - lib/doc/classes/RGhost/Barcode
40
- - lib/doc/classes/RGhost/Barcode/Interleaved2of5.html
41
- - lib/doc/classes/RGhost/Barcode/Rationalizedcodabar.html
42
- - lib/doc/classes/RGhost/Barcode/Pharmacode.html
43
- - lib/doc/classes/RGhost/Barcode/Parameter.html
44
- - lib/doc/classes/RGhost/Barcode/Border.html
45
- - lib/doc/classes/RGhost/Barcode/Border.src
46
- - lib/doc/classes/RGhost/Barcode/Border.src/M000001.html
47
- - lib/doc/classes/RGhost/Barcode/Base.src
48
- - lib/doc/classes/RGhost/Barcode/Base.src/M000005.html
49
- - lib/doc/classes/RGhost/Barcode/Base.src/M000006.html
50
- - lib/doc/classes/RGhost/Barcode/Base.src/M000004.html
51
- - lib/doc/classes/RGhost/Barcode/Royalmail.html
52
- - lib/doc/classes/RGhost/Barcode/Base.html
53
- - lib/doc/classes/RGhost/Barcode/Parameter.src
54
- - lib/doc/classes/RGhost/Barcode/Parameter.src/M000015.html
55
- - lib/doc/classes/RGhost/Barcode/Parameter.src/M000012.html
56
- - lib/doc/classes/RGhost/Barcode/Parameter.src/M000013.html
57
- - lib/doc/classes/RGhost/Barcode/Parameter.src/M000007.html
58
- - lib/doc/classes/RGhost/Barcode/Parameter.src/M000011.html
59
- - lib/doc/classes/RGhost/Barcode/Parameter.src/M000014.html
60
- - lib/doc/classes/RGhost/Barcode/Parameter.src/M000010.html
61
- - lib/doc/classes/RGhost/Barcode/Parameter.src/M000009.html
62
- - lib/doc/classes/RGhost/Barcode/Parameter.src/M000008.html
63
- - lib/doc/classes/RGhost/Barcode/Pdf417.html
64
- - lib/doc/classes/RGhost/Barcode/Plessey.html
65
- - lib/doc/classes/RGhost/Barcode/Guard.src
66
- - lib/doc/classes/RGhost/Barcode/Guard.src/M000003.html
67
- - lib/doc/classes/RGhost/Barcode/Isbn.html
68
- - lib/doc/classes/RGhost/Barcode/Azteccode.html
69
- - lib/doc/classes/RGhost/Barcode/Raw.html
70
- - lib/doc/classes/RGhost/Barcode/Text.src
71
- - lib/doc/classes/RGhost/Barcode/Text.src/M000002.html
72
- - lib/doc/classes/RGhost/Barcode/Postnet.html
73
- - lib/doc/classes/RGhost/Barcode/Maxicode.html
74
- - lib/doc/classes/RGhost/Barcode/Text.html
75
- - lib/doc/classes/RGhost/Barcode/Ean13.html
76
- - lib/doc/classes/RGhost/Barcode/Msi.html
77
- - lib/doc/classes/RGhost/Barcode/Code2of5.html
78
- - lib/doc/classes/RGhost/Barcode/Upca.html
79
- - lib/doc/classes/RGhost/Barcode/Ean5.html
80
- - lib/doc/classes/RGhost/Barcode/Ean8.html
81
- - lib/doc/classes/RGhost/Barcode/Auspost.html
82
- - lib/doc/classes/RGhost/Barcode/Rssexpanded.html
83
- - lib/doc/classes/RGhost/Barcode/Code39.html
84
- - lib/doc/classes/RGhost/Barcode/Symbol.html
85
- - lib/doc/classes/RGhost/Barcode/Code128.html
86
- - lib/doc/classes/RGhost/Barcode/Onecode.html
87
- - lib/doc/classes/RGhost/Barcode/Rss14.html
88
- - lib/doc/classes/RGhost/Barcode/Ean2.html
89
- - lib/doc/classes/RGhost/Barcode/Kix.html
90
- - lib/doc/classes/RGhost/Barcode/Datamatrix.html
91
- - lib/doc/classes/RGhost/Barcode/Code11.html
92
- - lib/doc/classes/RGhost/Barcode/Code93.html
93
- - lib/doc/classes/RGhost/Barcode/Guard.html
94
- - lib/doc/classes/RGhost/Barcode/Qrcode.html
95
- - lib/doc/classes/RGhost/Barcode/Rsslimited.html
96
- - lib/doc/classes/RGhost/Barcode/Upce.html
97
- - lib/doc/classes/RGhost/Barcode.html
98
- - lib/doc/classes/RGhost/Document.html
99
- - lib/doc/classes/RGhost/Config.html
100
- - lib/doc/classes/RGhost/Document.src
101
- - lib/doc/classes/RGhost/Document.src/M000026.html
102
- - lib/doc/classes/RGhost/Document.src/M000046.html
103
- - lib/doc/classes/RGhost/Document.src/M000022.html
104
- - lib/doc/classes/RGhost/Document.src/M000027.html
105
- - lib/doc/classes/RGhost/Document.src/M000044.html
106
- - lib/doc/classes/RGhost/Document.src/M000018.html
107
- - lib/doc/classes/RGhost/Document.src/M000042.html
108
- - lib/doc/classes/RGhost/Document.src/M000030.html
109
- - lib/doc/classes/RGhost/Document.src/M000036.html
110
- - lib/doc/classes/RGhost/Document.src/M000023.html
111
- - lib/doc/classes/RGhost/Document.src/M000031.html
112
- - lib/doc/classes/RGhost/Document.src/M000032.html
113
- - lib/doc/classes/RGhost/Document.src/M000019.html
114
- - lib/doc/classes/RGhost/Document.src/M000043.html
115
- - lib/doc/classes/RGhost/Document.src/M000048.html
116
- - lib/doc/classes/RGhost/Document.src/M000037.html
117
- - lib/doc/classes/RGhost/Document.src/M000039.html
118
- - lib/doc/classes/RGhost/Document.src/M000041.html
119
- - lib/doc/classes/RGhost/Document.src/M000024.html
120
- - lib/doc/classes/RGhost/Document.src/M000029.html
121
- - lib/doc/classes/RGhost/Document.src/M000033.html
122
- - lib/doc/classes/RGhost/Document.src/M000038.html
123
- - lib/doc/classes/RGhost/Document.src/M000025.html
124
- - lib/doc/classes/RGhost/Document.src/M000040.html
125
- - lib/doc/classes/RGhost/Document.src/M000035.html
126
- - lib/doc/classes/RGhost/Document.src/M000021.html
127
- - lib/doc/classes/RGhost/Document.src/M000028.html
128
- - lib/doc/classes/RGhost/Document.src/M000017.html
129
- - lib/doc/classes/RGhost/Document.src/M000034.html
130
- - lib/doc/classes/RGhost/Document.src/M000047.html
131
- - lib/doc/classes/RGhost/Document.src/M000020.html
132
- - lib/doc/classes/RGhost/Document.src/M000045.html
133
- - lib/doc/classes/RGhost.html
134
- - lib/doc/index.html
135
- - lib/doc/created.rid
136
- - lib/doc/files
137
- - lib/doc/files/rghost_barcode_rb.html
138
- - lib/doc/files/teste_main_rb.html
139
- - lib/doc/files/rghost_barcode
140
- - lib/doc/files/rghost_barcode/rghost_barcode_classes_rb.html
141
- - lib/doc/files/rghost_barcode/rghost_barcode_version_rb.html
142
- - lib/doc/files/rghost_barcode/rghost_barcode_base_rb.html
143
- - lib/doc/files/rghost_barcode/rghost_barcode_examples_rb.html
144
- - lib/doc/files/rghost_barcode/rghost_barcode_adapter_rb.html
145
- - lib/doc/fr_class_index.html
146
- - lib/doc/fr_file_index.html
147
- - lib/doc/fr_method_index.html
148
- - lib/rghost_barcode
149
- - lib/rghost_barcode/rghost_barcode_classes.rb
30
+ - lib/rghost_barcode.rb
31
+ - lib/rghost_barcode/rghost_barcode_adapter.rb
150
32
  - lib/rghost_barcode/rghost_barcode_base.rb
151
- - lib/rghost_barcode/ps
152
- - lib/rghost_barcode/ps/isbn.ps
153
- - lib/rghost_barcode/ps/barcode_template.eps
154
- - lib/rghost_barcode/ps/code11.ps
155
- - lib/rghost_barcode/ps/code2of5.ps
156
- - lib/rghost_barcode/ps/ean8.ps
157
- - lib/rghost_barcode/ps/postnet.ps
158
- - lib/rghost_barcode/ps/rssexpanded.ps
159
- - lib/rghost_barcode/ps/auspost.ps
160
- - lib/rghost_barcode/ps/code39.ps
161
- - lib/rghost_barcode/ps/upce.ps
162
- - lib/rghost_barcode/ps/azteccode.ps
163
- - lib/rghost_barcode/ps/ean5.ps
164
- - lib/rghost_barcode/ps/plessey.ps
165
- - lib/rghost_barcode/ps/render.ps
166
- - lib/rghost_barcode/ps/raw.ps
167
- - lib/rghost_barcode/ps/rss14.ps
168
- - lib/rghost_barcode/ps/royalmail.ps
169
- - lib/rghost_barcode/ps/datamatrix.ps
170
- - lib/rghost_barcode/ps/code128.ps
171
- - lib/rghost_barcode/ps/upca.ps
172
- - lib/rghost_barcode/ps/qrcode.ps
173
- - lib/rghost_barcode/ps/maxicode.ps
174
- - lib/rghost_barcode/ps/rationalizedcodabar.ps
175
- - lib/rghost_barcode/ps/code93.ps
176
- - lib/rghost_barcode/ps/msi.ps
177
- - lib/rghost_barcode/ps/rsslimited.ps
178
- - lib/rghost_barcode/ps/ean13.ps
179
- - lib/rghost_barcode/ps/onecode.ps
180
- - lib/rghost_barcode/ps/ean2.ps
181
- - lib/rghost_barcode/ps/interleaved2of5.ps
182
- - lib/rghost_barcode/ps/symbol.ps
183
- - lib/rghost_barcode/ps/render.ps~
184
- - lib/rghost_barcode/ps/pdf417.ps
185
- - lib/rghost_barcode/ps/kix.ps
186
- - lib/rghost_barcode/ps/pharmacode.ps
187
- - lib/rghost_barcode/rghost_barcode_examples.rb
33
+ - lib/rghost_barcode/rghost_barcode_types.rb
188
34
  - lib/rghost_barcode/rghost_barcode_version.rb
189
- - lib/rghost_barcode/rghost_barcode_adapter.rb
190
- - lib/rghost_barcode.rb
35
+ - lib/rghost_barcode/ps/barcode_base.ps
191
36
  has_rdoc: true
192
- homepage: http://www.hashcode.eti.br
37
+ homepage: https://github.com/shairontoledo/rghost-barcode/wiki
38
+ licenses: []
39
+
193
40
  post_install_message:
194
41
  rdoc_options: []
195
42
 
196
43
  require_paths:
197
44
  - lib
198
45
  required_ruby_version: !ruby/object:Gem::Requirement
46
+ none: false
199
47
  requirements:
200
48
  - - ">="
201
49
  - !ruby/object:Gem::Version
50
+ hash: 3
51
+ segments:
52
+ - 0
202
53
  version: "0"
203
- version:
204
54
  required_rubygems_version: !ruby/object:Gem::Requirement
55
+ none: false
205
56
  requirements:
206
57
  - - ">="
207
58
  - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
208
62
  version: "0"
209
- version:
210
63
  requirements: []
211
64
 
212
- rubyforge_project: RGhost adapter to Barcode Writer in Pure PostScript
213
- rubygems_version: 1.1.1
65
+ rubyforge_project:
66
+ rubygems_version: 1.5.2
214
67
  signing_key:
215
- specification_version: 2
216
- summary: RGhost adapter to Barcode Writer in Pure PostScript
68
+ specification_version: 3
69
+ summary: RGhost Barcode is adapter from Barcode Writer in Pure Postscript
217
70
  test_files: []
218
71