diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-10-04 16:10:35 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-10-04 16:10:35 +0200 |
commit | dc6c9221981e201445d5137ce6e4c9f45e780716 (patch) | |
tree | 969e146351d884c55fe55e64f1df9ed431ecc6b8 /lib | |
parent | ff8c65d1c8969b8521ea54765c9e75bd764d516b (diff) | |
download | norsk-urskog-registrations-dc6c9221981e201445d5137ce6e4c9f45e780716.tar.gz norsk-urskog-registrations-dc6c9221981e201445d5137ce6e4c9f45e780716.tar.bz2 norsk-urskog-registrations-dc6c9221981e201445d5137ce6e4c9f45e780716.zip |
Add page numbers to PDF
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pdf_form.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pdf_form.rb b/lib/pdf_form.rb index c472fd9..88cb44d 100644 --- a/lib/pdf_form.rb +++ b/lib/pdf_form.rb @@ -37,6 +37,7 @@ class PDFForm @document.stroke { @document.horizontal_rule } end + @document.number_pages "Side <page>", :align => :center, :at => [0, 0] @document.render_file "#{@band.name}.pdf" end |