Skip to content

Latest commit

 

History

History
1369 lines (913 loc) · 25.3 KB

README.md

File metadata and controls

1369 lines (913 loc) · 25.3 KB

Barcode Examples

Auto generated examples. See make_examples.py for details.

CODE11

Example CODE11 barcode with content 1234567

CODE11 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CODE11('1234567')

with open('CODE11.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

C25MATRIX

Example C25MATRIX barcode with content 1234567

C25MATRIX barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.C25MATRIX('1234567')

with open('C25MATRIX.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

C25INTER

Example C25INTER barcode with content 1234567

C25INTER barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.C25INTER('1234567')

with open('C25INTER.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

C25IATA

Example C25IATA barcode with content 1234567

C25IATA barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.C25IATA('1234567')

with open('C25IATA.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

C25LOGIC

Example C25LOGIC barcode with content 1234567

C25LOGIC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.C25LOGIC('1234567')

with open('C25LOGIC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

C25IND

Example C25IND barcode with content 1234567

C25IND barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.C25IND('1234567')

with open('C25IND.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

CODE39

Example CODE39 barcode with content 1234567

CODE39 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CODE39('1234567')

with open('CODE39.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

EXCODE39

Example EXCODE39 barcode with content 1234567

EXCODE39 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.EXCODE39('1234567')

with open('EXCODE39.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

EANX

Example EANX barcode with content 1234567

EANX barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.EANX('1234567')

with open('EANX.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

EANX_CHK

Example EANX_CHK barcode with content 123456789012

EANX_CHK barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.EANX_CHK('123456789012')

with open('EANX_CHK.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

EAN128

Example EAN128 barcode with content [01]12345678901234

EAN128 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.EAN128('[01]12345678901234')

with open('EAN128.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

CODABAR

Example CODABAR barcode with content A40156B

CODABAR barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CODABAR('A40156B')

with open('CODABAR.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

CODE128

Example CODE128 barcode with content 1234567

CODE128 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CODE128('1234567')

with open('CODE128.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

DPLEIT

Example DPLEIT barcode with content 1234567

DPLEIT barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.DPLEIT('1234567')

with open('DPLEIT.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

DPIDENT

Example DPIDENT barcode with content 1234567

DPIDENT barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.DPIDENT('1234567')

with open('DPIDENT.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

CODE16K

Example CODE16K barcode with content 1234567

CODE16K barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CODE16K('1234567')

with open('CODE16K.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

CODE49

Example CODE49 barcode with content 1234567

CODE49 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CODE49('1234567')

with open('CODE49.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

CODE93

Example CODE93 barcode with content 1234567

CODE93 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CODE93('1234567')

with open('CODE93.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

FLAT

Example FLAT barcode with content 1234567

FLAT barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.FLAT('1234567')

with open('FLAT.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RSS14

Example RSS14 barcode with content 1234567

RSS14 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RSS14('1234567')

with open('RSS14.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RSS_LTD

Example RSS_LTD barcode with content 1234567

RSS_LTD barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RSS_LTD('1234567')

with open('RSS_LTD.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RSS_EXP

Example RSS_EXP barcode with content [01]12345678901234

RSS_EXP barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RSS_EXP('[01]12345678901234')

with open('RSS_EXP.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

TELEPEN

Example TELEPEN barcode with content 1234567

TELEPEN barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.TELEPEN('1234567')

with open('TELEPEN.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

UPCA

Example UPCA barcode with content 1234567

UPCA barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.UPCA('1234567')

with open('UPCA.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

UPCA_CHK

Example UPCA_CHK barcode with content 123456789012

UPCA_CHK barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.UPCA_CHK('123456789012')

with open('UPCA_CHK.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

UPCE

Example UPCE barcode with content 001238

UPCE barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.UPCE('001238')

with open('UPCE.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

UPCE_CHK

Example UPCE_CHK barcode with content 04252614

UPCE_CHK barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.UPCE_CHK('04252614')

with open('UPCE_CHK.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

POSTNET

Example POSTNET barcode with content 555551237

POSTNET barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.POSTNET('555551237')

with open('POSTNET.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

MSI_PLESSEY

Example MSI_PLESSEY barcode with content 1234567

MSI_PLESSEY barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.MSI_PLESSEY('1234567')

with open('MSI_PLESSEY.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

FIM

Example FIM barcode with content A

FIM barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.FIM('A')

with open('FIM.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

LOGMARS

Example LOGMARS barcode with content 1234567

LOGMARS barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.LOGMARS('1234567')

with open('LOGMARS.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

PHARMA

Example PHARMA barcode with content 12345

PHARMA barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.PHARMA('12345')

with open('PHARMA.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

PZN

Example PZN barcode with content 1234567

PZN barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.PZN('1234567')

with open('PZN.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

PHARMA_TWO

Example PHARMA_TWO barcode with content 1234567

PHARMA_TWO barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.PHARMA_TWO('1234567')

with open('PHARMA_TWO.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

PDF417

Example PDF417 barcode with content Hello World

PDF417 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.PDF417('Hello World')

with open('PDF417.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

PDF417TRUNC

Example PDF417TRUNC barcode with content 1234567

PDF417TRUNC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.PDF417TRUNC('1234567')

with open('PDF417TRUNC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

MAXICODE

Example MAXICODE barcode with content 1234567

MAXICODE barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.MAXICODE('1234567')

with open('MAXICODE.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

QRCODE

Example QRCODE barcode with content 1234567

QRCODE barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.QRCODE('1234567')

with open('QRCODE.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

CODE128B

Example CODE128B barcode with content 1234567

CODE128B barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CODE128B('1234567')

with open('CODE128B.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

AUSPOST

Example AUSPOST barcode with content 12345678

AUSPOST barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.AUSPOST('12345678')

with open('AUSPOST.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

AUSREPLY

Example AUSREPLY barcode with content 1234567

AUSREPLY barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.AUSREPLY('1234567')

with open('AUSREPLY.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

AUSROUTE

Example AUSROUTE barcode with content 1234567

AUSROUTE barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.AUSROUTE('1234567')

with open('AUSROUTE.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

AUSREDIRECT

Example AUSREDIRECT barcode with content 1234567

AUSREDIRECT barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.AUSREDIRECT('1234567')

with open('AUSREDIRECT.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

ISBNX

Example ISBNX barcode with content 9781491946008

ISBNX barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.ISBNX('9781491946008')

with open('ISBNX.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RM4SCC

Example RM4SCC barcode with content 1234567

RM4SCC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RM4SCC('1234567')

with open('RM4SCC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

DATAMATRIX

Example DATAMATRIX barcode with content 1234567

DATAMATRIX barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.DATAMATRIX('1234567')

with open('DATAMATRIX.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

EAN14

Example EAN14 barcode with content 1234567

EAN14 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.EAN14('1234567')

with open('EAN14.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

VIN

Example VIN barcode with content 123456789012

VIN barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.VIN('123456789012')

with open('VIN.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

CODABLOCKF

Example CODABLOCKF barcode with content 1234567

CODABLOCKF barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CODABLOCKF('1234567')

with open('CODABLOCKF.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

NVE18

Example NVE18 barcode with content 1234567

NVE18 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.NVE18('1234567')

with open('NVE18.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

JAPANPOST

Example JAPANPOST barcode with content 1234567

JAPANPOST barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.JAPANPOST('1234567')

with open('JAPANPOST.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

KOREAPOST

Example KOREAPOST barcode with content 123456

KOREAPOST barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.KOREAPOST('123456')

with open('KOREAPOST.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RSS14STACK

Example RSS14STACK barcode with content 1234567

RSS14STACK barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RSS14STACK('1234567')

with open('RSS14STACK.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RSS14STACK_OMNI

Example RSS14STACK_OMNI barcode with content 1234567

RSS14STACK_OMNI barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RSS14STACK_OMNI('1234567')

with open('RSS14STACK_OMNI.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RSS_EXPSTACK

Example RSS_EXPSTACK barcode with content [01]12345678901234

RSS_EXPSTACK barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RSS_EXPSTACK('[01]12345678901234')

with open('RSS_EXPSTACK.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

PLANET

Example PLANET barcode with content 1234567890123

PLANET barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.PLANET('1234567890123')

with open('PLANET.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

MICROPDF417

Example MICROPDF417 barcode with content 1234567

MICROPDF417 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.MICROPDF417('1234567')

with open('MICROPDF417.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

ONECODE

Example ONECODE barcode with content 12345678901234567890

ONECODE barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.ONECODE('12345678901234567890')

with open('ONECODE.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

PLESSEY

Example PLESSEY barcode with content 1234567

PLESSEY barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.PLESSEY('1234567')

with open('PLESSEY.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

TELEPEN_NUM

Example TELEPEN_NUM barcode with content 12345678

TELEPEN_NUM barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.TELEPEN_NUM('12345678')

with open('TELEPEN_NUM.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

ITF14

Example ITF14 barcode with content 12345678

ITF14 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.ITF14('12345678')

with open('ITF14.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

KIX

Example KIX barcode with content 12345678

KIX barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.KIX('12345678')

with open('KIX.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

AZTEC

Example AZTEC barcode with content 12345678

AZTEC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.AZTEC('12345678')

with open('AZTEC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

DAFT

Example DAFT barcode with content A

DAFT barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.DAFT('A')

with open('DAFT.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

MICROQR

Example MICROQR barcode with content 12345678

MICROQR barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.MICROQR('12345678')

with open('MICROQR.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

HIBC_128

Example HIBC_128 barcode with content 123456789

HIBC_128 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.HIBC_128('123456789')

with open('HIBC_128.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

HIBC_39

Example HIBC_39 barcode with content 123456789

HIBC_39 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.HIBC_39('123456789')

with open('HIBC_39.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

HIBC_DM

Example HIBC_DM barcode with content 123456789

HIBC_DM barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.HIBC_DM('123456789')

with open('HIBC_DM.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

HIBC_QR

Example HIBC_QR barcode with content 123456789

HIBC_QR barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.HIBC_QR('123456789')

with open('HIBC_QR.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

HIBC_PDF

Example HIBC_PDF barcode with content 123456789

HIBC_PDF barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.HIBC_PDF('123456789')

with open('HIBC_PDF.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

HIBC_MICPDF

Example HIBC_MICPDF barcode with content 123456789

HIBC_MICPDF barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.HIBC_MICPDF('123456789')

with open('HIBC_MICPDF.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

HIBC_BLOCKF

Example HIBC_BLOCKF barcode with content 123456789

HIBC_BLOCKF barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.HIBC_BLOCKF('123456789')

with open('HIBC_BLOCKF.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

HIBC_AZTEC

Example HIBC_AZTEC barcode with content 123456789

HIBC_AZTEC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.HIBC_AZTEC('123456789')

with open('HIBC_AZTEC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

DOTCODE

Example DOTCODE barcode with content 1234567890

DOTCODE barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.DOTCODE('1234567890')

with open('DOTCODE.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

HANXIN

Example HANXIN barcode with content 1234567890

HANXIN barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.HANXIN('1234567890')

with open('HANXIN.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

MAILMARK

Example MAILMARK barcode with content 41038422416563762EF61AH8T

MAILMARK barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.MAILMARK('41038422416563762EF61AH8T')

with open('MAILMARK.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

AZRUNE

Example AZRUNE barcode with content 1

AZRUNE barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.AZRUNE('1')

with open('AZRUNE.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

CODE32

Example CODE32 barcode with content 32

CODE32 barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CODE32('32')

with open('CODE32.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

EANX_CC

Example EANX_CC barcode with content [21]A12345678 and primary 12345678+123

EANX_CC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.EANX_CC('[21]A12345678', primary='12345678+123')

with open('EANX_CC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RSS14_CC

Example RSS14_CC barcode with content [21]A12345678 and primary 12345678

RSS14_CC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RSS14_CC('[21]A12345678', primary='12345678')

with open('RSS14_CC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RSS_LTD_CC

Example RSS_LTD_CC barcode with content [21]A12345678 and primary 12345678

RSS_LTD_CC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RSS_LTD_CC('[21]A12345678', primary='12345678')

with open('RSS_LTD_CC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

UPCA_CC

Example UPCA_CC barcode with content [21]A12345678 and primary 12345678

UPCA_CC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.UPCA_CC('[21]A12345678', primary='12345678')

with open('UPCA_CC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

UPCE_CC

Example UPCE_CC barcode with content [21]A04252614 and primary 0425261

UPCE_CC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.UPCE_CC('[21]A04252614', primary='0425261')

with open('UPCE_CC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RSS14STACK_CC

Example RSS14STACK_CC barcode with content [21]A12345678 and primary 12345678

RSS14STACK_CC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RSS14STACK_CC('[21]A12345678', primary='12345678')

with open('RSS14STACK_CC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RSS14_OMNI_CC

Example RSS14_OMNI_CC barcode with content [21]A12345678 and primary 12345678

RSS14_OMNI_CC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RSS14_OMNI_CC('[21]A12345678', primary='12345678')

with open('RSS14_OMNI_CC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RSS_EXPSTACK_CC

Example RSS_EXPSTACK_CC barcode with content [21]A12345678901234 and primary [01]12345678901234

RSS_EXPSTACK_CC barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RSS_EXPSTACK_CC('[21]A12345678901234', primary='[01]12345678901234')

with open('RSS_EXPSTACK_CC.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

CHANNEL

Example CHANNEL barcode with content 123

CHANNEL barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CHANNEL('123')

with open('CHANNEL.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

CODEONE

Example CODEONE barcode with content [21]A12345678 and primary 12345678

CODEONE barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.CODEONE('[21]A12345678', primary='12345678')

with open('CODEONE.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

GRIDMATRIX

Example GRIDMATRIX barcode with content [21]A12345678 and primary 12345678

GRIDMATRIX barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.GRIDMATRIX('[21]A12345678', primary='12345678')

with open('GRIDMATRIX.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

UPNQR

Example UPNQR barcode with content [21]A12345678 and primary 12345678

UPNQR barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.UPNQR('[21]A12345678', primary='12345678')

with open('UPNQR.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())

RMQR

Example RMQR barcode with content [21]A12345678 and primary 12345678

RMQR barcode example

Code example:

import pyzint

symbol = pyzint.Barcode.RMQR('[21]A12345678', primary='12345678')

with open('RMQR.bmp', "wb") as bmp:
    bmp.write(symbol.render_bmp())