0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Render PDFs using the XML format from the DYMO Label Maker app
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.6
~> 1.8
~> 2.2
~> 0.10
 Project Readme

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.