%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/reportlab/graphics/barcode/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/reportlab/graphics/barcode/__pycache__/usps.cpython-312.pyc |
� ��d� � � � d dl mZ d dlmZ d dlmZmZ d dl m Z ddddd �Zd ddd dddddddd�Z G d� de� Z G d� de� Zy)� )�inch)�Barcode)�digits� whitespace)�asNativez || | ||z | || || |z || | | ||z ||| | |||)�A�B�C�Dz...||z..|.|z..||.z.|..|z.|.|.z.||..z|...|z|..|.z|.|..z||...�|)�1�2�3�4�5�6�7�8�9�0�Sc �l � e Zd ZdZedz Zedz Zedz Zedz Zedz Z dZ dd�Zd � Zd � Z d� Zd� Zd � Zy)�FIMa� FIM (Facing ID Marks) encode only one letter. There are currently four defined: A Courtesy reply mail with pre-printed POSTNET B Business reply mail without pre-printed POSTNET C Business reply mail with pre-printed POSTNET D OCR Readable mail without pre-printed POSTNET Options that may be passed to constructor: value (single character string from the set A - D. required.): The value to encode. quiet (bool, default 0): Whether to include quiet zones in the symbol. The following may also be passed, but doing so will generate nonstandard symbols which should not be used. This is mainly documented here to show the defaults: barHeight (float, default 5/8 inch): Height of the code. This might legitimately be overriden to make a taller symbol that will 'bleed' off the edge of the paper, leaving 5/8 inch remaining. lquiet (float, default 1/4 inch): Quiet zone size to left of code, if quiet is true. Default is the greater of .25 inch, or .15 times the symbol's length. rquiet (float, default 15/32 inch): Quiet zone size to right left of code, if quiet is true. Sources of information on FIM: USPS Publication 25, A Guide to Business Mail Preparation http://new.usps.com/cpim/ftp/pubs/pub25.pdf g �?g �?g �?g �?g �?r c �� � t |t � rt |� n t |� }|j � D ] \ }}t | ||� � t j | |� y �N�� isinstance�int�strr �items�setattrr �__init__��self�value�args�k�vs �A/usr/lib/python3/dist-packages/reportlab/graphics/barcode/usps.pyr"