rghost 0.6.5

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.
Files changed (95) hide show
  1. data/History.txt +4 -0
  2. data/Manifest.txt +101 -0
  3. data/README.txt +3 -0
  4. data/Rakefile +93 -0
  5. data/lib/rghost.rb +3 -0
  6. data/lib/rghost/arc.rb +39 -0
  7. data/lib/rghost/barcode.rb +40 -0
  8. data/lib/rghost/callback.rb +55 -0
  9. data/lib/rghost/color.rb +118 -0
  10. data/lib/rghost/constants.rb +616 -0
  11. data/lib/rghost/convert.rb +24 -0
  12. data/lib/rghost/cursor.rb +82 -0
  13. data/lib/rghost/data_grid/basic_grid.rb +136 -0
  14. data/lib/rghost/data_grid/csv_grid.rb +27 -0
  15. data/lib/rghost/data_grid/data_grid.rb +14 -0
  16. data/lib/rghost/data_grid/dynamic_callback.rb +12 -0
  17. data/lib/rghost/data_grid/field_format.rb +60 -0
  18. data/lib/rghost/data_grid/grid.rb +18 -0
  19. data/lib/rghost/data_grid/header.rb +111 -0
  20. data/lib/rghost/data_grid/rails_grid.rb +37 -0
  21. data/lib/rghost/data_grid/static_callback.rb +13 -0
  22. data/lib/rghost/data_grid/style/border_lines.rb +47 -0
  23. data/lib/rghost/data_grid/style/bottom_lines.rb +30 -0
  24. data/lib/rghost/data_grid/style/old_forms.rb +30 -0
  25. data/lib/rghost/data_grid/style/style.rb +8 -0
  26. data/lib/rghost/document.rb +380 -0
  27. data/lib/rghost/dsc_entry.rb +20 -0
  28. data/lib/rghost/dynamic_document_callback.rb +27 -0
  29. data/lib/rghost/eps.rb +22 -0
  30. data/lib/rghost/font.rb +52 -0
  31. data/lib/rghost/function.rb +36 -0
  32. data/lib/rghost/gif.rb +28 -0
  33. data/lib/rghost/graphic.rb +28 -0
  34. data/lib/rghost/gs_alone.rb +17 -0
  35. data/lib/rghost/helpers.rb +13 -0
  36. data/lib/rghost/horizontal_line.rb +29 -0
  37. data/lib/rghost/image.rb +26 -0
  38. data/lib/rghost/jpeg.rb +26 -0
  39. data/lib/rghost/line.rb +40 -0
  40. data/lib/rghost/line_width.rb +17 -0
  41. data/lib/rghost/load.rb +37 -0
  42. data/lib/rghost/newpath.rb +20 -0
  43. data/lib/rghost/paper.rb +88 -0
  44. data/lib/rghost/point.rb +22 -0
  45. data/lib/rghost/point_with_command.rb +17 -0
  46. data/lib/rghost/ps/basic.ps +14 -0
  47. data/lib/rghost/ps/begin_document.ps +7 -0
  48. data/lib/rghost/ps/callbacks.ps +146 -0
  49. data/lib/rghost/ps/code128.font +344 -0
  50. data/lib/rghost/ps/code39.font +195 -0
  51. data/lib/rghost/ps/cursor.ps +41 -0
  52. data/lib/rghost/ps/datagrid.ps +52 -0
  53. data/lib/rghost/ps/ean.font +150 -0
  54. data/lib/rghost/ps/eps.ps +42 -0
  55. data/lib/rghost/ps/font.ps +31 -0
  56. data/lib/rghost/ps/functions.ps +646 -0
  57. data/lib/rghost/ps/gif.ps +150 -0
  58. data/lib/rghost/ps/horizontal_line.ps +3 -0
  59. data/lib/rghost/ps/i25.font +103 -0
  60. data/lib/rghost/ps/jpeg.ps +122 -0
  61. data/lib/rghost/ps/paper.ps +8 -0
  62. data/lib/rghost/ps/rectangle.ps +5 -0
  63. data/lib/rghost/ps/row.ps +4 -0
  64. data/lib/rghost/ps/show.ps +20 -0
  65. data/lib/rghost/ps/table_callbacks.ps +96 -0
  66. data/lib/rghost/ps/textarea.ps +11 -0
  67. data/lib/rghost/ps/type.ps +1 -0
  68. data/lib/rghost/ps/unit.ps +3 -0
  69. data/lib/rghost/ps/vertical_line.ps +14 -0
  70. data/lib/rghost/ps_object.rb +51 -0
  71. data/lib/rghost/rectangle.rb +39 -0
  72. data/lib/rghost/rgengine.so +0 -0
  73. data/lib/rghost/rghost.rb +3 -0
  74. data/lib/rghost/ruby_ghost_config.rb +25 -0
  75. data/lib/rghost/ruby_ghost_engine.rb +175 -0
  76. data/lib/rghost/ruby_to_ps.rb +92 -0
  77. data/lib/rghost/scale.rb +14 -0
  78. data/lib/rghost/show.rb +31 -0
  79. data/lib/rghost/static_document_callback.rb +22 -0
  80. data/lib/rghost/text_in.rb +29 -0
  81. data/lib/rghost/textarea.rb +115 -0
  82. data/lib/rghost/units.rb +81 -0
  83. data/lib/rghost/variable.rb +12 -0
  84. data/lib/rghost/version.rb +9 -0
  85. data/lib/rghost/vertical_line.rb +29 -0
  86. data/scripts/txt2html +67 -0
  87. data/setup.rb +1585 -0
  88. data/test/test_helper.rb +2 -0
  89. data/test/test_rghost.rb +11 -0
  90. data/website/index.html +11 -0
  91. data/website/index.txt +30 -0
  92. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  93. data/website/stylesheets/screen.css +129 -0
  94. data/website/template.rhtml +48 -0
  95. metadata +145 -0
@@ -0,0 +1,31 @@
1
+ /fontsize 8 def
2
+ /encoding_font { findfont dup length dict begin { 1 index /FID ne { def } { pop pop } ifelse } bind forall /Encoding ISOLatin1Encoding def currentdict end } def
3
+
4
+ /Helvetica encoding_font
5
+ /Helvetica-encoding exch definefont pop
6
+
7
+ /Helvetica-Bold encoding_font
8
+ /Helvetica-Bold-encoding exch definefont pop
9
+
10
+ /Helvetica-Oblique encoding_font
11
+ /Helvetica-Oblique-encoding exch definefont pop
12
+
13
+ /Helvetica-BoldOblique encoding_font
14
+ /Helvetica-BoldOblique-encoding exch definefont pop
15
+
16
+ /font_normal{
17
+ /Helvetica-encoding findfont fontsize scalefont setfont
18
+ } bind def
19
+
20
+ /font_bold{
21
+ /Helvetica-Bold-encoding findfont fontsize scalefont setfont
22
+ } bind def
23
+
24
+ /font_italic{
25
+ /Helvetica-Oblique-encoding findfont fontsize scalefont setfont
26
+ } bind def
27
+
28
+ /font_bold_italic{
29
+ /Helvetica-BoldOblique-encoding findfont fontsize scalefont setfont
30
+ } bind def
31
+
@@ -0,0 +1,646 @@
1
+ %!
2
+
3
+ /dados [
4
+
5
+ [(2007-01-16 20:48:47)(0212345)(096430908)(-)(1)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
6
+ [(2007-01-16 20:48:54)(0212345)(096697991)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
7
+ [(2007-01-16 20:48:58)(0212345)(092647151)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
8
+ [(2007-01-16 20:49:01)(0212345)(096735205)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
9
+ [(2007-01-16 20:49:05)(0212345)(099341656)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
10
+ [(2007-01-16 20:49:12)(0212345)(099888415)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
11
+ [(2007-01-16 20:49:13)(0212345)(099888415)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
12
+ [(2007-01-16 20:49:14)(0212345)(099888415)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
13
+ [(2007-01-16 20:49:31)(0212345)(099191890)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
14
+ [(2007-01-16 20:49:32)(0212345)(099888415)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
15
+ [(2007-01-16 20:49:39)(0212345)(96835369)(-)(5)(03)(80)(-)()()(00)(-)(t)]
16
+ [(2007-01-16 20:50:02)(0212345)(06575064)(-)(4)(10)(80)(72404)(PRI1 BCH31)(GSM13)(00)(72404)(F)]
17
+ [(2007-01-16 20:50:14)(0212345)(96835369)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
18
+ [(2007-01-16 20:50:18)(212345)(099139144)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
19
+ [(2007-01-16 20:50:20)(212345)(099139144)(-)(0)(03)(80)(-)(PRI1 BCH31)()(00)(-)(f)]
20
+ [(2007-01-16 20:50:35)(0212345)(02478494)(-)(10)(10)(80)(72404)(PRI1 BCH31)(GSM14)(00)(72404)(F)]
21
+ [(2007-01-16 20:50:46)(0212345)(09993767)(-)(7)(10)(80)(72404)(PRI1 BCH28)(GSM18)(00)(72404)(F)]
22
+ [(2007-01-16 20:50:43)(0212345)(06972222)(-)(10)(1F)(80)(72404)(PRI1 BCH30)(GSM15)(00)(72404)(T)]
23
+ [(2007-01-16 20:50:44)(0212345)(09963865)(-)(11)(1F)(80)(72404)(PRI1 BCH29)(GSM17)(00)(72404)(T)]
24
+ [(2007-01-16 20:50:50)(0212345)(6835369)(-)(10)(1F)(80)(72404)(PRI1 BCH27)(GSM19)(00)(72404)(T)]
25
+ [(2007-01-16 20:51:09)(0212345)(06179639)(-)(11)(1F)(80)(72404)(PRI1 BCH31)(GSM20)(00)(72404)(T)]
26
+ [(2007-01-16 20:51:58)(0212345)(02478494)(-)(6)(10)(80)(72404)(PRI1 BCH31)(GSM20)(00)(72404)(F)]
27
+ [(2007-01-16 20:52:13)(0212345)(092920566)(-)(0)(10)(80)(-)(PRI1 BCH31)()(00)(72404)(F)]
28
+ [(2007-01-16 20:52:33)(0212345)(06871845)(-)(11)(1F)(80)(72404)(PRI1 BCH31)(GSM21)(00)(72404)(T)]
29
+ [(2007-01-16 20:52:57)(0212345)(01382565)(-)(8)(10)(80)(72404)(PRI1 BCH31)(GSM22)(00)(72404)(F)]
30
+ [(2007-01-16 20:52:59)(0212345)(06972222)(-)(10)(1F)(80)(72404)(PRI1 BCH30)(GSM23)(00)(72404)(T)]
31
+ [(2007-01-16 20:52:59)(0212345)(09948963)(-)(10)(10)(80)(72404)(PRI1 BCH29)(GSM24)(00)(72404)(F)]
32
+ [(2007-01-16 20:53:14)(0212345)(09454154)(-)(10)(1F)(80)(72404)(PRI1 BCH31)(GSM25)(00)(72404)(T)]
33
+ [(2007-01-16 20:53:30)(0212345)(01435343)(-)(11)(1F)(80)(72404)(PRI1 BCH31)(GSM13)(00)(72404)(T)]
34
+ [(2007-01-16 20:53:44)(212345)(09139144)(-)(8)(10)(80)(72404)(PRI1 BCH30)(GSM26)(00)(72404)(F)]
35
+ [(2007-01-16 20:54:31)(212345)(06754612)(-)(8)(10)(80)(72404)(PRI1 BCH31)(GSM27)(00)(72404)(F)]
36
+ [(2007-01-16 20:54:43)(0212345)(01435345)(-)(10)(1F)(80)(72404)(PRI1 BCH30)(GSM28)(00)(72404)(T)]
37
+ [(2007-01-16 20:54:43)(0212345)(06058383)(-)(11)(1F)(80)(72404)(PRI1 BCH29)(GSM01)(00)(72404)(T)]
38
+ [(2007-01-16 20:55:17)(0212345)(02034585)(-)(12)(1F)(80)(72404)(PRI1 BCH31)(GSM02)(00)(72404)(T)]
39
+ [(2007-01-16 20:55:48)(0212345)(02835220)(-)(11)(1F)(80)(72404)(PRI1 BCH31)(GSM04)(00)(72404)(T)]
40
+ [(2007-01-16 20:56:07)(0212345)(02478494)(-)(10)(1F)(80)(72404)(PRI1 BCH31)(GSM05)(00)(72404)(T)]
41
+ [(2007-01-16 20:57:19)(0212345)(092190179)(-)(41)(10)(80)(72404)(PRI1 BCH29)(GSM03)(00)(72404)(F)]
42
+ [(2007-01-16 20:59:08)(0212345)(099855914)(+)(0)(10)(80)(72404)(PRI1 BCH29)(GSM10)(00)(72404)(F)]
43
+ [(2007-01-16 20:59:38)(0212345)(099528439)(-)(39)(10)(80)(72404)(PRI1 BCH25)(GSM22)(00)(72404)(F)]
44
+ [(2007-01-16 21:00:22)(0212345)(092839531)(-)(14)(7F)(80)(72404)(PRI1 BCH23)(GSM13)(00)(72404)(F)]
45
+ [(2007-01-16 20:59:55)(0212345)(096385011)(+)(57)(10)(80)(72404)(PRI1 BCH24)(GSM11)(00)(72404)(T)]
46
+ [(2007-01-16 21:02:07)(0212345)(096382459)(-)(32)(10)(80)(72404)(PRI1 BCH24)(GSM15)(00)(72404)(F)]
47
+ [(2007-01-16 20:57:49)(212345)(096754612)(+)(299)(10)(80)(72404)(PRI1 BCH28)(GSM06)(00)(72404)(F)]
48
+ [(2007-01-16 21:03:08)(212345)(91335548)(-)(0)(03)(80)(-)(PRI1 BCH28)()(00)(-)(f)]
49
+ [(2007-01-16 21:03:19)(212345)(11977243)(-)(8)(10)(80)(72404)(PRI1 BCH28)(GSM23)(00)(72404)(F)]
50
+ [(2007-01-16 21:03:37)(212345)(92024573)(-)(4)(10)(80)(72404)(PRI1 BCH28)(GSM17)(00)(72404)(F)]
51
+ [(2007-01-16 21:02:48)(212345)(99842584)(+)(68)(10)(80)(72404)(PRI1 BCH23)(GSM19)(00)(72404)(T)]
52
+ [(2007-01-16 21:03:39)(212345)(91054692)(-)(42)(10)(80)(72404)(PRI1 BCH24)(GSM24)(00)(72404)(F)]
53
+ [(2007-01-16 21:04:29)(212345)(99842584)(-)(22)(29)(80)(72404)(PRI1 BCH28)(GSM24)(00)(72404)(T)]
54
+ [(2007-01-16 21:04:48)(212345)(96575064)(-)(6)(10)(80)(72404)(PRI1 BCH21)(GSM27)(00)(72404)(F)]
55
+ [(2007-01-16 21:04:47)(212345)(96382459)(-)(32)(10)(80)(72404)(PRI1 BCH23)(GSM26)(00)(72404)(F)]
56
+ [(2007-01-16 21:05:21)(212345)(91259715)(+)(6)(10)(80)(72404)(PRI1 BCH28)(GSM28)(00)(72404)(F)]
57
+ [(2007-01-16 21:05:49)(212345)(96991929)(+)(7)(10)(80)(72404)(PRI1 BCH23)(GSM01)(00)(72404)(T)]
58
+ [(2007-01-16 21:06:37)(212345)(92243715)(-)(12)(10)(80)(72404)(PRI1 BCH19)(GSM04)(00)(72404)(F)]
59
+ [(2007-01-16 21:06:45)(212345)(96930209)(-)(5)(03)(80)(-)()()(00)(72404)(t)]
60
+ [(2007-01-16 20:59:32)(212345)(99855914)(+)(446)(10)(80)(72404)(PRI1 BCH26)(GSM18)(00)(72404)(T)]
61
+ [(2007-01-16 21:07:24)(212345)(96440828)(-)(17)(10)(80)(72404)(PRI1 BCH26)(GSM05)(00)(72404)(F)]
62
+ [(2007-01-16 21:07:38)(212345)(91435345)(-)(9)(10)(80)(72404)(PRI1 BCH19)(GSM17)(00)(72404)(F)]
63
+ [(2007-01-16 21:01:19)(212345)(91283328)(+)(408)(90)(80)(72404)(PRI1 BCH25)(GSM14)(00)(72404)(T)]
64
+ [(2007-01-16 21:08:00)(212345)(92243715)(-)(12)(1F)(80)(72404)(PRI1 BCH26)(GSM17)(00)(72404)(T)]
65
+ [(2007-01-16 21:08:01)(212345)(96113337)(-)(39)(10)(80)(72404)(PRI1 BCH19)(GSM23)(00)(72404)(T)]
66
+ [(2007-01-16 20:57:12)(212345)(99471354)(+)(720)(10)(80)(72404)(PRI1 BCH30)(GSM12)(00)(72404)(F)]
67
+ [(2007-01-16 21:09:11)(212345)(92036539)(-)(1)(10)(80)(-)(PRI1 BCH25)()(00)(72404)(F)]
68
+ [(2007-01-16 21:08:28)(212345)(91196496)(+)(60)(10)(80)(72404)(PRI1 BCH18)(GSM27)(00)(72404)(F)]
69
+ [(2007-01-16 21:09:23)(212345)(92243715)(-)(13)(1F)(80)(72404)(PRI1 BCH30)(GSM10)(00)(72404)(T)]
70
+ [(2007-01-16 21:09:05)(212345)(96770655)(-)(41)(1F)(80)(72404)(PRI1 BCH26)(GSM04)(00)(72404)(T)]
71
+ [(2007-01-16 21:09:48)(212345)(91112623)(-)(8)(1F)(80)(72404)(PRI1 BCH30)(GSM17)(00)(72404)(F)]
72
+ [(2007-01-16 21:09:17)(212345)(92243597)(-)(42)(10)(80)(72404)(PRI1 BCH19)(GSM05)(00)(72404)(F)]
73
+ [(2007-01-16 21:10:05)(212345)(92896624)(-)(8)(10)(80)(72404)(PRI1 BCH30)(GSM17)(00)(72404)(F)]
74
+ [(2007-01-16 21:10:12)(212345)(91191999)(-)(10)(10)(80)(72404)(PRI1 BCH19)(GSM28)(00)(72404)(F)]
75
+ [(2007-01-16 21:09:54)(212345)(96382459)(-)(32)(10)(80)(72404)(PRI1 BCH26)(GSM23)(00)(72404)(F)]
76
+ [(2007-01-16 21:09:58)(212345)(99071702)(-)(42)(10)(80)(72404)(PRI1 BCH25)(GSM24)(00)(72404)(T)]
77
+ [(2007-01-16 21:10:56)(212345)(92487901)(-)(3)(10)(80)(-)(PRI1 BCH17)()(00)(72404)(F)]
78
+ [(2007-01-16 21:10:21)(212345)(92243597)(-)(42)(10)(80)(72404)(PRI1 BCH30)(GSM01)(00)(72404)(F)]
79
+ [(2007-01-16 21:10:54)(212345)(92243715)(-)(11)(10)(80)(72404)(PRI1 BCH19)(GSM03)(00)(72404)(F)]
80
+ [(2007-01-16 21:10:54)(212345)(92870671)(-)(14)(7F)(80)(72404)(PRI1 BCH25)(GSM26)(00)(72404)(F)]
81
+ [(2007-01-16 21:11:14)(212345)(84142449)(-)(4)(10)(80)(72404)(PRI1 BCH30)(GSM04)(00)(72404)(F)]
82
+ [(2007-01-16 21:11:21)(212345)(96314454)(-)(39)(10)(80)(72404)(PRI1 BCH25)(GSM17)(00)(72404)(F)]
83
+ [(2007-01-16 21:11:27)(212345)(99071702)(-)(40)(10)(80)(72404)(PRI1 BCH30)(GSM22)(00)(72404)(T)]
84
+ [(2007-01-16 21:06:12)(212345)(96587942)(+)(373)(90)(80)(72404)(PRI1 BCH28)(GSM29)(00)(72404)(T)]
85
+ [(2007-01-16 21:06:27)(212345)(96562819)(+)(358)(90)(80)(72404)(PRI1 BCH23)(GSM30)(00)(72404)(T)]
86
+ [(2007-01-16 21:06:39)(212345)(91177243)(+)(346)(90)(80)(72404)(PRI1 BCH21)(GSM31)(00)(72404)(T)]
87
+ [(2007-01-16 20:59:29)(212345)(92034585)(+)(783)(10)(80)(72404)(PRI1 BCH29)(GSM20)(00)(72404)(F)]
88
+ [(2007-01-16 21:12:25)(212345)(99445577)(-)(19)(10)(80)(72404)(PRI1 BCH30)(GSM14)(00)(72404)(F)]
89
+ [(2007-01-16 21:12:10)(212345)(99842584)(-)(39)(10)(80)(72404)(PRI1 BCH25)(GSM13)(00)(72404)(F)]
90
+ [(2007-01-16 21:11:58)(212345)(92870671)(+)(67)(10)(80)(72404)(PRI1 BCH17)(GSM16)(00)(72404)(F)]
91
+ [(2007-01-16 21:12:57)(212345)(91435345)(-)(9)(10)(80)(72404)(PRI1 BCH30)(GSM26)(00)(72404)(F)]
92
+ [(2007-01-16 21:13:04)(212345)(96612169)(-)(8)(10)(80)(72404)(PRI1 BCH21)(GSM05)(00)(72404)(F)]
93
+ [(2007-01-16 21:12:42)(212345)(99729278)(-)(35)(10)(80)(72404)(PRI1 BCH28)(GSM24)(00)(72404)(F)]
94
+ [(2007-01-16 21:13:19)(212345)(92896624)(-)(8)(10)(80)(72404)(PRI1 BCH21)(GSM05)(00)(72404)(F)]
95
+ [(2007-01-16 21:13:22)(212345)(96855974)(-)(10)(10)(80)(72404)(PRI1 BCH17)(GSM26)(00)(72404)(F)]
96
+ [(2007-01-16 21:13:02)(212345)(99445577)(-)(47)(10)(80)(72404)(PRI1 BCH23)(GSM03)(00)(72404)(F)]
97
+ [(2007-01-16 21:12:55)(212345)(92487901)(+)(58)(10)(80)(72404)(PRI1 BCH29)(GSM15)(00)(72404)(F)]
98
+ [(2007-01-16 21:13:56)(212345)(91411209)(-)(10)(1F)(80)(72404)(PRI1 BCH23)(GSM24)(00)(72404)(T)]
99
+ [(2007-01-16 21:14:10)(212345)(96559077)(+)(8)(10)(80)(72404)(PRI1 BCH28)(GSM05)(00)(72404)(T)]
100
+ [(2007-01-16 21:02:50)(212345)(91276374)(+)(699)(10)(80)(72404)(PRI1 BCH22)(GSM21)(00)(72404)(F)]
101
+ [(2007-01-16 21:13:08)(212345)(96562819)(+)(98)(10)(80)(72404)(PRI1 BCH25)(GSM28)(00)(72404)(T)]
102
+ [(2007-01-16 20:57:09)(212345)(96058383)(+)(1073)(10)(80)(72404)(PRI1 BCH31)(GSM07)(00)(72404)(F)]
103
+ [(2007-01-16 21:10:55)(212345)(96498594)(+)(285)(10)(80)(72404)(PRI1 BCH26)(GSM23)(00)(72404)(F)]
104
+ [(2007-01-16 21:15:10)(212345)(96314454)(+)(32)(10)(80)(72404)(PRI1 BCH17)(GSM14)(00)(72404)(F)]
105
+ [(2007-01-16 21:15:52)(212345)(92247549)(+)(0)(10)(80)(72404)(PRI1 BCH15)(GSM19)(00)(72404)(F)]
106
+ [(2007-01-16 21:15:20)(212345)(96562819)(-)(36)(1F)(80)(72404)(PRI1 BCH31)(GSM29)(00)(72404)(T)]
107
+ [(2007-01-16 21:15:00)(212345)(92124964)(+)(59)(1F)(80)(72404)(PRI1 BCH23)(GSM24)(00)(72404)(F)]
108
+ [(2007-01-16 21:16:06)(212345)(99953083)(-)(0)(10)(80)(72404)(PRI1 BCH23)(GSM32)(00)(72404)(F)]
109
+ [(2007-01-16 21:16:10)(212345)(99953083)(-)(1)(10)(80)(72404)(PRI1 BCH17)(GSM32)(00)(72404)(F)]
110
+ [(2007-01-16 21:16:14)(212345)(99953083)(-)(1)(10)(80)(72404)(PRI1 BCH23)(GSM32)(00)(72404)(F)]
111
+ [(2007-01-16 21:15:19)(212345)(96559077)(+)(60)(10)(80)(72404)(PRI1 BCH25)(GSM17)(00)(72404)(T)]
112
+ [(2007-01-16 21:11:41)(00212345)(91025037)(+)(286)(10)(80)(72404)(PRI1 BCH19)(GSM04)(00)(72404)(T)]
113
+ [(2007-01-16 21:16:14)(212345)(96467505)(+)(16)(10)(80)(72404)(PRI1 BCH26)(GSM31)(00)(72404)(T)]
114
+ [(2007-01-16 21:16:02)(212345)(96562819)(-)(36)(1F)(80)(72404)(PRI1 BCH31)(GSM30)(00)(72404)(T)]
115
+ [(2007-01-16 21:16:56)(212345)(92911372)(+)(42)(10)(80)(72404)(PRI1 BCH25)(GSM27)(00)(72404)(T)]
116
+ [(2007-01-16 21:18:15)(212345)(99688049)(-)(12)(1F)(80)(72404)(PRI1 BCH26)(GSM19)(00)(72404)(T)]
117
+ [(2007-01-16 21:10:37)(212345)(96935042)(+)(483)(10)(80)(72404)(PRI1 BCH18)(GSM10)(00)(72404)(T)]
118
+
119
+ ] def
120
+
121
+
122
+ /cm {
123
+ 72 mul
124
+ 2.545 div
125
+ } def
126
+
127
+ /uncm {
128
+ 72 div
129
+ 2.545 mul
130
+ } def
131
+
132
+ /unit{ cm } def
133
+
134
+
135
+
136
+ /pagesize [ 21 unit 29.7 unit] def
137
+ %%/pagesize [ 29.7 unit 21 unit ] def
138
+
139
+
140
+ << /Duplex true /Tumble true >> setpagedevice
141
+ %---BeginFeature: *PageSize A4
142
+ 2 dict dup /PageSize pagesize put dup /ImagingBBox null put setpagedevice
143
+ %---EndFeature
144
+ /p{ pstack } def
145
+
146
+ %%-dTextAlphaBits=4 -dGraphicsAlphaBits=2 -dMaxBitmap=10000000 -dNOPLATFONTS
147
+ /encoding_font { findfont dup length dict begin { 1 index /FID ne { def } { pop pop } ifelse } bind forall /Encoding ISOLatin1Encoding def currentdict end } def
148
+
149
+ %margin
150
+ /margin 3 dict def
151
+ margin begin
152
+ /top 1 unit def
153
+ /right 1 unit def
154
+ /bottom 1 unit def
155
+ /left 1 unit def
156
+
157
+ end
158
+
159
+ /linewidth 0.25 unit def
160
+
161
+ %%statics callimit_bottomacks
162
+ /before_create {(#-> before_create\n) print} bind def
163
+ /first_page {(#-> first_page\n) print} bind def
164
+ /last_page {(#-> last_page\n) print} bind def
165
+ /after_create {(#-> after_create\n) print} bind def
166
+
167
+ %%dynamic callbacks
168
+ /before_page_create 3 dict def
169
+ before_page_create begin
170
+ /proc { next_row limit_left current_row moveto (UM TESTE DE BEFORE PAGE CREATE) show next_row 0 setlinewidth horizontal_line_middle next_row 16 unit current_row moveto (Hoje 13/04/2007 as 14:58:23) show next_row horizontal_line_middle next_row } bind def
171
+ /except [ ] def
172
+ /only [ ] def
173
+ end
174
+
175
+ /after_page_create 3 dict def
176
+ after_page_create begin
177
+ /proc { } bind def
178
+ /except [ ] def
179
+ /only [ ] def
180
+ end
181
+
182
+ /odd_pages 3 dict def
183
+ odd_pages begin
184
+ /proc { } bind def
185
+ /except [] def
186
+ /only [] def
187
+ end
188
+
189
+ /even_pages 3 dict def
190
+ even_pages begin
191
+ /proc {(*-> even_pages\n) print} bind def
192
+ /except [ 6 ] def
193
+ /only [ 1 ] def
194
+ end
195
+
196
+ /to_s{
197
+ 80 string cvs
198
+
199
+ } def
200
+
201
+ %/paint_count_page_in { 16 unit 28 unit moveto current_page to_s show ( of ) show total_pages to_s show ( - ) show row to_s show} bind def
202
+
203
+ /line_width 0 def
204
+
205
+
206
+
207
+
208
+
209
+
210
+ /is_array?{ count 0 ne {dup}{false} ifelse type to_s (arraytype) }def
211
+
212
+ /horizontal_line_top { exch gsave current_row row_height add moveto 0 rlineto stroke grestore } def
213
+ /horizontal_line_middle { exch gsave current_row row_height sqrt add moveto 0 rlineto stroke grestore }def
214
+ /horizontal_line_bottom { exch gsave current_row row_padding sub moveto 0 rlineto stroke grestore }def
215
+ /vertical_line{ exch gsave current_row moveto 0 exch neg rlineto stroke grestore } def
216
+
217
+ /background_row {
218
+ gsave 0.95 setgray
219
+ limit_left current_row row_height sqrt 2 sub sub area_x row_height rectfill
220
+ 0 setgray
221
+ grestore
222
+ }def
223
+
224
+
225
+ /limit_top { pagesize 1 get margin /top get sub } def
226
+ /limit_right { pagesize 0 get margin /right get sub } def
227
+ /limit_bottom { margin /bottom get } def
228
+ /limit_left { margin /left get } def
229
+ /area_x pagesize 0 get margin /right get sub margin /left get sub def
230
+ /area_y pagesize 1 get margin /top get sub margin /bottom get sub def
231
+
232
+
233
+ /current_page 1 def
234
+ /rows_per_page 46 def
235
+ /total_pages 10 def
236
+ /row_height 0.4 unit def
237
+ /row_padding 0.1 unit def
238
+ /row 1 def
239
+ /current_row 0 def
240
+
241
+
242
+
243
+ %%calimit_leftbacks for odd even pages
244
+ /odd? { 2 mod 0 eq {true}{false} ifelse } bind def
245
+ /odd_or_even { current_page odd? {odd_pages}{even_pages}ifelse }def
246
+
247
+ %%increment
248
+ /inc{ dup cvx exec 1 add def} def
249
+
250
+ /show_center{ dup stringwidth pop 2 div neg 0 rmoveto show } def
251
+ /show_right{ dup stringwidth pop neg 0 rmoveto show } def
252
+ /show_left{ show }def
253
+
254
+ /include? { /_atual 1 def exch dup length /_s exch def exch /_v exch def
255
+ { _v eq {true exit}{ _atual _s eq { false exit }{ /_atual inc } ifelse } ifelse }forall
256
+ _s 0 eq {false} if
257
+ } def
258
+
259
+ /callback{
260
+ dup dup
261
+ /except get length 0 ne { /except get current_page include? not}{
262
+ dup /only get length 0 ne { /only get current_page include?}{
263
+ pop true
264
+ }ifelse
265
+ }ifelse
266
+ { /proc get exec }{
267
+ pop
268
+ }ifelse
269
+ } bind def
270
+
271
+ /new_page? true def
272
+
273
+ %%RubyGhost Engine in Postscript
274
+ /next_page{ %nextpage
275
+ after_page_create callback
276
+ /row 1 def
277
+ (Pagina: ) print current_page 8 string cvs print (\n) print
278
+
279
+ showpage
280
+ /new_page? true def
281
+ /current_page inc
282
+ /current_row limit_top row row_height mul sub def
283
+ before_page_create callback
284
+ odd_or_even callback
285
+ current_page total_pages eq { last_page } if
286
+
287
+ } def
288
+ %/current_row limit_top row row_height row_padding add mul sub def
289
+ /new_current_row_point{
290
+ %%/current_row current_row row_height row_padding add sub def
291
+ /current_row limit_top row row_height row_padding add mul sub def
292
+ }def
293
+
294
+ /next_row{ %%nextline
295
+
296
+ row rows_per_page lt current_row limit_bottom ge and { /row inc
297
+ new_current_row_point
298
+ }{ next_page }ifelse
299
+
300
+
301
+ } def
302
+ /jump_lines{
303
+ {
304
+ next_row
305
+ }repeat
306
+ } def
307
+ /goto_line{
308
+ /row exch def
309
+ new_current_row_point
310
+
311
+ } def
312
+
313
+ /fontsize 8 def
314
+ /Helvetica findfont fontsize scalefont setfont
315
+ %%
316
+ %%%%%%%%%%%IMPORTANTE INICIAR O CURSOR
317
+ new_current_row_point
318
+ %before_create
319
+ %before_page_create callback
320
+ %first_page
321
+ %even_pages callback
322
+
323
+
324
+ limit_left area_x horizontal_line_top
325
+ limit_left area_x horizontal_line_middle
326
+ limit_left area_x horizontal_line_bottom
327
+
328
+
329
+
330
+ /ss { ( , ) show }def
331
+
332
+
333
+ %%Tabelao
334
+ % /c -1 def
335
+ % /nextcol {
336
+ % c 12 lt {/c c 1 add def
337
+ %
338
+ % }{
339
+ % /c 0 def
340
+ %
341
+ % %0 current_row moveto
342
+ % }ifelse
343
+ % } def
344
+
345
+ /X{ currentpoint pop } def
346
+ /Y{ currentpoint exch pop} def
347
+ /strlen { dup stringwidth pop } def
348
+ /celp 5 def
349
+
350
+
351
+ %%show table
352
+ %showcenter
353
+ /stc{ exch strlen 3 -1 roll sub -2 div dup 0 rmoveto exch show 0 rmoveto } def
354
+ %showright
355
+ /str{ exch strlen 3 -1 roll X add sub neg current_row moveto show } def
356
+ %showleft(default)
357
+ /stl{ X add exch show current_row moveto }def
358
+ /head [
359
+ (starttime)(callingno)(calledno)(bill)(duration)
360
+ (cause)(bearercap)(carrier)(fromchannel) (tochannel) (aoc) (preferredcarrier)(location)
361
+
362
+ ] def
363
+
364
+ /params [
365
+ [ 110 /stl ]
366
+ [ 40 /stc ]
367
+ [ 50 /stc ]
368
+ [ 30 /stc ]
369
+ [ 30 /stc ]
370
+ [ 30 /stc ]
371
+ [ 30 /stc ]
372
+ [ 30 /stc ]
373
+ [ 60 /stc ]
374
+ [ 30 /stc ]
375
+ [ 30 /stc ]
376
+ [ 30 /stc ]
377
+ [ 38 /stc ]
378
+ ] def
379
+
380
+ /params_head [
381
+ [ 90 /stc ]
382
+ [ 70 /stc ]
383
+ [ 35 /stc ]
384
+ [ 30 /stc ]
385
+ [ 35 /stc ]
386
+ [ 30 /stc ]
387
+ [ 40 /stc ]
388
+ [ 35 /stc ]
389
+ [ 60 /stc ]
390
+ [ 40 /stc ]
391
+ [ 40 /stc ]
392
+ [ 40 /stc ]
393
+ [ 40 /stc ]
394
+ ] def
395
+
396
+
397
+ % 1 1 46 {
398
+ % br
399
+ % limit_left current_row moveto
400
+ % 20 string cvs show
401
+ %
402
+ % next_row
403
+ %
404
+ % } for
405
+
406
+ /after_row{
407
+ /ctr inc
408
+ /col -1 def
409
+ next_row
410
+ limit_left current_row moveto
411
+ }def
412
+ /col -1 def
413
+ /nextcol{ /col inc } def
414
+
415
+ /before_table_create {
416
+
417
+ } def
418
+
419
+ /after_table_create{
420
+
421
+ } def
422
+
423
+ /row_odd_or_even {
424
+ ctr odd? {odd_row}{even_row} ifelse
425
+ }def
426
+
427
+ /before_row_create 3 dict def
428
+ before_row_create begin
429
+ /proc { } bind def
430
+ /except [ ] def
431
+ /only [ ] def
432
+ end
433
+
434
+ /odd_row 3 dict def
435
+ odd_row begin
436
+ /proc { } bind def
437
+ /except [ ] def
438
+ /only [ ] def
439
+ end
440
+
441
+ /even_row 3 dict def
442
+ even_row begin
443
+ /proc { } bind def
444
+ /except [ ] def
445
+ /only [ ] def
446
+ end
447
+
448
+
449
+ /callback_table{
450
+ dup dup
451
+ /except get length 0 ne { /except get ctr include? not}{
452
+ dup /only get length 0 ne { /only get ctr include?}{
453
+ pop true
454
+ }ifelse
455
+ }ifelse
456
+ { /proc get exec }{
457
+ pop
458
+ }ifelse
459
+ } bind def
460
+
461
+
462
+ /rows_per_page 55 def
463
+ /ctr 0 def %current row table
464
+ /head_proc {
465
+ new_page? {
466
+ limit_left current_row moveto
467
+ currentfont
468
+ /Helvetica-Bold findfont 9 scalefont setfont
469
+ head {
470
+
471
+ nextcol params_head col get aload pop cvx exec
472
+
473
+ } forall
474
+
475
+ setfont
476
+
477
+ after_row
478
+ /new_page? false def
479
+ }if
480
+
481
+
482
+ } def
483
+
484
+ % /vr {
485
+ % gsave
486
+ % is_array? ne {area_y limit_left }{ aload pop }ifelse
487
+ % current_row row_height add moveto
488
+ % 0 exch neg rlineto
489
+ % stroke
490
+ % grestore
491
+ % } def
492
+
493
+ /vlr {
494
+ gsave
495
+
496
+ 0 row_height rlineto
497
+ stroke
498
+ grestore
499
+ } def
500
+
501
+ /vlrf { %vertical line in row full
502
+ gsave
503
+ X Y row_padding sub moveto
504
+ 0 row_height row_padding add rlineto
505
+ stroke
506
+ grestore
507
+ } def
508
+ /rows_per_page 20 def
509
+
510
+ /proc {
511
+ next_row
512
+ limit_left current_row moveto
513
+ before_table_create
514
+ {
515
+ head_proc
516
+ before_row_create callback_table
517
+ row_odd_or_even callback_table
518
+ %limit_left area_x horizontal_line_top
519
+ { %vlrf
520
+ nextcol params col get aload pop cvx exec
521
+ % vertical_line
522
+ } forall
523
+ %limit_left area_x horizontal_line_top
524
+ %exit
525
+ after_row
526
+
527
+
528
+ } forall
529
+ after_table_create
530
+ }bind def
531
+ dados proc
532
+ %2 unit 5 unit moveto ([************************************************************************************************ ]) show
533
+ %2 unit 4 unit moveto (TESTE DE POSICIONAMENTO DE STRING) show_center
534
+
535
+
536
+
537
+
538
+
539
+ %/line_space { row_height } def
540
+ /fonte1 { /Helvetica findfont fontsize scalefont setfont }def
541
+ /fonte2 { /Helvetica-Bold findfont fontsize scalefont setfont }def
542
+ /fonte3 { /Helvetica-Oblique findfont fontsize scalefont setfont }def
543
+
544
+ /Helvetica encoding_font
545
+ /Helvetica-encoding exch definefont pop
546
+
547
+ /fonte1 { /Helvetica-encoding findfont fontsize scalefont setfont } def
548
+ fonte1
549
+ 15 cm 15 cm moveto
550
+ (� um t�s c�op��) show
551
+ %%/newline { next_row } def
552
+ /textarea_defaults {
553
+ /space ( ) def
554
+ /spacecount { 0 exch ( ) { search { pop 3 -1 roll 1 add 3 1 roll } { pop exit } ifelse } loop } def
555
+ /ssp { space search pop } def
556
+ /dsp { dup stringwidth pop } def
557
+ /cpp { currentpoint pop } def
558
+ /S { dup spacecount {ssp dsp cpp add rm gt { L s s }{ s s } ifelse } repeat pop } def
559
+ /n { show newline } def /s { show } def /L { newline } def
560
+ /centre { dup stringwidth pop 2 div rm 2 div exch sub lm add tm moveto } def
561
+ /c{ centre n} def
562
+ } def
563
+
564
+ next_row next_row
565
+ /textarea1{
566
+ /textbox {
567
+ /line_space { 0.5 unit } def
568
+ /lm 0 unit def %margin left
569
+ /bm 3 unit def %margin bottom
570
+ /rm 5 unit def %margin right %width
571
+ /tm 0 unit def %margin top
572
+ lm tm moveto
573
+ } def
574
+ /newline {
575
+
576
+ tm line_space sub
577
+ /tm exch def
578
+ lm tm moveto
579
+
580
+ } def
581
+ textarea_defaults
582
+ gsave
583
+ 3 unit 6 unit translate
584
+ textbox
585
+ ( asd klaj fkjdfsd fdf sdjf sdjdfhsjdf sdasjdsa jd sad asd asjdhfasjdf hsajd jksa df asd fsad fasjl dfha kjsdhfaksjdfhas kjdfhaskj dfhsakdjf fdlldfl� dfl�dsfl� sdfg) S
586
+ fonte2
587
+ (teste asda sasjkfhasj asjdfd jasjdfasdjhf jas dsd d ) S
588
+ fonte1
589
+ (teste asda sasjkfhasj dasdf) S L L
590
+ fonte3
591
+ (\(Shairon Toledo � Oliveira\) ) S
592
+ fonte1
593
+ (shairon ajdh d sdf ksdj df sadlfskadfksl djfskldf k ) S
594
+ grestore
595
+ } bind def
596
+
597
+
598
+
599
+ textarea1
600
+
601
+
602
+ %%%%%image
603
+ % /w 260 def
604
+ % /h 95 def
605
+ % /z 50 def
606
+ % 10 10 moveto
607
+ % /DeviceRGB setcolorspace
608
+ % w z 100 div mul h z 100 div mul scale
609
+ % /Data currentfile /DCTDecode filter def
610
+ % << /ImageType 1
611
+ % /Width w
612
+ % /Height h
613
+ % /ImageMatrix [w 0 0 h neg 0 h ]
614
+ % /DataSource Data
615
+ % /BitsPerComponent 8
616
+ % /Decode [0 1 0 1 0 1]
617
+ % >> image
618
+
619
+
620
+
621
+
622
+
623
+
624
+ %nextpage
625
+
626
+
627
+
628
+ after_page_create callback
629
+ after_create
630
+
631
+
632
+ %%BeginProlog
633
+
634
+
635
+ %%EndProlog
636
+
637
+ %%Page: 1 1
638
+ %%BeginPageSetup
639
+ %%....
640
+ %%EndPageSetup
641
+
642
+
643
+ %%Trailer
644
+ %%EOF
645
+
646
+