Skip to content

jredrejo/Labels-for-pyfpdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

About

This repo contains a patch to print labels using web2py

It's based on the php work available at http://www.fpdf.org/en/script/script29.php

Installing

  1. Copy the file pyfpdf/pdflabels.py to your web2py installation, at gluon/contrib/pyfpdf
  2. Replace gluon/contrib/pyfpdf/fpdf.py with pyfpdf/pyfpdf (or just modify current pyfpdf modifying the line with: class FPDF(): to class FPDF(object): as explained at http://code.google.com/p/pyfpdf/issues/detail?id=17

That's all.

This project also includes a web2py project to be used as an example of the use of this labels class.

About

Class to print labels using pyfpdf with Web2py

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published