forked from jordanbyron/prawn-labels
-
Notifications
You must be signed in to change notification settings - Fork 0
Prawn/Labels: A simple helper to generate labels for Prawn PDFs
License
Unknown, GPL-2.0 licenses found
Licenses found
Unknown
LICENSE
GPL-2.0
COPYING
itsterry/prawn-labels
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
== Prawn/Labels: A simple helper to generate labels for Prawn PDFs
Prawn/Labels takes the guess work out of generating labels using Prawn
== Usage
require 'prawn/labels'
names = ["Jordan", "Chris", "Jon", "Mike", "Kelly", "Bob", "Greg"]
Prawn::Labels.generate("names.pdf", names, :type => "Avery5160") do |pdf, name|
pdf.text name
end
This creates a document with a name from the names array in each label. The labels will be formatted for Avery 5160 labels. Formats are defined in the prawn/labels/types.yaml file.
== Contributors
Jordan Byron <jordan@ducksoupsoftware.com>About
Prawn/Labels: A simple helper to generate labels for Prawn PDFs
Resources
License
Unknown, GPL-2.0 licenses found
Licenses found
Unknown
LICENSE
GPL-2.0
COPYING
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 100.0%