Skip to content

seven1m/dymo_render

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dymo Render

Render a PDF from the DYMO Label software's XML .label format. This is the same format used by their JavaScript SDK and by their desktop apps.

Here is a sample label in XML along with its rendered PDF output.

Installation

gem "dymo_render"

Usage

xml_content = File.read("sample.label")
pdf = DymoRender.new(xml: xml_content).render
File.write("out.pdf", pdf)

Features

  • Text, custom fonts and custom font directories
  • Barcodes
    • QR codes
    • Code 128 Auto, A, B, C

License

This project uses the BSD 2-clause simplified license from the dymo-printer-agent project.

Thanks

This project uses code extracted from Tim Morgan's dymo-printer-agent.

About

Render a PDF from Dymo LabelWriter .label XML file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%