Skip to content

lichti/RLabel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RLabel

A RLabel já suporta todos os modelos de etiquetas da pimaco de tamanho Carta
O básico já estafuncionando e já tem varias funcionalidades em desenvolvimento

The RLabel already supports all types of labels PIMACO letter size
The base is already working and already have several features in development

Dependency

A RLabel depende da gem RGhost para gerar o PDF
The RGhost gem is required to generate the PDF

Examples

@rl=RLabel.new
@rl.manufacturer(:pimaco)
@rl.model(:P6081)
@rl.addLabel([‘Line 1’,‘Line 2’,‘Line 3’,‘Line N’])
@rl.save(‘Pimaco-6081.pdf’)

Draft

@rl=RLabel.new
@rl.manufacturer(:pimaco)
@rl.model(:P6081)
@rl.addLabel([‘Line 1’,‘Line 2’,‘Line 3’,‘Line N’])
@rl.saveDraft(‘Pimaco-6081.pdf’)

Stream (Use with Rails)

@rl=RLabel.new
@rl.manufacturer(:pimaco)
@rl.model(:P6081)
@rl.addLabel([‘Line 1’,‘Line 2’,‘Line 3’,‘Line N’])
@rl.stream(‘Pimaco-6081.pdf’)

LICENSE:

(The MIT License)

Copyright © 2008 FIX

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.

About

RLabel is a ruby class/gem that generates labels in PDF.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages