Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
PDF templates using iText's PdfStamper.
Ruby
branch: master

This branch is 4 commits ahead, 25 commits behind jaywhy:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ext
lib/pdf
spec
.gitignore
History.txt
Manifest.txt
README.txt
Rakefile
pdf-stamper.gemspec

README.txt

= pdf/stamper - PDF Templates
  http://github.com/jaywhy/pdf-stamper/
  by Jason Yates

  15 September 2010 -- fork by Paul Schreiber
  http://github.com/paulschreiber/pdf-stamper/

== DESCRIPTION:

Fill out PDF forms (templates) using iText's PdfStamper.

== CAVEAT:

You have to use JRuby or RJB. You need Adobe LiveCycle Designer
or Acrobat Professional to create the templates.

== EXAMPLE:
pdf = PDF::Stamper.new("my_template.pdf")
pdf.text :first_name, "Jason"
pdf.text :last_name, "Yates"
pdf.image :photo, "photo.jpg"
pdf.checkbox :hungry
pdf.ellipse(140, 380, 50, 13)
pdf.rectangle(140, 380, 50, 13, 2)
pdf.circle(140, 380)
pdf.save_as "my_output.pdf"

== INSTALL:

$ sudo gem install ps-pdf-stamper

== CODE:

$ git clone http://github.com/paulschreiber/pdf-stamper/

== LICENSE:

(The MIT License)

Copyright 2007-2010 Jason Yates, Paul Schreiber

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Something went wrong with that request. Please try again.