Skip to main content

PDF417 barcode font and encoder for it.

Project description

PDF417 barcode font and encoder for it.

Python version

3.3+

License

GPLv3

PyPI

https://pypi.python.org/pypi/pdf417as_str/

How it works

  1. Install font pdf417.ttf into your OS.

  2. Encode your data string into special encoded strings.

pdf417text = pdf417as_str.encode('https://github.com')
  1. Paste encoded text into any text editor and choose pdf417.ttf font for it.

+*pBk*uiz*Aoc*yyf*ypy*-
+*xcE*tlu*boy*ziv*xcc*-
+*ejA*akw*jsx*rso*eBw*-
  1. You will see pdf417 barcode.

https://github.com/ikvk/pdf417as_str/blob/master/test/barcode.png

NOTE: With some font sizes there will be empty space between rows. It will not affect to reading barcode, but you can find suited size anyway.

Installation

$ pip install pdf417as_str

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdf417as_str-0.2.tar.gz (30.8 kB view details)

Uploaded Source

File details

Details for the file pdf417as_str-0.2.tar.gz.

File metadata

  • Download URL: pdf417as_str-0.2.tar.gz
  • Upload date:
  • Size: 30.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pdf417as_str-0.2.tar.gz
Algorithm Hash digest
SHA256 7c2c373e33e250563eb9185994c27d59f9033be0c1989991ea8400f499f4275c
MD5 f298c54521d0679f913c55325125d329
BLAKE2b-256 e8c05abfd899a53c4cba76f5a2d9d5014d292107b5e37c291559c5688aad40dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page