This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

# Barcode Printer for Django

This is a reusable Django application which generates PDF barcodes in various formats with a human and machine (OCR-A) readable textual label.

These barcodes are rendered as a PDF with embedded JavaScript which prompts the PDF to be immediately printed.

Currently this is used by [Adlibre DMS]( for document barcode generation, but this application is generic and can be reused in any Django app that requires barcode printing.

[ReportLab]( is used for the barcode generation. And the following formats are supported:

  • Code39 (3 of 9),
  • Code128.

However it would be trivial to add support for any format that ReportLab supports.

## Example

Barcode automatically printing from URL:

![Barcode Printer for Django - Automatic Printing](

## Installation

If you use pip then the dependencies and requirements will be taken care of:


pip install git+git://


pip install -e

## N.B. ReportLab Bug

ReportLab 2.5/2.6 has a typo. “OpenActions” should be “OpenAction” as per ISO 32000-1:2008.

<pre> diff -r broken/lib/python2.7/site-packages/reportlab/pdfbase/ fixed/lib/python2.7/site-packages/reportlab/pdfbase/ 1022c1022 &lt; Dests Outlines Pages Threads AcroForm Names OpenActions PageMode URI — &gt; Dests Outlines Pages Threads AcroForm Names OpenAction PageMode URI </pre>

You will need to manually patch this, otherwise the barcode will not automatically print:

sed -i -e ‘s@OpenActions@OpenAction@g’ lib/python*/site-packages/reportlab/pdfbase/
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-bcp-0.2.2.tar.gz (19.5 kB) Copy SHA256 Checksum SHA256 Source Aug 4, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting