postscriptbarcode/0002755002342100234210000000000011035466325016140 5ustar terryburtoncoukpsaclnpostscriptbarcode/README0000644000000000234210000000427110762544071014511 0ustar rootpsaclnBarcode Writer in Pure PostScript http://www.terryburton.co.uk/barcodewriter/ Copyright (c) 2008 Terry Burton - tez@terryburton.co.uk Description: Barcode Writer in Pure PostScript facilitates the printing of all major barcode symbologies entirely within PostScript. Since this resource is written in PostScript and interpretted within the virtual machine of a printer it is compatible with virtually any operating system and hardware platform. It makes including any barcode within a PostScript document as simple as inserting the following directive: 100 150 moveto (1-86074-271) (includetext height=0.9) isbn barcode Files: barcode.ps This file is the main PostScript resource that should be included within the prologue of any PostScript document in which you would like to produce barcodes. Alternatively this resource can be loaded into the virtual machine of a PostScript printer until hardware reset, removing the need to include the resource in each document. To do this uncomment the relevant line near top of the file and send it to the printer. sample.ps This file contains an example invocation of each of the encoders to produce a page containing an instance of each barcode symbology. barcode_with_sample.ps The file contains both the resource and sample produced by concatinating barcode.ps and sample.ps. It is suitable for viewing in a PostScript viewer such as gv or GSview, or sending directly to the printer with a command like: lpr barcode_with_sample.ps (Unix) copy /B barcode_with_sample.ps LPT1: (Windows) Support: The project homepage which contains the latest downloads and documentation is at http://www.terryburton.co.uk/barcodewriter/ The project mailing list archive is at http://groups.google.co.uk/group/postscriptbarcode There is an online demonstration of the project available via the web-based front-end at http://www.terryburton.co.uk/barcodewriter/generator/ License: Anybody is free to use and develop this code as they see fit, under the terms of the permissive MIT/X-Consortium License. As such the author takes no liability for its use or misuse. If you make any improvements please send them to the mailing list so that the mainline code may be improved. postscriptbarcode/LICENSE0000644000000000234210000000220710762544071014633 0ustar rootpsaclnBarcode Writer in Pure PostScript http://www.terryburton.co.uk/barcodewriter/ Copyright (c) 2008 Terry Burton - tez@terryburton.co.uk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. postscriptbarcode/barcode.ps0000644000000000234210000064216411035466325015604 0ustar rootpsacln%!PS-Adobe-2.0 %%Creator: Terry Burton %%DocumentPaperSizes: a4 %%EndComments %%EndProlog % Barcode Writer in Pure PostScript - Version 2008-07-10 % http://www.terryburton.co.uk/barcodewriter/ % % Copyright (c) 2008 Terry Burton - tez@terryburton.co.uk % % Permission is hereby granted, free of charge, to any % person obtaining a copy of this software and associated % documentation files (the "Software"), to deal in the % Software without restriction, including without % limitation the rights to use, copy, modify, merge, % publish, distribute, sublicense, and/or sell copies of % the Software, and to permit persons to whom the Software % is furnished to do so, subject to the following % conditions: % % The above copyright notice and this permission notice % shall be included in all copies or substantial portions % of the Software. % % THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY % KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO % THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A % PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL % THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, % DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF % CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN % CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS % IN THE SOFTWARE. % Uncomment this next line to allow these procedure definitions to % remain resident within a printer's PostScript virtual machine % so that the barcode generation capability persists between jobs. % serverdict begin 0 exitserver % --BEGIN TEMPLATE-- % --BEGIN ENCODER ean13-- % --DESC: EAN-13 % --EXAM: 977147396801 % --EXOP: includetext guardwhitespace % --RNDR: renlinear /ean13 { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /barlen barcode length def % Length of the code % Add checksum digit to barcode if length is even barlen 2 mod 0 eq { /pad barlen 1 add string def % Create pad one bigger than barcode /checksum 0 def 0 1 barlen 1 sub { /i exch def /barchar barcode i get 48 sub def i 2 mod 0 eq { /checksum barchar checksum add def } { /checksum barchar 3 mul checksum add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def pad 0 barcode putinterval % Add barcode to the start of the pad pad barlen checksum 48 add put % Put ascii for checksum at end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (11111) (111) ] def % Create a string of the available characters /barchars (0123456789) def % Digits to mirror on left side /mirrormaps [ (000000) (001011) (001101) (001110) (010011) (011001) (011100) (010101) (010110) (011010) ] def /sbs barlen 1 sub 4 mul 11 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval % First digit - determine mirrormap by this and show before guard bars /mirrormap mirrormaps barcode 0 get 48 sub get def txt 0 [barcode 0 1 getinterval -10 textyoffset textfont textsize] put % Left side - performs mirroring 1 1 6 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i 1 sub get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 1 sub 4 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 7 mul 4 add textyoffset textfont textsize] put } for % Put the middle character sbs 7 1 sub 4 mul 3 add encs 11 get putinterval % Right side 7 1 12 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 1 sub 4 mul 8 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 7 mul 8 add textyoffset textfont textsize] put } for % Put the end character sbs barlen 1 sub 4 mul 8 add encs 12 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [height height 12{height .075 sub}repeat height height 12{height .075 sub}repeat height height] put retval (bbs) [0 0 12{.075}repeat 0 0 12{.075}repeat 0 0] put retval (txt) txt put } { retval (bhs) [30{height}repeat] put retval (bbs) [30{0}repeat] put } ifelse retval (opt) useropts put retval (guardrightpos) 10 put retval (borderbottom) 5 put retval end } bind def /ean13 load 0 1 dict put % --END ENCODER ean13-- % --BEGIN ENCODER ean8-- % --DESC: EAN-8 % --EXAM: 01335583 % --EXOP: includetext guardwhitespace height=0.5 % --RNDR: renlinear /ean8 { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (11111) (111) ] def % Create a string of the available characters /barchars (0123456789) def /barlen barcode length def % Length of the code /sbs barlen 4 mul 11 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval % Left side 0 1 3 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 7 mul 4 add textyoffset textfont textsize] put } for % Put the middle character sbs 4 4 mul 3 add encs 11 get putinterval % Right side 4 1 7 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 8 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 7 mul 8 add textyoffset textfont textsize] put } for % Put the end character sbs barlen 4 mul 8 add encs 12 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [height height 8{height .075 sub}repeat height height 8{height .075 sub}repeat height height] put retval (bbs) [0 0 8{.075}repeat 0 0 8{.075}repeat 0 0] put retval (txt) txt put } { retval (bhs) [22{height}repeat] put retval (bbs) [22{0}repeat] put } ifelse retval (opt) useropts put retval (guardleftpos) 10 put retval (guardrightpos) 10 put retval (borderbottom) 5 put retval end } bind def /ean8 load 0 1 dict put % --END ENCODER ean8-- % --BEGIN ENCODER upca-- % --DESC: UPC-A % --EXAM: 78858101497 % --EXOP: includetext % --RNDR: renlinear /upca { 0 begin /options exch def /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /barlen barcode length def % Length of the code % Add checksum digit to barcode if length is odd barlen 2 mod 0 ne { /pad barlen 1 add string def % Create pad one bigger than barcode /checksum 0 def 0 1 barlen 1 sub { /i exch def /barchar barcode i get 48 sub def i 2 mod 0 ne { /checksum checksum barchar add def } { /checksum checksum barchar 3 mul add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def pad 0 barcode putinterval % Add barcode to the start of the pad pad barlen checksum 48 add put % Put ascii for checksum at end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (11111) (111) ] def % Create a string of the available characters /barchars (0123456789) def /sbs barlen 4 mul 11 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval % Left side 0 1 5 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 3 add enc putinterval % Put encoded digit into sbs i 0 eq { % First digit is before the guard bars txt 0 [barcode 0 1 getinterval -7 textyoffset textfont textsize 2 sub] put } { txt i [barcode i 1 getinterval i 7 mul 4 add textyoffset textfont textsize] put } ifelse } for % Put the middle character sbs 6 4 mul 3 add encs 11 get putinterval % Right side 6 1 11 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 8 add enc putinterval % Put encoded digit into sbs i 11 eq { % Last digit is after guard bars txt 11 [barcode 11 1 getinterval 96 textyoffset textfont textsize 2 sub] put } { txt i [barcode i 1 getinterval i 7 mul 8 add textyoffset textfont textsize] put } ifelse } for % Put the end character sbs barlen 4 mul 8 add encs 12 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [4{height}repeat 10{height .075 sub}repeat height height 10{height .075 sub}repeat 5{height}repeat] put retval (bbs) [0 0 0 0 10{.075}repeat 0 0 10{.075}repeat 0 0 0 0 0] put retval (txt) txt put } { retval (bhs) [31{height}repeat] put retval (bbs) [31{0}repeat] put } ifelse retval (opt) useropts put retval (borderbottom) 5 put retval end } bind def /upca load 0 1 dict put % --END ENCODER upca-- % --BEGIN ENCODER upce-- % --DESC: UPC-E % --EXAM: 0123456 % --EXOP: includetext height=0.4 % --RNDR: renlinear /upce { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /barlen barcode length def % Length of the code % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (1111111) ] def % Create a string of the available characters /barchars (0123456789) def /mirrormaps [ (000111) (001011) (001101) (001110) (010011) (011001) (011100) (010101) (010110) (011010) ] def % Add checksum digit to barcode if length is odd barlen 2 mod 0 ne { % Derive the equivalent UPC-A for its checksum /upcacode (00000000000) 11 string copy def barcode 6 get 48 sub 2 le { upcacode 1 barcode 1 2 getinterval putinterval upcacode 3 barcode 6 1 getinterval putinterval upcacode 8 barcode 3 3 getinterval putinterval } if barcode 6 get 48 sub 3 eq { upcacode 1 barcode 1 3 getinterval putinterval upcacode 9 barcode 4 2 getinterval putinterval } if barcode 6 get 48 sub 4 eq { upcacode 1 barcode 1 4 getinterval putinterval upcacode 10 barcode 5 1 getinterval putinterval } if barcode 6 get 48 sub 5 ge { upcacode 1 barcode 1 5 getinterval putinterval upcacode 10 barcode 6 1 getinterval putinterval } if /checksum 0 def 0 1 10 { /i exch def /barchar upcacode i get 48 sub def i 2 mod 0 ne { /checksum checksum barchar add def } { /checksum checksum barchar 3 mul add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def /pad barlen 1 add string def % Create pad one bigger than barcode pad 0 barcode putinterval % Add barcode to the start of the pad pad barlen checksum 48 add put % Put ascii for checksum at end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if /txt barlen array def txt 0 [barcode 0 1 getinterval -7 textyoffset textfont textsize 2 sub] put % Determine the mirror map based on checksum /mirrormap mirrormaps barcode barlen 1 sub get 48 sub get def % Invert the mirrormap if we are using a non-zero number system barcode 0 get 48 eq { /invt mirrormap length string def 0 1 mirrormap length 1 sub { /i exch def mirrormap i get 48 eq { invt i 49 put } { invt i 48 put } ifelse } for /mirrormap invt def } if /sbs barlen 2 sub 4 mul 10 add string def % Put the start character sbs 0 encs 10 get putinterval 1 1 6 { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i 1 sub get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 1 sub 4 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 7 mul 4 add textyoffset textfont textsize] put } for txt 7 [barcode 7 1 getinterval 6 7 mul 11 add textyoffset textfont textsize 2 sub] put % Put the end character sbs barlen 2 sub 4 mul 3 add encs 11 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [height height 12{height .075 sub}repeat height height height] put retval (bbs) [0 0 12{.075}repeat 0 0 0] put retval (txt) txt put } { retval (bhs) [17{height}repeat] put retval (bbs) [17{0}repeat] put } ifelse retval (opt) useropts put retval (borderbottom) 5 put retval end } bind def /upce load 0 1 dict put % --END ENCODER upce-- % --BEGIN ENCODER ean5-- % --DESC: EAN-5 (5 digit addon) % --EXAM: 90200 % --EXOP: includetext guardwhitespace % --RNDR: renlinear /ean5 { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset (unset) def /height 0.7 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /height height cvr def textyoffset (unset) eq { /textyoffset height 72 mul 1 add def } { /textyoffset textyoffset cvr def } ifelse /barlen barcode length def % Length of the code % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (112) (11) ] def % Create a string of the available characters /barchars (0123456789) def % Determine the mirror map based on mod 10 checksum /mirrormaps [ (11000) (10100) (10010) (10001) (01100) (00110) (00011) (01010) (01001) (00101) ] def /checksum 0 def 0 1 4 { /i exch def /barchar barcode i get 48 sub def i 2 mod 0 eq { /checksum barchar 3 mul checksum add def } { /checksum barchar 9 mul checksum add def } ifelse } for /checksum checksum 10 mod def /mirrormap mirrormaps checksum get def /sbs 31 string def /txt 5 array def 0 1 4 { /i exch def % Prefix with either a start character or separator character i 0 eq { sbs 0 encs 10 get putinterval } { sbs i 1 sub 6 mul 7 add encs 11 get putinterval } ifelse % Lookup the encoding for the barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 6 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 9 mul 13 add textyoffset textfont textsize] put } for % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [16{height}repeat] put retval (bbs) [16{0}repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval (guardrightpos) 10 put retval (guardrightypos) textyoffset 4 add put retval (bordertop) 10 put retval end } bind def /ean5 load 0 1 dict put % --END ENCODER ean5-- % --BEGIN ENCODER ean2-- % --DESC: EAN-2 (2 digit addon) % --EXAM: 05 % --EXOP: includetext guardwhitespace % --RNDR: renlinear /ean2 { 0 begin /options exch def % We are given an options string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset (unset) def /height 0.7 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /height height cvr def textyoffset (unset) eq { /textyoffset height 72 mul 1 add def } { /textyoffset textyoffset cvr def } ifelse /barlen barcode length def % Length of the code % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (112) (11) ] def % Create a string of the available characters /barchars (0123456789) def % Determine the mirror map based on mod 4 checksum /mirrormap [(00) (01) (10) (11)] barcode 0 2 getinterval cvi 4 mod get def /sbs 13 string def /txt 2 array def 0 1 1 { /i exch def % Prefix with either a start character or separator character i 0 eq { sbs 0 encs 10 get putinterval } { sbs i 1 sub 6 mul 7 add encs 11 get putinterval } ifelse % Lookup the encoding for the barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 6 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 9 mul 13 add textyoffset textfont textsize] put } for % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [12{height}repeat] put retval (bbs) [12{0}repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval (guardrightpos) 10 put retval (guardrightypos) textyoffset 4 add put retval (bordertop) 10 put retval end } bind def /ean2 load 0 1 dict put % --END ENCODER ean2-- % --BEGIN ENCODER isbn-- % --REQUIRES ean13-- % --DESC: ISBN % --EXAM: 978-1-56592-479 % --EXOP: includetext guardwhitespace % --RNDR: renlinear /isbn { 0 begin /options exch def % We are given an options string /useropts options def /isbntxt exch def % We are given the isbn text with dashes /includetext false def % Enable/disable ISBN text /isbnfont /Courier def /isbnsize 9 def /isbnpos (unset) def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /isbnfont isbnfont cvlit def /isbnsize isbnsize cvr def /height height cvr def isbnpos (unset) eq { /isbnpos height 72 mul 3 add def } { /isbnpos isbnpos cvr def } ifelse % Read the digits from isbntxt and calculate checksums /isbn 13 string def /checksum10 0 def /checksum13 0 def /i 0 def /n 0 def { % loop /isbnchar isbntxt i get 48 sub def isbnchar -3 ne { % Ignore dashes isbn n isbnchar 48 add put /checksum10 checksum10 10 n sub isbnchar mul add def n 2 mod 0 eq { /checksum13 isbnchar checksum13 add def } { /checksum13 isbnchar 3 mul checksum13 add def } ifelse /n n 1 add def } if /i i 1 add def i isbntxt length eq {exit} if } loop % Add the ISBN header to the isbntxt n 9 eq n 10 eq or { /checksum 11 checksum10 11 mod sub 11 mod def /isbn isbn 0 9 getinterval def /pad 18 string def } { /checksum 10 checksum13 10 mod sub 10 mod def /isbn isbn 0 12 getinterval def /pad 22 string def } ifelse pad 0 (ISBN ) putinterval pad 5 isbntxt putinterval % Add isbntxt to the pad % Add checksum digit if isbntxt length is 11 or 15 isbntxt length 11 eq isbntxt length 12 eq or isbntxt length 15 eq or isbntxt length 16 eq or { pad pad length 2 sub 45 put % Put a dash checksum 10 eq { pad pad length 1 sub checksum 78 add put % Check digit for 10 is X } { pad pad length 1 sub checksum 48 add put % Put check digit } ifelse } if /isbntxt pad def % isbntxt=pad % Convert ISBN digits to EAN-13 /barcode 12 string def isbn length 9 eq { barcode 0 (978) putinterval barcode 3 isbn putinterval } { barcode 0 isbn putinterval } ifelse % Get the result of encoding with ean13 /args barcode options ean13 def % Add the ISBN text includetext { isbn length 9 eq { /isbnxpos -1 def } { /isbnxpos -12 def } ifelse args (txt) known { /txt args (txt) get def /newtxt txt length 1 add array def newtxt 0 txt putinterval newtxt newtxt length 1 sub [isbntxt isbnxpos isbnpos isbnfont isbnsize] put args (txt) newtxt put } { args (txt) [ [isbntxt isbnxpos isbnpos isbnfont isbnsize] ] put } ifelse } if args (opt) useropts put args end } bind def /isbn load 0 1 dict put % --END ENCODER isbn-- % --BEGIN ENCODER code128-- % --DESC: Code 128 % --EXAM: ^104^102Count^0990123456789^101! % --EXOP: includetext % --RNDR: renlinear /code128 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (212222) (222122) (222221) (121223) (121322) (131222) (122213) (122312) (132212) (221213) (221312) (231212) (112232) (122132) (122231) (113222) (123122) (123221) (223211) (221132) (221231) (213212) (223112) (312131) (311222) (321122) (321221) (312212) (322112) (322211) (212123) (212321) (232121) (111323) (131123) (131321) (112313) (132113) (132311) (211313) (231113) (231311) (112133) (112331) (132131) (113123) (113321) (133121) (313121) (211331) (231131) (213113) (213311) (213131) (311123) (311321) (331121) (312113) (312311) (332111) (314111) (221411) (431111) (111224) (111422) (121124) (121421) (141122) (141221) (112214) (112412) (122114) (122411) (142112) (142211) (241211) (221114) (413111) (241112) (134111) (111242) (121142) (121241) (114212) (124112) (124211) (411212) (421112) (421211) (212141) (214121) (412121) (111143) (111341) (131141) (114113) (114311) (411113) (411311) (113141) (114131) (311141) (411131) (211412) (211214) (211232) (2331112) ] def % Create a string of the available characters for alphabets A and B /barchars ( !"#$%&'\(\)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~) def /barlen barcode length def % Length of the code /sbs barlen 6 mul string def % sbs is 6 times length of barcode /txt barlen array def /mode -1 def % A=0, B=1, C=2 /checksum barcode 1 3 getinterval cvi def % Initialise the checksum /i 0 def /j 0 def { % loop i barlen eq {exit} if barcode i 1 getinterval (^) eq { % indx is given by the next three characters /indx barcode i 1 add 3 getinterval cvi def txt j [( ) j 11 mul textyoffset textfont textsize] put /i i 4 add def } { % indx depends on the mode mode 2 eq { /indx barcode i 2 getinterval cvi def txt j [barcode i 2 getinterval j 11 mul textyoffset textfont textsize] put /i i 2 add def } { barchars barcode i 1 getinterval search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post txt j [barchars indx 1 getinterval j 11 mul textyoffset textfont textsize] put /i i 1 add def } ifelse } ifelse /enc encs indx get def % Get the indxth encoding sbs j 6 mul enc putinterval % Put encoded digit into sbs % Update the mode indx 101 eq indx 103 eq or {/mode 0 def} if indx 100 eq indx 104 eq or {/mode 1 def} if indx 99 eq indx 105 eq or {/mode 2 def} if /checksum indx j mul checksum add def % checksum+=indx*j /j j 1 add def } loop % Put the checksum character /checksum checksum 103 mod def sbs j 6 mul encs checksum get putinterval % Put the end character sbs j 6 mul 6 add encs 106 get putinterval % Shrink sbs and txt to fit exactly /sbs sbs 0 j 6 mul 13 add getinterval def /txt txt 0 j getinterval def % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code128 load 0 1 dict put % --END ENCODER code128-- % --BEGIN ENCODER code39-- % --DESC: Code 39 % --EXAM: THIS IS CODE 39 % --EXOP: includetext includecheck includecheckintext % --RNDR: renlinear /code39 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (1113313111) (3113111131) (1133111131) (3133111111) (1113311131) (3113311111) (1133311111) (1113113131) (3113113111) (1133113111) (3111131131) (1131131131) (3131131111) (1111331131) (3111331111) (1131331111) (1111133131) (3111133111) (1131133111) (1111333111) (3111111331) (1131111331) (3131111311) (1111311331) (3111311311) (1131311311) (1111113331) (3111113311) (1131113311) (1111313311) (3311111131) (1331111131) (3331111111) (1311311131) (3311311111) (1331311111) (1311113131) (3311113111) (1331113111) (1313131111) (1313111311) (1311131311) (1113131311) (1311313111) ] def % Create a string of the available characters /barchars (0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%*) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 10 mul 30 add string def /txt barlen 3 add array def } { /sbs barlen 10 mul 20 add string def /txt barlen 2 add array def } ifelse /checksum 0 def % Put the start character sbs 0 encs 43 get putinterval txt 0 [(*) 0 textyoffset textfont textsize] put 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 10 mul 10 add enc putinterval % Put encoded digit into sbs txt i 1 add [barcode i 1 getinterval i 1 add 16 mul textyoffset textfont textsize] put /checksum checksum indx add def } for % Put the checksum and end characters includecheck { /checksum checksum 43 mod def sbs barlen 10 mul 10 add encs checksum get putinterval includecheckintext { txt barlen 1 add [barchars checksum 1 getinterval barlen 1 add 16 mul textyoffset textfont textsize] put } { txt barlen 1 add [() barlen 1 add 16 mul textyoffset textfont textsize] put } ifelse sbs barlen 10 mul 20 add encs 43 get putinterval txt barlen 2 add [(*) barlen 2 add 16 mul textyoffset textfont textsize] put } { sbs barlen 10 mul 10 add encs 43 get putinterval txt barlen 1 add [(*) barlen 1 add 16 mul textyoffset textfont textsize] put } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code39 load 0 1 dict put % --END ENCODER code39-- % --BEGIN ENCODER code93-- % --DESC: Code 93 % --EXAM: THIS IS CODE 93 % --EXOP: includetext includecheck % --RNDR: renlinear /code93 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /encs [ (131112) (111213) (111312) (111411) (121113) (121212) (121311) (111114) (131211) (141111) (211113) (211212) (211311) (221112) (221211) (231111) (112113) (112212) (112311) (122112) (132111) (111123) (111222) (111321) (121122) (131121) (212112) (212211) (211122) (211221) (221121) (222111) (112122) (112221) (122121) (123111) (121131) (311112) (311211) (321111) (112131) (113121) (211131) (121221) (312111) (311121) (122211) (111141) (1111411) ] def % Create a string of the available characters /barchars (0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%) def /barlen barcode length def % Length of the code barcode { (^) search false eq {pop exit} if pop pop /barlen barlen 3 sub def } loop includecheck { /sbs barlen 6 mul 25 add string def } { /sbs barlen 6 mul 13 add string def } ifelse /txt barlen array def % Put the start character sbs 0 encs 47 get putinterval /checksum1 0 def /checksum2 0 def /i 0 def /j 0 def { % loop j barlen eq {exit} if barcode i 1 getinterval (^) eq { % indx is given by the next three characters /indx barcode i 1 add 3 getinterval cvi def txt j [( ) j 9 mul 9 add textyoffset textfont textsize] put /i i 4 add def } { barchars barcode i 1 getinterval search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post txt j [barchars indx 1 getinterval j 9 mul 9 add textyoffset textfont textsize] put /i i 1 add def } ifelse /enc encs indx get def % Get the indxth encoding sbs j 6 mul 6 add enc putinterval % Put encoded digit into sbs /checksum1 checksum1 barlen j sub 1 sub 20 mod 1 add indx mul add def /checksum2 checksum2 barlen j sub 15 mod 1 add indx mul add def /j j 1 add def } loop includecheck { % Put the first checksum character /checksum1 checksum1 47 mod def /checksum2 checksum2 checksum1 add 47 mod def sbs j 6 mul 6 add encs checksum1 get putinterval sbs j 6 mul 12 add encs checksum2 get putinterval % Put the end character sbs j 6 mul 18 add encs 48 get putinterval } { % Put the end character sbs j 6 mul 6 add encs 48 get putinterval } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code93 load 0 1 dict put % --END ENCODER code93-- % --BEGIN ENCODER interleaved2of5-- % --DESC: Interleaved 2 of 5 (ITF) % --EXAM: 24012345678905 % --EXOP: showborder borderwidth=4 borderleft=15 borderright=15 height=0.5 includecheck includetext includecheckintext textyoffset=-10 % --RNDR: renlinear /interleaved2of5 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /barlen barcode length def % Length of the code % Prefix 0 to barcode if length is even and including checkdigit % or length is odd and not including checkdigit barlen 2 mod 0 eq includecheck and % even & includecheck barlen 2 mod 0 ne includecheck not and or { % odd & !includecheck /pad barlen 1 add string def % Create pad one bigger than barcode pad 0 48 put % Put ascii 0 at start of pad pad 1 barcode putinterval % Add barcode to the end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Add checksum to end of barcode includecheck { /checksum 0 def 0 1 barlen 1 sub { /i exch def i 2 mod 0 eq { /checksum checksum barcode i get 48 sub 3 mul add def } { /checksum checksum barcode i get 48 sub add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def /pad barlen 1 add string def % Create pad one bigger than barcode pad 0 barcode putinterval % Add barcode to the start of pad pad barlen checksum 48 add put % Add checksum to end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Create an array containing the character mappings /encs [ (11331) (31113) (13113) (33111) (11313) (31311) (13311) (11133) (31131) (13131) (1111) (3111) ] def % Create a string of the available characters /barchars (0123456789) def /sbs barlen 5 mul 8 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval 0 2 barlen 1 sub { /i exch def % Lookup the encodings for two consecutive barcode characters barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enca encs indx get def % Get the indxth encoding barcode i 1 add 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /encb encs indx get def % Get the indxth encoding % Interleave the two character encodings /intl enca length 2 mul string def 0 1 enca length 1 sub { /j exch def /achar enca j get def /bchar encb j get def intl j 2 mul achar put intl j 2 mul 1 add bchar put } for sbs i 5 mul 4 add intl putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 9 mul 4 add textyoffset textfont textsize] put includecheck includecheckintext not and barlen 2 sub i eq and { txt i 1 add [( ) i 1 add 9 mul 4 add textyoffset textfont textsize] put } { txt i 1 add [barcode i 1 add 1 getinterval i 1 add 9 mul 4 add textyoffset textfont textsize] put } ifelse } for % Put the end character sbs barlen 5 mul 4 add encs 11 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /interleaved2of5 load 0 1 dict put % --END ENCODER interleaved2of5-- % --BEGIN ENCODER rss14-- % --DESC: Reduced Space Symbology 14 (RSS-14) % --EXAM: 24012345678905 % --EXOP: height=0.3 % --RNDR: renlinear /rss14 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 1 def /linkage false def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop % Create the human readable text /txt barcode length array def 0 1 barcode length 1 sub { /i exch def txt i [barcode i 1 getinterval 0 0 () 0] put } for /height height cvr def /getRSSwidths { /oe exch def /mw exch def /nm exch def /val exch def /j 0 def /i 0 def { /v () def mw 1 ne {/v i mw 4 string cvrs def} if 0 v {48 sub add} forall 4 add nm eq { /out [ 4 {1} repeat v {47 sub} forall ] v length 4 getinterval def /hasone false def out {1 eq {/hasone true def} if} forall oe not hasone or { j val eq {exit} if /j j 1 add def } if } if /i i 1 add def } loop out } bind def /binval [barcode {48 sub} forall] def /binval [linkage {1} {0} ifelse binval 0 13 getinterval {} forall] def 0 1 12 { /i exch def binval i 1 add 2 copy get binval i get 4537077 mod 10 mul add put binval i binval i get 4537077 idiv put } for /right binval 13 get 4537077 mod def binval 13 2 copy get 4537077 idiv put /left 0 def /i true def 0 1 13 { /j exch def binval j get dup 0 eq i and { pop } { /i false def /left left 3 -1 roll 10 13 j sub exp cvi mul add def } ifelse } for /d1 left 1597 idiv def /d2 left 1597 mod def /d3 right 1597 idiv def /d4 right 1597 mod def /tab164 [ 160 0 12 4 8 1 161 1 960 161 10 6 6 3 80 10 2014 961 8 8 4 5 31 34 2714 2015 6 10 3 6 10 70 2840 2715 4 12 1 8 1 126 ] def /tab154 [ 335 0 5 10 2 7 4 84 1035 336 7 8 4 5 20 35 1515 1036 9 6 6 3 48 10 1596 1516 11 4 8 1 81 1 ] def /i 0 def { d1 tab164 i get le { tab164 i 1 add 7 getinterval {} forall /d1te exch def /d1to exch def /d1mwe exch def /d1mwo exch def /d1ele exch def /d1elo exch def /d1gs exch def exit } if /i i 8 add def } loop /i 0 def { d2 tab154 i get le { tab154 i 1 add 7 getinterval {} forall /d2te exch def /d2to exch def /d2mwe exch def /d2mwo exch def /d2ele exch def /d2elo exch def /d2gs exch def exit } if /i i 8 add def } loop /i 0 def { d3 tab164 i get le { tab164 i 1 add 7 getinterval {} forall /d3te exch def /d3to exch def /d3mwe exch def /d3mwo exch def /d3ele exch def /d3elo exch def /d3gs exch def exit } if /i i 8 add def } loop /i 0 def { d4 tab154 i get le { tab154 i 1 add 7 getinterval {} forall /d4te exch def /d4to exch def /d4mwe exch def /d4mwo exch def /d4ele exch def /d4elo exch def /d4gs exch def exit } if /i i 8 add def } loop /d1wo d1 d1gs sub d1te idiv d1elo d1mwo false getRSSwidths def /d1we d1 d1gs sub d1te mod d1ele d1mwe true getRSSwidths def /d2wo d2 d2gs sub d2to mod d2elo d2mwo true getRSSwidths def /d2we d2 d2gs sub d2to idiv d2ele d2mwe false getRSSwidths def /d3wo d3 d3gs sub d3te idiv d3elo d3mwo false getRSSwidths def /d3we d3 d3gs sub d3te mod d3ele d3mwe true getRSSwidths def /d4wo d4 d4gs sub d4to mod d4elo d4mwo true getRSSwidths def /d4we d4 d4gs sub d4to idiv d4ele d4mwe false getRSSwidths def /d1w 8 array def 0 1 3 { /i exch def d1w i 2 mul d1wo i get put d1w i 2 mul 1 add d1we i get put } for /d2w 8 array def 0 1 3 { /i exch def d2w 7 i 2 mul sub d2wo i get put d2w 6 i 2 mul sub d2we i get put } for /d3w 8 array def 0 1 3 { /i exch def d3w 7 i 2 mul sub d3wo i get put d3w 6 i 2 mul sub d3we i get put } for /d4w 8 array def 0 1 3 { /i exch def d4w i 2 mul d4wo i get put d4w i 2 mul 1 add d4we i get put } for /widths [ d1w {} forall d2w {} forall d3w {} forall d4w {} forall ] def /checkweights [ 1 3 9 27 2 6 18 54 58 72 24 8 29 36 12 4 74 51 17 32 37 65 48 16 64 34 23 69 49 68 46 59 ] def /checkwidths [ 3 8 2 1 1 3 5 5 1 1 3 3 7 1 1 3 1 9 1 1 2 7 4 1 1 2 5 6 1 1 2 3 8 1 1 1 5 7 1 1 1 3 9 1 1 ] def /checksum 0 def 0 1 31 { /i exch def /checksum checksum widths i get checkweights i get mul add def } for /checksum checksum 79 mod def checksum 8 ge {/checksum checksum 1 add def} if checksum 72 ge {/checksum checksum 1 add def} if /checklt checkwidths checksum 9 idiv 5 mul 5 getinterval def /checkrtrev checkwidths checksum 9 mod 5 mul 5 getinterval def /checkrt 5 array def 0 1 4 { /i exch def checkrt i checkrtrev 4 i sub get put } for /sbs [ 1 d1w {} forall checklt {} forall d2w {} forall d4w {} forall checkrt {} forall d3w {} forall 1 1 ] def % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) sbs put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (txt) txt put retval (textxalign) (center) put retval (opt) useropts put retval end } bind def /rss14 load 0 1 dict put % --END ENCODER rss14-- % --BEGIN ENCODER rsslimited-- % --DESC: Reduced Space Symbology Limited (RSS-Limited) % --EXAM: 00978186074271 % --EXOP: height=0.3 % --RNDR: renlinear /rsslimited { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop % Create the human readable text /txt barcode length array def 0 1 barcode length 1 sub { /i exch def txt i [barcode i 1 getinterval 0 0 () 0] put } for /height height cvr def /getRSSwidths { /oe exch def /el exch def /mw exch def /nm exch def /val exch def /j 0 def /i 0 def { /v () def mw 1 ne {/v i mw el string cvrs def} if 0 v {48 sub add} forall el add nm eq { /out [ el {1} repeat v {47 sub} forall ] v length el getinterval def /hasone false def out {1 eq {/hasone true def} if} forall oe not hasone or { j val eq {exit} if /j j 1 add def } if } if /i i 1 add def } loop out } bind def /binval [barcode {48 sub} forall] def /binval [binval 0 13 getinterval {} forall] def 0 1 11 { /i exch def binval i 1 add 2 copy get binval i get 2013571 mod 10 mul add put binval i binval i get 2013571 idiv put } for /d2 binval 12 get 2013571 mod def binval 12 2 copy get 2013571 idiv put /d1 0 def /i true def 0 1 12 { /j exch def binval j get dup 0 eq i and { pop } { /i false def /d1 d1 3 -1 roll 10 12 j sub exp cvi mul add def } ifelse } for /tab267 [ 183063 0 17 9 6 3 6538 28 820063 183064 13 13 5 4 875 728 1000775 820064 9 17 3 6 28 6454 1491020 1000776 15 11 5 4 2415 203 1979844 1491021 11 15 4 5 203 2408 1996938 1979845 19 7 8 1 17094 1 2013570 1996939 7 19 1 8 1 16632 ] def /i 0 def { d1 tab267 i get le { tab267 i 1 add 7 getinterval {} forall /d1te exch def /d1to exch def /d1mwe exch def /d1mwo exch def /d1ele exch def /d1elo exch def /d1gs exch def exit } if /i i 8 add def } loop /i 0 def { d2 tab267 i get le { tab267 i 1 add 7 getinterval {} forall /d2te exch def /d2to exch def /d2mwe exch def /d2mwo exch def /d2ele exch def /d2elo exch def /d2gs exch def exit } if /i i 8 add def } loop /d1wo d1 d1gs sub d1te idiv d1elo d1mwo 7 false getRSSwidths def /d1we d1 d1gs sub d1te mod d1ele d1mwe 7 true getRSSwidths def /d2wo d2 d2gs sub d2te idiv d2elo d2mwo 7 false getRSSwidths def /d2we d2 d2gs sub d2te mod d2ele d2mwe 7 true getRSSwidths def /d1w 14 array def 0 1 6 { /i exch def d1w i 2 mul d1wo i get put d1w i 2 mul 1 add d1we i get put } for /d2w 14 array def 0 1 6 { /i exch def d2w i 2 mul d2wo i get put d2w i 2 mul 1 add d2we i get put } for /widths [ d1w {} forall d2w {} forall ] def /checkweights [ 1 3 9 27 81 65 17 51 64 14 42 37 22 66 20 60 2 6 18 54 73 41 34 13 39 28 84 74 ] def /checkseq [ 0 1 43 {} for 45 52 57 63 1 66 {} for 73 1 79 {} for 82 126 1 130 {} for 132 141 1 146 {} for 210 1 217 {} for 220 316 1 320 {} for 322 323 326 337 ] def /checksum 0 def 0 1 27 { /i exch def /checksum checksum widths i get checkweights i get mul add def } for /checksum checksum 89 mod def /seq checkseq checksum get def /swidths seq 21 idiv 8 3 6 false getRSSwidths def /bwidths seq 21 mod 8 3 6 false getRSSwidths def /checkwidths [0 0 0 0 0 0 0 0 0 0 0 0 1 1] def 0 1 5 { /i exch def checkwidths i 2 mul swidths i get put checkwidths i 2 mul 1 add bwidths i get put } for /sbs [ 1 d1w {} forall checkwidths {} forall d2w {} forall 1 1 ] def % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) sbs put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (txt) txt put retval (textxalign) (center) put retval (opt) useropts put retval end } bind def /rsslimited load 0 1 dict put % --END ENCODER rsslimited-- % --BEGIN ENCODER rssexpanded-- % --DESC: Reduced Space Symbology Expanded (RSS-Expanded) % --EXAM: 000000010011001010100001000000010000 % --EXOP: height=0.3 % --RNDR: renlinear /rssexpanded { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def /getRSSwidths { /oe exch def /mw exch def /nm exch def /val exch def /j 0 def /i 0 def { /v () def mw 1 ne {/v i mw 4 string cvrs def} if 0 v {48 sub add} forall 4 add nm eq { /out [ 4 {1} repeat v {47 sub} forall ] v length 4 getinterval def /hasone false def out {1 eq {/hasone true def} if} forall /lessfive out 0 get 5 lt def oe not hasone lessfive and or { j val eq {exit} if /j j 1 add def } if } if /i i 1 add def } loop out } bind def /binval [barcode {48 sub} forall] def /datalen binval length 12 idiv def /tab174 [ 347 0 12 5 7 2 87 4 1387 348 10 7 5 4 52 20 2947 1388 8 9 4 5 30 52 3987 2948 6 11 3 6 10 104 4191 3988 4 13 1 8 1 204 ] def /dxw datalen array def 0 1 datalen 1 sub { /x exch def /d binval x 12 mul 12 getinterval def /d 0 0 1 11 {/j exch def 2 11 j sub exp cvi d j get mul add} for def /j 0 def { d tab174 j get le { tab174 j 1 add 7 getinterval {} forall /dte exch def /dto exch def /dmwe exch def /dmwo exch def /dele exch def /delo exch def /dgs exch def exit } if /j j 8 add def } loop /dwo d dgs sub dte idiv delo dmwo true getRSSwidths def /dwe d dgs sub dte mod dele dmwe false getRSSwidths def /dw 8 array def x 2 mod 0 eq { 0 1 3 { /j exch def dw 7 j 2 mul sub dwo j get put dw 6 j 2 mul sub dwe j get put } for } { 0 1 3 { /j exch def dw j 2 mul dwo j get put dw j 2 mul 1 add dwe j get put } for } ifelse dxw x dw put } for /widths [ dxw {{} forall} forall ] def /checkweights [ 77 96 32 81 27 9 3 1 20 60 180 118 143 7 21 63 205 209 140 117 39 13 145 189 193 157 49 147 19 57 171 91 132 44 85 169 197 136 186 62 185 133 188 142 4 12 36 108 50 87 29 80 97 173 128 113 150 28 84 41 123 158 52 156 166 196 206 139 187 203 138 46 76 17 51 153 37 111 122 155 146 119 110 107 106 176 129 43 16 48 144 10 30 90 59 177 164 125 112 178 200 137 116 109 70 210 208 202 184 130 179 115 190 204 68 93 31 151 191 134 148 22 66 198 172 94 71 2 40 154 192 64 162 54 18 6 120 149 25 75 14 42 126 167 175 199 207 69 23 78 26 79 103 98 83 38 114 131 182 124 159 53 88 170 127 183 61 161 55 165 73 8 24 72 5 15 89 100 174 58 160 194 135 45 ] def /checksum 0 def 0 1 widths length 1 sub { /i exch def /checksum checksum widths i get checkweights i get mul add def } for /checksum checksum 211 mod datalen 3 sub 211 mul add def /i 0 def { checksum tab174 i get le { tab174 i 1 add 7 getinterval {} forall /cte exch def /cto exch def /cmwe exch def /cmwo exch def /cele exch def /celo exch def /cgs exch def exit } if /i i 8 add def } loop /cwo checksum cgs sub cte idiv celo cmwo true getRSSwidths def /cwe checksum cgs sub cte mod cele cmwe false getRSSwidths def /cw 8 array def 0 1 3 { /i exch def cw i 2 mul cwo i get put cw i 2 mul 1 add cwe i get put } for /finderwidths [ 1 8 4 1 1 1 1 4 8 1 3 6 4 1 1 1 1 4 6 3 3 4 6 1 1 1 1 6 4 3 3 2 8 1 1 1 1 8 2 3 2 6 5 1 1 1 1 5 6 2 2 2 9 1 1 1 1 9 2 2 ] def /finderseq [ [0 1] [0 3 2] [0 5 2 7] [0 9 2 7 4] [0 9 2 7 6 11] [0 9 2 7 8 11 10] [0 1 2 3 4 5 6 7] [0 1 2 3 4 5 6 9 8] [0 1 2 3 4 5 6 9 10 11] [0 1 2 3 4 7 6 9 8 11 10] ] def /seq finderseq datalen 2 add 2 idiv 2 sub get def /fxw seq length array def 0 1 seq length 1 sub { /x exch def fxw x finderwidths seq x get 5 mul 5 getinterval put } for /sbs [ 1 cw {} forall 0 1 datalen 1 sub { /i exch def i 2 mod 0 eq {fxw i 2 idiv get {} forall} if dxw i get {} forall } for 1 1 ] def % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) sbs put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (opt) useropts put retval end } bind def /rssexpanded load 0 1 dict put % --END ENCODER rssexpanded-- % --BEGIN ENCODER pharmacode-- % --DESC: Pharmaceutical Binary Code % --EXAM: 117480 % --EXOP: showborder % --RNDR: renlinear /pharmacode { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 8 2.835 mul 72 div def /nwidth 0.5 2.835 mul def /wwidth 1.5 2.835 mul def /swidth 1.0 2.835 mul def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def /nwidth nwidth cvr def /wwidth wwidth cvr def /swidth swidth cvr def % Create the human readable text /txt barcode length array def 0 1 barcode length 1 sub { /i exch def txt i [barcode i 1 getinterval 0 0 () 0] put } for % Convert the integer into the paramacode string /barcode barcode cvi 1 add 2 17 string cvrs def /barcode barcode 1 barcode length 1 sub getinterval def /barlen barcode length def % Length of the code /sbs barlen 2 mul array def 0 1 barlen 1 sub { /i exch def /enc barcode i 1 getinterval def enc (0) eq { sbs i 2 mul nwidth put } { sbs i 2 mul wwidth put } ifelse sbs i 2 mul 1 add swidth put } for % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) sbs put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (txt) txt put retval (textxalign) (center) put retval (opt) useropts put retval end } bind def /pharmacode load 0 1 dict put % --END ENCODER pharmacode-- % --BEGIN ENCODER code2of5-- % --DESC: Code 25 % --EXAM: 01234567 % --EXOP: includetext includecheck includecheckintext % --RNDR: renlinear /code2of5 { % Thanks to Michael Landers 0 begin % Confine variable to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (1111313111) (3111111131) (1131111131) (3131111111) (1111311131) (3111311111) (1131311111) (1111113131) (3111113111) (1131113111) (313111) (311131) ] def % Create a string of the available characters /barchars (0123456789) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 10 mul 22 add string def /txt barlen 1 add array def } { /sbs barlen 10 mul 12 add string def /txt barlen array def } ifelse % Put the start character sbs 0 encs 10 get putinterval /checksum 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 10 mul 6 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 14 mul 10 add textyoffset textfont textsize] put barlen i sub 2 mod 0 eq { /checksum checksum indx add def } { /checksum checksum indx 3 mul add def } ifelse } for % Put the checksum and end characters includecheck { /checksum 10 checksum 10 mod sub 10 mod def sbs barlen 10 mul 6 add encs checksum get putinterval sbs barlen 10 mul 16 add encs 11 get putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 14 mul 10 add textyoffset textfont textsize] put } { txt barlen [( ) barlen 14 mul 10 add textyoffset textfont textsize] put } ifelse } { sbs barlen 10 mul 6 add encs 11 get putinterval } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code2of5 load 0 1 dict put % --END ENCODER code2of5-- % --BEGIN ENCODER code11-- % --DESC: Code 11 % --EXAM: 0123456789 % --EXOP: includetext includecheck includecheckintext % --RNDR: renlinear /code11 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def /includetext false def /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (111131) (311131) (131131) (331111) (113131) (313111) (133111) (111331) (311311) (311111) (113111) (113311) ] def % Create a string of the available characters /barchars (0123456789-) def /barlen barcode length def % Length of the code includecheck { barlen 10 ge { /sbs barlen 6 mul 24 add string def /txt barlen 2 add array def } { /sbs barlen 6 mul 18 add string def /txt barlen 1 add array def } ifelse } { /sbs barlen 6 mul 12 add string def /txt barlen array def } ifelse % Put the start character sbs 0 encs 10 get putinterval /checksum1 0 def /checksum2 0 def /xpos 8 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 6 mul 6 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval xpos textyoffset textfont textsize] put 0 1 5 { % xpos+=width of the character /xpos exch enc exch get 48 sub xpos add def } for /checksum1 checksum1 barlen i sub 1 sub 10 mod 1 add indx mul add def /checksum2 checksum2 barlen i sub 9 mod 1 add indx mul add def } for % Put the checksum and end characters includecheck { /checksum1 checksum1 11 mod def barlen 10 ge { /checksum2 checksum2 checksum1 add 11 mod def sbs barlen 6 mul 6 add encs checksum1 get putinterval sbs barlen 6 mul 12 add encs checksum2 get putinterval includecheckintext { txt barlen [barchars checksum1 1 getinterval xpos textyoffset textfont textsize] put /enc encs checksum1 get def 0 1 5 { % xpos+=width of the character /xpos exch enc exch get 48 sub xpos add def } for txt barlen 1 add [barchars checksum2 1 getinterval xpos textyoffset textfont textsize] put } { txt barlen [() xpos textyoffset textfont textsize] put txt barlen 1 add [() xpos textyoffset textfont textsize] put } ifelse sbs barlen 6 mul 18 add encs 11 get putinterval } { sbs barlen 6 mul 6 add encs checksum1 get putinterval includecheckintext { txt barlen [barchars checksum1 1 getinterval xpos textyoffset textfont textsize] put } { txt barlen [() xpos textyoffset textfont textsize] put } ifelse sbs barlen 6 mul 12 add encs 11 get putinterval } ifelse } { sbs barlen 6 mul 6 add encs 11 get putinterval } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code11 load 0 1 dict put % --END ENCODER code11-- % --BEGIN ENCODER rationalizedCodabar-- % --DESC: Rationalized Codabar % --EXAM: A0123456789B % --EXOP: includetext includecheck includecheckintext % --RNDR: renlinear /rationalizedCodabar { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (11111331) (11113311) (11131131) (33111111) (11311311) (31111311) (13111131) (13113111) (13311111) (31131111) (11133111) (11331111) (31113131) (31311131) (31313111) (11313131) (11331311) (13131131) (11131331) (11133311) ] def % Create a string of the available characters /barchars (0123456789-$:/.+ABCD) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 8 mul 8 add string def /txt barlen 1 add array def } { /sbs barlen 8 mul string def /txt barlen array def } ifelse /checksum 0 def /xpos 0 def 0 1 barlen 2 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 8 mul enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval xpos textyoffset textfont textsize] put 0 1 7 { % xpos+=width of the character /xpos exch enc exch get 48 sub xpos add def } for /checksum checksum indx add def } for % Find index of last character barcode barlen 1 sub 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post includecheck { % Put the checksum character /checksum checksum indx add def /checksum 16 checksum 16 mod sub 16 mod def sbs barlen 8 mul 8 sub encs checksum get putinterval includecheckintext { txt barlen 1 sub [barchars checksum 1 getinterval xpos textyoffset textfont textsize] put } { txt barlen 1 sub [( ) xpos textyoffset textfont textsize] put } ifelse 0 1 7 { % xpos+=width of the character /xpos exch encs checksum get exch get 48 sub xpos add def } for % Put the end character /enc encs indx get def % Get the indxth encoding sbs barlen 8 mul enc putinterval % Put encoded digit into sbs txt barlen [barcode barlen 1 sub 1 getinterval xpos textyoffset textfont textsize] put } { % Put the end character /enc encs indx get def % Get the indxth encoding sbs barlen 8 mul 8 sub enc putinterval % Put encoded digit into sbs txt barlen 1 sub [barcode barlen 1 sub 1 getinterval xpos textyoffset textfont textsize] put } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /rationalizedCodabar load 0 1 dict put % --END ENCODER rationalizedCodabar-- % --BEGIN ENCODER onecode-- % --DESC: United States Postal Service OneCode % --EXAM: 0123456709498765432101234567891 % --EXOP: barcolor=FF0000 % --RNDR: renlinear /onecode { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 0.175 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def /barlen barcode length def % Create the human readable text /txt barcode length array def 0 1 barcode length 1 sub { /i exch def txt i [barcode i 1 getinterval 0 0 () 0] put } for /normalize { /base exch def /num exch def num length 1 sub -1 1 { /i exch def num i 1 sub 2 copy get num i get base idiv add put num i num i get base mod put } for { %loop - extend input as necessary num 0 get base lt {exit} if /num [0 num {} forall] def num 0 num 0 get num 1 get base idiv add put num 1 num 1 get base mod put } loop % Trim leading zeros /num [/i true def num {dup 0 eq i and {pop} {/i false def} ifelse} forall] def num length 0 eq {/num [0] def} if num } bind def /bigadd { 2 copy length exch length 2 copy sub abs /offset exch def lt {exch} if /a exch def /b exch def 0 1 b length 1 sub { dup a exch offset add 2 copy get b 5 -1 roll get add put } for a } bind def % Conversion of data fields into binary data barlen 20 eq {[0]} if barlen 25 eq {[1]} if barlen 29 eq {[1 0 0 0 0 1]} if barlen 31 eq {[1 0 0 0 1 0 0 0 0 1]} if /binval exch [barcode 20 barlen 20 sub getinterval {48 sub} forall] bigadd def /binval [binval {} forall barcode 0 get 48 sub] def /binval [binval {5 mul} forall] [barcode 1 get 48 sub] bigadd 10 normalize def /binval [binval {} forall barcode 2 18 getinterval {48 sub} forall] def % Conversion of binary data into byte array /bytes 13 array def /bintmp [binval {} forall] def 12 -1 0 { /i exch def 0 1 bintmp length 2 sub { /j exch def bintmp j 1 add 2 copy get bintmp j get 256 mod 10 mul add put bintmp j bintmp j get 256 idiv put } for bytes i bintmp bintmp length 1 sub get 256 mod put bintmp bintmp length 1 sub 2 copy get 256 idiv put } for % Generation of 11-bit CRC on byte array /fcs 2047 def /dat bytes 0 get 5 bitshift def 6 { fcs dat xor 1024 and 0 ne { /fcs fcs 1 bitshift 3893 xor def } { /fcs fcs 1 bitshift def } ifelse /fcs fcs 2047 and def /dat dat 1 bitshift def } repeat 1 1 12 { bytes exch get 3 bitshift /dat exch def 8 { fcs dat xor 1024 and 0 ne { /fcs fcs 1 bitshift 3893 xor def } { /fcs fcs 1 bitshift def } ifelse /fcs fcs 2047 and def /dat dat 1 bitshift def } repeat } for % Conversion from binary data to codewords /codewords 10 array def 9 -1 0 { /i exch def i 9 eq { /b 636 def } { /b 1365 def } ifelse 0 1 binval length 2 sub { /j exch def binval j 1 add 2 copy get binval j get b mod 10 mul add put binval j binval j get b idiv put } for codewords i binval binval length 1 sub get b mod put binval binval length 1 sub 2 copy get b idiv put } for % Inserting additional information into codewords codewords 9 codewords 9 get 2 mul put fcs 1024 and 0 ne { codewords 0 codewords 0 get 659 add put } if % Conversion from codewords to characters /tab513 [ 31 7936 47 7808 55 7552 59 7040 61 6016 62 3968 79 7744 87 7488 91 6976 93 5952 94 3904 103 7360 107 6848 109 5824 110 3776 115 6592 117 5568 118 3520 121 5056 122 3008 124 1984 143 7712 151 7456 155 6944 157 5920 158 3872 167 7328 171 6816 173 5792 174 3744 179 6560 181 5536 182 3488 185 5024 186 2976 188 1952 199 7264 203 6752 205 5728 206 3680 211 6496 213 5472 214 3424 217 4960 218 2912 220 1888 227 6368 229 5344 230 3296 233 4832 234 2784 236 1760 241 4576 242 2528 244 1504 248 992 271 7696 279 7440 283 6928 285 5904 286 3856 295 7312 299 6800 301 5776 302 3728 307 6544 309 5520 310 3472 313 5008 314 2960 316 1936 327 7248 331 6736 333 5712 334 3664 339 6480 341 5456 342 3408 345 4944 346 2896 348 1872 355 6352 357 5328 358 3280 361 4816 362 2768 364 1744 369 4560 370 2512 372 1488 376 976 391 7216 395 6704 397 5680 398 3632 403 6448 405 5424 406 3376 409 4912 410 2864 412 1840 419 6320 421 5296 422 3248 425 4784 426 2736 428 1712 433 4528 434 2480 436 1456 440 944 451 6256 453 5232 454 3184 457 4720 458 2672 460 1648 465 4464 466 2416 468 1392 472 880 481 4336 482 2288 484 1264 488 752 527 7688 535 7432 539 6920 541 5896 542 3848 551 7304 555 6792 557 5768 558 3720 563 6536 565 5512 566 3464 569 5000 570 2952 572 1928 583 7240 587 6728 589 5704 590 3656 595 6472 597 5448 598 3400 601 4936 602 2888 604 1864 611 6344 613 5320 614 3272 617 4808 618 2760 620 1736 625 4552 626 2504 628 1480 632 968 647 7208 651 6696 653 5672 654 3624 659 6440 661 5416 662 3368 665 4904 666 2856 668 1832 675 6312 677 5288 678 3240 681 4776 682 2728 684 1704 689 4520 690 2472 692 1448 696 936 707 6248 709 5224 710 3176 713 4712 714 2664 716 1640 721 4456 722 2408 724 1384 728 872 737 4328 738 2280 740 1256 775 7192 779 6680 781 5656 782 3608 787 6424 789 5400 790 3352 793 4888 794 2840 796 1816 803 6296 805 5272 806 3224 809 4760 810 2712 812 1688 817 4504 818 2456 820 1432 824 920 835 6232 837 5208 838 3160 841 4696 842 2648 844 1624 849 4440 850 2392 852 1368 865 4312 866 2264 868 1240 899 6200 901 5176 902 3128 905 4664 906 2616 908 1592 913 4408 914 2360 916 1336 929 4280 930 2232 932 1208 961 4216 962 2168 964 1144 1039 7684 1047 7428 1051 6916 1053 5892 1054 3844 1063 7300 1067 6788 1069 5764 1070 3716 1075 6532 1077 5508 1078 3460 1081 4996 1082 2948 1084 1924 1095 7236 1099 6724 1101 5700 1102 3652 1107 6468 1109 5444 1110 3396 1113 4932 1114 2884 1116 1860 1123 6340 1125 5316 1126 3268 1129 4804 1130 2756 1132 1732 1137 4548 1138 2500 1140 1476 1159 7204 1163 6692 1165 5668 1166 3620 1171 6436 1173 5412 1174 3364 1177 4900 1178 2852 1180 1828 1187 6308 1189 5284 1190 3236 1193 4772 1194 2724 1196 1700 1201 4516 1202 2468 1204 1444 1219 6244 1221 5220 1222 3172 1225 4708 1226 2660 1228 1636 1233 4452 1234 2404 1236 1380 1249 4324 1250 2276 1287 7188 1291 6676 1293 5652 1294 3604 1299 6420 1301 5396 1302 3348 1305 4884 1306 2836 1308 1812 1315 6292 1317 5268 1318 3220 1321 4756 1322 2708 1324 1684 1329 4500 1330 2452 1332 1428 1347 6228 1349 5204 1350 3156 1353 4692 1354 2644 1356 1620 1361 4436 1362 2388 1377 4308 1378 2260 1411 6196 1413 5172 1414 3124 1417 4660 1418 2612 1420 1588 1425 4404 1426 2356 1441 4276 1442 2228 1473 4212 1474 2164 1543 7180 1547 6668 1549 5644 1550 3596 1555 6412 1557 5388 1558 3340 1561 4876 1562 2828 1564 1804 1571 6284 1573 5260 1574 3212 1577 4748 1578 2700 1580 1676 1585 4492 1586 2444 1603 6220 1605 5196 1606 3148 1609 4684 1610 2636 1617 4428 1618 2380 1633 4300 1634 2252 1667 6188 1669 5164 1670 3116 1673 4652 1674 2604 1681 4396 1682 2348 1697 4268 1698 2220 1729 4204 1730 2156 1795 6172 1797 5148 1798 3100 1801 4636 1802 2588 1809 4380 1810 2332 1825 4252 1826 2204 1857 4188 1858 2140 1921 4156 1922 2108 2063 7682 2071 7426 2075 6914 2077 5890 2078 3842 2087 7298 2091 6786 2093 5762 2094 3714 2099 6530 2101 5506 2102 3458 2105 4994 2106 2946 2119 7234 2123 6722 2125 5698 2126 3650 2131 6466 2133 5442 2134 3394 2137 4930 2138 2882 2147 6338 2149 5314 2150 3266 2153 4802 2154 2754 2161 4546 2162 2498 2183 7202 2187 6690 2189 5666 2190 3618 2195 6434 2197 5410 2198 3362 2201 4898 2202 2850 2211 6306 2213 5282 2214 3234 2217 4770 2218 2722 2225 4514 2226 2466 2243 6242 2245 5218 2246 3170 2249 4706 2250 2658 2257 4450 2258 2402 2273 4322 2311 7186 2315 6674 2317 5650 2318 3602 2323 6418 2325 5394 2326 3346 2329 4882 2330 2834 2339 6290 2341 5266 2342 3218 2345 4754 2346 2706 2353 4498 2354 2450 2371 6226 2373 5202 2374 3154 2377 4690 2378 2642 2385 4434 2401 4306 2435 6194 2437 5170 2438 3122 2441 4658 2442 2610 2449 4402 2465 4274 2497 4210 2567 7178 2571 6666 2573 5642 2574 3594 2579 6410 2581 5386 2582 3338 2585 4874 2586 2826 2595 6282 2597 5258 2598 3210 2601 4746 2602 2698 2609 4490 2627 6218 2629 5194 2630 3146 2633 4682 2641 4426 2657 4298 2691 6186 2693 5162 2694 3114 2697 4650 2705 4394 2721 4266 2753 4202 2819 6170 2821 5146 2822 3098 2825 4634 2833 4378 2849 4250 2881 4186 2945 4154 3079 7174 3083 6662 3085 5638 3086 3590 3091 6406 3093 5382 3094 3334 3097 4870 3107 6278 3109 5254 3110 3206 3113 4742 3121 4486 3139 6214 3141 5190 3145 4678 3153 4422 3169 4294 3203 6182 3205 5158 3209 4646 3217 4390 3233 4262 3265 4198 3331 6166 3333 5142 3337 4630 3345 4374 3361 4246 3393 4182 3457 4150 3587 6158 3589 5134 3593 4622 3601 4366 3617 4238 3649 4174 3713 4142 3841 4126 4111 7681 4119 7425 4123 6913 4125 5889 4135 7297 4139 6785 4141 5761 4147 6529 4149 5505 4153 4993 4167 7233 4171 6721 4173 5697 4179 6465 4181 5441 4185 4929 4195 6337 4197 5313 4201 4801 4209 4545 4231 7201 4235 6689 4237 5665 4243 6433 4245 5409 4249 4897 4259 6305 4261 5281 4265 4769 4273 4513 4291 6241 4293 5217 4297 4705 4305 4449 4359 7185 4363 6673 4365 5649 4371 6417 4373 5393 4377 4881 4387 6289 4389 5265 4393 4753 4401 4497 4419 6225 4421 5201 4425 4689 4483 6193 4485 5169 4489 4657 4615 7177 4619 6665 4621 5641 4627 6409 4629 5385 4633 4873 4643 6281 4645 5257 4649 4745 4675 6217 4677 5193 4739 6185 4741 5161 4867 6169 4869 5145 5127 7173 5131 6661 5133 5637 5139 6405 5141 5381 5155 6277 5157 5253 5187 6213 5251 6181 5379 6165 5635 6157 6151 7171 6155 6659 6163 6403 6179 6275 6211 5189 4681 4433 4321 3142 2634 2386 2274 1612 1364 1252 856 744 496 ] def /tab213 [ 3 6144 5 5120 6 3072 9 4608 10 2560 12 1536 17 4352 18 2304 20 1280 24 768 33 4224 34 2176 36 1152 40 640 48 384 65 4160 66 2112 68 1088 72 576 80 320 96 192 129 4128 130 2080 132 1056 136 544 144 288 257 4112 258 2064 260 1040 264 528 513 4104 514 2056 516 1032 1025 4100 1026 2052 2049 4098 4097 2050 1028 520 272 160 ] def /chars 10 array def 0 1 9 { /i exch def codewords i get dup 1286 le { tab513 exch get } { tab213 exch 1287 sub get } ifelse chars i 3 -1 roll put } for 9 -1 0 { /i exch def 2 i exp cvi fcs and 0 ne { chars i chars i get 8191 xor put } if } for % Conversion from characters to the OneCode encoding /barmap [ 7 2 4 3 1 10 0 0 9 12 2 8 5 5 6 11 8 9 3 1 0 1 5 12 2 5 1 8 4 4 9 11 6 3 8 10 3 9 7 6 5 11 1 4 8 5 2 12 9 10 0 2 7 1 6 7 3 6 4 9 0 3 8 6 6 4 2 7 1 1 9 9 7 10 5 2 4 0 3 8 6 2 0 4 8 11 1 0 9 8 3 12 2 6 7 7 5 1 4 10 1 12 6 9 7 3 8 0 5 8 9 7 4 6 2 10 3 4 0 5 8 4 5 7 7 11 1 9 6 0 9 6 0 6 4 8 2 1 3 2 5 9 8 12 4 11 6 1 9 5 7 4 3 3 1 2 0 7 2 0 1 3 4 1 6 10 3 5 8 7 9 4 2 11 5 6 0 8 7 12 4 2 8 1 5 10 3 0 9 3 0 9 6 5 2 4 7 8 1 7 5 0 4 5 2 3 0 10 6 12 9 2 3 11 1 6 8 8 7 9 5 4 0 11 1 5 2 2 9 1 4 12 8 3 6 6 7 0 3 7 4 7 7 5 0 12 1 11 2 9 9 0 6 8 5 3 3 10 8 2 ] def /bbs 65 array def /bhs 65 array def 0 1 64 { /i exch def /dec chars barmap i 4 mul get get 2 barmap i 4 mul 1 add get exp cvi and 0 ne def /asc chars barmap i 4 mul 2 add get get 2 barmap i 4 mul 3 add get exp cvi and 0 ne def dec not asc not and { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if dec not asc and { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if dec asc not and { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if dec asc and { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if } for /retval 8 dict def retval (ren) (renlinear) put retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put retval (txt) txt put retval (textxalign) (center) put retval (opt) useropts put retval end } bind def /onecode load 0 1 dict put % --END ENCODER onecode-- % --BEGIN ENCODER postnet-- % --DESC: United States Postal Service Postnet % --EXAM: 012345 % --EXOP: includetext includecheckintext % --RNDR: renlinear /postnet { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 0.125 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /barlen barcode length def % Create an array containing the character mappings /encs [ (55222) (22255) (22525) (22552) (25225) (25252) (25522) (52225) (52252) (52522) (5) (5) ] def % Create a string of the available characters /barchars (0123456789) def /bhs barlen 5 mul 7 add array def /txt barlen 1 add array def % Put start character /enc encs 10 get def /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs 0 heights putinterval % Put encoded digit into sbs /checksum 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs i 5 mul 1 add heights putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 5 mul 1 add 3.312 mul textyoffset textfont textsize] put /checksum checksum indx add def % checksum+=indx } for % Put the checksum character /checksum 10 checksum 10 mod sub 10 mod def /enc encs checksum get def /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs barlen 5 mul 1 add heights putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 5 mul 1 add 3.312 mul textyoffset textfont textsize] put } { txt barlen [( ) barlen 5 mul 1 add 72 mul 25 div textyoffset textfont textsize] put } ifelse % Put end character /enc encs 11 get def /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs barlen 5 mul 6 add heights putinterval /retval 8 dict def retval (ren) (renlinear) put retval (bhs) bhs put retval (bbs) [bhs length {0} repeat] put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /postnet load 0 1 dict put % --END ENCODER postnet-- % --BEGIN ENCODER royalmail-- % --DESC: Royal Mail 4 State Customer Code (RM4SCC) % --EXAM: LE28HS9Z % --EXOP: includetext includecheckintext barcolor=FF0000 % --RNDR: renlinear /royalmail { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 0.175 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (3300) (2211) (2301) (2310) (3201) (3210) (1122) (0033) (0123) (0132) (1023) (1032) (1302) (0213) (0303) (0312) (1203) (1212) (1320) (0231) (0321) (0330) (1221) (1230) (3102) (2013) (2103) (2112) (3003) (3012) (3120) (2031) (2121) (2130) (3021) (3030) (2) (3) ] def % Create a string of the available characters /barchars (ZUVWXY501234B6789AHCDEFGNIJKLMTOPQRS) def /barlen barcode length def /encstr barlen 4 mul 6 add string def /txt barlen 1 add array def % Put start character encstr 0 encs 36 get putinterval /checksumrow 0 def /checksumcol 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding encstr i 4 mul 1 add enc putinterval txt i [barcode i 1 getinterval i 4 mul 1 add 3.312 mul textyoffset textfont textsize] put /checksumrow checksumrow indx 6 idiv add def /checksumcol checksumcol indx 6 mod add def } for % Put the checksum character /checksum checksumrow 6 mod 6 mul checksumcol 6 mod add def /enc encs checksum get def encstr barlen 4 mul 1 add enc putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 4 mul 1 add 3.312 mul textyoffset textfont textsize] put } { txt barlen [( ) barlen 4 mul 1 add 3.312 mul textyoffset textfont textsize] put } ifelse % Put end character encstr barlen 4 mul 5 add encs 37 get putinterval /bbs encstr length array def /bhs encstr length array def 0 1 encstr length 1 sub { /i exch def /enc encstr i 1 getinterval def enc (0) eq { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if enc (1) eq { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if enc (2) eq { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if enc (3) eq { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if } for /retval 8 dict def retval (ren) (renlinear) put retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /royalmail load 0 1 dict put % --END ENCODER royalmail-- % --BEGIN ENCODER auspost-- % --DESC: AusPost 4 State Customer Code % --EXAM: 5956439111ABA 9 % --EXOP: includetext custinfoenc=character % --RNDR: renlinear /auspost { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 0.175 def /custinfoenc (character) def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (000) (001) (002) (010) (011) (012) (020) (021) (022) (100) (101) (102) (110) (111) (112) (120) (121) (122) (200) (201) (202) (210) (211) (212) (220) (221) (222) (300) (301) (302) (310) (311) (312) (320) (321) (322) (023) (030) (031) (032) (033) (103) (113) (123) (130) (131) (132) (133) (203) (213) (223) (230) (231) (232) (233) (303) (313) (323) (330) (331) (332) (333) (003) (013) (00) (01) (02) (10) (11) (12) (20) (21) (22) (30) (13) (3) ] def % Create a string of the available characters /barchars (ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz #) def /barlen barcode length def barcode 0 2 getinterval (11) eq {37} if barcode 0 2 getinterval (45) eq {37} if barcode 0 2 getinterval (59) eq {52} if barcode 0 2 getinterval (62) eq {67} if /encstr exch string def /txt barlen 2 sub array def % Put start character encstr 0 encs 74 get putinterval % Encode the FCC 0 1 1 { /i exch def encs barcode i 1 getinterval cvi 64 add get encstr i 2 mul 2 add 3 2 roll putinterval } for % Encode the DPID 2 1 9 { /i exch def encs barcode i 1 getinterval cvi 64 add get encstr i 2 mul 2 add 3 2 roll putinterval txt i 2 sub [barcode i 1 getinterval i 2 sub 2 mul 6 add 3.312 mul textyoffset textfont textsize] put } for % Encode the customer information custinfoenc (numeric) eq { 0 1 barlen 11 sub { /i exch def encs barcode i 10 add 1 getinterval cvi 64 add get encstr i 2 mul 22 add 3 2 roll putinterval txt i 8 add [barcode i 10 add 1 getinterval i 2 mul 22 add 3.312 mul textyoffset textfont textsize] put } for /ciflen barlen 10 sub 2 mul def } { 0 1 barlen 11 sub { /i exch def barcode i 10 add 1 getinterval barchars exch search pop length /indx exch def pop pop /enc encs indx get def encstr i 3 mul 22 add enc putinterval txt i 8 add [barcode i 10 add 1 getinterval i 3 mul 22 add 3.312 mul textyoffset textfont textsize] put } for /ciflen barlen 10 sub 3 mul def } ifelse % Add any filler characters 22 ciflen add 1 encstr length 14 sub { encstr exch encs 75 get putinterval } for % Create the 64x64 Reed-Solomon table /rstable 64 64 mul array def rstable 0 [ 64 {0} repeat ] putinterval rstable 64 [ 0 1 63 {} for ] putinterval /prev 1 def 64 { /next prev 1 bitshift def next 64 and 0 ne { /next next 67 xor def } if 0 1 63 { /j exch def /nextcell {rstable 64 next mul j add} def nextcell rstable 64 prev mul j add get 1 bitshift put nextcell get 64 and 0 ne { nextcell nextcell get 67 xor put } if } for /prev next def } repeat % Calculate the Reed-Solomon codes for triples /rscodes encstr length 16 sub 3 idiv 4 add array def rscodes 0 [ 4 {0} repeat ] putinterval 2 3 encstr length 16 sub { /i exch def rscodes rscodes length i 2 sub 3 idiv sub 1 sub encstr i 1 getinterval cvi 16 mul encstr i 1 add 1 getinterval cvi 4 mul add encstr i 2 add 1 getinterval cvi add put } for rscodes length 5 sub -1 0 { /i exch def 0 1 4 { /j exch def rscodes i j add rscodes i j add get rstable 64 [48 17 29 30 1] j get mul rscodes i 4 add get add get xor put } for } for /checkcode (000000000000) 12 string copy def 0 1 3 { /i exch def /enc rscodes 3 i sub get 4 3 string cvrs def checkcode i 3 mul 3 enc length sub add enc putinterval } for % Put checkcode and end characters encstr encstr length 14 sub checkcode putinterval encstr encstr length 2 sub encs 74 get putinterval /bbs encstr length array def /bhs encstr length array def 0 1 encstr length 1 sub { /i exch def /enc encstr i 1 getinterval def enc (0) eq { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if enc (1) eq { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if enc (2) eq { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if enc (3) eq { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if } for /retval 8 dict def retval (ren) (renlinear) put retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /auspost load 0 1 dict put % --END ENCODER auspost-- % --BEGIN ENCODER kix-- % --DESC: Royal Dutch TPG Post KIX 4-State Barcode % --EXAM: 1231FZ13XHS % --EXOP: includetext includecheckintext % --RNDR: renlinear /kix { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 0.175 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (0033) (0123) (0132) (1023) (1032) (1122) (0213) (0303) (0312) (1203) (1212) (1302) (0231) (0321) (0330) (1221) (1230) (1320) (2013) (2103) (2112) (3003) (3012) (3102) (2031) (2121) (2130) (3021) (3030) (3120) (2211) (2301) (2310) (3201) (3210) (3300) ] def % Create a string of the available characters /barchars (0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ) def /barlen barcode length def /encstr barlen 4 mul string def /txt barlen array def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding encstr i 4 mul enc putinterval txt i [barcode i 1 getinterval i 4 mul 3.312 mul textyoffset textfont textsize] put } for /bbs encstr length array def /bhs encstr length array def 0 1 encstr length 1 sub { /i exch def /enc encstr i 1 getinterval def enc (0) eq { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if enc (1) eq { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if enc (2) eq { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if enc (3) eq { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if } for /retval 8 dict def retval (ren) (renlinear) put retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /kix load 0 1 dict put % --END ENCODER kix-- % --BEGIN ENCODER msi-- % --DESC: MSI Modified Plessey % --EXAM: 0123456789 % --EXOP: includetext includecheck includecheckintext % --RNDR: renlinear /msi { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (13131313) (13131331) (13133113) (13133131) (13311313) (13311331) (13313113) (13313131) (31131313) (31131331) (31) (131) ] def % Create a string of the available characters /barchars (0123456789) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 8 mul 13 add string def /txt barlen 1 add array def } { /sbs barlen 8 mul 5 add string def /txt barlen array def } ifelse % Put start character sbs 0 encs 10 get putinterval /checksum 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 8 mul 2 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 16 mul 4 add textyoffset textfont textsize] put barlen i sub 2 mod 0 eq { /checksum indx checksum add def } { /checksum indx 2 mul dup 10 idiv add checksum add def } ifelse } for % Put the checksum and end characters includecheck { /checksum 10 checksum 10 mod sub 10 mod def sbs barlen 8 mul 2 add encs checksum get putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 16 mul 4 add textyoffset textfont textsize] put } { txt barlen [( ) barlen 16 mul 4 add textyoffset textfont textsize] put } ifelse sbs barlen 8 mul 10 add encs 11 get putinterval } { sbs barlen 8 mul 2 add encs 11 get putinterval } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /msi load 0 1 dict put % --END ENCODER msi-- % --BEGIN ENCODER plessey-- % --DESC: Plessey % --EXAM: 01234ABCD % --EXOP: includetext includecheckintext % --RNDR: renlinear /plessey { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (13131313) (31131313) (13311313) (31311313) (13133113) (31133113) (13313113) (31313113) (13131331) (31131331) (13311331) (31311331) (13133131) (31133131) (13313131) (31313131) (31311331) (331311313) ] def % Create a string of the available characters /barchars (0123456789ABCDEF) def /barlen barcode length def % Length of the code /sbs barlen 8 mul 33 add string def /txt barlen 2 add array def /checkbits barlen 4 mul 8 add array def checkbits barlen 4 mul [ 0 0 0 0 0 0 0 0 ] putinterval % Put start character sbs 0 encs 16 get putinterval 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 8 mul 8 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 16 mul 16 add textyoffset textfont textsize] put checkbits i 4 mul [ indx 1 and indx -1 bitshift 1 and indx -2 bitshift 1 and indx -3 bitshift ] putinterval } for % Checksum is last 8 bits of a CRC using a salt /checksalt [ 1 1 1 1 0 1 0 0 1 ] def 0 1 barlen 4 mul 1 sub { /i exch def checkbits i get 1 eq { 0 1 8 { /j exch def checkbits i j add checkbits i j add get checksalt j get xor put } for } if } for % Calculate the value of the checksum digits /checkval 0 def 0 1 7 { /i exch def /checkval checkval 2 7 i sub exp cvi checkbits barlen 4 mul i add get mul add def } for % Put the checksum characters /checksum1 checkval -4 bitshift def /checksum2 checkval 15 and def sbs barlen 8 mul 8 add encs checksum1 get putinterval sbs barlen 8 mul 16 add encs checksum2 get putinterval includecheckintext { txt barlen [barchars checksum1 1 getinterval barlen 16 mul 16 add textyoffset textfont textsize] put txt barlen 1 add [barchars checksum2 1 getinterval barlen 1 add 16 mul 16 add textyoffset textfont textsize] put } { txt barlen [( ) barlen 16 mul 16 add textyoffset textfont textsize] put txt barlen 1 add [( ) barlen 1 add 16 mul 16 add textyoffset textfont textsize] put } ifelse % Put end character sbs barlen 8 mul 24 add encs 17 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /plessey load 0 1 dict put % --END ENCODER plessey-- % --BEGIN ENCODER raw-- % --DESC: Raw bar space succession for custom symbologies % --EXAM: 331132131313411122131311333213114131131221323 % --EXOP: height=0.5 % --RNDR: renlinear /raw { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /sbs exch def % We are given a barcode string /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (opt) useropts put retval end } bind def /raw load 0 1 dict put % --END ENCODER raw-- % --BEGIN ENCODER symbol-- % --DESC: Miscellaneous symbols % --EXAM: fima % --EXOP: backgroundcolor=DD000011 % --RNDR: renlinear /symbol { 0 begin % Confine variables to local scope /options exch def % We are given an option string /barcode exch def % We are given a barcode string barcode (fima) eq { /sbs [2.25 2.25 2.25 11.25 2.25 11.25 2.25 2.25 2.25] def /bhs [.625 .625 .625 .625 .625] def /bbs [0 0 0 0 0] def } if barcode (fimb) eq { /sbs [2.25 6.75 2.25 2.25 2.25 6.25 2.25 2.25 2.25 6.75 2.25] def /bhs [.625 .625 .625 .625 .625 .625] def /bbs [0 0 0 0 0 0] def } if barcode (fimc) eq { /sbs [2.25 2.25 2.25 6.75 2.25 6.75 2.25 6.75 2.25 2.25 2.25] def /bhs [.625 .625 .625 .625 .625 .625] def /bbs [0 0 0 0 0 0] def } if barcode (fimd) eq { /sbs [2.25 2.25 2.25 2.25 2.25 6.75 2.25 6.75 2.25 2.25 2.25 2.25 2.25] def /bhs [.625 .625 .625 .625 .625 .625 .625] def /bbs [0 0 0 0 0 0 0] def } if % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) sbs put retval (bhs) bhs put retval (bbs) bbs put retval (opt) options put retval end } bind def /symbol load 0 1 dict put % --END ENCODER symbol-- % --BEGIN ENCODER pdf417-- % --DESC: PDF417 % --EXAM: ^453^178^121^239 % --EXOP: columns=2 rows=10 % --RNDR: renmatrix /pdf417 { 0 begin /options exch def /useropts options def /barcode exch def /compact false def /eclevel -1 def /columns 0 def /rows 0 def /rowmult 3 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /eclevel eclevel cvi def /columns columns cvi def /rows rows cvi def /rowmult rowmult cvr def % Split the input barcode into an array of codewords /datcws barcode length array def /i 0 def /j 0 def { % loop i barcode length eq {exit} if /cw barcode i 1 add 3 getinterval cvi def datcws j cw put /i i 4 add def /j j 1 add def } loop /datcws datcws 0 j getinterval def % Determine the error correction level if unspecified /m datcws length def eclevel -1 eq { m 40 le {/eclevel 2 def} if m 41 ge m 160 le and {/eclevel 3 def} if m 161 ge m 320 le and {/eclevel 4 def} if m 321 ge {/eclevel 5 def} if } if % Reduce the error level so that it does not cause an excessive number of codewords /maxeclevel 928 1 sub m sub ln 2 ln div cvi 1 sub def eclevel maxeclevel gt {/eclevel maxeclevel def} if /k 2 eclevel 1 add exp cvi def % To determine size of matrix, number of columns if given by user... columns 1 ge columns 30 le and {/c columns def} if % ... and rows is greater of those required and that given by user within limits /r m k add 1 add columns div ceiling cvi def % Required r rows lt rows 90 le and {/r rows def} if r 3 lt {/r 3 def} if % Opportunistically raise the error level if a better fit to the matrix is possible /maxeclevel c r mul 1 sub m sub ln 2 ln div cvi 1 sub def maxeclevel eclevel gt { /eclevel maxeclevel def /k 2 eclevel 1 add exp cvi def } if % Create codewords array with one extra working space element and add padding /n c r mul k sub def /cws c r mul 1 add array def cws 0 n put cws 1 datcws putinterval cws m 1 add [ n m sub 1 sub {900} repeat ] putinterval cws n [ k {0} repeat 0 ] putinterval % Calculate the log and anti-log tables /rslog [ -928 928 {0} repeat ] def /rsalog [ 1 928 {0} repeat ] def 1 1 928 { /i exch def rsalog i rsalog i 1 sub get 3 mul put rsalog i get 928 ge { rsalog i rsalog i get 929 mod put } if rslog rsalog i get i put } for % Function to calculate the product in the field /rsprod { /y exch def /x exch def x y mul 0 ne { rsalog rslog x get rslog y get add 928 mod get } { 0 } ifelse } bind def % Generate the coefficients /coeffs [ 1 k {0} repeat ] def 1 1 k { /i exch def coeffs i coeffs i 1 sub get put i 1 sub -1 1 { /j exch def coeffs j coeffs j 1 sub get coeffs j get rsalog i get rsprod add 929 mod put } for coeffs 0 coeffs 0 get rsalog i get rsprod put } for /coeffs coeffs 0 coeffs length 1 sub getinterval def 1 2 coeffs length 1 sub {coeffs exch 2 copy get 929 exch sub put} for % Derive the error codewords 0 1 n 1 sub { /t exch cws exch get cws n get add 929 mod def 0 1 k 1 sub { /j exch def cws n j add cws n j add 1 add get 929 t coeffs k j sub 1 sub get mul 929 mod sub add 929 mod put } for } for n 1 n k add { dup cws exch 929 cws 5 -1 roll get sub put } for % Trim the working space from the end of the codewords /cws cws 0 cws length 1 sub getinterval def % Base 10 encoding of the bar space successions for the codewords in each cluster /clusters [ [ 120256 125680 128380 120032 125560 128318 108736 119920 108640 86080 108592 86048 110016 120560 125820 109792 120440 125758 88256 109680 88160 89536 110320 120700 89312 110200 120638 89200 110140 89840 110460 89720 110398 89980 128506 119520 125304 128190 107712 119408 125244 107616 119352 84032 107568 119324 84000 107544 83984 108256 119672 125374 85184 108144 119612 85088 108088 119582 85040 108060 85728 108408 119742 85616 108348 85560 108318 85880 108478 85820 85790 107200 119152 125116 107104 119096 125086 83008 107056 119068 82976 107032 82960 82952 83648 107376 119228 83552 107320 119198 83504 107292 83480 83468 83824 107452 83768 107422 83740 83900 106848 118968 125022 82496 106800 118940 82464 106776 118926 82448 106764 82440 106758 82784 106936 119006 82736 106908 82712 106894 82700 82694 106974 82830 82240 106672 118876 82208 106648 118862 82192 106636 82184 106630 82180 82352 82328 82316 82080 118830 106572 106566 82050 117472 124280 127678 103616 117360 124220 103520 117304 124190 75840 103472 75808 104160 117624 124350 76992 104048 117564 76896 103992 76848 76824 77536 104312 117694 77424 104252 77368 77340 77688 104382 77628 77758 121536 126320 128700 121440 126264 128670 111680 121392 126236 111648 121368 126222 111632 121356 103104 117104 124092 112320 103008 117048 124062 112224 121656 126366 93248 74784 102936 117006 93216 112152 93200 75456 103280 117180 93888 75360 103224 117150 93792 112440 121758 93744 75288 93720 75632 103356 94064 75576 103326 94008 112542 93980 75708 94140 75678 94110 121184 126136 128606 111168 121136 126108 111136 121112 126094 111120 121100 111112 111108 102752 116920 123998 111456 102704 116892 91712 74272 121244 116878 91680 74256 102668 91664 111372 102662 74244 74592 102840 116958 92000 74544 102812 91952 111516 102798 91928 74508 74502 74680 102878 92088 74652 92060 74638 92046 92126 110912 121008 126044 110880 120984 126030 110864 120972 110856 120966 110852 110850 74048 102576 116828 90944 74016 102552 116814 90912 111000 121038 90896 73992 102534 90888 110982 90884 74160 102620 91056 74136 102606 91032 111054 91020 74118 91014 91100 91086 110752 120920 125998 110736 120908 110728 120902 110724 110722 73888 102488 116782 90528 73872 102476 90512 110796 102470 90504 73860 90500 73858 73944 90584 90572 90566 120876 120870 110658 102444 73800 90312 90308 90306 101056 116080 123580 100960 116024 70720 100912 115996 70688 100888 70672 70664 71360 101232 116156 71264 101176 116126 71216 101148 71192 71180 71536 101308 71480 101278 71452 71612 71582 118112 124600 127838 105024 118064 124572 104992 118040 124558 104976 118028 104968 118022 100704 115896 123486 105312 100656 115868 79424 70176 118172 115854 79392 105240 100620 79376 70152 79368 70496 100792 115934 79712 70448 118238 79664 105372 100750 79640 70412 79628 70584 100830 79800 70556 79772 70542 70622 79838 122176 126640 128860 122144 126616 128846 122128 126604 122120 126598 122116 104768 117936 124508 113472 104736 126684 124494 113440 122264 126670 113424 104712 117894 113416 122246 104706 69952 100528 115804 78656 69920 100504 115790 96064 78624 104856 117966 96032 113560 122318 100486 96016 78600 104838 96008 69890 70064 100572 78768 70040 100558 96176 78744 104910 96152 113614 70022 78726 70108 78812 70094 96220 78798 122016 126552 128814 122000 126540 121992 126534 121988 121986 104608 117848 124462 113056 104592 126574 113040 122060 117830 113032 104580 113028 104578 113026 69792 100440 115758 78240 69776 100428 95136 78224 104652 100422 95120 113100 69764 95112 78212 69762 78210 69848 100462 78296 69836 95192 78284 69830 95180 78278 69870 95214 121936 126508 121928 126502 121924 121922 104528 117804 112848 104520 117798 112840 121958 112836 104514 112834 69712 100396 78032 69704 100390 94672 78024 104550 94664 112870 69698 94660 78018 94658 78060 94700 94694 126486 121890 117782 104484 104482 69672 77928 94440 69666 77922 99680 68160 99632 68128 99608 115342 68112 99596 68104 99590 68448 99768 115422 68400 99740 68376 99726 68364 68358 68536 99806 68508 68494 68574 101696 116400 123740 101664 116376 101648 116364 101640 116358 101636 67904 99504 115292 72512 67872 116444 115278 72480 101784 116430 72464 67848 99462 72456 101766 67842 68016 99548 72624 67992 99534 72600 101838 72588 67974 68060 72668 68046 72654 118432 124760 127918 118416 124748 118408 124742 118404 118402 101536 116312 105888 101520 116300 105872 118476 116294 105864 101508 105860 101506 105858 67744 99416 72096 67728 116334 80800 72080 101580 99398 80784 105932 67716 80776 72068 67714 72066 67800 99438 72152 67788 80856 72140 67782 80844 72134 67822 72174 80878 126800 128940 126792 128934 126788 126786 118352 124716 122576 126828 124710 122568 126822 122564 118338 122562 101456 116268 105680 101448 116262 114128 105672 118374 114120 122598 101442 114116 105666 114114 67664 99372 71888 67656 99366 80336 71880 101478 97232 80328 105702 67650 97224 114150 71874 97220 67692 71916 67686 80364 71910 97260 80358 97254 126760 128918 126756 126754 118312 124694 122472 126774 122468 118306 122466 101416 116246 105576 101412 113896 105572 101410 113892 105570 113890 67624 99350 71784 101430 80104 71780 67618 96744 80100 71778 96740 80098 96738 71798 96758 126738 122420 122418 105524 113780 113778 71732 79988 96500 96498 66880 66848 98968 66832 66824 66820 66992 66968 66956 66950 67036 67022 100000 99984 115532 99976 115526 99972 99970 66720 98904 69024 100056 98892 69008 100044 69000 100038 68996 66690 68994 66776 98926 69080 100078 69068 66758 69062 66798 69102 116560 116552 116548 116546 99920 102096 116588 115494 102088 116582 102084 99906 102082 66640 68816 66632 98854 73168 68808 66628 73160 68804 66626 73156 68802 66668 68844 66662 73196 68838 73190 124840 124836 124834 116520 118632 124854 118628 116514 118626 99880 115478 101992 116534 106216 101988 99874 106212 101986 106210 66600 98838 68712 99894 72936 68708 66594 81384 72932 68706 81380 72930 66614 68726 72950 81398 128980 128978 124820 126900 124818 126898 116500 118580 116498 122740 118578 122738 99860 101940 99858 106100 101938 114420 ] [ 128352 129720 125504 128304 129692 125472 128280 129678 125456 128268 125448 128262 125444 125792 128440 129758 120384 125744 128412 120352 125720 128398 120336 125708 120328 125702 120324 120672 125880 128478 110144 120624 125852 110112 120600 125838 110096 120588 110088 120582 110084 110432 120760 125918 89664 110384 120732 89632 110360 120718 89616 110348 89608 110342 89952 110520 120798 89904 110492 89880 110478 89868 90040 110558 90012 89998 125248 128176 129628 125216 128152 129614 125200 128140 125192 128134 125188 125186 119616 125360 128220 119584 125336 128206 119568 125324 119560 125318 119556 119554 108352 119728 125404 108320 119704 125390 108304 119692 108296 119686 108292 108290 85824 108464 119772 85792 108440 119758 85776 108428 85768 108422 85764 85936 108508 85912 108494 85900 85894 85980 85966 125088 128088 129582 125072 128076 125064 128070 125060 125058 119200 125144 128110 119184 125132 119176 125126 119172 119170 107424 119256 125166 107408 119244 107400 119238 107396 107394 83872 107480 119278 83856 107468 83848 107462 83844 83842 83928 107502 83916 83910 83950 125008 128044 125000 128038 124996 124994 118992 125036 118984 125030 118980 118978 106960 119020 106952 119014 106948 106946 82896 106988 82888 106982 82884 82882 82924 82918 124968 128022 124964 124962 118888 124982 118884 118882 106728 118902 106724 106722 82408 106742 82404 82402 124948 124946 118836 118834 106612 106610 124224 127664 129372 124192 127640 129358 124176 127628 124168 127622 124164 124162 117568 124336 127708 117536 124312 127694 117520 124300 117512 124294 117508 117506 104256 117680 124380 104224 117656 124366 104208 117644 104200 117638 104196 104194 77632 104368 117724 77600 104344 117710 77584 104332 77576 104326 77572 77744 104412 77720 104398 77708 77702 77788 77774 128672 129880 93168 128656 129868 92664 128648 129862 92412 128644 128642 124064 127576 129326 126368 124048 129902 126352 128716 127558 126344 124036 126340 124034 126338 117152 124120 127598 121760 117136 124108 121744 126412 124102 121736 117124 121732 117122 121730 103328 117208 124142 112544 103312 117196 112528 121804 117190 112520 103300 112516 103298 112514 75680 103384 117230 94112 75664 103372 94096 112588 103366 94088 75652 94084 75650 75736 103406 94168 75724 94156 75718 94150 75758 128592 129836 91640 128584 129830 91388 128580 91262 128578 123984 127532 126160 123976 127526 126152 128614 126148 123970 126146 116944 124012 121296 116936 124006 121288 126182 121284 116930 121282 102864 116972 111568 102856 116966 111560 121318 111556 102850 111554 74704 102892 92112 74696 102886 92104 111590 92100 74690 92098 74732 92140 74726 92134 128552 129814 90876 128548 90750 128546 123944 127510 126056 128566 126052 123938 126050 116840 123958 121064 116836 121060 116834 121058 102632 116854 111080 121078 111076 102626 111074 74216 102646 91112 74212 91108 74210 91106 74230 91126 128532 90494 128530 123924 126004 123922 126002 116788 120948 116786 120946 102516 110836 102514 110834 73972 90612 73970 90610 128522 123914 125978 116762 120890 102458 110714 123552 127320 129198 123536 127308 123528 127302 123524 123522 116128 123608 127342 116112 123596 116104 123590 116100 116098 101280 116184 123630 101264 116172 101256 116166 101252 101250 71584 101336 116206 71568 101324 71560 101318 71556 71554 71640 101358 71628 71622 71662 127824 129452 79352 127816 129446 79100 127812 78974 127810 123472 127276 124624 123464 127270 124616 127846 124612 123458 124610 115920 123500 118224 115912 123494 118216 124646 118212 115906 118210 100816 115948 105424 100808 115942 105416 118246 105412 100802 105410 70608 100844 79824 70600 100838 79816 105446 79812 70594 79810 70636 79852 70630 79846 129960 95728 113404 129956 95480 113278 129954 95356 95294 127784 129430 78588 128872 129974 95996 78462 128868 127778 95870 128866 123432 127254 124520 123428 126696 128886 123426 126692 124514 126690 115816 123446 117992 115812 122344 117988 115810 122340 117986 122338 100584 115830 104936 100580 113640 104932 100578 113636 104930 113634 70120 100598 78824 70116 96232 78820 70114 96228 78818 96226 70134 78838 129940 94968 113022 129938 94844 94782 127764 78206 128820 127762 95102 128818 123412 124468 123410 126580 124466 126578 115764 117876 115762 122100 117874 122098 100468 104692 100466 113140 104690 113138 69876 78324 69874 95220 78322 95218 129930 94588 94526 127754 128794 123402 124442 126522 115738 117818 121978 100410 104570 112890 69754 78074 94714 94398 123216 127148 123208 127142 123204 123202 115408 123244 115400 123238 115396 115394 99792 115436 99784 115430 99780 99778 68560 99820 68552 99814 68548 68546 68588 68582 127400 129238 72444 127396 72318 127394 123176 127126 123752 123172 123748 123170 123746 115304 123190 116456 115300 116452 115298 116450 99560 115318 101864 99556 101860 99554 101858 68072 99574 72680 68068 72676 68066 72674 68086 72694 129492 80632 105854 129490 80508 80446 127380 72062 127924 127378 80766 127922 123156 123700 123154 124788 123698 124786 115252 116340 115250 118516 116338 118514 99444 101620 99442 105972 101618 105970 67828 72180 67826 80884 72178 80882 97008 114044 96888 113982 96828 96798 129482 80252 130010 97148 80190 97086 127370 127898 128954 123146 123674 124730 126842 115226 116282 118394 122618 99386 101498 105722 114170 67706 71930 80378 96632 113854 96572 96542 80062 96702 96444 96414 96350 123048 123044 123042 115048 123062 115044 115042 99048 115062 99044 99042 67048 99062 67044 67042 67062 127188 68990 127186 123028 123316 123026 123314 114996 115572 114994 115570 98932 100084 98930 100082 66804 69108 66802 69106 129258 73084 73022 127178 127450 123018 123290 123834 114970 115514 116602 98874 99962 102138 66682 68858 73210 81272 106174 81212 81182 72894 81342 97648 114364 97592 114334 97564 97550 81084 97724 81054 97694 97464 114270 97436 97422 80990 97502 97372 97358 97326 114868 114866 98676 98674 66292 66290 123098 114842 115130 98618 99194 66170 67322 69310 73404 73374 81592 106334 81564 81550 73310 81630 97968 114524 97944 114510 97932 97926 81500 98012 81486 97998 97880 114478 97868 97862 81454 97902 97836 97830 69470 73564 73550 81752 106414 81740 81734 73518 81774 81708 81702 ] [ 109536 120312 86976 109040 120060 86496 108792 119934 86256 108668 86136 129744 89056 110072 129736 88560 109820 129732 88312 109694 129730 88188 128464 129772 89592 128456 129766 89340 128452 89214 128450 125904 128492 125896 128486 125892 125890 120784 125932 120776 125926 120772 120770 110544 120812 110536 120806 110532 84928 108016 119548 84448 107768 119422 84208 107644 84088 107582 84028 129640 85488 108284 129636 85240 108158 129634 85116 85054 128232 129654 85756 128228 85630 128226 125416 128246 125412 125410 119784 125430 119780 119778 108520 119798 108516 108514 83424 107256 119166 83184 107132 83064 107070 83004 82974 129588 83704 107390 129586 83580 83518 128116 83838 128114 125172 125170 119284 119282 107508 107506 82672 106876 82552 106814 82492 82462 129562 82812 82750 128058 125050 119034 82296 106686 82236 82206 82366 82108 82078 76736 103920 117500 76256 103672 117374 76016 103548 75896 103486 75836 129384 77296 104188 129380 77048 104062 129378 76924 76862 127720 129398 77564 127716 77438 127714 124392 127734 124388 124386 117736 124406 117732 117730 104424 117750 104420 104418 112096 121592 126334 92608 111856 121468 92384 111736 121406 92272 111676 92216 111646 92188 75232 103160 117118 93664 74992 103036 93424 112252 102974 93304 74812 93244 74782 93214 129332 75512 103294 129908 129330 93944 75388 129906 93820 75326 93758 127604 75646 128756 127602 94078 128754 124148 126452 124146 126450 117236 121844 117234 121842 103412 103410 91584 111344 121212 91360 111224 121150 91248 111164 91192 111134 91164 91150 74480 102780 91888 74360 102718 91768 111422 91708 74270 91678 129306 74620 129850 92028 74558 91966 127546 128634 124026 126202 116986 121338 102906 90848 110968 121022 90736 110908 90680 110878 90652 90638 74104 102590 91000 74044 90940 74014 90910 74174 91070 90480 110780 90424 110750 90396 90382 73916 90556 73886 90526 90296 110686 90268 90254 73822 90334 90204 90190 71136 101112 116094 70896 100988 70776 100926 70716 70686 129204 71416 101246 129202 71292 71230 127348 71550 127346 123636 123634 116212 116210 101364 101362 79296 105200 118140 79072 105080 118078 78960 105020 78904 104990 78876 78862 70384 100732 79600 70264 100670 79480 105278 79420 70174 79390 129178 70524 129466 79740 70462 79678 127290 127866 123514 124666 115962 118266 100858 113376 122232 126654 95424 113264 122172 95328 113208 122142 95280 113180 95256 113166 95244 78560 104824 117950 95968 78448 104764 95856 113468 104734 95800 78364 95772 78350 95758 70008 100542 78712 69948 96120 78652 69918 96060 78622 96030 70078 78782 96190 94912 113008 122044 94816 112952 122014 94768 112924 94744 112910 94732 94726 78192 104636 95088 78136 104606 95032 113054 95004 78094 94990 69820 78268 69790 95164 78238 95134 94560 112824 121950 94512 112796 94488 112782 94476 94470 78008 104542 94648 77980 94620 77966 94606 69726 78046 94686 94384 112732 94360 112718 94348 94342 77916 94428 77902 94414 94296 112686 94284 94278 77870 94318 94252 94246 68336 99708 68216 99646 68156 68126 68476 68414 127162 123258 115450 99834 72416 101752 116414 72304 101692 72248 101662 72220 72206 67960 99518 72568 67900 72508 67870 72478 68030 72638 80576 105840 118460 80480 105784 118430 80432 105756 80408 105742 80396 80390 72048 101564 80752 71992 101534 80696 71964 80668 71950 80654 67772 72124 67742 80828 72094 80798 114016 122552 126814 96832 113968 122524 96800 113944 122510 96784 113932 96776 113926 96772 80224 105656 118366 97120 80176 105628 97072 114076 105614 97048 80140 97036 80134 97030 71864 101470 80312 71836 97208 80284 71822 97180 80270 97166 67678 71902 80350 97246 96576 113840 122460 96544 113816 122446 96528 113804 96520 113798 96516 96514 80048 105564 96688 80024 105550 96664 113870 96652 80006 96646 71772 80092 71758 96732 80078 96718 96416 113752 122414 96400 113740 96392 113734 96388 96386 79960 105518 96472 79948 96460 79942 96454 71726 79982 96494 96336 113708 96328 113702 96324 96322 79916 96364 79910 96358 96296 113686 96292 96290 79894 96310 66936 99006 66876 66846 67006 68976 100028 68920 99998 68892 68878 66748 69052 66718 69022 73056 102072 116574 73008 102044 72984 102030 72972 72966 68792 99934 73144 68764 73116 68750 73102 66654 68830 73182 81216 106160 118620 81184 106136 118606 81168 106124 81160 106118 81156 81154 72880 101980 81328 72856 101966 81304 106190 81292 72838 81286 68700 72924 68686 81372 72910 81358 114336 122712 126894 114320 122700 114312 122694 114308 114306 81056 106072 118574 97696 81040 106060 97680 114380 106054 97672 81028 97668 81026 97666 72792 101934 81112 72780 97752 81100 72774 97740 81094 97734 68654 72814 81134 97774 114256 122668 114248 122662 114244 114242 80976 106028 97488 80968 106022 97480 114278 97476 80962 97474 72748 81004 72742 97516 80998 97510 114216 122646 114212 114210 80936 106006 97384 80932 97380 80930 97378 72726 80950 97398 114196 114194 80916 97332 80914 97330 66236 66206 67256 99166 67228 67214 66142 67294 69296 100188 69272 100174 69260 69254 67164 69340 67150 69326 73376 102232 116654 73360 102220 73352 102214 73348 73346 69208 100142 73432 102254 73420 69190 73414 67118 69230 73454 106320 118700 106312 118694 106308 106306 73296 102188 81616 106348 102182 81608 73284 81604 73282 81602 69164 73324 69158 81644 73318 81638 122792 126934 122788 122786 106280 118678 114536 106276 114532 106274 114530 73256 102166 81512 73252 98024 81508 73250 98020 81506 98018 69142 73270 81526 98038 122772 122770 106260 114484 106258 114482 73236 81460 73234 97908 81458 97906 122762 106250 114458 73226 81434 97850 66396 66382 67416 99246 67404 67398 66350 67438 69456 100268 69448 100262 69444 69442 67372 69484 67366 69478 102312 116694 102308 102306 69416 100246 73576 102326 73572 69410 73570 67350 69430 73590 118740 118738 102292 106420 102290 106418 69396 73524 69394 81780 73522 81778 118730 102282 106394 69386 73498 81722 66476 66470 67496 99286 67492 67490 66454 67510 100308 100306 67476 69556 67474 69554 116714 ] ] def % Return the 17 bits for a codeword in a given cluster /cwtobits { clusters exch get exch get /v exch def [ 17 {0} repeat v 2 17 string cvrs {48 sub} forall ] dup length 17 sub 17 getinterval } bind def % Populate bitmap for the image compact { /rwid 17 c mul 17 add 17 add 1 add def } { /rwid 17 c mul 17 add 17 add 17 add 18 add def } ifelse /pixs rwid r mul array def 0 1 r 1 sub { /i exch def i 3 mod 0 eq { /lcw i 3 idiv 30 mul r 1 sub 3 idiv add def /rcw i 3 idiv 30 mul c add 1 sub def } if i 3 mod 1 eq { /lcw i 3 idiv 30 mul eclevel 3 mul add r 1 sub 3 mod add def /rcw i 3 idiv 30 mul r 1 sub 3 idiv add def } if i 3 mod 2 eq { /lcw i 3 idiv 30 mul c add 1 sub def /rcw i 3 idiv 30 mul eclevel 3 mul add r 1 sub 3 mod add def } if pixs rwid i mul [ 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 lcw i 3 mod cwtobits {} forall cws c i mul c getinterval { i 3 mod cwtobits {} forall } forall compact { 1 } { rcw i 3 mod cwtobits {} forall 1 1 1 1 1 1 1 0 1 0 0 0 1 0 1 0 0 1 } ifelse ] putinterval } for /retval 7 dict def retval (ren) (renmatrix) put retval (pixs) pixs put retval (pixx) rwid put retval (pixy) r put retval (height) r 72 div rowmult mul put retval (width) rwid 72 div put retval (opt) useropts put retval end } bind def /pdf417 load 0 1 dict put % --END ENCODER pdf417-- % --BEGIN ENCODER datamatrix-- % --DESC: Data Matrix % --EXAM: ^142^164^186 % --EXOP: rows=32 columns=32 % --RNDR: renmatrix /datamatrix { 0 begin /options exch def /useropts options def /barcode exch def /columns 0 def /rows 0 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /columns columns cvi def /rows rows cvi def % Split the input barcode into an array of codewords /cws barcode length array def /i 0 def /j 0 def { % loop i barcode length eq {exit} if /cw barcode i 1 add 3 getinterval cvi def cws j cw put /i i 4 add def /j j 1 add def } loop /cws cws 0 j getinterval def % Basic metrics for the each symbol % rows cols regh regv rscw rsbl /metrics [ % Standard square symbols [ 10 10 1 1 5 1 ] [ 12 12 1 1 7 1 ] [ 14 14 1 1 10 1 ] [ 16 16 1 1 12 1 ] [ 18 18 1 1 14 1 ] [ 20 20 1 1 18 1 ] [ 22 22 1 1 20 1 ] [ 24 24 1 1 24 1 ] [ 26 26 1 1 28 1 ] [ 32 32 2 2 36 1 ] [ 36 36 2 2 42 1 ] [ 40 40 2 2 48 1 ] [ 44 44 2 2 56 1 ] [ 48 48 2 2 68 1 ] [ 52 52 2 2 84 2 ] [ 64 64 4 4 112 2 ] [ 72 72 4 4 144 4 ] [ 80 80 4 4 192 4 ] [ 88 88 4 4 224 4 ] [ 96 96 4 4 272 4 ] [ 104 104 4 4 336 6 ] [ 120 120 6 6 408 6 ] [ 132 132 6 6 496 8 ] [ 144 144 6 6 620 10 ] % Optional rectangular symbols [ 8 18 1 1 7 1 ] [ 8 32 1 2 11 1 ] [ 12 26 1 1 14 1 ] [ 12 36 1 2 18 1 ] [ 16 36 1 2 24 1 ] [ 16 48 1 2 28 1 ] ] def % Select metrics of an appropriate symbol /urows rows def /ucols columns def /i 0 def { % loop /m metrics i get def /rows m 0 get def % Rows in symbol /cols m 1 get def % Columns in symbol /regh m 2 get def % Horizontal regions /regv m 3 get def % Vertical regions /rscw m 4 get def % Error correction codewords /rsbl m 5 get def % Error correction blocks /mrows rows 2 regh mul sub def % Rows in the mapping matrix /mcols cols 2 regv mul sub def % Columns in the mapping matrix /rrows mrows regh idiv def % Rows per region /rcols mcols regv idiv def % Columns per region /ncws mrows mcols mul 8 idiv rscw sub def % Data codewords /okay true def cws length ncws gt {/okay false def} if urows 0 ne urows rows ne and {/okay false def} if ucols 0 ne ucols cols ne and {/okay false def} if okay {exit} if /i i 1 add def } loop % Extend cws to ncws codewords by addition of pseudo-randomised pad characters cws length ncws lt { /datlen cws length def /cws [ cws {} forall ncws datlen sub {129} repeat ] def datlen 1 add 1 ncws 1 sub { /i exch def i 1 add 149 mul 253 mod 1 add 129 add dup 254 gt {254 sub} if cws exch i exch put } for } if % De-interleave the codewords into blocks /cwbs rsbl array def % Array of data codeword blocks /ecbs rsbl array def % Array of error correction blocks 0 1 rsbl 1 sub { /i exch def cws length 1558 ne { /cwbsize cws length rsbl idiv def } { i 7 le {/cwbsize 156 def} {/cwbsize 155 def} ifelse } ifelse /cwb cwbsize array def 0 1 cwbsize 1 sub { /j exch def cwb j cws j rsbl mul i add get put } for cwbs i cwb put ecbs i [ rscw rsbl idiv {0} repeat ] put } for % Calculate the log and anti-log tables /rslog [ -255 255 {0} repeat ] def /rsalog [ 1 255 {0} repeat ] def 1 1 255 { /i exch def rsalog i rsalog i 1 sub get 2 mul put rsalog i get 256 ge { rsalog i rsalog i get 301 xor put } if rslog rsalog i get i put } for % Function to calculate the product in the field /rsprod { /y exch def /x exch def x y mul 0 ne { rsalog rslog x get rslog y get add 255 mod get } { 0 } ifelse } bind def % Generate the coefficients /coeffs [ 1 rscw rsbl idiv {0} repeat ] def 1 1 rscw rsbl idiv { /i exch def coeffs i coeffs i 1 sub get put i 1 sub -1 1 { /j exch def coeffs j coeffs j 1 sub get coeffs j get rsalog i get rsprod xor put } for coeffs 0 coeffs 0 get rsalog i get rsprod put } for /coeffs coeffs 0 coeffs length 1 sub getinterval def % Calculate the error correction codewords for each block 0 1 cwbs length 1 sub { /i exch def /cwb cwbs i get def /ecb ecbs i get def 0 1 cwb length 1 sub { /t exch cwb exch get ecb 0 get xor def ecb length 1 sub -1 0 { /j exch def /p ecb length j sub 1 sub def t 0 eq { ecb p 0 put } { ecb p rsalog rslog t get rslog coeffs j get get add 255 mod get put } ifelse j 0 gt { ecb p ecb p 1 add get ecb p get xor put } if } for } for ecbs i ecb put } for % Extend codewords with the interleaved error correction codes /cws [ cws {} forall rscw {0} repeat ] def 0 1 rscw 1 sub { /i exch def cws ncws i add ecbs i rsbl mod get i rsbl idiv get put } for % Create the module placement matrix /module { /tmpc exch def /tmpr exch def tmpr 0 lt { /tmpr tmpr mrows add def /tmpc tmpc 4 mrows 4 add 8 mod sub add def } if tmpc 0 lt { /tmpc tmpc mcols add def /tmpr tmpr 4 mcols 4 add 8 mod sub add def } if mmat tmpr mcols mul tmpc add bit put /bit bit 1 add def } bind def /mmat [ mrows mcols mul {-1} repeat ] def /bit 0 def /row 4 def /col 0 def { % loop row mrows eq col 0 eq and { [ [mrows 1 sub 0] [mrows 1 sub 1] [mrows 1 sub 2] [0 mcols 2 sub] [0 mcols 1 sub] [1 mcols 1 sub] [2 mcols 1 sub] [3 mcols 1 sub] ] {{} forall module} forall } if row mrows 2 sub eq col 0 eq and mcols 4 mod 0 ne and { [ [mrows 3 sub 0] [mrows 2 sub 0] [mrows 1 sub 0] [0 mcols 4 sub] [0 mcols 3 sub] [0 mcols 2 sub] [0 mcols 1 sub] [1 mcols 1 sub] ] {{} forall module} forall } if row mrows 2 sub eq col 0 eq and mcols 8 mod 4 eq and { [ [mrows 3 sub 0] [mrows 2 sub 0] [mrows 1 sub 0] [0 mcols 2 sub] [0 mcols 1 sub] [1 mcols 1 sub] [2 mcols 1 sub] [3 mcols 1 sub] ] {{} forall module} forall } if row mrows 4 add eq col 2 eq and mcols 8 mod 0 eq and { [ [mrows 1 sub 0] [mrows 1 sub mcols 1 sub] [0 mcols 3 sub] [0 mcols 2 sub] [0 mcols 1 sub] [1 mcols 3 sub] [1 mcols 2 sub] [1 mcols 1 sub] ] {{} forall module} forall } if { % loop for sweeping upwards row mrows lt col 0 ge and { mmat row mcols mul col add get -1 eq { [ [row 2 sub col 2 sub] [row 2 sub col 1 sub] [row 1 sub col 2 sub] [row 1 sub col 1 sub] [row 1 sub col] [row col 2 sub] [row col 1 sub] [row col] ] {{} forall module} forall } if } if /row row 2 sub def /col col 2 add def row 0 ge col mcols lt and not {exit} if } loop /row row 1 add def /col col 3 add def { % loop for sweeping downwards row 0 ge col mcols lt and { mmat row mcols mul col add get -1 eq { [ [row 2 sub col 2 sub] [row 2 sub col 1 sub] [row 1 sub col 2 sub] [row 1 sub col 1 sub] [row 1 sub col] [row col 2 sub] [row col 1 sub] [row col] ] {{} forall module} forall } if } if /row row 2 add def /col col 2 sub def row mrows lt col 0 ge and not {exit} if } loop /row row 3 add def /col col 1 add def row mrows lt col mcols lt or not {exit} if } loop % Set checker pattern if required mmat mrows mcols mul 1 sub get -1 eq { mmat mrows mcols 1 sub mul 2 sub [-1 -2] putinterval mmat mrows mcols mul 2 sub [-2 -1] putinterval } if % Invert the map to form the mapping matrix correcting the checker case /modmap mrows mcols mul 8 idiv 8 mul array def 0 1 mmat length 1 sub { /i exch def mmat i get 0 ge { modmap mmat i get i put } { mmat i mmat i get 2 add put } ifelse } for % Place the codewords in the matrix according to the mapping matrix 0 1 cws length 1 sub { /i exch def [ 8 {0} repeat cws i get 2 8 string cvrs {48 sub} forall ] dup length 8 sub 8 getinterval /bits exch def 0 1 7 { /j exch def mmat modmap i 8 mul j add get bits j get put } for } for % Place the modules onto a pixel map between alignment patterns /pixs rows cols mul array def /cwpos 0 def 0 1 rows 1 sub { /i exch def i rrows 2 add mod 0 eq { pixs i cols mul [ cols 2 idiv {1 0} repeat ] putinterval } if i rrows 2 add mod rrows 1 add eq { pixs i cols mul [ cols {1} repeat ] putinterval } if i rrows 2 add mod 0 ne i rrows 2 add mod rrows 1 add ne and { 0 1 cols 1 sub { /j exch def j rcols 2 add mod 0 eq { pixs i cols mul j add 1 put } if j rcols 2 add mod rcols 1 add eq { pixs i cols mul j add i 2 mod put } if j rcols 2 add mod 0 ne j rcols 2 add mod rcols 1 add ne and { pixs i cols mul j add mmat cwpos get put /cwpos cwpos 1 add def } if } for } if } for /retval 7 dict def retval (ren) (renmatrix) put retval (pixs) pixs put retval (pixx) cols put retval (pixy) rows put retval (height) rows 72 div 1.5 mul put retval (width) cols 72 div 1.5 mul put retval (opt) useropts put retval end } bind def /datamatrix load 0 1 dict put % --END ENCODER datamatrix-- % --BEGIN ENCODER qrcode-- % --DESC: QR Code % --EXAM: 000100000010000000001100010101100110000110000 % --EXOP: version=1 eclevel=M % --RNDR: renmatrix /qrcode { 0 begin /options exch def /useropts options def /barcode exch def /format (full) def % full or micro /version (unset) def /eclevel (L) def % L, M, Q or H % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop % Convert from input into message bitstream /msgbits barcode def % Lookup the most appropriate symbol specification /metrics [ % format vers size align modules error codewords error correction blocks % L M Q H L1 L2 M1 M2 Q1 Q2 H1 H2 [ (micro) (M1) 11 98 99 36 [ 2 99 99 99 ] [ 1 0 99 99 99 99 99 99 ] ] [ (micro) (M2) 13 98 99 80 [ 5 6 99 99 ] [ 1 0 1 0 99 99 99 99 ] ] [ (micro) (M3) 15 98 99 132 [ 6 8 99 99 ] [ 1 0 1 0 99 99 99 99 ] ] [ (micro) (M4) 17 98 99 192 [ 8 10 14 99 ] [ 1 0 1 0 1 0 99 99 ] ] [ (full) (1) 21 98 99 208 [ 7 10 13 17 ] [ 1 0 1 0 1 0 1 0 ] ] [ (full) (2) 25 18 99 359 [ 10 16 22 28 ] [ 1 0 1 0 1 0 1 0 ] ] [ (full) (3) 29 22 99 567 [ 15 26 36 44 ] [ 1 0 1 0 2 0 2 0 ] ] [ (full) (4) 33 26 99 807 [ 20 36 52 64 ] [ 1 0 2 0 2 0 4 0 ] ] [ (full) (5) 37 30 99 1079 [ 26 48 72 88 ] [ 1 0 2 0 2 2 2 2 ] ] [ (full) (6) 41 34 99 1383 [ 36 64 96 112 ] [ 2 0 4 0 4 0 4 0 ] ] [ (full) (7) 45 22 38 1568 [ 40 72 108 130 ] [ 2 0 4 0 2 4 4 1 ] ] [ (full) (8) 49 24 42 1936 [ 48 88 132 156 ] [ 2 0 2 2 4 2 4 2 ] ] [ (full) (9) 53 26 46 2336 [ 60 110 160 192 ] [ 2 0 3 2 4 4 4 4 ] ] [ (full) (10) 57 28 50 2768 [ 72 130 192 224 ] [ 2 2 4 1 6 2 6 2 ] ] [ (full) (11) 61 30 54 3232 [ 80 150 224 264 ] [ 4 0 1 4 4 4 3 8 ] ] [ (full) (12) 65 32 58 3728 [ 96 176 260 308 ] [ 2 2 6 2 4 6 7 4 ] ] [ (full) (13) 69 34 62 4256 [ 104 198 288 352 ] [ 4 0 8 1 8 4 12 4 ] ] [ (full) (14) 73 26 46 4651 [ 120 216 320 384 ] [ 3 1 4 5 11 5 11 5 ] ] [ (full) (15) 77 26 48 5243 [ 132 240 360 432 ] [ 5 1 5 5 5 7 11 7 ] ] [ (full) (16) 81 26 50 5867 [ 144 280 408 480 ] [ 5 1 7 3 15 2 3 13 ] ] [ (full) (17) 85 30 54 6523 [ 168 308 448 532 ] [ 1 5 10 1 1 15 2 17 ] ] [ (full) (18) 89 30 56 7211 [ 180 338 504 588 ] [ 5 1 9 4 17 1 2 19 ] ] [ (full) (19) 93 30 58 7931 [ 196 364 546 650 ] [ 3 4 3 11 17 4 9 16 ] ] [ (full) (20) 97 34 62 8683 [ 224 416 600 700 ] [ 3 5 3 13 15 5 15 10 ] ] [ (full) (21) 101 28 50 9252 [ 224 442 644 750 ] [ 4 4 17 0 17 6 19 6 ] ] [ (full) (22) 105 26 50 10068 [ 252 476 690 816 ] [ 2 7 17 0 7 16 34 0 ] ] [ (full) (23) 109 30 54 10916 [ 270 504 750 900 ] [ 4 5 4 14 11 14 16 14 ] ] [ (full) (24) 113 28 54 11796 [ 300 560 810 960 ] [ 6 4 6 14 11 16 30 2 ] ] [ (full) (25) 117 32 58 12708 [ 312 588 870 1050 ] [ 8 4 8 13 7 22 22 13 ] ] [ (full) (26) 121 30 58 13652 [ 336 644 952 1110 ] [ 10 2 19 4 28 6 33 4 ] ] [ (full) (27) 125 34 62 14628 [ 360 700 1020 1200 ] [ 8 4 22 3 8 26 12 28 ] ] [ (full) (28) 129 26 50 15371 [ 390 728 1050 1260 ] [ 3 10 3 23 4 31 11 31 ] ] [ (full) (29) 133 30 54 16411 [ 420 784 1140 1350 ] [ 7 7 21 7 1 37 19 26 ] ] [ (full) (30) 137 26 52 17483 [ 450 812 1200 1440 ] [ 5 10 19 10 15 25 23 25 ] ] [ (full) (31) 141 30 56 18587 [ 480 868 1290 1530 ] [ 13 3 2 29 42 1 23 28 ] ] [ (full) (32) 145 34 60 19723 [ 510 924 1350 1620 ] [ 17 0 10 23 10 35 19 35 ] ] [ (full) (33) 149 30 58 20891 [ 540 980 1440 1710 ] [ 17 1 14 21 29 19 11 46 ] ] [ (full) (34) 153 34 62 22091 [ 570 1036 1530 1800 ] [ 13 6 14 23 44 7 59 1 ] ] [ (full) (35) 157 30 54 23008 [ 570 1064 1590 1890 ] [ 12 7 12 26 39 14 22 41 ] ] [ (full) (36) 161 24 50 24272 [ 600 1120 1680 1980 ] [ 6 14 6 34 46 10 2 64 ] ] [ (full) (37) 165 28 54 25568 [ 630 1204 1770 2100 ] [ 17 4 29 14 49 10 24 46 ] ] [ (full) (38) 169 32 58 26896 [ 660 1260 1860 2220 ] [ 4 18 13 32 48 14 42 32 ] ] [ (full) (39) 173 26 54 28256 [ 720 1316 1950 2310 ] [ 20 4 40 7 43 22 10 67 ] ] [ (full) (40) 177 30 58 29648 [ 750 1372 2040 2430 ] [ 19 6 18 31 34 34 20 61 ] ] ] def /eclval (LMQH) eclevel search pop length exch pop exch pop def /i 0 def { % loop /m metrics i get def /frmt m 0 get def % Format of the symbol /vers m 1 get def % Version of symbol /size m 2 get def % Length of side /asp2 m 3 get def % Position of second alignment symbol /asp3 m 4 get def % Position of third alignment symbol /nmod m 5 get def % Number of modules /ncws nmod 8 idiv def % Total number of codewords /rbit nmod 8 mod def % Number of remainder bits /lc4b false def % Last data codeword is 4 bits long size 11 eq size 15 eq or { % Adjustments for M1 and M3 symbols /ncws ncws 1 add def /rbit 0 def /lc4b true def } if /ecws m 6 get eclval get def % Number of error correction codewords /dcws ncws ecws sub def % Number of data codewords /dmod dcws 8 mul lc4b {4} {0} ifelse sub def % Number of data modules /ecb1 m 7 get eclval 2 mul get def % First error correction blocks /ecb2 m 7 get eclval 2 mul 1 add get def % Second error correction blocks /dcpb dcws ecb1 ecb2 add idiv def % Base data codewords per block /ecpb ncws ecb1 ecb2 add idiv dcpb sub def % Error correction codewords per block /okay true def version (unset) ne version vers ne and {/okay false def} if version (unset) eq format frmt ne and {/okay false def} if msgbits length dmod gt {/okay false def} if okay {exit} if /i i 1 add def } loop /format frmt def /version vers def % Expand the message bits by adding padding as necessary /pad dmod string def 0 4 dmod 1 sub {pad exch (0000) putinterval} for pad 0 msgbits putinterval /padstrs [ (11101100) (00010001) ] def /padnum 0 def msgbits length 8 div ceiling 8 mul cvi 8 dmod lc4b {5} {1} ifelse sub { pad exch padstrs padnum get putinterval /padnum padnum 1 add 2 mod def } for % Evaluate the padded message into codewords /cws dcws array def 0 1 cws length 1 sub { /c exch def /bpcw 8 def lc4b c cws length 1 sub eq and {/bpcw 4 def} if /cwb pad c 8 mul bpcw getinterval def /cw 0 def 0 1 bpcw 1 sub { /i exch def /cw cw 2 bpcw i sub 1 sub exp cvi cwb i get 48 sub mul add def } for cws c cw put } for % Calculate the log and anti-log tables /rslog [ -255 255 {0} repeat ] def /rsalog [ 1 255 {0} repeat ] def 1 1 255 { /i exch def rsalog i rsalog i 1 sub get 2 mul put rsalog i get 256 ge { rsalog i rsalog i get 285 xor put } if rslog rsalog i get i put } for % Function to calculate the product in the field /rsprod { /y exch def /x exch def x y mul 0 ne { rsalog rslog x get rslog y get add 255 mod get } { 0 } ifelse } bind def % Generate the coefficients for the Reed-Solomon algorithm /coeffs [ 1 ecpb {0} repeat ] def 0 1 ecpb 1 sub { /i exch def coeffs i 1 add coeffs i get put i -1 1 { /j exch def coeffs j coeffs j 1 sub get coeffs j get rsalog i get rsprod xor put } for coeffs 0 coeffs 0 get rsalog i get rsprod put } for /coeffs coeffs 0 coeffs length 1 sub getinterval def % Reed-Solomon algorithm to derive the error correction codewords /rscodes { /rscws exch def /rsnd rscws length def /rscws [ rscws {} forall ecpb {0} repeat ] def 0 1 rsnd 1 sub { /m exch def /k rscws m get def 0 1 ecpb 1 sub { /j exch def rscws m j add 1 add coeffs ecpb j sub 1 sub get k rsprod rscws m j add 1 add get xor put } for } for rscws rsnd ecpb getinterval } bind def % Divide codewords into two groups of blocks and calculate the error correction codewords /dcwsb ecb1 ecb2 add array def /ecwsb ecb1 ecb2 add array def 0 1 ecb1 1 sub { % First group of blocks has smaller number of data codewords /i exch def dcwsb i cws i dcpb mul dcpb getinterval put ecwsb i dcwsb i get rscodes put } for 0 1 ecb2 1 sub { % Second group of blocks has larger number of data codewords /i exch def dcwsb ecb1 i add cws ecb1 dcpb mul i dcpb 1 add mul add dcpb 1 add getinterval put ecwsb ecb1 i add dcwsb ecb1 i add get rscodes put } for % Reassemble the codewords /cws ncws array def /cw 0 def 0 1 dcpb { % Interleave the data codeword blocks /i exch def 0 1 ecb1 ecb2 add 1 sub { /j exch def i dcwsb j get length lt { % Ignore the end of short blocks cws cw dcwsb j get i get put /cw cw 1 add def } if } for } for 0 1 ecpb 1 sub { % Interleave the error codeword blocks /i exch def 0 1 ecb1 ecb2 add 1 sub { /j exch def cws cw ecwsb j get i get put /cw cw 1 add def } for } for % Extend codewords by one if there are remainder bits rbit 0 gt { /pad cws length 1 add array def pad 0 cws putinterval pad pad length 1 sub 0 put /cws pad def } if % Fixups for the short final data byte in M1 and M3 symbols lc4b { dcws 1 sub 1 ncws 2 sub { /i exch def cws i cws i get 15 and 4 bitshift put cws i cws i 1 add get -4 bitshift 15 and cws i get or put } for cws ncws 1 sub cws ncws 1 sub get 15 and 4 bitshift put } if % Create the bitmap /pixs [ size size mul {-1} repeat ] def /qmv {size mul add} bind def % Finder patterns /fpat [ [ 1 1 1 1 1 1 1 0 ] [ 1 0 0 0 0 0 1 0 ] [ 1 0 1 1 1 0 1 0 ] [ 1 0 1 1 1 0 1 0 ] [ 1 0 1 1 1 0 1 0 ] [ 1 0 0 0 0 0 1 0 ] [ 1 1 1 1 1 1 1 0 ] [ 0 0 0 0 0 0 0 0 ] ] def 0 1 fpat length 1 sub { /y exch def 0 1 fpat 0 get length 1 sub { /x exch def /fpb fpat y get x get def pixs x y qmv fpb put format (full) eq { pixs size x sub 1 sub y qmv fpb put pixs x size y sub 1 sub qmv fpb put } if } for } for % Alignment patterns /algnpat [ [ 1 1 1 1 1 ] [ 1 0 0 0 1 ] [ 1 0 1 0 1 ] [ 1 0 0 0 1 ] [ 1 1 1 1 1 ] ] def /putalgnpat { /py exch def /px exch def 0 1 4 { /pb exch def 0 1 4 { /pa exch def pixs px pa add py pb add qmv algnpat pb get pa get put } for } for } bind def asp2 2 sub asp3 asp2 sub size 13 sub { /i exch def i 4 putalgnpat 4 i putalgnpat } for asp2 2 sub asp3 asp2 sub size 9 sub { /x exch def asp2 2 sub asp3 asp2 sub size 9 sub { /y exch def x y putalgnpat } for } for % Timing patterns format (full) eq { 8 1 size 9 sub { /i exch def pixs i 6 qmv i 1 add 2 mod put pixs 6 i qmv i 1 add 2 mod put } for } { 8 1 size 1 sub { /i exch def pixs i 0 qmv i 1 add 2 mod put pixs 0 i qmv i 1 add 2 mod put } for } ifelse % Format information modules format (full) eq { /formatmap [ [ [ 0 8 ] [ 8 size 1 sub ] ] [ [ 1 8 ] [ 8 size 2 sub ] ] [ [ 2 8 ] [ 8 size 3 sub ] ] [ [ 3 8 ] [ 8 size 4 sub ] ] [ [ 4 8 ] [ 8 size 5 sub ] ] [ [ 5 8 ] [ 8 size 6 sub ] ] [ [ 7 8 ] [ 8 size 7 sub ] ] [ [ 8 8 ] [ size 8 sub 8 ] ] [ [ 8 7 ] [ size 7 sub 8 ] ] [ [ 8 5 ] [ size 6 sub 8 ] ] [ [ 8 4 ] [ size 5 sub 8 ] ] [ [ 8 3 ] [ size 4 sub 8 ] ] [ [ 8 2 ] [ size 3 sub 8 ] ] [ [ 8 1 ] [ size 2 sub 8 ] ] [ [ 8 0 ] [ size 1 sub 8 ] ] ] def } { /formatmap [ [ [ 1 8 ] ] [ [ 2 8 ] ] [ [ 3 8 ] ] [ [ 4 8 ] ] [ [ 5 8 ] ] [ [ 6 8 ] ] [ [ 7 8 ] ] [ [ 8 8 ] ] [ [ 8 7 ] ] [ [ 8 6 ] ] [ [ 8 5 ] ] [ [ 8 4 ] ] [ [ 8 3 ] ] [ [ 8 2 ] ] [ [ 8 1 ] ] ] def } ifelse formatmap { { {} forall qmv pixs exch 0 put } forall } forall % Version information modules size 45 ge { /versionmap [ [ [ size 9 sub 5 ] [ 5 size 9 sub ] ] [ [ size 10 sub 5 ] [ 5 size 10 sub ] ] [ [ size 11 sub 5 ] [ 5 size 11 sub ] ] [ [ size 9 sub 4 ] [ 4 size 9 sub ] ] [ [ size 10 sub 4 ] [ 4 size 10 sub ] ] [ [ size 11 sub 4 ] [ 4 size 11 sub ] ] [ [ size 9 sub 3 ] [ 3 size 9 sub ] ] [ [ size 10 sub 3 ] [ 3 size 10 sub ] ] [ [ size 11 sub 3 ] [ 3 size 11 sub ] ] [ [ size 9 sub 2 ] [ 2 size 9 sub ] ] [ [ size 10 sub 2 ] [ 2 size 10 sub ] ] [ [ size 11 sub 2 ] [ 2 size 11 sub ] ] [ [ size 9 sub 1 ] [ 1 size 9 sub ] ] [ [ size 10 sub 1 ] [ 1 size 10 sub ] ] [ [ size 11 sub 1 ] [ 1 size 11 sub ] ] [ [ size 9 sub 0 ] [ 0 size 9 sub ] ] [ [ size 10 sub 0 ] [ 0 size 10 sub ] ] [ [ size 11 sub 0 ] [ 0 size 11 sub ] ] ] def } { /versionmap [] def } ifelse versionmap { { {} forall qmv pixs exch 0 put } forall } forall % Solitary dark module in full symbols format (full) eq { pixs 8 size 8 sub qmv 1 put } if % Calculate the mask patterns format (full) eq { /maskfuncs [ {add 2 mod} bind {exch pop 2 mod} bind {pop 3 mod} bind {add 3 mod} bind {2 idiv exch 3 idiv add 2 mod} bind {mul dup 2 mod exch 3 mod add} bind {mul dup 2 mod exch 3 mod add 2 mod} bind {2 copy mul 3 mod 3 1 roll add 2 mod add 2 mod} bind ] def } { /maskfuncs [ {exch pop 2 mod} bind {2 idiv exch 3 idiv add 2 mod} bind {mul dup 2 mod exch 3 mod add 2 mod} bind {2 copy mul 3 mod 3 1 roll add 2 mod add 2 mod} bind ] def } ifelse /masks maskfuncs length array def 0 1 masks length 1 sub { /m exch def /mask size size mul array def 0 1 size 1 sub { /j exch def 0 1 size 1 sub { /i exch def i j maskfuncs m get exec 0 eq pixs i j qmv get -1 eq and {1} {0} ifelse mask i j qmv 3 -1 roll put } for } for masks m mask put } for % Walk the symbol placing the bitstream /posx size 1 sub def /posy size 1 sub def /dir -1 def % -1 is upwards, 1 is downwards /col 1 def % 0 is left bit, 1 is right bit /num 0 def { % loop posx 0 lt {exit} if pixs posx posy qmv get -1 eq { cws num 8 idiv get 7 num 8 mod sub neg bitshift 1 and pixs posx posy qmv 3 -1 roll put /num num 1 add def } if col 1 eq { /col 0 def /posx posx 1 sub def } { /col 1 def /posx posx 1 add def /posy posy dir add def posy 0 lt posy size ge or { % Turn around at top and bottom /dir dir -1 mul def /posy posy dir add def /posx posx 2 sub def % Hop over the timing pattern in full size symbols format (full) eq posx 6 eq and {/posx posx 1 sub def} if } if } ifelse } loop % Evaluation algorithm for full symbols /evalfull { /sym exch def m 2 eq {1} {2} ifelse % In future we may evaluate the masks } bind def % Evaluation algoritm for micro symbols /evalmicro { /sym exch def /dkrhs 0 def /dkbot 0 def 1 1 size 1 sub { /i exch def /dkrhs dkrhs sym size 1 sub i qmv get add def /dkbot dkbot sym i size 1 sub qmv get add def } for dkrhs dkbot le { dkrhs 16 mul dkbot add neg } { dkbot 16 mul dkrhs add neg } ifelse } bind def % Evaluate the masked symbols to find the most suitable /bestscore 999999999 def 0 1 masks length 1 sub { /m exch def /masksym size size mul array def 0 1 size size mul 1 sub { /i exch def masksym i pixs i get masks m get i get xor put } for format (full) eq { masksym evalfull /score exch def } { masksym evalmicro /score exch def } ifelse score bestscore lt { /bestsym masksym def /bestmaskval m def /bestscore score def } if } for /pixs bestsym def % Add the format information format (full) eq { /fmtvals [ 16#5412 16#5125 16#5e7c 16#5b4b 16#45f9 16#40ce 16#4f97 16#4aa0 16#77c4 16#72f3 16#7daa 16#789d 16#662f 16#6318 16#6c41 16#6976 16#1689 16#13be 16#1ce7 16#19d0 16#0762 16#0255 16#0d0c 16#083b 16#355f 16#3068 16#3f31 16#3a06 16#24b4 16#2183 16#2eda 16#2bed ] def /ecid (MLHQ) eclevel search pop length exch pop exch pop def /fmtval fmtvals ecid 3 bitshift bestmaskval add get def } { /fmtvals [ 16#4445 16#4172 16#4e2b 16#4b1c 16#55ae 16#5099 16#5fc0 16#5af7 16#6793 16#62a4 16#6dfd 16#68ca 16#7678 16#734f 16#7c16 16#7921 16#06de 16#03e9 16#0cb0 16#0987 16#1735 16#1202 16#1d5b 16#186c 16#2508 16#203f 16#2f66 16#2a51 16#34e3 16#31d4 16#3e8d 16#3bba ] def /symid [ [0] [1 2] [3 4] [5 6 7] ] size 11 sub 2 idiv get eclval get def /fmtval fmtvals symid 2 bitshift bestmaskval add get def } ifelse 0 1 formatmap length 1 sub { /i exch def formatmap i get { pixs exch {} forall qmv fmtval 14 i sub neg bitshift 1 and put } forall } for % Add the version information size 45 ge { /vervals [ 16#07c94 16#085bc 16#09a99 16#0a4d3 16#0bbf6 16#0c762 16#0d847 16#0e60d 16#0f928 16#10b78 16#1145d 16#12a17 16#13532 16#149a6 16#15683 16#168c9 16#177ec 16#18ec4 16#191e1 16#1afab 16#1b08e 16#1cc1a 16#1d33f 16#1ed75 16#1f250 16#209d5 16#216fd 16#228ba 16#2379f 16#24b0b 16#2542e 16#26a64 16#27541 16#28c69 ] def /verval vervals size 17 sub 4 idiv 7 sub get def 0 1 versionmap length 1 sub { /i exch def versionmap i get { pixs exch {} forall qmv verval 17 i sub neg bitshift 1 and put } forall } for } if /retval 7 dict def retval (ren) (renmatrix) put retval (pixs) pixs put retval (pixx) size put retval (pixy) size put retval (height) size 2 mul 72 div put retval (width) size 2 mul 72 div put retval (opt) useropts put retval end } bind def /qrcode load 0 1 dict put % --END ENCODER qrcode-- % --BEGIN ENCODER maxicode-- % --DESC: MaxiCode % --EXAM: ^059^042^041^059^040^03001^02996152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291^0471^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^030^062^004^063 % --EXOP: mode=2 % --RNDR: renmaximatrix /maxicode { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /mode 4 def /sam -1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /mode mode cvi def /sam sam cvi def /txtvals (@ABCDEFGHIJKLMNOPQRSTUVWXYZ@@@@@ @@@@@@@@@@@@@@@0123456789@@@@@@) def % Parse a given message into codewords /maxiparse { /txt exch def /out txt length array def /i 0 def /j 0 def { % loop i txt length eq {exit} if txt i 1 getinterval (^) eq { % Codeword is given by the next three characters /cw txt i 1 add 3 getinterval cvi def /i i 4 add def } { % Codeword is the characters position in txtvals txtvals txt i 1 getinterval search pop length /cw exch def pop pop /i i 1 add def } ifelse out j cw put /j j 1 add def } loop out 0 j getinterval } bind def % Calcalate the structured append mode insert /sami () def sam -1 ne { /sami (^033^000) 8 string copy def sam 10 idiv 1 sub 8 mul sam 10 mod 1 sub add 10 2 string cvrs dup length 8 exch sub sami exch 3 -1 roll putinterval } if % Message handling for modes 2 and 3 mode 2 eq mode 3 eq or { /msg barcode def % Normalise messages that begin with a field identifier [)>RS01GSyy msg (^059^042^041^059^040^03001^029) search { pop dup length 2 add string /fid exch def fid 0 3 -1 roll putinterval dup fid fid length 2 sub 3 -1 roll 0 2 getinterval putinterval dup length 2 sub 2 exch getinterval /msg exch def } { pop /fid () def } ifelse % Read the postcode, country code and service code fields msg (^029) search pop /pc exch def pop (^029) search pop /cc exch def pop (^029) search pop /sc exch def pop /msg exch def % Calculate the fixed-width binary values for the mode, postcode, country code and service /mdb (0000) 4 string copy dup mode cvi 2 4 string cvrs dup length 4 exch sub exch putinterval def /ccb (0000000000) 10 string copy dup cc cvi 2 10 string cvrs dup length 10 exch sub exch putinterval def /scb (0000000000) 10 string copy dup sc cvi 2 10 string cvrs dup length 10 exch sub exch putinterval def /pcb (000000000000000000000000000000000000) 36 string copy def mode 2 eq { % For numeric postcode, first six bits represent length and remaining 30 bits the value pcb pc length 2 6 string cvrs dup length 6 exch sub exch putinterval pcb pc cvi 2 30 string cvrs dup length 36 exch sub exch putinterval } { % mode=3 % For alphanumeric postcode, trim or pad with spaces to 6 chars and encode to binary /pccw ( ) 6 string copy dup 0 pc length 6 gt {pc 0 6 getinterval} {pc} ifelse putinterval maxiparse def 0 1 5 { /i exch def pcb pccw i get 2 6 string cvrs dup length 6 i mul 6 add exch sub exch putinterval } for } ifelse % Convolute the binary values into the structured carrier message /scm 60 string def scm 2 mdb putinterval scm 38 pcb 0 4 getinterval putinterval scm 30 pcb 4 6 getinterval putinterval scm 24 pcb 10 6 getinterval putinterval scm 18 pcb 16 6 getinterval putinterval scm 12 pcb 22 6 getinterval putinterval scm 6 pcb 28 6 getinterval putinterval scm 0 pcb 34 2 getinterval putinterval scm 52 ccb 0 2 getinterval putinterval scm 42 ccb 2 6 getinterval putinterval scm 36 ccb 8 2 getinterval putinterval scm 54 scb 0 6 getinterval putinterval scm 48 scb 6 4 getinterval putinterval % Evaluate the structured carrier message as codewords /pri [ 0 0 0 0 0 0 0 0 0 0 ] def 0 1 59 { /i exch def /ps i 6 idiv def /ep 2 5 i 6 mod sub exp cvi scm i get 48 sub mul def pri ps pri ps get ep add put } for % Encode the secondary parts, including any SAM insert and field identifier /sec [ 84 {33} repeat ] def sec 0 [ sami maxiparse {} forall fid maxiparse {} forall msg maxiparse {} forall ] putinterval } if % Message handling for modes 4, 5 and 6 mode 4 eq mode 5 eq or mode 6 eq or { % Prefix the message with the structured append insert /msg sami length barcode length add string def msg 0 sami putinterval msg sami length barcode putinterval % First symbol is the mode and the remainder are the padded message /cws [ mode 5 eq {78} {94} ifelse {33} repeat ] def cws 0 mode put cws 1 msg maxiparse putinterval % Fit the message into the primary and secondary components /pri cws 0 10 getinterval def /sec cws 10 cws length 10 sub getinterval def } if % Create the 64x64 Reed-Solomon table /rstable 64 64 mul array def rstable 0 [ 64 {0} repeat ] putinterval rstable 64 [ 0 1 63 {} for ] putinterval /prev 1 def 64 { /next prev 1 bitshift def next 64 and 0 ne { /next next 67 xor def } if 0 1 63 { /j exch def /nextcell {rstable 64 next mul j add} def nextcell rstable 64 prev mul j add get 1 bitshift put nextcell get 64 and 0 ne { nextcell nextcell get 67 xor put } if } for /prev next def } repeat % Calculate the parity codewords for primary codewords /pgen [46 44 49 3 2 57 42 39 28 31 1] def /rscodes [ 10 {0} repeat 9 -1 0 { pri exch get } for ] def rscodes length 11 sub -1 0 { /i exch def 0 1 10 { /j exch def rscodes i j add rscodes i j add get rstable 64 pgen j get mul rscodes i 10 add get add get xor put } for } for /prichk [ 9 -1 0 { rscodes exch get } for ] def % Split secondary codeword into odd and even elements /seco [ 0 2 sec length 1 sub { sec exch get } for ] def /sece [ 1 2 sec length 1 sub { sec exch get } for ] def % Calculate the parity codewords for secondary codeword parts based on mode sec length 84 eq { % SEC mode /sgen [ 59 23 19 31 33 38 17 22 48 15 36 57 37 22 8 27 33 11 44 23 1 ] def } { % EEC mode /sgen [ 28 11 20 7 43 9 41 34 49 46 37 40 55 34 45 61 13 23 29 22 10 35 55 41 10 53 45 22 1 ] def } ifelse /scodes sgen length 1 sub def /rscodes [ scodes {0} repeat seco length 1 sub -1 0 { seco exch get } for ] def rscodes length scodes sub 1 sub -1 0 { /i exch def 0 1 scodes { /j exch def rscodes i j add rscodes i j add get rstable 64 sgen j get mul rscodes i scodes add get add get xor put } for } for /secochk [ scodes 1 sub -1 0 { rscodes exch get } for ] def /rscodes [ scodes {0} repeat sece length 1 sub -1 0 { sece exch get } for ] def rscodes length scodes sub 1 sub -1 0 { /i exch def 0 1 scodes { /j exch def rscodes i j add rscodes i j add get rstable 64 sgen j get mul rscodes i scodes add get add get xor put } for } for /secechk [ scodes 1 sub -1 0 { rscodes exch get } for ] def % Recompose the secondary parity codewords /secchk [ 0 1 scodes 1 sub { dup secochk exch get exch secechk exch get } for ] def % Concatinate the data into final codewords /codewords [ pri {} forall prichk {} forall sec {} forall secchk {} forall ] def % Convert the codewords into module bits /mods [ 864 {0} repeat ] def 0 1 143 { /i exch def /cw [ codewords i get 2 6 string cvrs {48 sub} forall ] def mods 6 i mul 6 cw length sub add cw putinterval } for % Maps modules to pixels in the grid /modmap [ 469 529 286 316 347 346 673 672 703 702 647 676 283 282 313 312 370 610 618 379 378 409 408 439 705 704 559 589 588 619 458 518 640 701 675 674 285 284 315 314 310 340 531 289 288 319 349 348 456 486 517 516 471 470 369 368 399 398 429 428 549 548 579 578 609 608 649 648 679 678 709 708 639 638 669 668 699 698 279 278 309 308 339 338 381 380 411 410 441 440 561 560 591 590 621 620 547 546 577 576 607 606 367 366 397 396 427 426 291 290 321 320 351 350 651 650 681 680 711 710 1 0 31 30 61 60 3 2 33 32 63 62 5 4 35 34 65 64 7 6 37 36 67 66 9 8 39 38 69 68 11 10 41 40 71 70 13 12 43 42 73 72 15 14 45 44 75 74 17 16 47 46 77 76 19 18 49 48 79 78 21 20 51 50 81 80 23 22 53 52 83 82 25 24 55 54 85 84 27 26 57 56 87 86 117 116 147 146 177 176 115 114 145 144 175 174 113 112 143 142 173 172 111 110 141 140 171 170 109 108 139 138 169 168 107 106 137 136 167 166 105 104 135 134 165 164 103 102 133 132 163 162 101 100 131 130 161 160 99 98 129 128 159 158 97 96 127 126 157 156 95 94 125 124 155 154 93 92 123 122 153 152 91 90 121 120 151 150 181 180 211 210 241 240 183 182 213 212 243 242 185 184 215 214 245 244 187 186 217 216 247 246 189 188 219 218 249 248 191 190 221 220 251 250 193 192 223 222 253 252 195 194 225 224 255 254 197 196 227 226 257 256 199 198 229 228 259 258 201 200 231 230 261 260 203 202 233 232 263 262 205 204 235 234 265 264 207 206 237 236 267 266 297 296 327 326 357 356 295 294 325 324 355 354 293 292 323 322 353 352 277 276 307 306 337 336 275 274 305 304 335 334 273 272 303 302 333 332 271 270 301 300 331 330 361 360 391 390 421 420 363 362 393 392 423 422 365 364 395 394 425 424 383 382 413 412 443 442 385 384 415 414 445 444 387 386 417 416 447 446 477 476 507 506 537 536 475 474 505 504 535 534 473 472 503 502 533 532 455 454 485 484 515 514 453 452 483 482 513 512 451 450 481 480 511 510 541 540 571 570 601 600 543 542 573 572 603 602 545 544 575 574 605 604 563 562 593 592 623 622 565 564 595 594 625 624 567 566 597 596 627 626 657 656 687 686 717 716 655 654 685 684 715 714 653 652 683 682 713 712 637 636 667 666 697 696 635 634 665 664 695 694 633 632 663 662 693 692 631 630 661 660 691 690 721 720 751 750 781 780 723 722 753 752 783 782 725 724 755 754 785 784 727 726 757 756 787 786 729 728 759 758 789 788 731 730 761 760 791 790 733 732 763 762 793 792 735 734 765 764 795 794 737 736 767 766 797 796 739 738 769 768 799 798 741 740 771 770 801 800 743 742 773 772 803 802 745 744 775 774 805 804 747 746 777 776 807 806 837 836 867 866 897 896 835 834 865 864 895 894 833 832 863 862 893 892 831 830 861 860 891 890 829 828 859 858 889 888 827 826 857 856 887 886 825 824 855 854 885 884 823 822 853 852 883 882 821 820 851 850 881 880 819 818 849 848 879 878 817 816 847 846 877 876 815 814 845 844 875 874 813 812 843 842 873 872 811 810 841 840 871 870 901 900 931 930 961 960 903 902 933 932 963 962 905 904 935 934 965 964 907 906 937 936 967 966 909 908 939 938 969 968 911 910 941 940 971 970 913 912 943 942 973 972 915 914 945 944 975 974 917 916 947 946 977 976 919 918 949 948 979 978 921 920 951 950 981 980 923 922 953 952 983 982 925 924 955 954 985 984 927 926 957 956 987 986 58 89 88 118 149 148 178 209 208 238 269 268 298 329 328 358 389 388 418 449 448 478 509 508 538 569 568 598 629 628 658 689 688 718 749 748 778 809 808 838 869 868 898 929 928 958 989 988 ] def % Lookup pixels for enabled modules from modmap /pixs 864 array def /j 0 def 0 1 mods length 1 sub { /i exch def mods i get 1 eq { pixs j modmap i get put /j j 1 add def } if } for /pixs [ pixs 0 j getinterval {} forall 28 29 280 281 311 457 488 500 530 670 700 677 707 ] def /retval 3 dict def retval (ren) (renmaximatrix) put retval (pixs) pixs put retval (opt) useropts put retval end } bind def /maxicode load 0 1 dict put % --END ENCODER maxicode-- % --BEGIN ENCODER azteccode-- % --DESC: Aztec Code % --EXAM: 00100111001000000101001101111000010100111100101000000110 % --EXOP: format=compact % --RNDR: renmatrix /azteccode { 0 begin /options exch def /useropts options def /barcode exch def /format (unset) def % full, compact or rune /readerinit false def /layers -1 def /eclevel 23 def /ecaddchars 3 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /layers layers cvi def /eclevel eclevel cvr def /ecaddchars ecaddchars cvi def % Convert from input into message bitstream /msgbits () def format (rune) ne {/msgbits barcode def} if % Lookup the most appropriate symbol specification /metrics [ [ (rune) 0 0 0 6 ] % Special metric for rune symbols [ (compact) 1 1 17 6 ] [ (full) 1 1 21 6 ] [ (compact) 2 0 40 6 ] [ (full) 2 1 48 6 ] [ (compact) 3 0 51 8 ] [ (full) 3 1 60 8 ] [ (compact) 4 0 76 8 ] [ (full) 4 1 88 8 ] [ (full) 5 1 120 8 ] [ (full) 6 1 156 8 ] [ (full) 7 1 196 8 ] [ (full) 8 1 240 8 ] [ (full) 9 1 230 10 ] [ (full) 10 1 272 10 ] [ (full) 11 1 316 10 ] [ (full) 12 1 364 10 ] [ (full) 13 1 416 10 ] [ (full) 14 1 470 10 ] [ (full) 15 1 528 10 ] [ (full) 16 1 588 10 ] [ (full) 17 1 652 10 ] [ (full) 18 1 720 10 ] [ (full) 19 1 790 10 ] [ (full) 20 1 864 10 ] [ (full) 21 1 940 10 ] [ (full) 22 1 1020 10 ] [ (full) 23 0 920 12 ] [ (full) 24 0 992 12 ] [ (full) 25 0 1066 12 ] [ (full) 26 0 1144 12 ] [ (full) 27 0 1224 12 ] [ (full) 28 0 1306 12 ] [ (full) 29 0 1392 12 ] [ (full) 30 0 1480 12 ] [ (full) 31 0 1570 12 ] [ (full) 32 0 1664 12 ] ] def /i 0 def { % loop /m metrics i get def /frmt m 0 get def % Format of the symbol /mlyr m 1 get def % Data layers /icap m 2 get def % Reader initialisation capable /ncws m 3 get def % Total of codewords /bpcw m 4 get def % Bits per codeword /numecw ncws eclevel mul 100 div ecaddchars add ceiling cvi def msgbits length 0 eq {/numecw 0 def} if % Error correction codewords /numdcw ncws numecw sub def % Data codewords /okay true def format (unset) ne format frmt ne and {/okay false def} if readerinit icap 1 ne and {/okay false def} if layers -1 ne layers mlyr ne and {/okay false def} if msgbits length bpcw div ceiling cvi numdcw gt {/okay false def} if okay {exit} if /i i 1 add def } loop /layers mlyr def /format frmt def % Expand message bits into codewords avoiding codewords with all zeros or all ones /allzero {dup length (000000000000) 0 3 -1 roll getinterval eq} bind def /allones {dup length (111111111111) 0 3 -1 roll getinterval eq} bind def /cws ncws array def /m 0 def /c 0 def { msgbits length m le {exit} if msgbits length m sub bpcw ge { /cwb msgbits m bpcw 1 sub getinterval def % All but last bit /cwf msgbits m bpcw add 1 sub 1 getinterval def % Last bit cwb allzero {/cwf (1) def /m m 1 sub def} if % Flip last bit to avoid zeros cwb allones {/cwf (0) def /m m 1 sub def} if % Flip last bit to avoid ones % Concatinate the bits 12 string dup 0 cwb putinterval dup bpcw 1 sub cwf putinterval 0 bpcw getinterval /cwb exch def } { % Final codeword /cwb msgbits m msgbits length m sub getinterval def /cwb (111111111111) 12 string copy dup 0 cwb putinterval 0 bpcw getinterval def cwb allones {cwb cwb length 1 sub (0) putinterval} if % Prevent all ones } ifelse % Conversion of binary data into byte array /cw 0 def 0 1 bpcw 1 sub { /i exch def /cw cw 2 bpcw i sub 1 sub exp cvi cwb i get 48 sub mul add def } for cws c cw put /m m bpcw add def /c c 1 add def } loop /cws cws 0 c getinterval def % Reed-Solomon algorithm /rscodes { /rspm exch def /rsgf exch def /rsnc exch def /rscws exch def % Calculate the log and anti-log tables /rslog [ 1 rsgf sub rsgf 1 sub {0} repeat ] def /rsalog [ 1 rsgf 1 sub {0} repeat ] def 1 1 rsgf 1 sub { /i exch def rsalog i rsalog i 1 sub get 2 mul put rsalog i get rsgf ge { rsalog i rsalog i get rspm xor put } if rslog rsalog i get i put } for % Function to calculate the product in the field /rsprod { /y exch def /x exch def x y mul 0 ne { rsalog rslog x get rslog y get add rsgf 1 sub mod get } { 0 } ifelse } bind def % Generate the coefficients /coeffs [ 1 rsnc {0} repeat ] def 1 1 rsnc { /i exch def coeffs i coeffs i 1 sub get put i 1 sub -1 1 { /j exch def coeffs j coeffs j 1 sub get coeffs j get rsalog i get rsprod xor put } for coeffs 0 coeffs 0 get rsalog i get rsprod put } for % Extend the input with the error correction values /nd rscws length def /rscws [ rscws {} forall rsnc {0} repeat 0 ] def 0 1 nd 1 sub { /k exch rscws exch get rscws nd get xor def 0 1 rsnc 1 sub { /j exch def rscws nd j add rscws nd j add 1 add get k coeffs rsnc j sub 1 sub get rsprod xor put } for } for % Return all but the last codeword rscws 0 rscws length 1 sub getinterval } bind def % Create the codewords and bit string for the mode format (full) eq { /mode layers 1 sub 11 bitshift cws length 1 sub add def readerinit {/mode mode 2#1000000000000000 or def} if /mode [ mode 2#1111000000000000 and -12 bitshift mode 2#0000111100000000 and -8 bitshift mode 2#0000000011110000 and -4 bitshift mode 2#0000000000001111 and ] def /mode mode 6 16 19 rscodes def } if format (compact) eq { /mode layers 1 sub 6 bitshift cws length 1 sub add def readerinit {/mode mode 2#10000000 or def} if /mode [ mode 2#11110000 and -4 bitshift mode 2#00001111 and ] def /mode mode 5 16 19 rscodes def } if format (rune) eq { /mode barcode cvi def /mode [ mode 2#11110000 and -4 bitshift mode 2#00001111 and ] def /mode mode 5 16 19 rscodes def /mode [mode {2#1010 xor} forall] def % Invert alternate bits } if /modebits mode length 4 mul string def 0 1 modebits length 1 sub {modebits exch (0) putinterval} for 0 1 mode length 1 sub { /i exch def modebits mode i get 2 4 string cvrs dup length 4 exch sub 4 i mul add exch putinterval } for % Extend the data codewords with error correction codewords to create the bit string for the data /rsparams [ [] [] [] [] [] [] [ 64 67 ] % 6-bit codewords [] [ 256 301 ] % 8-bit codewords [] [ 1024 1033 ] % 10-bit codewords [] [ 4096 4201 ] % 12-bit codewords ] def /cws cws ncws cws length sub rsparams bpcw get {} forall rscodes def format (full) eq { /databits layers layers mul 16 mul layers 112 mul add string def } { /databits layers layers mul 16 mul layers 88 mul add string def } ifelse 0 1 databits length 1 sub {databits exch (0) putinterval} for 0 1 ncws 1 sub { /i exch def databits cws i get 2 bpcw string cvrs dup length bpcw exch sub bpcw i mul add databits length ncws bpcw mul sub add exch putinterval } for % Move to a point in the cartesian plane centered on the bullseye /cmv {size mul sub mid add} bind def % Move to a bit position within a layer /lmv { /lbit exch def /llyr exch def /lwid fw llyr 4 mul add def /ldir lbit 2 idiv lwid idiv def ldir 0 eq { % Top lwid 1 sub 2 idiv neg 1 add lbit 2 idiv lwid mod add fw 1 sub 2 idiv llyr 2 mul add lbit 2 mod add cmv } if ldir 1 eq { % Right fw 2 idiv llyr 2 mul add lbit 2 mod add lwid 1 sub 2 idiv 1 sub lbit 2 idiv lwid mod sub cmv } if ldir 2 eq { % Bottom lwid 2 idiv neg 1 add lbit 2 idiv lwid mod add neg fw 2 idiv llyr 2 mul add lbit 2 mod add neg cmv } if ldir 3 eq { % Left fw 1 sub 2 idiv llyr 2 mul add lbit 2 mod add neg lwid 2 idiv 1 sub lbit 2 idiv lwid mod sub neg cmv } if } bind def % Create the pixel map % For full symbols we disregard the reference grid at this stage format (full) eq {/fw 12 def} {/fw 9 def} ifelse /size fw layers 4 mul add 2 add def /pixs [size size mul {-1} repeat] def /mid size 1 sub 2 idiv size mul size 1 sub 2 idiv add def % Data layers /i 0 def 1 1 layers { /layer exch def 0 1 fw layer 4 mul add 8 mul 1 sub { /pos exch def pixs layer pos lmv databits databits length i sub 1 sub get 48 sub put /i i 1 add def } for } for % For full symbols expand the pixel map by inserting the reference grid format (full) eq { /fw 13 def /size fw layers 4 mul add 2 add layers 10.5 add 7.5 div 1 sub cvi 2 mul add def /mid size size mul 2 idiv def /npixs [size size mul {-2} repeat] def 0 16 size 2 idiv { /i exch def 0 1 size 1 sub { /j exch def npixs size 2 idiv neg j add i cmv [size 2 idiv j add i add 1 add 2 mod] putinterval npixs size 2 idiv neg j add i neg cmv [size 2 idiv j add i add 1 add 2 mod] putinterval npixs i size 2 idiv neg j add cmv [size 2 idiv j add i add 1 add 2 mod] putinterval npixs i neg size 2 idiv neg j add cmv [size 2 idiv j add i add 1 add 2 mod] putinterval } for } for /j 0 def 0 1 npixs length 1 sub { /i exch def npixs i get -2 eq { npixs i pixs j get put /j j 1 add def } if } for /pixs npixs def } if % Finder pattern /fw fw 2 idiv def fw neg 1 fw { /i exch def fw neg 1 fw { /j exch def pixs i j cmv i abs j abs gt {i abs} {j abs} ifelse 1 add 2 mod put } for } for % Orientation bits [ [ fw 1 add neg fw 1 ] [ fw 1 add neg fw 1 add 1 ] [ fw neg fw 1 add 1 ] [ fw 1 add fw 1 add 1 ] [ fw 1 add fw 1 ] [ fw 1 add fw neg 1 ] [ fw fw 1 add 0 ] [ fw 1 add fw 1 add neg 0 ] [ fw fw 1 add neg 0 ] [ fw neg fw 1 add neg 0 ] [ fw 1 add neg fw 1 add neg 0 ] [ fw 1 add neg fw neg 0 ] ] {pixs exch {} forall 3 1 roll cmv exch put} forall % Mode ring format (full) eq { /modemap [ [-5 7] [-4 7] [-3 7] [-2 7] [-1 7] [ 1 7] [ 2 7] [ 3 7] [ 4 7] [ 5 7] [ 7 5] [ 7 4] [ 7 3] [ 7 2] [ 7 1] [ 7 -1] [ 7 -2] [ 7 -3] [ 7 -4] [ 7 -5] [ 5 -7] [ 4 -7] [ 3 -7] [ 2 -7] [ 1 -7] [-1 -7] [-2 -7] [-3 -7] [-4 -7] [-5 -7] [-7 -5] [-7 -4] [-7 -3] [-7 -2] [-7 -1] [-7 1] [-7 2] [-7 3] [-7 4] [-7 5] ] def } { /modemap [ [-3 5] [-2 5] [-1 5] [ 0 5] [ 1 5] [ 2 5] [ 3 5] [ 5 3] [ 5 2] [ 5 1] [ 5 0] [ 5 -1] [ 5 -2] [ 5 -3] [ 3 -5] [ 2 -5] [ 1 -5] [ 0 -5] [-1 -5] [-2 -5] [-3 -5] [-5 -3] [-5 -2] [-5 -1] [-5 0] [-5 1] [-5 2] [-5 3] ] def } ifelse 0 1 modemap length 1 sub { /i exch def pixs modemap i get {} forall cmv modebits i get 48 sub put } for /retval 7 dict def retval (ren) (renmatrix) put retval (pixs) pixs put retval (pixx) size put retval (pixy) size put retval (height) size 2 mul 72 div put retval (width) size 2 mul 72 div put retval (opt) useropts put retval end } bind def /azteccode load 0 1 dict put % --END ENCODER azteccode-- % --BEGIN RENDERER renlinear-- /renlinear { 0 begin % Confine variables to local scope /args exch def % We are given some arguments % Default options /sbs [] def /bhs [] def /bbs [] def /txt [] def /barcolor (unset) def /includetext false def /textcolor (unset) def /textxalign (unset) def /textyalign (unset) def /textfont (Courier) def /textsize 10 def /textxoffset 0 def /textyoffset 0 def /bordercolor (unset) def /backgroundcolor (unset) def /inkspread 0.15 def /width 0 def /barratio 1 def /spaceratio 1 def /showborder false def /borderleft 10 def /borderright 10 def /bordertop 1 def /borderbottom 1 def /borderwidth 0.5 def /guardwhitespace false def /guardleftpos 0 def /guardleftypos 0 def /guardrightpos 0 def /guardrightypos 0 def /guardwidth 6 def /guardheight 7 def % Apply the renderer options args {exch cvlit exch def} forall % Parse the user options opt { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /barcolor barcolor cvlit def /textcolor textcolor cvlit def /textxalign textxalign cvlit def /textyalign textyalign cvlit def /textfont textfont cvlit def /textsize textsize cvr def /textxoffset textxoffset cvr def /textyoffset textyoffset cvr def /bordercolor bordercolor cvlit def /backgroundcolor backgroundcolor cvlit def /inkspread inkspread cvr def /width width cvr def /barratio barratio cvr def /spaceratio spaceratio cvr def /borderleft borderleft cvr def /borderright borderright cvr def /bordertop bordertop cvr def /borderbottom borderbottom cvr def /borderwidth borderwidth cvr def /guardleftpos guardleftpos cvr def /guardleftypos guardleftypos cvr def /guardrightpos guardrightpos cvr def /guardrightypos guardrightypos cvr def /guardwidth guardwidth cvr def /guardheight guardheight cvr def % Create bar elements and put them into the bars array /bars sbs length 1 add 2 idiv array def /x 0.00 def /maxh 0 def 0 1 sbs length 1 add 2 idiv 2 mul 2 sub { /i exch def i 2 mod 0 eq { % i is even /d sbs i get barratio mul barratio sub 1 add def % d=digit*r-r+1 /h bhs i 2 idiv get 72 mul def % Height from bhs /c d 2 div x add def % Centre of the bar = x + d/2 /y bbs i 2 idiv get 72 mul def % Baseline from bbs /w d inkspread sub def % bar width = digit - inkspread bars i 2 idiv [h c y w] put % Add the bar entry h maxh gt {/maxh h def} if } { /d sbs i get spaceratio mul spaceratio sub 1 add def % d=digit*r-r+1 } ifelse /x x d add def % x+=d } for gsave currentpoint translate % Force symbol to given width width 0 ne { width 72 mul x div 1 scale } if % Set RGB or CMYK color depending on length of given hex string /setanycolor { /anycolor exch def anycolor length 6 eq { (< >) 8 string copy dup 1 anycolor putinterval cvx exec {255 div} forall setrgbcolor } if anycolor length 8 eq { (< >) 10 string copy dup 1 anycolor putinterval cvx exec {255 div} forall setcmykcolor } if } bind def % Display the border and background newpath borderleft neg borderbottom neg moveto x borderleft add borderright add 0 rlineto 0 maxh borderbottom add bordertop add rlineto x borderleft add borderright add neg 0 rlineto 0 maxh borderbottom add bordertop add neg rlineto closepath backgroundcolor (unset) ne { gsave backgroundcolor setanycolor fill grestore } if showborder { gsave bordercolor (unset) ne { bordercolor setanycolor } if borderwidth setlinewidth stroke grestore } if % Display the bars for elements in the bars array gsave barcolor (unset) ne { barcolor setanycolor } if bars { {} forall newpath setlinewidth moveto 0 exch rlineto stroke } forall grestore % Display the text for elements in the text array textcolor (unset) ne { textcolor setanycolor } if includetext { textxalign (unset) eq textyalign (unset) eq and { /s 0 def /f () def txt { {} forall 2 copy s ne exch f ne or { 2 copy /s exch def /f exch def exch findfont exch scalefont setfont } { pop pop } ifelse moveto show } forall } { textfont findfont textsize scalefont setfont /txt [ txt { 0 get {} forall } forall ] def /tstr txt length string def 0 1 txt length 1 sub { dup txt exch get tstr 3 1 roll put } for /textxpos textxoffset x tstr stringwidth pop sub 2 div add def textxalign (left) eq { /textxpos textxoffset def } if textxalign (right) eq { /textxpos x textxoffset sub tstr stringwidth pop sub def } if textxalign (offleft) eq { /textxpos tstr stringwidth pop textxoffset add neg def } if textxalign (offright) eq { /textxpos x textxoffset add def } if /textypos textyoffset textsize add 3 sub neg def textyalign (above) eq { /textypos textyoffset maxh add 1 add def } if textyalign (center) eq { /textypos textyoffset maxh textsize 4 sub sub 2 div add def } if textxpos textypos moveto tstr show } ifelse } if % Display the guard elements guardwhitespace { 0.75 setlinewidth guardleftpos 0 ne { newpath guardleftpos neg guardwidth add guardleftypos guardwidth 2 div add moveto guardwidth neg guardheight -2 div rlineto guardwidth guardheight -2 div rlineto stroke } if guardrightpos 0 ne { newpath guardrightpos x add guardwidth sub guardrightypos guardheight 2 div add moveto guardwidth guardheight -2 div rlineto guardwidth neg guardheight -2 div rlineto stroke } if } if grestore end } bind def /renlinear load 0 1 dict put % --END RENDERER renlinear-- % --BEGIN RENDERER renmatrix-- /renmatrix { 0 begin /args exch def % Default options /width 1 def /height 1 def % Apply the renderer options args {exch cvlit exch def} forall % Parse the user options opt { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /width width cvr def /height height cvr def % Convert the bits into a string /imgstr pixs length string def 0 1 pixs length 1 sub { dup imgstr 3 1 roll pixs exch get 1 exch sub 255 mul put } for % Draw the image gsave currentpoint translate 72 width mul 72 height mul scale pixx pixy 8 [ pixx 0 0 pixy neg 0 pixy ] {imgstr} image grestore end } bind def /renmatrix load 0 1 dict put % --END RENDERER renmatrix-- % --BEGIN RENDERER renmaximatrix-- /renmaximatrix { 0 begin /args exch def % We are given some arguments % Apply the renderer options args {exch cvlit exch def} forall % Parse the user options opt { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop gsave currentpoint translate 2.4945 dup scale % from 1pt to 1.88mm 0.5 0.5774 translate pixs { dup /x exch 30 mod def /y exch 30 idiv def y 2 mod 0 eq {x} {x 0.5 add} ifelse 32 y sub 0.8661 mul moveto 0 0.5774 rmoveto -0.5 -0.2887 rlineto 0 -0.5774 rlineto 0.5 -0.2887 rlineto 0.5 0.2887 rlineto 0 0.5774 rlineto -0.5 0.2887 rlineto closepath fill } forall % Plot the locator symbol newpath 14 13.8576 0.5774 0 360 arc closepath 14 13.8576 1.3359 360 0 arcn closepath fill newpath 14 13.8576 2.1058 0 360 arc closepath 14 13.8576 2.8644 360 0 arcn closepath fill newpath 14 13.8576 3.6229 0 360 arc closepath 14 13.8576 4.3814 360 0 arcn closepath fill grestore end } bind def /renmaximatrix load 0 1 dict put % --END RENDERER renmaximatrix-- % --BEGIN DISPATCHER-- /barcode { 0 begin dup (ren) get cvx exec end } bind def /barcode load 0 1 dict put % --END DISPATCHER-- % --END TEMPLATE-- postscriptbarcode/docs/0002755002342100234210000000000010516412276017067 5ustar terryburtoncoukpsaclnpostscriptbarcode/docs/barcodewriter.ps0000644002342100234210000062516010516422740022274 0ustar terryburtoncoukpsacln%!PS-Adobe-2.0 %%Creator: dvips(k) 5.92b Copyright 2002 Radical Eye Software %%Title: barcodewriter.dvi %%Pages: 24 %%PageOrder: Ascend %%BoundingBox: 0 0 596 842 %%DocumentFonts: Times-Roman Symbol CMMI10 Times-Bold Courier %%+ Times-Italic CMSY10 %%EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips -q barcodewriter.dvi -o %+ postscriptbarcode/docs/barcodewriter.ps %DVIPSParameters: dpi=600, compressed %DVIPSSource: TeX output 2006.10.21:1451 %%BeginProcSet: texc.pro %! /TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S N}B/A{dup}B/TR{translate}N/isls false N/vsize 11 72 mul N/hsize 8.5 72 mul N/landplus90{false}def/@rigin{isls{[0 landplus90{1 -1}{-1 1}ifelse 0 0 0]concat}if 72 Resolution div 72 VResolution div neg scale isls{ landplus90{VResolution 72 div vsize mul 0 exch}{Resolution -72 div hsize mul 0}ifelse TR}if Resolution VResolution vsize -72 div 1 add mul TR[ matrix currentmatrix{A A round sub abs 0.00001 lt{round}if}forall round exch round exch]setmatrix}N/@landscape{/isls true N}B/@manualfeed{ statusdict/manualfeed true put}B/@copies{/#copies X}B/FMat[1 0 0 -1 0 0] N/FBB[0 0 0 0]N/nn 0 N/IEn 0 N/ctr 0 N/df-tail{/nn 8 dict N nn begin /FontType 3 N/FontMatrix fntrx N/FontBBox FBB N string/base X array /BitMaps X/BuildChar{CharBuilder}N/Encoding IEn N end A{/foo setfont}2 array copy cvx N load 0 nn put/ctr 0 N[}B/sf 0 N/df{/sf 1 N/fntrx FMat N df-tail}B/dfs{div/sf X/fntrx[sf 0 0 sf neg 0 0]N df-tail}B/E{pop nn A definefont setfont}B/Cw{Cd A length 5 sub get}B/Ch{Cd A length 4 sub get }B/Cx{128 Cd A length 3 sub get sub}B/Cy{Cd A length 2 sub get 127 sub} B/Cdx{Cd A length 1 sub get}B/Ci{Cd A type/stringtype ne{ctr get/ctr ctr 1 add N}if}B/id 0 N/rw 0 N/rc 0 N/gp 0 N/cp 0 N/G 0 N/CharBuilder{save 3 1 roll S A/base get 2 index get S/BitMaps get S get/Cd X pop/ctr 0 N Cdx 0 Cx Cy Ch sub Cx Cw add Cy setcachedevice Cw Ch true[1 0 0 -1 -.1 Cx sub Cy .1 sub]/id Ci N/rw Cw 7 add 8 idiv string N/rc 0 N/gp 0 N/cp 0 N{ rc 0 ne{rc 1 sub/rc X rw}{G}ifelse}imagemask restore}B/G{{id gp get/gp gp 1 add N A 18 mod S 18 idiv pl S get exec}loop}B/adv{cp add/cp X}B /chg{rw cp id gp 4 index getinterval putinterval A gp add/gp X adv}B/nd{ /cp 0 N rw exit}B/lsh{rw cp 2 copy get A 0 eq{pop 1}{A 255 eq{pop 254}{ A A add 255 and S 1 and or}ifelse}ifelse put 1 adv}B/rsh{rw cp 2 copy get A 0 eq{pop 128}{A 255 eq{pop 127}{A 2 idiv S 128 and or}ifelse} ifelse put 1 adv}B/clr{rw cp 2 index string putinterval adv}B/set{rw cp fillstr 0 4 index getinterval putinterval adv}B/fillstr 18 string 0 1 17 {2 copy 255 put pop}for N/pl[{adv 1 chg}{adv 1 chg nd}{1 add chg}{1 add chg nd}{adv lsh}{adv lsh nd}{adv rsh}{adv rsh nd}{1 add adv}{/rc X nd}{ 1 add set}{1 add clr}{adv 2 chg}{adv 2 chg nd}{pop nd}]A{bind pop} forall N/D{/cc X A type/stringtype ne{]}if nn/base get cc ctr put nn /BitMaps get S ctr S sf 1 ne{A A length 1 sub A 2 index S get sf div put }if put/ctr ctr 1 add N}B/I{cc 1 add D}B/bop{userdict/bop-hook known{ bop-hook}if/SI save N @rigin 0 0 moveto/V matrix currentmatrix A 1 get A mul exch 0 get A mul add .99 lt{/QV}{/RV}ifelse load def pop pop}N/eop{ SI restore userdict/eop-hook known{eop-hook}if showpage}N/@start{ userdict/start-hook known{start-hook}if pop/VResolution X/Resolution X 1000 div/DVImag X/IEn 256 array N 2 string 0 1 255{IEn S A 360 add 36 4 index cvrs cvn put}for pop 65781.76 div/vsize X 65781.76 div/hsize X}N /p{show}N/RMat[1 0 0 -1 0 0]N/BDot 260 string N/Rx 0 N/Ry 0 N/V{}B/RV/v{ /Ry X/Rx X V}B statusdict begin/product where{pop false[(Display)(NeXT) (LaserWriter 16/600)]{A length product length le{A length product exch 0 exch getinterval eq{pop true exit}if}{pop}ifelse}forall}{false}ifelse end{{gsave TR -.1 .1 TR 1 1 scale Rx Ry false RMat{BDot}imagemask grestore}}{{gsave TR -.1 .1 TR Rx Ry scale 1 1 false RMat{BDot} imagemask grestore}}ifelse B/QV{gsave newpath transform round exch round exch itransform moveto Rx 0 rlineto 0 Ry neg rlineto Rx neg 0 rlineto fill grestore}B/a{moveto}B/delta 0 N/tail{A/delta X 0 rmoveto}B/M{S p delta add tail}B/b{S p tail}B/c{-4 M}B/d{-3 M}B/e{-2 M}B/f{-1 M}B/g{0 M} B/h{1 M}B/i{2 M}B/j{3 M}B/k{4 M}B/w{0 rmoveto}B/l{p -4 w}B/m{p -3 w}B/n{ p -2 w}B/o{p -1 w}B/q{p 1 w}B/r{p 2 w}B/s{p 3 w}B/t{p 4 w}B/x{0 S rmoveto}B/y{3 2 roll p a}B/bos{/SS save N}B/eos{SS restore}B end %%EndProcSet %%BeginProcSet: pstricks.pro %! % PostScript prologue for pstricks.tex. % Version 97 patch 3, 98/06/01 % For distribution, see pstricks.tex. % /tx@Dict 200 dict def tx@Dict begin /ADict 25 dict def /CM { matrix currentmatrix } bind def /SLW /setlinewidth load def /CLW /currentlinewidth load def /CP /currentpoint load def /ED { exch def } bind def /L /lineto load def /T /translate load def /TMatrix { } def /RAngle { 0 } def /Atan { /atan load stopped { pop pop 0 } if } def /Div { dup 0 eq { pop } { div } ifelse } def /NET { neg exch neg exch T } def /Pyth { dup mul exch dup mul add sqrt } def /PtoC { 2 copy cos mul 3 1 roll sin mul } def /PathLength@ { /z z y y1 sub x x1 sub Pyth add def /y1 y def /x1 x def } def /PathLength { flattenpath /z 0 def { /y1 ED /x1 ED /y2 y1 def /x2 x1 def } { /y ED /x ED PathLength@ } {} { /y y2 def /x x2 def PathLength@ } /pathforall load stopped { pop pop pop pop } if z } def /STP { .996264 dup scale } def /STV { SDict begin normalscale end STP } def /DashLine { dup 0 gt { /a .5 def PathLength exch div } { pop /a 1 def PathLength } ifelse /b ED /x ED /y ED /z y x add def b a .5 sub 2 mul y mul sub z Div round z mul a .5 sub 2 mul y mul add b exch Div dup y mul /y ED x mul /x ED x 0 gt y 0 gt and { [ y x ] 1 a sub y mul } { [ 1 0 ] 0 } ifelse setdash stroke } def /DotLine { /b PathLength def /a ED /z ED /y CLW def /z y z add def a 0 gt { /b b a div def } { a 0 eq { /b b y sub def } { a -3 eq { /b b y add def } if } ifelse } ifelse [ 0 b b z Div round Div dup 0 le { pop 1 } if ] a 0 gt { 0 } { y 2 div a -2 gt { neg } if } ifelse setdash 1 setlinecap stroke } def /LineFill { gsave abs CLW add /a ED a 0 dtransform round exch round exch 2 copy idtransform exch Atan rotate idtransform pop /a ED .25 .25 % DG/SR modification begin - Dec. 12, 1997 - Patch 2 %itransform translate pathbbox /y2 ED a Div ceiling cvi /x2 ED /y1 ED a itransform pathbbox /y2 ED a Div ceiling cvi /x2 ED /y1 ED a % DG/SR modification end Div cvi /x1 ED /y2 y2 y1 sub def clip newpath 2 setlinecap systemdict /setstrokeadjust known { true setstrokeadjust } if x2 x1 sub 1 add { x1 % DG/SR modification begin - Jun. 1, 1998 - Patch 3 (from Michael Vulis) % a mul y1 moveto 0 y2 rlineto stroke /x1 x1 1 add def } repeat grestore } % def a mul y1 moveto 0 y2 rlineto stroke /x1 x1 1 add def } repeat grestore pop pop } def % DG/SR modification end /BeginArrow { ADict begin /@mtrx CM def gsave 2 copy T 2 index sub neg exch 3 index sub exch Atan rotate newpath } def /EndArrow { @mtrx setmatrix CP grestore end } def /Arrow { CLW mul add dup 2 div /w ED mul dup /h ED mul /a ED { 0 h T 1 -1 scale } if w neg h moveto 0 0 L w h L w neg a neg rlineto gsave fill grestore } def /Tbar { CLW mul add /z ED z -2 div CLW 2 div moveto z 0 rlineto stroke 0 CLW moveto } def /Bracket { CLW mul add dup CLW sub 2 div /x ED mul CLW add /y ED /z CLW 2 div def x neg y moveto x neg CLW 2 div L x CLW 2 div L x y L stroke 0 CLW moveto } def /RoundBracket { CLW mul add dup 2 div /x ED mul /y ED /mtrx CM def 0 CLW 2 div T x y mul 0 ne { x y scale } if 1 1 moveto .85 .5 .35 0 0 0 curveto -.35 0 -.85 .5 -1 1 curveto mtrx setmatrix stroke 0 CLW moveto } def /SD { 0 360 arc fill } def /EndDot { { /z DS def } { /z 0 def } ifelse /b ED 0 z DS SD b { 0 z DS CLW sub SD } if 0 DS z add CLW 4 div sub moveto } def /Shadow { [ { /moveto load } { /lineto load } { /curveto load } { /closepath load } /pathforall load stopped { pop pop pop pop CP /moveto load } if ] cvx newpath 3 1 roll T exec } def /NArray { aload length 2 div dup dup cvi eq not { exch pop } if /n exch cvi def } def /NArray { /f ED counttomark 2 div dup cvi /n ED n eq not { exch pop } if f { ] aload /Points ED } { n 2 mul 1 add -1 roll pop } ifelse } def /Line { NArray n 0 eq not { n 1 eq { 0 0 /n 2 def } if ArrowA /n n 2 sub def n { Lineto } repeat CP 4 2 roll ArrowB L pop pop } if } def /Arcto { /a [ 6 -2 roll ] cvx def a r /arcto load stopped { 5 } { 4 } ifelse { pop } repeat a } def /CheckClosed { dup n 2 mul 1 sub index eq 2 index n 2 mul 1 add index eq and { pop pop /n n 1 sub def } if } def /Polygon { NArray n 2 eq { 0 0 /n 3 def } if n 3 lt { n { pop pop } repeat } { n 3 gt { CheckClosed } if n 2 mul -2 roll /y0 ED /x0 ED /y1 ED /x1 ED x1 y1 /x1 x0 x1 add 2 div def /y1 y0 y1 add 2 div def x1 y1 moveto /n n 2 sub def n { Lineto } repeat x1 y1 x0 y0 6 4 roll Lineto Lineto pop pop closepath } ifelse } def /Diamond { /mtrx CM def T rotate /h ED /w ED dup 0 eq { pop } { CLW mul neg /d ED /a w h Atan def /h d a sin Div h add def /w d a cos Div w add def } ifelse mark w 2 div h 2 div w 0 0 h neg w neg 0 0 h w 2 div h 2 div /ArrowA { moveto } def /ArrowB { } def false Line closepath mtrx setmatrix } def % DG modification begin - Jan. 15, 1997 %/Triangle { /mtrx CM def translate rotate /h ED 2 div /w ED dup 0 eq { %pop } { CLW mul /d ED /h h d w h Atan sin Div sub def /w w d h w Atan 2 %div dup cos exch sin Div mul sub def } ifelse mark 0 d w neg d 0 h w d 0 %d /ArrowA { moveto } def /ArrowB { } def false Line closepath mtrx %setmatrix } def /Triangle { /mtrx CM def translate rotate /h ED 2 div /w ED dup CLW mul /d ED /h h d w h Atan sin Div sub def /w w d h w Atan 2 div dup cos exch sin Div mul sub def mark 0 d w neg d 0 h w d 0 d /ArrowA { moveto } def /ArrowB { } def false Line closepath mtrx % DG/SR modification begin - Jun. 1, 1998 - Patch 3 (from Michael Vulis) % setmatrix } def setmatrix pop } def % DG/SR modification end /CCA { /y ED /x ED 2 copy y sub /dy1 ED x sub /dx1 ED /l1 dx1 dy1 Pyth def } def /CCA { /y ED /x ED 2 copy y sub /dy1 ED x sub /dx1 ED /l1 dx1 dy1 Pyth def } def /CC { /l0 l1 def /x1 x dx sub def /y1 y dy sub def /dx0 dx1 def /dy0 dy1 def CCA /dx dx0 l1 c exp mul dx1 l0 c exp mul add def /dy dy0 l1 c exp mul dy1 l0 c exp mul add def /m dx0 dy0 Atan dx1 dy1 Atan sub 2 div cos abs b exp a mul dx dy Pyth Div 2 div def /x2 x l0 dx mul m mul sub def /y2 y l0 dy mul m mul sub def /dx l1 dx mul m mul neg def /dy l1 dy mul m mul neg def } def /IC { /c c 1 add def c 0 lt { /c 0 def } { c 3 gt { /c 3 def } if } ifelse /a a 2 mul 3 div 45 cos b exp div def CCA /dx 0 def /dy 0 def } def /BOC { IC CC x2 y2 x1 y1 ArrowA CP 4 2 roll x y curveto } def /NC { CC x1 y1 x2 y2 x y curveto } def /EOC { x dx sub y dy sub 4 2 roll ArrowB 2 copy curveto } def /BAC { IC CC x y moveto CC x1 y1 CP ArrowA } def /NAC { x2 y2 x y curveto CC x1 y1 } def /EAC { x2 y2 x y ArrowB curveto pop pop } def /OpenCurve { NArray n 3 lt { n { pop pop } repeat } { BOC /n n 3 sub def n { NC } repeat EOC } ifelse } def /AltCurve { { false NArray n 2 mul 2 roll [ n 2 mul 3 sub 1 roll ] aload /Points ED n 2 mul -2 roll } { false NArray } ifelse n 4 lt { n { pop pop } repeat } { BAC /n n 4 sub def n { NAC } repeat EAC } ifelse } def /ClosedCurve { NArray n 3 lt { n { pop pop } repeat } { n 3 gt { CheckClosed } if 6 copy n 2 mul 6 add 6 roll IC CC x y moveto n { NC } repeat closepath pop pop } ifelse } def /SQ { /r ED r r moveto r r neg L r neg r neg L r neg r L fill } def /ST { /y ED /x ED x y moveto x neg y L 0 x L fill } def /SP { /r ED gsave 0 r moveto 4 { 72 rotate 0 r L } repeat fill grestore } def /FontDot { DS 2 mul dup matrix scale matrix concatmatrix exch matrix rotate matrix concatmatrix exch findfont exch makefont setfont } def /Rect { x1 y1 y2 add 2 div moveto x1 y2 lineto x2 y2 lineto x2 y1 lineto x1 y1 lineto closepath } def /OvalFrame { x1 x2 eq y1 y2 eq or { pop pop x1 y1 moveto x2 y2 L } { y1 y2 sub abs x1 x2 sub abs 2 copy gt { exch pop } { pop } ifelse 2 div exch { dup 3 1 roll mul exch } if 2 copy lt { pop } { exch pop } ifelse /b ED x1 y1 y2 add 2 div moveto x1 y2 x2 y2 b arcto x2 y2 x2 y1 b arcto x2 y1 x1 y1 b arcto x1 y1 x1 y2 b arcto 16 { pop } repeat closepath } ifelse } def /Frame { CLW mul /a ED 3 -1 roll 2 copy gt { exch } if a sub /y2 ED a add /y1 ED 2 copy gt { exch } if a sub /x2 ED a add /x1 ED 1 index 0 eq { pop pop Rect } { OvalFrame } ifelse } def /BezierNArray { /f ED counttomark 2 div dup cvi /n ED n eq not { exch pop } if n 1 sub neg 3 mod 3 add 3 mod { 0 0 /n n 1 add def } repeat f { ] aload /Points ED } { n 2 mul 1 add -1 roll pop } ifelse } def /OpenBezier { BezierNArray n 1 eq { pop pop } { ArrowA n 4 sub 3 idiv { 6 2 roll 4 2 roll curveto } repeat 6 2 roll 4 2 roll ArrowB curveto } ifelse } def /ClosedBezier { BezierNArray n 1 eq { pop pop } { moveto n 1 sub 3 idiv { 6 2 roll 4 2 roll curveto } repeat closepath } ifelse } def /BezierShowPoints { gsave Points aload length 2 div cvi /n ED moveto n 1 sub { lineto } repeat CLW 2 div SLW [ 4 4 ] 0 setdash stroke grestore } def /Parab { /y0 exch def /x0 exch def /y1 exch def /x1 exch def /dx x0 x1 sub 3 div def /dy y0 y1 sub 3 div def x0 dx sub y0 dy add x1 y1 ArrowA x0 dx add y0 dy add x0 2 mul x1 sub y1 ArrowB curveto /Points [ x1 y1 x0 y0 x0 2 mul x1 sub y1 ] def } def /Grid { newpath /a 4 string def /b ED /c ED /n ED cvi dup 1 lt { pop 1 } if /s ED s div dup 0 eq { pop 1 } if /dy ED s div dup 0 eq { pop 1 } if /dx ED dy div round dy mul /y0 ED dx div round dx mul /x0 ED dy div round cvi /y2 ED dx div round cvi /x2 ED dy div round cvi /y1 ED dx div round cvi /x1 ED /h y2 y1 sub 0 gt { 1 } { -1 } ifelse def /w x2 x1 sub 0 gt { 1 } { -1 } ifelse def b 0 gt { /z1 b 4 div CLW 2 div add def /Helvetica findfont b scalefont setfont /b b .95 mul CLW 2 div add def } if systemdict /setstrokeadjust known { true setstrokeadjust /t { } def } { /t { transform 0.25 sub round 0.25 add exch 0.25 sub round 0.25 add exch itransform } bind def } ifelse gsave n 0 gt { 1 setlinecap [ 0 dy n div ] dy n div 2 div setdash } { 2 setlinecap } ifelse /i x1 def /f y1 dy mul n 0 gt { dy n div 2 div h mul sub } if def /g y2 dy mul n 0 gt { dy n div 2 div h mul add } if def x2 x1 sub w mul 1 add dup 1000 gt { pop 1000 } if { i dx mul dup y0 moveto b 0 gt { gsave c i a cvs dup stringwidth pop /z2 ED w 0 gt {z1} {z1 z2 add neg} ifelse h 0 gt {b neg} {z1} ifelse rmoveto show grestore } if dup t f moveto g t L stroke /i i w add def } repeat grestore gsave n 0 gt % DG/SR modification begin - Nov. 7, 1997 - Patch 1 %{ 1 setlinecap [ 0 dx n div ] dy n div 2 div setdash } { 1 setlinecap [ 0 dx n div ] dx n div 2 div setdash } % DG/SR modification end { 2 setlinecap } ifelse /i y1 def /f x1 dx mul n 0 gt { dx n div 2 div w mul sub } if def /g x2 dx mul n 0 gt { dx n div 2 div w mul add } if def y2 y1 sub h mul 1 add dup 1000 gt { pop 1000 } if { newpath i dy mul dup x0 exch moveto b 0 gt { gsave c i a cvs dup stringwidth pop /z2 ED w 0 gt {z1 z2 add neg} {z1} ifelse h 0 gt {z1} {b neg} ifelse rmoveto show grestore } if dup f exch t moveto g exch t L stroke /i i h add def } repeat grestore } def /ArcArrow { /d ED /b ED /a ED gsave newpath 0 -1000 moveto clip newpath 0 1 0 0 b grestore c mul /e ED pop pop pop r a e d PtoC y add exch x add exch r a PtoC y add exch x add exch b pop pop pop pop a e d CLW 8 div c mul neg d } def /Ellipse { /mtrx CM def T scale 0 0 1 5 3 roll arc mtrx setmatrix } def /Rot { CP CP translate 3 -1 roll neg rotate NET } def /RotBegin { tx@Dict /TMatrix known not { /TMatrix { } def /RAngle { 0 } def } if /TMatrix [ TMatrix CM ] cvx def /a ED a Rot /RAngle [ RAngle dup a add ] cvx def } def /RotEnd { /TMatrix [ TMatrix setmatrix ] cvx def /RAngle [ RAngle pop ] cvx def } def /PutCoor { gsave CP T CM STV exch exec moveto setmatrix CP grestore } def /PutBegin { /TMatrix [ TMatrix CM ] cvx def CP 4 2 roll T moveto } def /PutEnd { CP /TMatrix [ TMatrix setmatrix ] cvx def moveto } def /Uput { /a ED add 2 div /h ED 2 div /w ED /s a sin def /c a cos def /b s abs c abs 2 copy gt dup /q ED { pop } { exch pop } ifelse def /w1 c b div w mul def /h1 s b div h mul def q { w1 abs w sub dup c mul abs } { h1 abs h sub dup s mul abs } ifelse } def /UUput { /z ED abs /y ED /x ED q { x s div c mul abs y gt } { x c div s mul abs y gt } ifelse { x x mul y y mul sub z z mul add sqrt z add } { q { x s div } { x c div } ifelse abs } ifelse a PtoC h1 add exch w1 add exch } def /BeginOL { dup (all) eq exch TheOL eq or { IfVisible not { Visible /IfVisible true def } if } { IfVisible { Invisible /IfVisible false def } if } ifelse } def /InitOL { /OLUnit [ 3000 3000 matrix defaultmatrix dtransform ] cvx def /Visible { CP OLUnit idtransform T moveto } def /Invisible { CP OLUnit neg exch neg exch idtransform T moveto } def /BOL { BeginOL } def /IfVisible true def } def end % END pstricks.pro %%EndProcSet %%BeginProcSet: pst-dots.pro %!PS-Adobe-2.0 %%Title: Dot Font for PSTricks %%Creator: Timothy Van Zandt %%Creation Date: May 7, 1993 %% Version 97 patch 1, 99/12/16 %% Modified by Etienne Riga - Dec. 16, 1999 %% to add /Diamond, /SolidDiamond and /BoldDiamond 10 dict dup begin /FontType 3 def /FontMatrix [ .001 0 0 .001 0 0 ] def /FontBBox [ 0 0 0 0 ] def /Encoding 256 array def 0 1 255 { Encoding exch /.notdef put } for Encoding dup (b) 0 get /Bullet put dup (c) 0 get /Circle put dup (C) 0 get /BoldCircle put dup (u) 0 get /SolidTriangle put dup (t) 0 get /Triangle put dup (T) 0 get /BoldTriangle put dup (r) 0 get /SolidSquare put dup (s) 0 get /Square put dup (S) 0 get /BoldSquare put dup (q) 0 get /SolidPentagon put dup (p) 0 get /Pentagon put dup (P) 0 get /BoldPentagon put % DG/SR modification begin - Dec. 16, 1999 - From Etienne Riga dup (l) 0 get /SolidDiamond put dup (d) 0 get /Diamond put (D) 0 get /BoldDiamond put % DG/SR modification end /Metrics 13 dict def Metrics begin /Bullet 1000 def /Circle 1000 def /BoldCircle 1000 def /SolidTriangle 1344 def /Triangle 1344 def /BoldTriangle 1344 def /SolidSquare 886 def /Square 886 def /BoldSquare 886 def /SolidPentagon 1093.2 def /Pentagon 1093.2 def /BoldPentagon 1093.2 def % DG/SR modification begin - Dec. 16, 1999 - From Etienne Riga /SolidDiamond 1008 def /Diamond 1008 def /BoldDiamond 1008 def % DG/SR modification end /.notdef 0 def end /BBoxes 13 dict def BBoxes begin /Circle { -550 -550 550 550 } def /BoldCircle /Circle load def /Bullet /Circle load def /Triangle { -571.5 -330 571.5 660 } def /BoldTriangle /Triangle load def /SolidTriangle /Triangle load def /Square { -450 -450 450 450 } def /BoldSquare /Square load def /SolidSquare /Square load def /Pentagon { -546.6 -465 546.6 574.7 } def /BoldPentagon /Pentagon load def /SolidPentagon /Pentagon load def % DG/SR modification begin - Dec. 16, 1999 - From Etienne Riga /Diamond { -428.5 -742.5 428.5 742.5 } def /BoldDiamond /Diamond load def /SolidDiamond /Diamond load def % DG/SR modification end /.notdef { 0 0 0 0 } def end /CharProcs 20 dict def CharProcs begin /Adjust { 2 copy dtransform floor .5 add exch floor .5 add exch idtransform 3 -1 roll div 3 1 roll exch div exch scale } def /CirclePath { 0 0 500 0 360 arc closepath } def /Bullet { 500 500 Adjust CirclePath fill } def /Circle { 500 500 Adjust CirclePath .9 .9 scale CirclePath eofill } def /BoldCircle { 500 500 Adjust CirclePath .8 .8 scale CirclePath eofill } def /BoldCircle { CirclePath .8 .8 scale CirclePath eofill } def /TrianglePath { 0 660 moveto -571.5 -330 lineto 571.5 -330 lineto closepath } def /SolidTriangle { TrianglePath fill } def /Triangle { TrianglePath .85 .85 scale TrianglePath eofill } def /BoldTriangle { TrianglePath .7 .7 scale TrianglePath eofill } def /SquarePath { -450 450 moveto 450 450 lineto 450 -450 lineto -450 -450 lineto closepath } def /SolidSquare { SquarePath fill } def /Square { SquarePath .89 .89 scale SquarePath eofill } def /BoldSquare { SquarePath .78 .78 scale SquarePath eofill } def /PentagonPath { -337.8 -465 moveto 337.8 -465 lineto 546.6 177.6 lineto 0 574.7 lineto -546.6 177.6 lineto closepath } def /SolidPentagon { PentagonPath fill } def /Pentagon { PentagonPath .89 .89 scale PentagonPath eofill } def /BoldPentagon { PentagonPath .78 .78 scale PentagonPath eofill } def % DG/SR modification begin - Dec. 16, 1999 - From Etienne Riga /DiamondPath { 0 742.5 moveto -428.5 0 lineto 0 -742.5 lineto 428.5 0 lineto closepath } def /SolidDiamond { DiamondPath fill } def /Diamond { DiamondPath .85 .85 scale DiamondPath eofill } def /BoldDiamond { DiamondPath .7 .7 scale DiamondPath eofill } def % DG/SR modification end /.notdef { } def end /BuildGlyph { exch begin Metrics 1 index get exec 0 BBoxes 3 index get exec setcachedevice CharProcs begin load exec end end } def /BuildChar { 1 index /Encoding get exch get 1 index /BuildGlyph get exec } bind def end /PSTricksDotFont exch definefont pop %END pst-dots.pro %%EndProcSet %%BeginProcSet: pst-barcode.pro %!PS-Adobe-2.0 %%Creator: Terry Burton %%DocumentPaperSizes: a4 %%EndComments %%EndProlog % Barcode Writer in Pure PostScript - Version 2006-09-26 % http://www.terryburton.co.uk/barcodewriter/ % % Copyright (c) 2006 Terry Burton - tez@terryburton.co.uk % % Permission is hereby granted, free of charge, to any % person obtaining a copy of this software and associated % documentation files (the "Software"), to deal in the % Software without restriction, including without % limitation the rights to use, copy, modify, merge, % publish, distribute, sublicense, and/or sell copies of % the Software, and to permit persons to whom the Software % is furnished to do so, subject to the following % conditions: % % The above copyright notice and this permission notice % shall be included in all copies or substantial portions % of the Software. % % THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY % KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO % THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A % PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL % THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, % DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF % CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN % CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS % IN THE SOFTWARE. % Uncomment this next line to allow these procedure definitions to % remain resident within a printer's PostScript virtual machine % so that the barcode generation capability persists between jobs. % serverdict begin 0 exitserver % --BEGIN TEMPLATE-- % --BEGIN ENCODER ean13-- % --DESC: EAN-13 % --EXAM: 977147396801 /ean13 { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textpos -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def /barlen barcode length def % Length of the code % Add checksum digit to barcode if length is even barlen 2 mod 0 eq { /pad barlen 1 add string def % Create pad one bigger than barcode /checksum 0 def 0 1 barlen 1 sub { /i exch def /barchar barcode i get 48 sub def i 2 mod 0 eq { /checksum barchar checksum add def } { /checksum barchar 3 mul checksum add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def pad 0 barcode putinterval % Add barcode to the start of the pad pad barlen checksum 48 add put % Put ascii for checksum at end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (11111) (111) ] def % Create a string of the available characters /barchars (0123456789) def % Digits to mirror on left side /mirrormaps [ (000000) (001011) (001101) (001110) (010011) (011001) (011100) (010101) (010110) (011010) ] def /sbs barlen 1 sub 4 mul 11 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval % First digit - determine mirrormap by this and show before guard bars /mirrormap mirrormaps barcode 0 get 48 sub get def txt 0 [barcode 0 1 getinterval -10 textpos textfont textsize] put % Left side - performs mirroring 1 1 6 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i 1 sub get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 1 sub 4 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 7 mul 4 add textpos textfont textsize] put } for % Put the middle character sbs 7 1 sub 4 mul 3 add encs 11 get putinterval % Right side 7 1 12 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 1 sub 4 mul 8 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 7 mul 8 add textpos textfont textsize] put } for % Put the end character sbs barlen 1 sub 4 mul 8 add encs 12 get putinterval % Return the arguments /retval 4 dict def retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [height height 12{height .075 sub}repeat height height 12{height .075 sub}repeat height height] put retval (bbs) [0 0 12{.075}repeat 0 0 12{.075}repeat 0 0] put retval (txt) txt put } { retval (bhs) [30{height}repeat] put retval (bbs) [30{0}repeat] put } ifelse retval (opt) useropts put retval (guardrightpos) 10 put retval (borderbottom) 5 put retval end } bind def /ean13 load 0 1 dict put % --END ENCODER ean13-- % --BEGIN ENCODER ean8-- % --DESC: EAN-8 % --EXAM: 01335583 /ean8 { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textpos -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (11111) (111) ] def % Create a string of the available characters /barchars (0123456789) def /barlen barcode length def % Length of the code /sbs barlen 4 mul 11 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval % Left side 0 1 3 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 7 mul 4 add textpos textfont textsize] put } for % Put the middle character sbs 4 4 mul 3 add encs 11 get putinterval % Right side 4 1 7 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 8 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 7 mul 8 add textpos textfont textsize] put } for % Put the end character sbs barlen 4 mul 8 add encs 12 get putinterval % Return the arguments /retval 4 dict def retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [height height 8{height .075 sub}repeat height height 8{height .075 sub}repeat height height] put retval (bbs) [0 0 8{.075}repeat 0 0 8{.075}repeat 0 0] put retval (txt) txt put } { retval (bhs) [22{height}repeat] put retval (bbs) [22{0}repeat] put } ifelse retval (opt) useropts put retval (guardleftpos) 10 put retval (guardrightpos) 10 put retval (borderbottom) 5 put retval end } bind def /ean8 load 0 1 dict put % --END ENCODER ean8-- % --BEGIN ENCODER upca-- % --DESC: UPC-A % --EXAM: 78858101497 /upca { 0 begin /options exch def /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textpos -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def /barlen barcode length def % Length of the code % Add checksum digit to barcode if length is odd barlen 2 mod 0 ne { /pad barlen 1 add string def % Create pad one bigger than barcode /checksum 0 def 0 1 barlen 1 sub { /i exch def /barchar barcode i get 48 sub def i 2 mod 0 ne { /checksum checksum barchar add def } { /checksum checksum barchar 3 mul add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def pad 0 barcode putinterval % Add barcode to the start of the pad pad barlen checksum 48 add put % Put ascii for checksum at end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (11111) (111) ] def % Create a string of the available characters /barchars (0123456789) def /sbs barlen 4 mul 11 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval % Left side 0 1 5 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 3 add enc putinterval % Put encoded digit into sbs i 0 eq { % First digit is before the guard bars txt 0 [barcode 0 1 getinterval -7 textpos textfont textsize 2 sub] put } { txt i [barcode i 1 getinterval i 7 mul 4 add textpos textfont textsize] put } ifelse } for % Put the middle character sbs 6 4 mul 3 add encs 11 get putinterval % Right side 6 1 11 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 8 add enc putinterval % Put encoded digit into sbs i 11 eq { % Last digit is after guard bars txt 11 [barcode 11 1 getinterval 96 textpos textfont textsize 2 sub] put } { txt i [barcode i 1 getinterval i 7 mul 8 add textpos textfont textsize] put } ifelse } for % Put the end character sbs barlen 4 mul 8 add encs 12 get putinterval % Return the arguments /retval 4 dict def retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [4{height}repeat 10{height .075 sub}repeat height height 10{height .075 sub}repeat 5{height}repeat] put retval (bbs) [0 0 0 0 10{.075}repeat 0 0 10{.075}repeat 0 0 0 0 0] put retval (txt) txt put } { retval (bhs) [31{height}repeat] put retval (bbs) [31{0}repeat] put } ifelse retval (opt) useropts put retval (borderbottom) 5 put retval end } bind def /upca load 0 1 dict put % --END ENCODER upca-- % --BEGIN ENCODER upce-- % --DESC: UPC-E % --EXAM: 0123456 /upce { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textpos -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def /barlen barcode length def % Length of the code % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (1111111) ] def % Create a string of the available characters /barchars (0123456789) def /mirrormaps [ (000111) (001011) (001101) (001110) (010011) (011001) (011100) (010101) (010110) (011010) ] def % Add checksum digit to barcode if length is odd barlen 2 mod 0 ne { /pad barlen 1 add string def % Create pad one bigger than barcode /checksum 0 def 0 1 barlen 1 sub { /i exch def /barchar barcode i get 48 sub def i 2 mod 0 ne { /checksum barchar checksum add def } { /checksum barchar 3 mul checksum add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def pad 0 barcode putinterval % Add barcode to the start of the pad pad barlen checksum 48 add put % Put ascii for checksum at end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if /txt barlen array def txt 0 [barcode 0 1 getinterval -7 textpos textfont textsize 2 sub] put % Determine the mirror map based on checksum /mirrormap mirrormaps barcode barlen 1 sub get 48 sub get def % Invert the mirrormap if we are using a non-zero number system barcode 0 get 48 eq { /invt mirrormap length string def 0 1 mirrormap length 1 sub { /i exch def mirrormap i get 48 eq { invt i 49 put } { invt i 48 put } ifelse } for /mirrormap invt def } if /sbs barlen 2 sub 4 mul 10 add string def % Put the start character sbs 0 encs 10 get putinterval 1 1 6 { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i 1 sub get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 1 sub 4 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 7 mul 4 add textpos textfont textsize] put } for txt 7 [barcode 7 1 getinterval 6 7 mul 11 add textpos textfont textsize 2 sub] put % Put the end character sbs barlen 2 sub 4 mul 3 add encs 11 get putinterval % Return the arguments /retval 4 dict def retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [height height 12{height .075 sub}repeat height height height] put retval (bbs) [0 0 12{.075}repeat 0 0 0] put retval (txt) txt put } { retval (bhs) [17{height}repeat] put retval (bbs) [17{0}repeat] put } ifelse retval (opt) useropts put retval (borderbottom) 5 put retval end } bind def /upce load 0 1 dict put % --END ENCODER upce-- % --BEGIN ENCODER ean5-- % --DESC: EAN-5 (5 digit addon) % --EXAM: 0123456 /ean5 { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textpos (unset) def /height 0.7 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /height height cvr def textpos (unset) eq { /textpos height 72 mul 1 add def } { /textpos textpos cvr def } ifelse /barlen barcode length def % Length of the code % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (112) (11) ] def % Create a string of the available characters /barchars (0123456789) def % Determine the mirror map based on mod 10 checksum /mirrormaps [ (11000) (10100) (10010) (10001) (01100) (00110) (00011) (01010) (01001) (00101) ] def /checksum 0 def 0 1 4 { /i exch def /barchar barcode i get 48 sub def i 2 mod 0 eq { /checksum barchar 3 mul checksum add def } { /checksum barchar 9 mul checksum add def } ifelse } for /checksum checksum 10 mod def /mirrormap mirrormaps checksum get def /sbs 31 string def /txt 5 array def 0 1 4 { /i exch def % Prefix with either a start character or separator character i 0 eq { sbs 0 encs 10 get putinterval } { sbs i 1 sub 6 mul 7 add encs 11 get putinterval } ifelse % Lookup the encoding for the barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 6 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 9 mul 13 add textpos textfont textsize] put } for % Return the arguments /retval 4 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [16{height}repeat] put retval (bbs) [16{0}repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval (guardrightpos) 10 put retval (guardrightypos) textpos 4 add put retval (bordertop) 10 put retval end } bind def /ean5 load 0 1 dict put % --END ENCODER ean5-- % --BEGIN ENCODER ean2-- % --DESC: EAN-2 (2 digit addon) % --EXAM: 05 /ean2 { 0 begin /options exch def % We are given an options string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textpos (unset) def /height 0.7 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /height height cvr def textpos (unset) eq { /textpos height 72 mul 1 add def } { /textpos textpos cvr def } ifelse /barlen barcode length def % Length of the code % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (112) (11) ] def % Create a string of the available characters /barchars (0123456789) def % Determine the mirror map based on mod 4 checksum /mirrormap [(00) (01) (10) (11)] barcode 0 2 getinterval cvi 4 mod get def /sbs 13 string def /txt 2 array def 0 1 1 { /i exch def % Prefix with either a start character or separator character i 0 eq { sbs 0 encs 10 get putinterval } { sbs i 1 sub 6 mul 7 add encs 11 get putinterval } ifelse % Lookup the encoding for the barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 6 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 9 mul 13 add textpos textfont textsize] put } for % Return the arguments /retval 4 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [12{height}repeat] put retval (bbs) [12{0}repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval (guardrightpos) 10 put retval (guardrightypos) textpos 4 add put retval (bordertop) 10 put retval end } bind def /ean2 load 0 1 dict put % --END ENCODER ean2-- % --BEGIN ENCODER isbn-- % --REQUIRES ean13-- % --DESC: ISBN % --EXAM: 1-86074-271 /isbn { 0 begin /options exch def % We are given an options string /useropts options def /isbntxt exch def % We are given the isbn text with dashes /includetext false def % Enable/disable ISBN text /isbnfont /Courier def /isbnsize 9 def /isbnpos (unset) def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /isbnfont isbnfont cvlit def /isbnsize isbnsize cvr def /height height cvr def isbnpos (unset) eq { /isbnpos height 72 mul 3 add def } { /isbnpos isbnpos cvr def } ifelse % Read the digits from isbntxt and calculate checksums /isbn 13 string def /checksum10 0 def /checksum13 0 def /i 0 def /n 0 def { % loop /isbnchar isbntxt i get 48 sub def isbnchar -3 ne { % Ignore dashes isbn n isbnchar 48 add put /checksum10 checksum10 10 n sub isbnchar mul add def n 2 mod 0 eq { /checksum13 isbnchar checksum13 add def } { /checksum13 isbnchar 3 mul checksum13 add def } ifelse /n n 1 add def } if /i i 1 add def i isbntxt length eq {exit} if } loop % Add the ISBN header to the isbntxt n 9 eq n 10 eq or { /checksum 11 checksum10 11 mod sub 11 mod def /isbn isbn 0 9 getinterval def /pad 18 string def } { /checksum 10 checksum13 10 mod sub 10 mod def /isbn isbn 0 12 getinterval def /pad 22 string def } ifelse pad 0 (ISBN ) putinterval pad 5 isbntxt putinterval % Add isbntxt to the pad % Add checksum digit if isbntxt length is 11 or 15 isbntxt length 11 eq isbntxt length 15 eq or { pad isbntxt length 5 add 45 put % Put a dash checksum 10 eq { pad isbntxt length 6 add checksum 78 add put % Check digit for 10 is X } { pad isbntxt length 6 add checksum 48 add put % Put check digit } ifelse } if /isbntxt pad def % isbntxt=pad % Convert ISBN digits to EAN-13 /barcode 12 string def isbn length 9 eq { barcode 0 (978) putinterval barcode 3 isbn putinterval } { barcode 0 isbn putinterval } ifelse % Get the result of encoding with ean13 /args barcode options ean13 def % Add the ISBN text includetext { isbn length 9 eq { /isbnxpos -1 def } { /isbnxpos -12 def } ifelse args (txt) known { /txt args (txt) get def /newtxt txt length 1 add array def newtxt 0 txt putinterval newtxt newtxt length 1 sub [isbntxt isbnxpos isbnpos isbnfont isbnsize] put args (txt) newtxt put } { args (txt) [ [isbntxt isbnxpos isbnpos isbnfont isbnsize] ] put } ifelse } if args (opt) useropts put args end } bind def /isbn load 0 1 dict put % --END ENCODER isbn-- % --BEGIN ENCODER code128-- % --DESC: Code 128 % --EXAM: ^104^102Count^0990123456789^101! /code128 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Courier def /textsize 10 def /textpos -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def % Create an array containing the character mappings /encs [ (212222) (222122) (222221) (121223) (121322) (131222) (122213) (122312) (132212) (221213) (221312) (231212) (112232) (122132) (122231) (113222) (123122) (123221) (223211) (221132) (221231) (213212) (223112) (312131) (311222) (321122) (321221) (312212) (322112) (322211) (212123) (212321) (232121) (111323) (131123) (131321) (112313) (132113) (132311) (211313) (231113) (231311) (112133) (112331) (132131) (113123) (113321) (133121) (313121) (211331) (231131) (213113) (213311) (213131) (311123) (311321) (331121) (312113) (312311) (332111) (314111) (221411) (431111) (111224) (111422) (121124) (121421) (141122) (141221) (112214) (112412) (122114) (122411) (142112) (142211) (241211) (221114) (413111) (241112) (134111) (111242) (121142) (121241) (114212) (124112) (124211) (411212) (421112) (421211) (212141) (214121) (412121) (111143) (111341) (131141) (114113) (114311) (411113) (411311) (113141) (114131) (311141) (411131) (211412) (211214) (211232) (2331112) ] def % Create a string of the available characters for alphabets A and B /barchars ( !"#$%&'\(\)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~) def /barlen barcode length def % Length of the code /sbs barlen 6 mul string def % sbs is 6 times length of barcode /txt barlen array def /mode -1 def % A=0, B=1, C=2 /checksum barcode 1 3 getinterval cvi def % Initialise the checksum /i 0 def /j 0 def { % loop i barlen eq {exit} if barcode i 1 getinterval (^) eq { % indx is given by the next three characters /indx barcode i 1 add 3 getinterval cvi def txt j [( ) j 11 mul textpos textfont textsize] put /i i 4 add def } { % indx depends on the mode mode 2 eq { /indx barcode i 2 getinterval cvi def txt j [barcode i 2 getinterval j 11 mul textpos textfont textsize] put /i i 2 add def } { barchars barcode i 1 getinterval search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post txt j [barchars indx 1 getinterval j 11 mul textpos textfont textsize] put /i i 1 add def } ifelse } ifelse /enc encs indx get def % Get the indxth encoding sbs j 6 mul enc putinterval % Put encoded digit into sbs % Update the mode indx 101 eq indx 103 eq or {/mode 0 def} if indx 100 eq indx 104 eq or {/mode 1 def} if indx 99 eq indx 105 eq or {/mode 2 def} if /checksum indx j mul checksum add def % checksum+=indx*j /j j 1 add def } loop % Put the checksum character /checksum checksum 103 mod def sbs j 6 mul encs checksum get putinterval % Put the end character sbs j 6 mul 6 add encs 106 get putinterval % Shrink sbs and txt to fit exactly /sbs sbs 0 j 6 mul 13 add getinterval def /txt txt 0 j getinterval def % Return the arguments /retval 1 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code128 load 0 1 dict put % --END ENCODER code128-- % --BEGIN ENCODER code39-- % --DESC: Code 39 % --EXAM: THIS IS CODE 39 /code39 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def /includecheckintext false def /textfont /Courier def /textsize 10 def /textpos -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def % Create an array containing the character mappings /encs [ (1113313111) (3113111131) (1133111131) (3133111111) (1113311131) (3113311111) (1133311111) (1113113131) (3113113111) (1133113111) (3111131131) (1131131131) (3131131111) (1111331131) (3111331111) (1131331111) (1111133131) (3111133111) (1131133111) (1111333111) (3111111331) (1131111331) (3131111311) (1111311331) (3111311311) (1131311311) (1111113331) (3111113311) (1131113311) (1111313311) (3311111131) (1331111131) (3331111111) (1311311131) (3311311111) (1331311111) (1311113131) (3311113111) (1331113111) (1313131111) (1313111311) (1311131311) (1113131311) (1311313111) ] def % Create a string of the available characters /barchars (0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%*) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 10 mul 30 add string def /txt barlen 3 add array def } { /sbs barlen 10 mul 20 add string def /txt barlen 2 add array def } ifelse /checksum 0 def % Put the start character sbs 0 encs 43 get putinterval txt 0 [(*) 0 textpos textfont textsize] put 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 10 mul 10 add enc putinterval % Put encoded digit into sbs txt i 1 add [barcode i 1 getinterval i 1 add 16 mul textpos textfont textsize] put /checksum checksum indx add def } for % Put the checksum and end characters includecheck { /checksum checksum 43 mod def sbs barlen 10 mul 10 add encs checksum get putinterval includecheckintext { txt barlen 1 add [barchars checksum 1 getinterval barlen 1 add 16 mul textpos textfont textsize] put } { txt barlen 1 add [() barlen 1 add 16 mul textpos textfont textsize] put } ifelse sbs barlen 10 mul 20 add encs 43 get putinterval txt barlen 2 add [(*) barlen 2 add 16 mul textpos textfont textsize] put } { sbs barlen 10 mul 10 add encs 43 get putinterval txt barlen 1 add [(*) barlen 1 add 16 mul textpos textfont textsize] put } ifelse % Return the arguments /retval 2 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code39 load 0 1 dict put % --END ENCODER code39-- % --BEGIN ENCODER code93-- % --DESC: Code 93 % --EXAM: THIS IS CODE 93 /code93 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /textfont /Courier def /textsize 10 def /textpos -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def /encs [ (131112) (111213) (111312) (111411) (121113) (121212) (121311) (111114) (131211) (141111) (211113) (211212) (211311) (221112) (221211) (231111) (112113) (112212) (112311) (122112) (132111) (111123) (111222) (111321) (121122) (131121) (212112) (212211) (211122) (211221) (221121) (222111) (112122) (112221) (122121) (123111) (121131) (311112) (311211) (321111) (112131) (113121) (211131) (121221) (312111) (311121) (122211) (111141) (1111411) ] def % Create a string of the available characters /barchars (0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%) def /barlen barcode length def % Length of the code barcode { (^) search false eq {pop exit} if pop pop /barlen barlen 3 sub def } loop includecheck { /sbs barlen 6 mul 25 add string def } { /sbs barlen 6 mul 13 add string def } ifelse /txt barlen array def % Put the start character sbs 0 encs 47 get putinterval /checksum1 0 def /checksum2 0 def /i 0 def /j 0 def { % loop j barlen eq {exit} if barcode i 1 getinterval (^) eq { % indx is given by the next three characters /indx barcode i 1 add 3 getinterval cvi def txt j [( ) j 9 mul 9 add textpos textfont textsize] put /i i 4 add def } { barchars barcode i 1 getinterval search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post txt j [barchars indx 1 getinterval j 9 mul 9 add textpos textfont textsize] put /i i 1 add def } ifelse /enc encs indx get def % Get the indxth encoding sbs j 6 mul 6 add enc putinterval % Put encoded digit into sbs /checksum1 checksum1 barlen j sub 1 sub 20 mod 1 add indx mul add def /checksum2 checksum2 barlen j sub 15 mod 1 add indx mul add def /j j 1 add def } loop includecheck { % Put the first checksum character /checksum1 checksum1 47 mod def /checksum2 checksum2 checksum1 add 47 mod def sbs j 6 mul 6 add encs checksum1 get putinterval sbs j 6 mul 12 add encs checksum2 get putinterval % Put the end character sbs j 6 mul 18 add encs 48 get putinterval } { % Put the end character sbs j 6 mul 6 add encs 48 get putinterval } ifelse % Return the arguments /retval 1 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code93 load 0 1 dict put % --END ENCODER code93-- % --BEGIN ENCODER interleaved2of5-- % --DESC: Interleaved 2 of 5 (ITF) % --EXAM: 24012345678905 /interleaved2of5 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textpos -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def /barlen barcode length def % Length of the code % Prefix 0 to barcode if length is even and including checkdigit % or length is odd and not including checkdigit barlen 2 mod 0 eq includecheck and % even & includecheck barlen 2 mod 0 ne includecheck not and or { % odd & !includecheck /pad barlen 1 add string def % Create pad one bigger than barcode pad 0 48 put % Put ascii 0 at start of pad pad 1 barcode putinterval % Add barcode to the end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Add checksum to end of barcode includecheck { /checksum 0 def 0 1 barlen 1 sub { /i exch def i 2 mod 0 eq { /checksum checksum barcode i get 48 sub 3 mul add def } { /checksum checksum barcode i get 48 sub add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def /pad barlen 1 add string def % Create pad one bigger than barcode pad 0 barcode putinterval % Add barcode to the start of pad pad barlen checksum 48 add put % Add checksum to end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Create an array containing the character mappings /encs [ (11331) (31113) (13113) (33111) (11313) (31311) (13311) (11133) (31131) (13131) (1111) (3111) ] def % Create a string of the available characters /barchars (0123456789) def /sbs barlen 5 mul 8 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval 0 2 barlen 1 sub { /i exch def % Lookup the encodings for two consecutive barcode characters barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enca encs indx get def % Get the indxth encoding barcode i 1 add 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /encb encs indx get def % Get the indxth encoding % Interleave the two character encodings /intl enca length 2 mul string def 0 1 enca length 1 sub { /j exch def /achar enca j get def /bchar encb j get def intl j 2 mul achar put intl j 2 mul 1 add bchar put } for sbs i 5 mul 4 add intl putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 9 mul 4 add textpos textfont textsize] put includecheck includecheckintext not and barlen 2 sub i eq and { txt i 1 add [( ) i 1 add 9 mul 4 add textpos textfont textsize] put } { txt i 1 add [barcode i 1 add 1 getinterval i 1 add 9 mul 4 add textpos textfont textsize] put } ifelse } for % Put the end character sbs barlen 5 mul 4 add encs 11 get putinterval % Return the arguments /retval 1 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /interleaved2of5 load 0 1 dict put % --END ENCODER interleaved2of5-- % --BEGIN ENCODER rss14-- % --DESC: Reduced Space Symbology 14 (RSS-14) % --EXAM: 24012345678905 /rss14 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 1 def /linkage false def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def /getRSSwidths { /mw exch def /nm exch def /val exch def /j 0 def /i 0 def { /v () def mw 1 ne {/v i mw 4 string cvrs def} if 0 v {48 sub add} forall 4 add nm eq { j val eq {exit} if /j j 1 add def } if /i i 1 add def } loop [4 {1} repeat v {47 sub} forall] v length 4 getinterval } bind def /binval [barcode {48 sub} forall] def /binval [linkage {1} {0} ifelse binval 0 13 getinterval {} forall] def 0 1 12 { /i exch def binval i 1 add 2 copy get binval i get 4537077 mod 10 mul add put binval i binval i get 4537077 idiv put } for /right binval 13 get 4537077 mod def binval 13 2 copy get 4537077 idiv put /left 0 def /i true def 0 1 13 { /j exch def binval j get dup 0 eq i and { pop } { /i false def /left left 3 -1 roll 10 13 j sub exp cvi mul add def } ifelse } for /d1 left 1597 idiv def /d2 left 1597 mod def /d3 right 1597 idiv def /d4 right 1597 mod def /tab164 [ 160 0 12 4 8 1 161 1 960 161 10 6 6 3 80 10 2014 961 8 8 4 5 31 34 2714 2015 6 10 3 6 10 70 2840 2715 4 12 1 8 1 126 ] def /tab154 [ 335 0 5 10 2 7 4 84 1035 336 7 8 4 5 20 35 1515 1036 9 6 6 3 48 10 1596 1516 11 4 8 1 81 1 ] def /i 0 def { d1 tab164 i get le { tab164 i 1 add 7 getinterval {} forall /d1te exch def /d1to exch def /d1mwe exch def /d1mwo exch def /d1ele exch def /d1elo exch def /d1gs exch def exit } if /i i 8 add def } loop /i 0 def { d2 tab154 i get le { tab154 i 1 add 7 getinterval {} forall /d2te exch def /d2to exch def /d2mwe exch def /d2mwo exch def /d2ele exch def /d2elo exch def /d2gs exch def exit } if /i i 8 add def } loop /i 0 def { d3 tab164 i get le { tab164 i 1 add 7 getinterval {} forall /d3te exch def /d3to exch def /d3mwe exch def /d3mwo exch def /d3ele exch def /d3elo exch def /d3gs exch def exit } if /i i 8 add def } loop /i 0 def { d4 tab154 i get le { tab154 i 1 add 7 getinterval {} forall /d4te exch def /d4to exch def /d4mwe exch def /d4mwo exch def /d4ele exch def /d4elo exch def /d4gs exch def exit } if /i i 8 add def } loop /d1wo d1 d1gs sub d1te idiv d1elo d1mwo getRSSwidths def /d1we d1 d1gs sub d1te mod d1ele d1mwe getRSSwidths def /d2wo d2 d2gs sub d2to mod d2elo d2mwo getRSSwidths def /d2we d2 d2gs sub d2to idiv d2ele d2mwe getRSSwidths def /d3wo d3 d3gs sub d3te idiv d3elo d3mwo getRSSwidths def /d3we d3 d3gs sub d3te mod d3ele d3mwe getRSSwidths def /d4wo d4 d4gs sub d4to mod d4elo d4mwo getRSSwidths def /d4we d4 d4gs sub d4to idiv d4ele d4mwe getRSSwidths def /d1w 8 array def 0 1 3 { /i exch def d1w i 2 mul d1wo i get put d1w i 2 mul 1 add d1we i get put } for /d2w 8 array def 0 1 3 { /i exch def d2w 7 i 2 mul sub d2wo i get put d2w 6 i 2 mul sub d2we i get put } for /d3w 8 array def 0 1 3 { /i exch def d3w 7 i 2 mul sub d3wo i get put d3w 6 i 2 mul sub d3we i get put } for /d4w 8 array def 0 1 3 { /i exch def d4w i 2 mul d4wo i get put d4w i 2 mul 1 add d4we i get put } for /widths [ d1w {} forall d2w {} forall d3w {} forall d4w {} forall ] def /checkweights [ 1 3 9 27 2 6 18 54 58 72 24 8 29 36 12 4 74 51 17 32 37 65 48 16 64 34 23 69 49 68 46 59 ] def /checkwidths [ 3 8 2 1 1 3 5 5 1 1 3 3 7 1 1 3 1 9 1 1 2 7 4 1 1 2 5 6 1 1 2 3 8 1 1 1 5 7 1 1 1 3 9 1 1 ] def /checksum 0 def 0 1 31 { /i exch def /checksum checksum widths i get checkweights i get mul add def } for /checksum checksum 79 mod def checksum 8 ge {/checksum checksum 1 add def} if checksum 72 ge {/checksum checksum 1 add def} if /checklt checkwidths checksum 9 idiv 5 mul 5 getinterval def /checkrtrev checkwidths checksum 9 mod 5 mul 5 getinterval def /checkrt 5 array def 0 1 4 { /i exch def checkrt i checkrtrev 4 i sub get put } for /sbs [ 1 d1w {} forall checklt {} forall d2w {} forall d4w {} forall checkrt {} forall d3w {} forall 1 1 ] def % Return the arguments /retval 1 dict def retval (sbs) sbs put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (opt) useropts put retval end } bind def /rss14 load 0 1 dict put % --END ENCODER rss14-- % --BEGIN ENCODER rsslimited-- % --DESC: Reduced Space Symbology Limited (RSS-Limited) % --EXAM: 00978186074271 /rsslimited { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def /getRSSwidths { /el exch def /mw exch def /nm exch def /val exch def /j 0 def /i 0 def { /v () def mw 1 ne {/v i mw el string cvrs def} if 0 v {48 sub add} forall el add nm eq { j val eq {exit} if /j j 1 add def } if /i i 1 add def } loop [el {1} repeat v {47 sub} forall] v length el getinterval } bind def /binval [barcode {48 sub} forall] def /binval [binval 0 13 getinterval {} forall] def 0 1 11 { /i exch def binval i 1 add 2 copy get binval i get 2013571 mod 10 mul add put binval i binval i get 2013571 idiv put } for /d2 binval 12 get 2013571 mod def binval 12 2 copy get 2013571 idiv put /d1 0 def /i true def 0 1 12 { /j exch def binval j get dup 0 eq i and { pop } { /i false def /d1 d1 3 -1 roll 10 12 j sub exp cvi mul add def } ifelse } for /tab267 [ 183063 0 17 9 6 3 6538 28 820063 183064 13 13 5 4 875 728 1000775 820064 9 17 3 6 28 6454 1491020 1000776 15 11 5 4 2415 203 1979844 1491021 11 15 4 5 203 2408 1996938 1979845 19 7 8 1 17094 1 2013570 1996939 7 19 1 8 1 16632 ] def /i 0 def { d1 tab267 i get le { tab267 i 1 add 7 getinterval {} forall /d1te exch def /d1to exch def /d1mwe exch def /d1mwo exch def /d1ele exch def /d1elo exch def /d1gs exch def exit } if /i i 8 add def } loop /i 0 def { d2 tab267 i get le { tab267 i 1 add 7 getinterval {} forall /d2te exch def /d2to exch def /d2mwe exch def /d2mwo exch def /d2ele exch def /d2elo exch def /d2gs exch def exit } if /i i 8 add def } loop /d1wo d1 d1gs sub d1te idiv d1elo d1mwo 7 getRSSwidths def /d1we d1 d1gs sub d1te mod d1ele d1mwe 7 getRSSwidths def /d2wo d2 d2gs sub d2te idiv d2elo d2mwo 7 getRSSwidths def /d2we d2 d2gs sub d2te mod d2ele d2mwe 7 getRSSwidths def /d1w 14 array def 0 1 6 { /i exch def d1w i 2 mul d1wo i get put d1w i 2 mul 1 add d1we i get put } for /d2w 14 array def 0 1 6 { /i exch def d2w i 2 mul d2wo i get put d2w i 2 mul 1 add d2we i get put } for /widths [ d1w {} forall d2w {} forall ] def /checkweights [ 1 3 9 27 81 65 17 51 64 14 42 37 22 66 20 60 2 6 18 54 73 41 34 13 39 28 84 74 ] def /checkseq [ 0 1 43 {} for 45 52 57 63 1 66 {} for 73 1 79 {} for 82 126 1 130 {} for 132 141 1 146 {} for 210 1 217 {} for 220 316 1 323 {} for 326 337 ] def /checksum 0 def 0 1 27 { /i exch def /checksum checksum widths i get checkweights i get mul add def } for /checksum checksum 89 mod def /seq checkseq checksum get def /swidths seq 21 idiv 8 3 6 getRSSwidths def /bwidths seq 21 mod 8 3 6 getRSSwidths def /checkwidths [0 0 0 0 0 0 0 0 0 0 0 0 1 1] def 0 1 5 { /i exch def checkwidths i 2 mul swidths i get put checkwidths i 2 mul 1 add bwidths i get put } for /sbs [ 1 d1w {} forall checkwidths {} forall d2w {} forall 1 1 ] def % Return the arguments /retval 1 dict def retval (sbs) sbs put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (opt) useropts put retval end } bind def /rsslimited load 0 1 dict put % --END ENCODER rsslimited-- % --BEGIN ENCODER rssexpanded-- % --DESC: Reduced Space Symbology Expanded (RSS-Expanded) % --EXAM: 000000010011001010100001000000010000 /rssexpanded { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def /getRSSwidths { /mw exch def /nm exch def /val exch def /j 0 def /i 0 def { /v () def mw 1 ne {/v i mw 4 string cvrs def} if 0 v {48 sub add} forall 4 add nm eq { j val eq {exit} if /j j 1 add def } if /i i 1 add def } loop [4 {1} repeat v {47 sub} forall] v length 4 getinterval } bind def /binval [barcode {48 sub} forall] def /datalen binval length 12 idiv def /tab174 [ 347 0 12 5 7 2 87 4 1387 348 10 7 5 4 52 20 2947 1388 8 9 4 5 30 52 3987 2948 6 11 3 6 10 104 4191 3988 4 13 1 8 1 204 ] def /dxw datalen array def 0 1 datalen 1 sub { /x exch def /d binval x 12 mul 12 getinterval def /d 0 0 1 11 {/j exch def 2 11 j sub exp cvi d j get mul add} for def /j 0 def { d tab174 j get le { tab174 j 1 add 7 getinterval {} forall /dte exch def /dto exch def /dmwe exch def /dmwo exch def /dele exch def /delo exch def /dgs exch def exit } if /j j 8 add def } loop /dwo d dgs sub dte idiv delo dmwo getRSSwidths def /dwe d dgs sub dte mod dele dmwe getRSSwidths def /dw 8 array def x 2 mod 0 eq { 0 1 3 { /j exch def dw 7 j 2 mul sub dwo j get put dw 6 j 2 mul sub dwe j get put } for } { 0 1 3 { /j exch def dw j 2 mul dwo j get put dw j 2 mul 1 add dwe j get put } for } ifelse dxw x dw put } for /widths [ dxw {{} forall} forall ] def /checkweights [ 77 96 32 81 27 9 3 1 20 60 180 118 143 7 21 63 205 209 140 117 39 13 145 189 193 157 49 147 19 57 171 91 132 44 85 169 197 136 186 62 185 133 188 142 4 12 36 108 50 87 29 80 97 173 128 113 150 28 84 41 123 158 52 156 166 196 206 139 187 203 138 46 76 17 51 153 37 111 122 155 146 119 110 107 106 176 129 43 16 48 144 10 30 90 59 177 164 125 112 178 200 137 116 109 70 210 208 202 184 130 179 115 190 204 68 93 31 151 191 134 148 22 66 198 172 94 71 2 40 154 192 64 162 54 18 6 120 149 25 75 14 42 126 167 175 199 207 69 23 78 26 79 103 98 83 38 114 131 182 124 159 53 88 170 127 183 61 161 55 165 73 8 24 72 5 15 89 100 174 58 160 194 135 45 ] def /checksum 0 def 0 1 widths length 1 sub { /i exch def /checksum checksum widths i get checkweights i get mul add def } for /checksum checksum 211 mod datalen 3 sub 211 mul add def /i 0 def { checksum tab174 i get le { tab174 i 1 add 7 getinterval {} forall /cte exch def /cto exch def /cmwe exch def /cmwo exch def /cele exch def /celo exch def /cgs exch def exit } if /i i 8 add def } loop /cwo checksum cgs sub cte idiv celo cmwo getRSSwidths def /cwe checksum cgs sub cte mod cele cmwe getRSSwidths def /cw 8 array def 0 1 3 { /i exch def cw i 2 mul cwo i get put cw i 2 mul 1 add cwe i get put } for /finderwidths [ 1 8 4 1 1 1 1 4 8 1 3 6 4 1 1 1 1 4 6 3 3 4 6 1 1 1 1 6 4 3 3 2 8 1 1 1 1 8 2 3 2 6 5 1 1 1 1 5 6 2 2 2 9 1 1 1 1 9 2 2 ] def /finderseq [ [0 1] [0 3 2] [0 5 2 7] [0 9 2 7 4] [0 9 2 7 6 11] [0 9 2 7 8 11 10] [0 1 2 3 4 5 6 7] [0 1 2 3 4 5 6 9 8] [0 1 2 3 4 5 6 9 10 11] [0 1 2 3 4 7 6 9 8 11 10] ] def /seq finderseq datalen 2 add 2 idiv 2 sub get def /fxw seq length array def 0 1 seq length 1 sub { /x exch def fxw x finderwidths seq x get 5 mul 5 getinterval put } for /sbs [ 1 cw {} forall 0 1 datalen 1 sub { /i exch def i 2 mod 0 eq {fxw i 2 idiv get {} forall} if dxw i get {} forall } for 1 1 ] def % Return the arguments /retval 1 dict def retval (sbs) sbs put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (opt) useropts put retval end } bind def /rssexpanded load 0 1 dict put % --END ENCODER rssexpanded-- % --BEGIN ENCODER code2of5-- % --DESC: Code 25 % --EXAM: 01234567 /code2of5 { % Thanks to Michael Landers 0 begin % Confine variable to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textpos -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def % Create an array containing the character mappings /encs [ (1111313111) (3111111131) (1131111131) (3131111111) (1111311131) (3111311111) (1131311111) (1111113131) (3111113111) (1131113111) (313111) (311131) ] def % Create a string of the available characters /barchars (0123456789) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 10 mul 22 add string def /txt barlen 1 add array def } { /sbs barlen 10 mul 12 add string def /txt barlen array def } ifelse % Put the start character sbs 0 encs 10 get putinterval /checksum 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 10 mul 6 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 14 mul 10 add textpos textfont textsize] put barlen i sub 2 mod 0 eq { /checksum checksum indx add def } { /checksum checksum indx 3 mul add def } ifelse } for % Put the checksum and end characters includecheck { /checksum 10 checksum 10 mod sub 10 mod def sbs barlen 10 mul 6 add encs checksum get putinterval sbs barlen 10 mul 16 add encs 11 get putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 14 mul 10 add textpos textfont textsize] put } { txt barlen [( ) barlen 14 mul 10 add textpos textfont textsize] put } ifelse } { sbs barlen 10 mul 6 add encs 11 get putinterval } ifelse % Return the arguments /retval 1 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code2of5 load 0 1 dict put % --END ENCODER code2of5-- % --BEGIN ENCODER code11-- % --DESC: Code 11 % --EXAM: 0123456789 /code11 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def /includetext false def /includecheckintext false def /textfont /Courier def /textsize 10 def /textpos -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def % Create an array containing the character mappings /encs [ (111131) (311131) (131131) (331111) (113131) (313111) (133111) (111331) (311311) (311111) (113111) (113311) ] def % Create a string of the available characters /barchars (0123456789-) def /barlen barcode length def % Length of the code includecheck { barlen 10 ge { /sbs barlen 6 mul 24 add string def /txt barlen 2 add array def } { /sbs barlen 6 mul 18 add string def /txt barlen 1 add array def } ifelse } { /sbs barlen 6 mul 12 add string def /txt barlen array def } ifelse % Put the start character sbs 0 encs 10 get putinterval /checksum1 0 def /checksum2 0 def /xpos 8 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 6 mul 6 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval xpos textpos textfont textsize] put 0 1 5 { % xpos+=width of the character /xpos exch enc exch get 48 sub xpos add def } for /checksum1 checksum1 barlen i sub 1 sub 10 mod 1 add indx mul add def /checksum2 checksum2 barlen i sub 9 mod 1 add indx mul add def } for % Put the checksum and end characters includecheck { /checksum1 checksum1 11 mod def barlen 10 ge { /checksum2 checksum2 checksum1 add 11 mod def sbs barlen 6 mul 6 add encs checksum1 get putinterval sbs barlen 6 mul 12 add encs checksum2 get putinterval includecheckintext { txt barlen [barchars checksum1 1 getinterval xpos textpos textfont textsize] put /enc encs checksum1 get def 0 1 5 { % xpos+=width of the character /xpos exch enc exch get 48 sub xpos add def } for txt barlen 1 add [barchars checksum2 1 getinterval xpos textpos textfont textsize] put } { txt barlen [() xpos textpos textfont textsize] put txt barlen 1 add [() xpos textpos textfont textsize] put } ifelse sbs barlen 6 mul 18 add encs 11 get putinterval } { sbs barlen 6 mul 6 add encs checksum1 get putinterval includecheckintext { txt barlen [barchars checksum1 1 getinterval xpos textpos textfont textsize] put } { txt barlen [() xpos textpos textfont textsize] put } ifelse sbs barlen 6 mul 12 add encs 11 get putinterval } ifelse } { sbs barlen 6 mul 6 add encs 11 get putinterval } ifelse % Return the arguments /retval 1 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code11 load 0 1 dict put % --END ENCODER code11-- % --BEGIN ENCODER rationalizedCodabar-- % --DESC: Rationalized Codabar % --EXAM: A0123456789B /rationalizedCodabar { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textpos -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def % Create an array containing the character mappings /encs [ (11111331) (11113311) (11131131) (33111111) (11311311) (31111311) (13111131) (13113111) (13311111) (31131111) (11133111) (11331111) (31113131) (31311131) (31313111) (11313131) (11331311) (13131131) (11131331) (11133311) ] def % Create a string of the available characters /barchars (0123456789-$:/.+ABCD) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 8 mul 8 add string def /txt barlen 1 add array def } { /sbs barlen 8 mul string def /txt barlen array def } ifelse /checksum 0 def /xpos 0 def 0 1 barlen 2 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 8 mul enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval xpos textpos textfont textsize] put 0 1 7 { % xpos+=width of the character /xpos exch enc exch get 48 sub xpos add def } for /checksum checksum indx add def } for % Find index of last character barcode barlen 1 sub 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post includecheck { % Put the checksum character /checksum checksum indx add def /checksum 16 checksum 16 mod sub 16 mod def sbs barlen 8 mul 8 sub encs checksum get putinterval includecheckintext { txt barlen 1 sub [barchars checksum 1 getinterval xpos textpos textfont textsize] put } { txt barlen 1 sub [( ) xpos textpos textfont textsize] put } ifelse 0 1 7 { % xpos+=width of the character /xpos exch encs checksum get exch get 48 sub xpos add def } for % Put the end character /enc encs indx get def % Get the indxth encoding sbs barlen 8 mul enc putinterval % Put encoded digit into sbs txt barlen [barcode barlen 1 sub 1 getinterval xpos textpos textfont textsize] put } { % Put the end character /enc encs indx get def % Get the indxth encoding sbs barlen 8 mul 8 sub enc putinterval % Put encoded digit into sbs txt barlen 1 sub [barcode barlen 1 sub 1 getinterval xpos textpos textfont textsize] put } ifelse % Return the arguments /retval 1 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /rationalizedCodabar load 0 1 dict put % --END ENCODER rationalizedCodabar-- % --BEGIN ENCODER onecode-- % --DESC: United States Postal Service OneCode % --EXAM: 0123456709498765432101234567891 /onecode { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 0.175 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def /barlen barcode length def /normalize { /base exch def /num exch def num length 1 sub -1 1 { /i exch def num i 1 sub 2 copy get num i get base idiv add put num i num i get base mod put } for { %loop - extend input as necessary num 0 get base lt {exit} if /num [0 num {} forall] def num 0 num 0 get num 1 get base idiv add put num 1 num 1 get base mod put } loop % Trim leading zeros /num [/i true def num {dup 0 eq i and {pop} {/i false def} ifelse} forall] def num length 0 eq {/num [0] def} if num } bind def /bigadd { 2 copy length exch length 2 copy sub abs /offset exch def lt {exch} if /a exch def /b exch def 0 1 b length 1 sub { dup a exch offset add 2 copy get b 5 -1 roll get add put } for a } bind def % Conversion of data fields into binary data barlen 20 eq {[0]} if barlen 25 eq {[1]} if barlen 29 eq {[1 0 0 0 0 1]} if barlen 31 eq {[1 0 0 0 1 0 0 0 0 1]} if /binval exch [barcode 20 barlen 20 sub getinterval {48 sub} forall] bigadd def /binval [binval {} forall barcode 0 get 48 sub] def /binval [binval {5 mul} forall] [barcode 1 get 48 sub] bigadd 10 normalize def /binval [binval {} forall barcode 2 18 getinterval {48 sub} forall] def % Conversion of binary data into byte array /bytes 13 array def /bintmp [binval {} forall] def 12 -1 0 { /i exch def 0 1 bintmp length 2 sub { /j exch def bintmp j 1 add 2 copy get bintmp j get 256 mod 10 mul add put bintmp j bintmp j get 256 idiv put } for bytes i bintmp bintmp length 1 sub get 256 mod put bintmp bintmp length 1 sub 2 copy get 256 idiv put } for % Generation of 11-bit CRC on byte array /fcs 2047 def /dat bytes 0 get 5 bitshift def 6 { fcs dat xor 1024 and 0 ne { /fcs fcs 1 bitshift 3893 xor def } { /fcs fcs 1 bitshift def } ifelse /fcs fcs 2047 and def /dat dat 1 bitshift def } repeat 1 1 12 { bytes exch get 3 bitshift /dat exch def 8 { fcs dat xor 1024 and 0 ne { /fcs fcs 1 bitshift 3893 xor def } { /fcs fcs 1 bitshift def } ifelse /fcs fcs 2047 and def /dat dat 1 bitshift def } repeat } for % Conversion from binary data to codewords /codewords 10 array def 9 -1 0 { /i exch def i 9 eq { /b 636 def } { /b 1365 def } ifelse 0 1 binval length 2 sub { /j exch def binval j 1 add 2 copy get binval j get b mod 10 mul add put binval j binval j get b idiv put } for codewords i binval binval length 1 sub get b mod put binval binval length 1 sub 2 copy get b idiv put } for % Inserting additional information into codewords codewords 9 codewords 9 get 2 mul put fcs 1024 and 0 ne { codewords 0 codewords 0 get 659 add put } if % Conversion from codewords to characters /tab513 1287 dict def /lo 0 def /hi 1286 def 0 1 8191 { { % no loop - provides common exit point /i exch def /onbits 0 def 0 1 12 { i exch 1 exch bitshift and 0 ne { /onbits onbits 1 add def } if } for onbits 5 ne {exit} if /j i def /rev 0 def 16 { /rev rev 1 bitshift j 1 and or def /j j -1 bitshift def } repeat /rev rev -3 bitshift def rev i lt {exit} if rev i eq { tab513 hi i put /hi hi 1 sub def } { tab513 lo i put tab513 lo 1 add rev put /lo lo 2 add def } ifelse exit } loop } for /tab213 78 dict def /lo 0 def /hi 77 def 0 1 8191 { { % no loop - provides common exit point /i exch def /onbits 0 def 0 1 12 { i exch 1 exch bitshift and 0 ne { /onbits onbits 1 add def } if } for onbits 2 ne {exit} if /j i def /rev 0 def 16 { /rev rev 1 bitshift j 1 and or def /j j -1 bitshift def } repeat /rev rev -3 bitshift def rev i lt {exit} if rev i eq { tab213 hi i put /hi hi 1 sub def } { tab213 lo i put tab213 lo 1 add rev put /lo lo 2 add def } ifelse exit } loop } for /chars 10 array def 0 1 9 { /i exch def codewords i get dup 1286 le { tab513 exch get } { tab213 exch 1287 sub get } ifelse chars i 3 -1 roll put } for 9 -1 0 { /i exch def 2 i exp cvi fcs and 0 ne { chars i chars i get 8191 xor put } if } for % Conversion from characters to the OneCode encoding /barmap [ 7 2 4 3 1 10 0 0 9 12 2 8 5 5 6 11 8 9 3 1 0 1 5 12 2 5 1 8 4 4 9 11 6 3 8 10 3 9 7 6 5 11 1 4 8 5 2 12 9 10 0 2 7 1 6 7 3 6 4 9 0 3 8 6 6 4 2 7 1 1 9 9 7 10 5 2 4 0 3 8 6 2 0 4 8 11 1 0 9 8 3 12 2 6 7 7 5 1 4 10 1 12 6 9 7 3 8 0 5 8 9 7 4 6 2 10 3 4 0 5 8 4 5 7 7 11 1 9 6 0 9 6 0 6 4 8 2 1 3 2 5 9 8 12 4 11 6 1 9 5 7 4 3 3 1 2 0 7 2 0 1 3 4 1 6 10 3 5 8 7 9 4 2 11 5 6 0 8 7 12 4 2 8 1 5 10 3 0 9 3 0 9 6 5 2 4 7 8 1 7 5 0 4 5 2 3 0 10 6 12 9 2 3 11 1 6 8 8 7 9 5 4 0 11 1 5 2 2 9 1 4 12 8 3 6 6 7 0 3 7 4 7 7 5 0 12 1 11 2 9 9 0 6 8 5 3 3 10 8 2 ] def /bbs 65 array def /bhs 65 array def 0 1 64 { /i exch def /dec chars barmap i 4 mul get get 2 barmap i 4 mul 1 add get exp cvi and 0 ne def /asc chars barmap i 4 mul 2 add get get 2 barmap i 4 mul 3 add get exp cvi and 0 ne def dec not asc not and { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if dec not asc and { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if dec asc not and { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if dec asc and { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if } for /retval 4 dict def retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put retval (opt) useropts put retval end } bind def /onecode load 0 1 dict put % --END ENCODER onecode-- % --BEGIN ENCODER postnet-- % --DESC: United States Postal Service Postnet % --EXAM: 012345 /postnet { % Thanks to Ross McFarland 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textpos -7 def /height 0.125 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def /barlen barcode length def % Create an array containing the character mappings /encs [ (55222) (22255) (22525) (22552) (25225) (25252) (25522) (52225) (52252) (52522) (5) (5) ] def % Create a string of the available characters /barchars (0123456789) def /bhs barlen 5 mul 7 add array def /txt barlen 1 add array def % Put start character /enc encs 10 get def /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs 0 heights putinterval % Put encoded digit into sbs /checksum 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs i 5 mul 1 add heights putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 5 mul 1 add 3.312 mul textpos textfont textsize] put /checksum checksum indx add def % checksum+=indx } for % Put the checksum character /checksum 10 checksum 10 mod sub 10 mod def /enc encs checksum get def /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs barlen 5 mul 1 add heights putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 5 mul 1 add 3.312 mul textpos textfont textsize] put } { txt barlen [( ) barlen 5 mul 1 add 72 mul 25 div textpos textfont textsize] put } ifelse % Put end character /enc encs 11 get def /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs barlen 5 mul 6 add heights putinterval /retval 1 dict def retval (bhs) bhs put retval (bbs) [bhs length {0} repeat] put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /postnet load 0 1 dict put % --END ENCODER postnet-- % --BEGIN ENCODER royalmail-- % --DESC: Royal Mail 4 State Customer Code (RM4SCC) % --EXAM: LE28HS9Z /royalmail { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textpos -7 def /height 0.175 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def % Create an array containing the character mappings /encs [ (3300) (2211) (2301) (2310) (3201) (3210) (1122) (0033) (0123) (0132) (1023) (1032) (1302) (0213) (0303) (0312) (1203) (1212) (1320) (0231) (0321) (0330) (1221) (1230) (3102) (2013) (2103) (2112) (3003) (3012) (3120) (2031) (2121) (2130) (3021) (3030) (2) (3) ] def % Create a string of the available characters /barchars (ZUVWXY501234B6789AHCDEFGNIJKLMTOPQRS) def /barlen barcode length def /encstr barlen 4 mul 6 add string def /txt barlen 1 add array def % Put start character encstr 0 encs 36 get putinterval /checksumrow 0 def /checksumcol 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding encstr i 4 mul 1 add enc putinterval txt i [barcode i 1 getinterval i 4 mul 1 add 3.312 mul textpos textfont textsize] put /checksumrow checksumrow indx 6 idiv add def /checksumcol checksumcol indx 6 mod add def } for % Put the checksum character /checksum checksumrow 6 mod 6 mul checksumcol 6 mod add def /enc encs checksum get def encstr barlen 4 mul 1 add enc putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 4 mul 1 add 3.312 mul textpos textfont textsize] put } { txt barlen [( ) barlen 4 mul 1 add 3.312 mul textpos textfont textsize] put } ifelse % Put end character encstr barlen 4 mul 5 add encs 37 get putinterval /bbs encstr length array def /bhs encstr length array def 0 1 encstr length 1 sub { /i exch def /enc encstr i 1 getinterval def enc (0) eq { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if enc (1) eq { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if enc (2) eq { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if enc (3) eq { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if } for /retval 4 dict def retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /royalmail load 0 1 dict put % --END ENCODER royalmail-- % --BEGIN ENCODER auspost-- % --DESC: AusPost 4 State Customer Code % --EXAM: 5956439111ABA 9 /auspost { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Courier def /textsize 10 def /textpos -7 def /height 0.175 def /custinfoenc (character) def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def % Create an array containing the character mappings /encs [ (000) (001) (002) (010) (011) (012) (020) (021) (022) (100) (101) (102) (110) (111) (112) (120) (121) (122) (200) (201) (202) (210) (211) (212) (220) (221) (222) (300) (301) (302) (310) (311) (312) (320) (321) (322) (023) (030) (031) (032) (033) (103) (113) (123) (130) (131) (132) (133) (203) (213) (223) (230) (231) (232) (233) (303) (313) (323) (330) (331) (332) (333) (003) (013) (00) (01) (02) (10) (11) (12) (20) (21) (22) (30) (13) (3) ] def % Create a string of the available characters /barchars (ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz #) def /barlen barcode length def barcode 0 2 getinterval (11) eq {37} if barcode 0 2 getinterval (59) eq {52} if barcode 0 2 getinterval (62) eq {67} if /encstr exch string def /txt barlen 2 sub array def % Put start character encstr 0 encs 74 get putinterval % Encode the FCC 0 1 1 { /i exch def encs barcode i 1 getinterval cvi 64 add get encstr i 2 mul 2 add 3 2 roll putinterval } for % Encode the DPID 2 1 9 { /i exch def encs barcode i 1 getinterval cvi 64 add get encstr i 2 mul 2 add 3 2 roll putinterval txt i 2 sub [barcode i 1 getinterval i 2 sub 2 mul 6 add 3.312 mul textpos textfont textsize] put } for % Encode the customer information custinfoenc (numeric) eq { 0 1 barlen 11 sub { /i exch def encs barcode i 10 add 1 getinterval cvi 64 add get encstr i 2 mul 22 add 3 2 roll putinterval txt i 8 add [barcode i 10 add 1 getinterval i 2 mul 22 add 3.312 mul textpos textfont textsize] put } for /ciflen barlen 10 sub 2 mul def } { 0 1 barlen 11 sub { /i exch def barcode i 10 add 1 getinterval barchars exch search pop length /indx exch def pop pop /enc encs indx get def encstr i 3 mul 22 add enc putinterval txt i 8 add [barcode i 10 add 1 getinterval i 3 mul 22 add 3.312 mul textpos textfont textsize] put } for /ciflen barlen 10 sub 3 mul def } ifelse % Add any filler characters 22 ciflen add 1 encstr length 14 sub { encstr exch encs 75 get putinterval } for % Create the 64x64 Reed-Solomon table /rstable 64 64 mul array def rstable 0 [ 64 {0} repeat ] putinterval rstable 64 [ 0 1 63 {} for ] putinterval /prev 1 def 64 { /next prev 1 bitshift def next 64 and 0 ne { /next next 67 xor def } if 0 1 63 { /j exch def /nextcell {rstable 64 next mul j add} def nextcell rstable 64 prev mul j add get 1 bitshift put nextcell get 64 and 0 ne { nextcell nextcell get 67 xor put } if } for /prev next def } repeat % Calculate the Reed-Solomon codes for triples /rscodes encstr length 16 sub 3 idiv 4 add array def rscodes 0 [ 4 {0} repeat ] putinterval 2 3 encstr length 16 sub { /i exch def rscodes rscodes length i 2 sub 3 idiv sub 1 sub encstr i 1 getinterval cvi 16 mul encstr i 1 add 1 getinterval cvi 4 mul add encstr i 2 add 1 getinterval cvi add put } for rscodes length 5 sub -1 0 { /i exch def 0 1 4 { /j exch def rscodes i j add rscodes i j add get rstable 64 [48 17 29 30 1] j get mul rscodes i 4 add get add get xor put } for } for /checkcode (000000000000) def 0 1 3 { /i exch def /enc rscodes 3 i sub get 4 3 string cvrs def checkcode i 3 mul 3 enc length sub add enc putinterval } for % Put checkcode and end characters encstr encstr length 14 sub checkcode putinterval encstr encstr length 2 sub encs 74 get putinterval /bbs encstr length array def /bhs encstr length array def 0 1 encstr length 1 sub { /i exch def /enc encstr i 1 getinterval def enc (0) eq { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if enc (1) eq { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if enc (2) eq { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if enc (3) eq { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if } for /retval 4 dict def retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /auspost load 0 1 dict put % --END ENCODER auspost-- % --BEGIN ENCODER kix-- % --DESC: Royal Dutch TPG Post KIX 4-State Barcode % --EXAM: 1231FZ13XHS /kix { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textpos -7 def /height 0.175 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def % Create an array containing the character mappings /encs [ (0033) (0123) (0132) (1023) (1032) (1122) (0213) (0303) (0312) (1203) (1212) (1302) (0231) (0321) (0330) (1221) (1230) (1320) (2013) (2103) (2112) (3003) (3012) (3102) (2031) (2121) (2130) (3021) (3030) (3120) (2211) (2301) (2310) (3201) (3210) (3300) ] def % Create a string of the available characters /barchars (0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ) def /barlen barcode length def /encstr barlen 4 mul string def /txt barlen array def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding encstr i 4 mul enc putinterval txt i [barcode i 1 getinterval i 4 mul 3.312 mul textpos textfont textsize] put } for /bbs encstr length array def /bhs encstr length array def 0 1 encstr length 1 sub { /i exch def /enc encstr i 1 getinterval def enc (0) eq { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if enc (1) eq { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if enc (2) eq { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if enc (3) eq { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if } for /retval 4 dict def retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /kix load 0 1 dict put % --END ENCODER kix-- % --BEGIN ENCODER msi-- % --DESC: MSI Modified Plessey % --EXAM: 0123456789 /msi { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textpos -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def % Create an array containing the character mappings /encs [ (13131313) (13131331) (13133113) (13133131) (13311313) (13311331) (13313113) (13313131) (31131313) (31131331) (31) (131) ] def % Create a string of the available characters /barchars (0123456789) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 8 mul 13 add string def /txt barlen 1 add array def } { /sbs barlen 8 mul 5 add string def /txt barlen array def } ifelse % Put start character sbs 0 encs 10 get putinterval /checksum 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 8 mul 2 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 16 mul 4 add textpos textfont textsize] put barlen i sub 2 mod 0 eq { /checksum indx checksum add def } { /checksum indx 2 mul dup 10 idiv add checksum add def } ifelse } for % Put the checksum and end characters includecheck { /checksum 10 checksum 10 mod sub 10 mod def sbs barlen 8 mul 2 add encs checksum get putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 16 mul 4 add textpos textfont textsize] put } { txt barlen [( ) barlen 16 mul 4 add textpos textfont textsize] put } ifelse sbs barlen 8 mul 10 add encs 11 get putinterval } { sbs barlen 8 mul 2 add encs 11 get putinterval } ifelse % Return the arguments /retval 1 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /msi load 0 1 dict put % --END ENCODER msi-- % --BEGIN ENCODER plessey-- % --DESC: Plessey % --EXAM: 01234ABCD /plessey { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textpos -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textpos textpos cvr def /height height cvr def % Create an array containing the character mappings /encs [ (13131313) (31131313) (13311313) (31311313) (13133113) (31133113) (13313113) (31313113) (13131331) (31131331) (13311331) (31311331) (13133131) (31133131) (13313131) (31313131) (31311331) (331311313) ] def % Create a string of the available characters /barchars (0123456789ABCDEF) def /barlen barcode length def % Length of the code /sbs barlen 8 mul 33 add string def /txt barlen 2 add array def /checkbits barlen 4 mul 8 add array def checkbits barlen 4 mul [ 0 0 0 0 0 0 0 0 ] putinterval % Put start character sbs 0 encs 16 get putinterval 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 8 mul 8 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 16 mul 16 add textpos textfont textsize] put checkbits i 4 mul [ indx 1 and indx -1 bitshift 1 and indx -2 bitshift 1 and indx -3 bitshift ] putinterval } for % Checksum is last 8 bits of a CRC using a salt /checksalt [ 1 1 1 1 0 1 0 0 1 ] def 0 1 barlen 4 mul 1 sub { /i exch def checkbits i get 1 eq { 0 1 8 { /j exch def checkbits i j add checkbits i j add get checksalt j get xor put } for } if } for % Calculate the value of the checksum digits /checkval 0 def 0 1 7 { /i exch def /checkval checkval 2 7 i sub exp cvi checkbits barlen 4 mul i add get mul add def } for % Put the checksum characters /checksum1 checkval -4 bitshift def /checksum2 checkval 15 and def sbs barlen 8 mul 8 add encs checksum1 get putinterval sbs barlen 8 mul 16 add encs checksum2 get putinterval includecheckintext { txt barlen [barchars checksum1 1 getinterval barlen 16 mul 16 add textpos textfont textsize] put txt barlen 1 add [barchars checksum2 1 getinterval barlen 1 add 16 mul 16 add textpos textfont textsize] put } { txt barlen [( ) barlen 16 mul 16 add textpos textfont textsize] put txt barlen 1 add [( ) barlen 1 add 16 mul 16 add textpos textfont textsize] put } ifelse % Put end character sbs barlen 8 mul 24 add encs 17 get putinterval % Return the arguments /retval 1 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /plessey load 0 1 dict put % --END ENCODER plessey-- % --BEGIN ENCODER raw-- % --DESC: Raw bar space succession for custom symbologies % --EXAM: 331132131313411122131311333213114131131221323 /raw { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /sbs exch def % We are given a barcode string /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def % Return the arguments /retval 1 dict def retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (opt) useropts put retval end } bind def /raw load 0 1 dict put % --END ENCODER raw-- % --BEGIN ENCODER symbol-- % --DESC: Miscellaneous symbols % --EXAM: fima /symbol { 0 begin % Confine variables to local scope /options exch def % We are given an option string /barcode exch def % We are given a barcode string barcode (fima) eq { /sbs [2.25 2.25 2.25 11.25 2.25 11.25 2.25 2.25 2.25] def /bhs [.625 .625 .625 .625 .625] def /bbs [0 0 0 0 0] def } if barcode (fimb) eq { /sbs [2.25 6.75 2.25 2.25 2.25 6.25 2.25 2.25 2.25 6.75 2.25] def /bhs [.625 .625 .625 .625 .625 .625] def /bbs [0 0 0 0 0 0] def } if barcode (fimc) eq { /sbs [2.25 2.25 2.25 6.75 2.25 6.75 2.25 6.75 2.25 2.25 2.25] def /bhs [.625 .625 .625 .625 .625 .625] def /bbs [0 0 0 0 0 0] def } if barcode (fimd) eq { /sbs [2.25 2.25 2.25 2.25 2.25 6.75 2.25 6.75 2.25 2.25 2.25 2.25 2.25] def /bhs [.625 .625 .625 .625 .625 .625 .625] def /bbs [0 0 0 0 0 0 0] def } if % Return the arguments /retval 4 dict def retval (sbs) sbs put retval (bhs) bhs put retval (bbs) bbs put retval (opt) options put retval end } bind def /symbol load 0 1 dict put % --END ENCODER symbol-- % --BEGIN RENDERER-- /barcode { 0 begin % Confine variables to local scope /args exch def % We are given some arguments % Default options /sbs [] def /bhs [] def /bbs [] def /txt [] def /barcolor (unset) def /textcolor (unset) def /bordercolor (unset) def /backgroundcolor (unset) def /inkspread 0.15 def /width 0 def /barratio 1 def /spaceratio 1 def /showborder false def /borderleft 10 def /borderright 10 def /bordertop 1 def /borderbottom 1 def /borderwidth 0.5 def /guardwhitespace false def /guardleftpos 0 def /guardleftypos 0 def /guardrightpos 0 def /guardrightypos 0 def /guardwidth 6 def /guardheight 7 def % Apply the renderer options args {exch cvlit exch def} forall % Parse the user options opt { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /barcolor barcolor cvlit def /textcolor textcolor cvlit def /bordercolor bordercolor cvlit def /backgroundcolor backgroundcolor cvlit def /inkspread inkspread cvr def /width width cvr def /barratio barratio cvr def /spaceratio spaceratio cvr def /borderleft borderleft cvr def /borderright borderright cvr def /bordertop bordertop cvr def /borderbottom borderbottom cvr def /borderwidth borderwidth cvr def /guardleftpos guardleftpos cvr def /guardleftypos guardleftypos cvr def /guardrightpos guardrightpos cvr def /guardrightypos guardrightypos cvr def /guardwidth guardwidth cvr def /guardheight guardheight cvr def % Create bar elements and put them into the bars array /bars sbs length 1 add 2 idiv array def /x 0.00 def /maxh 0 def 0 1 sbs length 1 add 2 idiv 2 mul 2 sub { /i exch def i 2 mod 0 eq { % i is even /d sbs i get barratio mul barratio sub 1 add def % d=digit*r-r+1 /h bhs i 2 idiv get 72 mul def % Height from bhs /c d 2 div x add def % Centre of the bar = x + d/2 /y bbs i 2 idiv get 72 mul def % Baseline from bbs /w d inkspread sub def % bar width = digit - inkspread bars i 2 idiv [h c y w] put % Add the bar entry h maxh gt {/maxh h def} if } { /d sbs i get spaceratio mul spaceratio sub 1 add def % d=digit*r-r+1 } ifelse /x x d add def % x+=d } for gsave currentpoint translate % Force symbol to given width width 0 ne { width 72 mul x div 1 scale } if % Display the border and background newpath borderleft neg borderbottom neg moveto x borderleft add borderright add 0 rlineto 0 maxh borderbottom add bordertop add rlineto x borderleft add borderright add neg 0 rlineto 0 maxh borderbottom add bordertop add neg rlineto closepath backgroundcolor (unset) ne { gsave (< >) dup 1 backgroundcolor putinterval cvx exec {255 div} forall setrgbcolor fill grestore } if showborder { gsave bordercolor (unset) ne { (< >) dup 1 bordercolor putinterval cvx exec {255 div} forall setrgbcolor } if borderwidth setlinewidth stroke grestore } if % Display the bars for elements in the bars array gsave barcolor (unset) ne { (< >) dup 1 barcolor putinterval cvx exec {255 div} forall setrgbcolor } if bars { {} forall newpath setlinewidth moveto 0 exch rlineto stroke } forall grestore % Display the text for elements in the text array textcolor (unset) ne { (< >) dup 1 textcolor putinterval cvx exec {255 div} forall setrgbcolor } if /s 0 def /f () def txt { {} forall 2 copy s ne exch f ne or { 2 copy /s exch def /f exch def exch findfont exch scalefont setfont } { pop pop } ifelse moveto show } forall % Display the guard elements guardwhitespace { 0.75 setlinewidth guardleftpos 0 ne { newpath guardleftpos neg guardwidth add guardleftypos guardwidth 2 div add moveto guardwidth neg guardheight -2 div rlineto guardwidth guardheight -2 div rlineto stroke } if guardrightpos 0 ne { newpath guardrightpos x add guardwidth sub guardrightypos guardheight 2 div add moveto guardwidth guardheight -2 div rlineto guardwidth neg guardheight -2 div rlineto stroke } if } if grestore end } bind def /barcode load 0 1 dict put % --END RENDERER-- % --END TEMPLATE-- %%EndProcSet %%BeginProcSet: 8r.enc % File 8r.enc as of 2002-03-12 for PSNFSS 9 % % This is the encoding vector for Type1 and TrueType fonts to be used % with TeX. This file is part of the PSNFSS bundle, version 9 % % Authors: S. Rahtz, P. MacKay, Alan Jeffrey, B. Horn, K. Berry, W. Schmidt % % Idea is to have all the characters normally included in Type 1 fonts % available for typesetting. This is effectively the characters in Adobe % Standard Encoding + ISO Latin 1 + extra characters from Lucida + Euro. % % Character code assignments were made as follows: % % (1) the Windows ANSI characters are almost all in their Windows ANSI % positions, because some Windows users cannot easily reencode the % fonts, and it makes no difference on other systems. The only Windows % ANSI characters not available are those that make no sense for % typesetting -- rubout (127 decimal), nobreakspace (160), softhyphen % (173). quotesingle and grave are moved just because it's such an % irritation not having them in TeX positions. % % (2) Remaining characters are assigned arbitrarily to the lower part % of the range, avoiding 0, 10 and 13 in case we meet dumb software. % % (3) Y&Y Lucida Bright includes some extra text characters; in the % hopes that other PostScript fonts, perhaps created for public % consumption, will include them, they are included starting at 0x12. % % (4) Remaining positions left undefined are for use in (hopefully) % upward-compatible revisions, if someday more characters are generally % available. % % (5) hyphen appears twice for compatibility with both ASCII and Windows. % % (6) /Euro is assigned to 128, as in Windows ANSI % /TeXBase1Encoding [ % 0x00 (encoded characters from Adobe Standard not in Windows 3.1) /.notdef /dotaccent /fi /fl /fraction /hungarumlaut /Lslash /lslash /ogonek /ring /.notdef /breve /minus /.notdef % These are the only two remaining unencoded characters, so may as % well include them. /Zcaron /zcaron % 0x10 /caron /dotlessi % (unusual TeX characters available in, e.g., Lucida Bright) /dotlessj /ff /ffi /ffl /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef % very contentious; it's so painful not having quoteleft and quoteright % at 96 and 145 that we move the things normally found there down to here. /grave /quotesingle % 0x20 (ASCII begins) /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash % 0x30 /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question % 0x40 /at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O % 0x50 /P /Q /R /S /T /U /V /W /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore % 0x60 /quoteleft /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o % 0x70 /p /q /r /s /t /u /v /w /x /y /z /braceleft /bar /braceright /asciitilde /.notdef % rubout; ASCII ends % 0x80 /Euro /.notdef /quotesinglbase /florin /quotedblbase /ellipsis /dagger /daggerdbl /circumflex /perthousand /Scaron /guilsinglleft /OE /.notdef /.notdef /.notdef % 0x90 /.notdef /.notdef /.notdef /quotedblleft /quotedblright /bullet /endash /emdash /tilde /trademark /scaron /guilsinglright /oe /.notdef /.notdef /Ydieresis % 0xA0 /.notdef % nobreakspace /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen % Y&Y (also at 45); Windows' softhyphen /registered /macron % 0xD0 /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown % 0xC0 /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis % 0xD0 /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls % 0xE0 /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis % 0xF0 /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis ] def %%EndProcSet %%BeginProcSet: aae443f0.enc % Thomas Esser, Dec 2002. public domain % % Encoding for: % cmmi10 cmmi12 cmmi5 cmmi6 cmmi7 cmmi8 cmmi9 cmmib10 % /TeXaae443f0Encoding [ /Gamma /Delta /Theta /Lambda /Xi /Pi /Sigma /Upsilon /Phi /Psi /Omega /alpha /beta /gamma /delta /epsilon1 /zeta /eta /theta /iota /kappa /lambda /mu /nu /xi /pi /rho /sigma /tau /upsilon /phi /chi /psi /omega /epsilon /theta1 /pi1 /rho1 /sigma1 /phi1 /arrowlefttophalf /arrowleftbothalf /arrowrighttophalf /arrowrightbothalf /arrowhookleft /arrowhookright /triangleright /triangleleft /zerooldstyle /oneoldstyle /twooldstyle /threeoldstyle /fouroldstyle /fiveoldstyle /sixoldstyle /sevenoldstyle /eightoldstyle /nineoldstyle /period /comma /less /slash /greater /star /partialdiff /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O /P /Q /R /S /T /U /V /W /X /Y /Z /flat /natural /sharp /slurbelow /slurabove /lscript /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o /p /q /r /s /t /u /v /w /x /y /z /dotlessi /dotlessj /weierstrass /vector /tie /psi /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /Gamma /Delta /Theta /Lambda /Xi /Pi /Sigma /Upsilon /Phi /Psi /.notdef /.notdef /Omega /alpha /beta /gamma /delta /epsilon1 /zeta /eta /theta /iota /kappa /lambda /mu /nu /xi /pi /rho /sigma /tau /upsilon /phi /chi /psi /tie /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef ] def %%EndProcSet %%BeginProcSet: bbad153f.enc % Thomas Esser, Dec 2002. public domain % % Encoding for: % cmsy10 cmsy5 cmsy6 cmsy7 cmsy8 cmsy9 % /TeXbbad153fEncoding [ /minus /periodcentered /multiply /asteriskmath /divide /diamondmath /plusminus /minusplus /circleplus /circleminus /circlemultiply /circledivide /circledot /circlecopyrt /openbullet /bullet /equivasymptotic /equivalence /reflexsubset /reflexsuperset /lessequal /greaterequal /precedesequal /followsequal /similar /approxequal /propersubset /propersuperset /lessmuch /greatermuch /precedes /follows /arrowleft /arrowright /arrowup /arrowdown /arrowboth /arrownortheast /arrowsoutheast /similarequal /arrowdblleft /arrowdblright /arrowdblup /arrowdbldown /arrowdblboth /arrownorthwest /arrowsouthwest /proportional /prime /infinity /element /owner /triangle /triangleinv /negationslash /mapsto /universal /existential /logicalnot /emptyset /Rfractur /Ifractur /latticetop /perpendicular /aleph /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O /P /Q /R /S /T /U /V /W /X /Y /Z /union /intersection /unionmulti /logicaland /logicalor /turnstileleft /turnstileright /floorleft /floorright /ceilingleft /ceilingright /braceleft /braceright /angbracketleft /angbracketright /bar /bardbl /arrowbothv /arrowdblbothv /backslash /wreathproduct /radical /coproduct /nabla /integral /unionsq /intersectionsq /subsetsqequal /supersetsqequal /section /dagger /daggerdbl /paragraph /club /diamond /heart /spade /arrowleft /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /minus /periodcentered /multiply /asteriskmath /divide /diamondmath /plusminus /minusplus /circleplus /circleminus /.notdef /.notdef /circlemultiply /circledivide /circledot /circlecopyrt /openbullet /bullet /equivasymptotic /equivalence /reflexsubset /reflexsuperset /lessequal /greaterequal /precedesequal /followsequal /similar /approxequal /propersubset /propersuperset /lessmuch /greatermuch /precedes /follows /arrowleft /spade /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef ] def %%EndProcSet %%BeginProcSet: texps.pro %! TeXDict begin/rf{findfont dup length 1 add dict begin{1 index/FID ne 2 index/UniqueID ne and{def}{pop pop}ifelse}forall[1 index 0 6 -1 roll exec 0 exch 5 -1 roll VResolution Resolution div mul neg 0 0]FontType 0 ne{/Metrics exch def dict begin Encoding{exch dup type/integertype ne{ pop pop 1 sub dup 0 le{pop}{[}ifelse}{FontMatrix 0 get div Metrics 0 get div def}ifelse}forall Metrics/Metrics currentdict end def}{{1 index type /nametype eq{exit}if exch pop}loop}ifelse[2 index currentdict end definefont 3 -1 roll makefont/setfont cvx]cvx def}def/ObliqueSlant{dup sin S cos div neg}B/SlantFont{4 index mul add}def/ExtendFont{3 -1 roll mul exch}def/ReEncodeFont{CharStrings rcheck{/Encoding false def dup[ exch{dup CharStrings exch known not{pop/.notdef/Encoding true def}if} forall Encoding{]exch pop}{cleartomark}ifelse}if/Encoding exch def}def end %%EndProcSet %%BeginProcSet: special.pro %! TeXDict begin/SDict 200 dict N SDict begin/@SpecialDefaults{/hs 612 N /vs 792 N/ho 0 N/vo 0 N/hsc 1 N/vsc 1 N/ang 0 N/CLIP 0 N/rwiSeen false N /rhiSeen false N/letter{}N/note{}N/a4{}N/legal{}N}B/@scaleunit 100 N /@hscale{@scaleunit div/hsc X}B/@vscale{@scaleunit div/vsc X}B/@hsize{ /hs X/CLIP 1 N}B/@vsize{/vs X/CLIP 1 N}B/@clip{/CLIP 2 N}B/@hoffset{/ho X}B/@voffset{/vo X}B/@angle{/ang X}B/@rwi{10 div/rwi X/rwiSeen true N}B /@rhi{10 div/rhi X/rhiSeen true N}B/@llx{/llx X}B/@lly{/lly X}B/@urx{ /urx X}B/@ury{/ury X}B/magscale true def end/@MacSetUp{userdict/md known {userdict/md get type/dicttype eq{userdict begin md length 10 add md maxlength ge{/md md dup length 20 add dict copy def}if end md begin /letter{}N/note{}N/legal{}N/od{txpose 1 0 mtx defaultmatrix dtransform S atan/pa X newpath clippath mark{transform{itransform moveto}}{transform{ itransform lineto}}{6 -2 roll transform 6 -2 roll transform 6 -2 roll transform{itransform 6 2 roll itransform 6 2 roll itransform 6 2 roll curveto}}{{closepath}}pathforall newpath counttomark array astore/gc xdf pop ct 39 0 put 10 fz 0 fs 2 F/|______Courier fnt invertflag{PaintBlack} if}N/txpose{pxs pys scale ppr aload pop por{noflips{pop S neg S TR pop 1 -1 scale}if xflip yflip and{pop S neg S TR 180 rotate 1 -1 scale ppr 3 get ppr 1 get neg sub neg ppr 2 get ppr 0 get neg sub neg TR}if xflip yflip not and{pop S neg S TR pop 180 rotate ppr 3 get ppr 1 get neg sub neg 0 TR}if yflip xflip not and{ppr 1 get neg ppr 0 get neg TR}if}{ noflips{TR pop pop 270 rotate 1 -1 scale}if xflip yflip and{TR pop pop 90 rotate 1 -1 scale ppr 3 get ppr 1 get neg sub neg ppr 2 get ppr 0 get neg sub neg TR}if xflip yflip not and{TR pop pop 90 rotate ppr 3 get ppr 1 get neg sub neg 0 TR}if yflip xflip not and{TR pop pop 270 rotate ppr 2 get ppr 0 get neg sub neg 0 S TR}if}ifelse scaleby96{ppr aload pop 4 -1 roll add 2 div 3 1 roll add 2 div 2 copy TR .96 dup scale neg S neg S TR}if}N/cp{pop pop showpage pm restore}N end}if}if}N/normalscale{ Resolution 72 div VResolution 72 div neg scale magscale{DVImag dup scale }if 0 setgray}N/psfts{S 65781.76 div N}N/startTexFig{/psf$SavedState save N userdict maxlength dict begin/magscale true def normalscale currentpoint TR/psf$ury psfts/psf$urx psfts/psf$lly psfts/psf$llx psfts /psf$y psfts/psf$x psfts currentpoint/psf$cy X/psf$cx X/psf$sx psf$x psf$urx psf$llx sub div N/psf$sy psf$y psf$ury psf$lly sub div N psf$sx psf$sy scale psf$cx psf$sx div psf$llx sub psf$cy psf$sy div psf$ury sub TR/showpage{}N/erasepage{}N/setpagedevice{pop}N/copypage{}N/p 3 def @MacSetUp}N/doclip{psf$llx psf$lly psf$urx psf$ury currentpoint 6 2 roll newpath 4 copy 4 2 roll moveto 6 -1 roll S lineto S lineto S lineto closepath clip newpath moveto}N/endTexFig{end psf$SavedState restore}N /@beginspecial{SDict begin/SpecialSave save N gsave normalscale currentpoint TR @SpecialDefaults count/ocount X/dcount countdictstack N} N/@setspecial{CLIP 1 eq{newpath 0 0 moveto hs 0 rlineto 0 vs rlineto hs neg 0 rlineto closepath clip}if ho vo TR hsc vsc scale ang rotate rwiSeen{rwi urx llx sub div rhiSeen{rhi ury lly sub div}{dup}ifelse scale llx neg lly neg TR}{rhiSeen{rhi ury lly sub div dup scale llx neg lly neg TR}if}ifelse CLIP 2 eq{newpath llx lly moveto urx lly lineto urx ury lineto llx ury lineto closepath clip}if/showpage{}N/erasepage{}N /setpagedevice{pop}N/copypage{}N newpath}N/@endspecial{count ocount sub{ pop}repeat countdictstack dcount sub{end}repeat grestore SpecialSave restore end}N/@defspecial{SDict begin}N/@fedspecial{end}B/li{lineto}B /rl{rlineto}B/rc{rcurveto}B/np{/SaveX currentpoint/SaveY X N 1 setlinecap newpath}N/st{stroke SaveX SaveY moveto}N/fil{fill SaveX SaveY moveto}N/ellipse{/endangle X/startangle X/yrad X/xrad X/savematrix matrix currentmatrix N TR xrad yrad scale 0 0 1 startangle endangle arc savematrix setmatrix}N end %%EndProcSet %%BeginFont: CMSY10 %!PS-AdobeFont-1.1: CMSY10 1.0 %%CreationDate: 1991 Aug 15 07:20:57 % Copyright (C) 1997 American Mathematical Society. All Rights Reserved. 11 dict begin /FontInfo 7 dict dup begin /version (1.0) readonly def /Notice (Copyright (C) 1997 American Mathematical Society. All Rights Reserved) readonly def /FullName (CMSY10) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle -14.035 def /isFixedPitch false def end readonly def /FontName /CMSY10 def /PaintType 0 def /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0] readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 0 /.notdef put readonly def /FontBBox{-29 -960 1116 775}readonly def /UniqueID 5000820 def currentdict end currentfile eexec D9D66F633B846A97B686A97E45A3D0AA052F09F9C8ADE9D907C058B87E9B6964 7D53359E51216774A4EAA1E2B58EC3176BD1184A633B951372B4198D4E8C5EF4 A213ACB58AA0A658908035BF2ED8531779838A960DFE2B27EA49C37156989C85 E21B3ABF72E39A89232CD9F4237FC80C9E64E8425AA3BEF7DED60B122A52922A 221A37D9A807DD01161779DDE7D31FF2B87F97C73D63EECDDA4C49501773468A 27D1663E0B62F461F6E40A5D6676D1D12B51E641C1D4E8E2771864FC104F8CBF 5B78EC1D88228725F1C453A678F58A7E1B7BD7CA700717D288EB8DA1F57C4F09 0ABF1D42C5DDD0C384C7E22F8F8047BE1D4C1CC8E33368FB1AC82B4E96146730 DE3302B2E6B819CB6AE455B1AF3187FFE8071AA57EF8A6616B9CB7941D44EC7A 71A7BB3DF755178D7D2E4BB69859EFA4BBC30BD6BB1531133FD4D9438FF99F09 4ECC068A324D75B5F696B8688EEB2F17E5ED34CCD6D047A4E3806D000C199D7C 515DB70A8D4F6146FE068DC1E5DE8BC5703711DA090312BA3FC00A08C453C609 C627A8BFEF75B4DEFAF34B44B356A516B765AFCDD3F5475B1F928731D09D2170 B97E40F12CCEDF4F6BB3756C4734F6E98D74B7E942A954B1BAAB83D4AD727FF6 DF6DC50B2223BCB5568A73A112E4860AD490554E64E780073FF3399CB4688D33 9E8829667CD6EAEF25E0C7D2D44F2BBFA40E999325F9561514844221B50BC8FC 4C7AD68CA7220D69125C2AF06849A3E068D18733276F0C0A6A2936D3C2C87CDE 59CD1AF148C44F85784A5DAD569F5FF53C061056C067CE29AEF1E3BD1FD8B0B8 71A0A638CDAC6AEEDBD5337D4683C084BB60B1859E600F59CB4E19C5FC5C6327 EC544A68134496A9BD0B87D83AF6FDA3CB62FBF0B54FACE1F0E6A2D84B467AFF 0F62DB 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark %%EndFont %%BeginFont: CMMI10 %!PS-AdobeFont-1.1: CMMI10 1.100 %%CreationDate: 1996 Jul 23 07:53:57 % Copyright (C) 1997 American Mathematical Society. All Rights Reserved. 11 dict begin /FontInfo 7 dict dup begin /version (1.100) readonly def /Notice (Copyright (C) 1997 American Mathematical Society. All Rights Reserved) readonly def /FullName (CMMI10) readonly def /FamilyName (Computer Modern) readonly def /Weight (Medium) readonly def /ItalicAngle -14.04 def /isFixedPitch false def end readonly def /FontName /CMMI10 def /PaintType 0 def /FontType 1 def /FontMatrix [0.001 0 0 0.001 0 0] readonly def /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for dup 0 /.notdef put readonly def /FontBBox{-32 -250 1048 750}readonly def /UniqueID 5087385 def currentdict end currentfile eexec D9D66F633B846A97B686A97E45A3D0AA0529731C99A784CCBE85B4993B2EEBDE 3B12D472B7CF54651EF21185116A69AB1096ED4BAD2F646635E019B6417CC77B 532F85D811C70D1429A19A5307EF63EB5C5E02C89FC6C20F6D9D89E7D91FE470 B72BEFDA23F5DF76BE05AF4CE93137A219ED8A04A9D7D6FDF37E6B7FCDE0D90B 986423E5960A5D9FBB4C956556E8DF90CBFAEC476FA36FD9A5C8175C9AF513FE D919C2DDD26BDC0D99398B9F4D03D5993DFC0930297866E1CD0A319B6B1FD958 9E394A533A081C36D456A09920001A3D2199583EB9B84B4DEE08E3D12939E321 990CD249827D9648574955F61BAAA11263A91B6C3D47A5190165B0C25ABF6D3E 6EC187E4B05182126BB0D0323D943170B795255260F9FD25F2248D04F45DFBFB DEF7FF8B19BFEF637B210018AE02572B389B3F76282BEB29CC301905D388C721 59616893E774413F48DE0B408BC66DCE3FE17CB9F84D205839D58014D6A88823 D9320AE93AF96D97A02C4D5A2BB2B8C7925C4578003959C46E3CE1A2F0EAC4BF 8B9B325E46435BDE60BC54D72BC8ACB5C0A34413AC87045DC7B84646A324B808 6FD8E34217213E131C3B1510415CE45420688ED9C1D27890EC68BD7C1235FAF9 1DAB3A369DD2FC3BE5CF9655C7B7EDA7361D7E05E5831B6B8E2EEC542A7B38EE 03BE4BAC6079D038ACB3C7C916279764547C2D51976BABA94BA9866D79F13909 95AA39B0F03103A07CBDF441B8C5669F729020AF284B7FF52A29C6255FCAACF1 74109050FBA2602E72593FBCBFC26E726EE4AEF97B7632BC4F5F353B5C67FED2 3EA752A4A57B8F7FEFF1D7341D895F0A3A0BE1D8E3391970457A967EFF84F6D8 47750B1145B8CC5BD96EE7AA99DDC9E06939E383BDA41175233D58AD263EBF19 AFC0E2F840512D321166547B306C592B8A01E1FA2564B9A26DAC14256414E4C8 42616728D918C74D13C349F4186EC7B9708B86467425A6FDB3A396562F7EE4D8 40B43621744CF8A23A6E532649B66C2A0002DD04F8F39618E4F572819DD34837 B5A08E643FDCA1505AF6A1FA3DDFD1FA758013CAED8ACDDBBB334D664DFF5B53 95601766777978D01677B8D19E1B10A078432D2884BB4F7B8C3293B68BB78100 16724E495064BA0168CC86D413CB48560D6D318357397832F7A858CD82030C7D 8A4A1919716E8B26AFF8789AAF489EE4E0A88DC477551A87C7DF2856189E4596 FE015956AFE5CC019F5CA6323A12B763B7B08B92C1A2940D3C566C43729E5482 63C6DC5E834AEB4DAFB5AE8F0B8931A4687C94D11587B9071C8D81DA14F12776 53A1985A3EBE37827656BD4635E03F09C3231F906874645E7DB3E59045A59D67 E745D8487CF73FC50F64060544F624F357BC998A87FBE468DEBB38A09449EBCA D041D7C29225ACD16CB8A59E87924D15A9125F064710A6CCCA3AD3103D8FCC94 CC3571C6F9192774FCFE5BB42A14B27960903144D28BF047BF4C77646EA7BF6F 440D4EDEB712C63F2E8080419E42D1D58EED685EB5CDD49F80DB6E5553B519FA C6A39A093155802F3EC607721F390307E91ECB597ABA60A537E3F8C045BF5DD3 D88CF6518D37FCD95D2F295D902D617440D23516D962F47750A682A319ACE1 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark %%EndFont TeXDict begin 39158280 55380996 1000 600 600 (barcodewriter.dvi) @start /Fa 242[83 13[{ TeXbbad153fEncoding ReEncodeFont }1 83.022 /CMSY10 rf /Fb 136[55 2[23 4[42 1[60 23 2[23 42 42 23 37 42 1[42 52[28 45[{ TeXBase1Encoding ReEncodeFont }13 83.022 /Times-Italic rf /Fc 134[33 1[48 33 33 18 26 22 1[33 33 33 52 18 33 1[18 33 33 22 29 33 29 33 29 12[41 37 2[37 3[41 8[44 44 19[17 1[17 2[22 22 40[{ TeXBase1Encoding ReEncodeFont }32 66.4176 /Times-Roman rf /Fd 205[25 25 49[{ TeXBase1Encoding ReEncodeFont }2 49.8132 /Times-Roman rf /Fe 133[44 50 2[50 55 33 39 44 55 55 50 55 83 28 2[28 55 50 33 44 55 44 55 50 10[72 72 66 55 72 1[61 1[72 94 66 2[39 78 78 61 66 72 72 66 72 7[50 50 50 50 50 50 50 50 50 50 28 25 33 5[33 36[55 2[{ TeXBase1Encoding ReEncodeFont }55 99.6264 /Times-Bold rf /Ff 119[42 10[42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 1[42 1[42 42 42 42 3[42 42 42 42 42 1[42 42 42 42 42 42 1[42 42 42 42 42 42 42 42 42 42 1[42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 1[42 42 42 42 42 33[{ .85 ExtendFont TeXBase1Encoding ReEncodeFont }85 83.022 /Courier rf /Fh 190[44 14[31 31 49[{ TeXBase1Encoding ReEncodeFont }3 61.4362 /Times-Roman rf /Fi 134[42 42 2[46 28 32 37 1[46 42 46 69 23 2[23 46 42 1[37 46 37 46 42 9[83 2[55 46 60 2[65 60 1[55 65 1[32 3[55 60 60 55 8[42 3[42 42 42 42 42 3[28 45[{ TeXBase1Encoding ReEncodeFont }39 83.022 /Times-Bold rf /Fj 134[60 60 86 1[66 40 47 53 1[66 60 66 100 33 66 1[33 1[60 1[53 66 53 66 60 13[66 86 5[80 2[47 3[80 1[86 1[86 11[60 60 60 60 60 49[{ TeXBase1Encoding ReEncodeFont }32 119.552 /Times-Bold rf /Fk 32[42 74[37 25[37 42 42 60 42 42 23 32 28 42 42 42 42 65 23 42 23 23 42 42 28 37 42 37 42 37 7[60 60 78 60 60 51 46 55 1[46 60 60 74 51 60 32 28 60 60 46 51 60 55 55 60 6[23 42 42 42 42 42 42 42 42 42 42 23 21 28 21 2[28 28 28 22[28 12[46 46 2[{ TeXBase1Encoding ReEncodeFont }73 83.022 /Times-Roman rf /Fl 134[37 37 54 37 37 21 29 25 1[37 37 37 58 21 1[21 21 37 37 25 33 37 33 37 33 9[71 2[46 3[42 13[50 19[19 25 19 44[{ TeXBase1Encoding ReEncodeFont }30 74.7198 /Times-Roman rf /Fm 139[25 29 33 14[33 42 37 31[54 65[{ TeXBase1Encoding ReEncodeFont }7 74.7198 /Times-Bold rf /Fn 193[77 1[77 60[{ TeXaae443f0Encoding ReEncodeFont }2 99.6264 /CMMI10 rf /Fp 133[44 50 3[50 28 1[33 2[50 50 2[50 5[44 1[44 50 13[61 4[72 12[66 1[92 9[50 3[50 50 50 1[25 1[25 44[{ TeXBase1Encoding ReEncodeFont }21 99.6264 /Times-Roman rf /Fq 138[72 40 56 48 1[72 72 72 4[40 3[64 72 64 1[64 9[135 6[80 13[96 66[{ TeXBase1Encoding ReEncodeFont }15 143.462 /Times-Roman rf end %%EndProlog %%BeginSetup %%Feature: *Resolution 600dpi TeXDict begin %%PaperSize: A4 end %%EndSetup %%Page: 1 1 TeXDict begin 1 0 bop 979 872 a Fq(Barcode)34 b(Writer)h(in)g(Pure)g (Postscript)1150 1160 y Fp(T)-7 b(erry)25 b(Burton)g Fn(<)p Fp(tez@terryb)n(urton.co.uk)p Fn(>)1600 1401 y Fp(October)f(21,)h(2006)1808 1706 y Fm(Abstract)834 1857 y Fl(This)j(document)i(describes)e(the)h(implementation)g(of)f(the)g (Barcode)h(Writer)d(in)i(Pure)722 1948 y(Postscript)21 b(project,)g(e)o(xplains)g(by)g(e)o(xample)h(ho)n(w)f(to)g(use)g(this)g (to)f(generate)i(your)f(o)n(wn)h(bar)o(-)722 2039 y(codes,)e(and)f(pro) o(vides)h(a)f(simple)g(reference)h(to)e(using)i(the)f(symbologies)h (that)f(it)f(supports.)515 2236 y Fk(Note:)24 b(Despite)17 b(the)g(date)h(on)e(this)i(document,)e(the)h(information)e(contained)h (herein)g(is)i(some)n(what)515 2336 y(out)25 b(of)h(date.)43 b(A)26 b(much)f(more)h(thorough)d(and)i(up-to-date)f(reference)h(to)h (this)h(project)e(is)i(a)n(v)n(ail-)515 2435 y(able)19 b(in)h(the)g(wiki,)f(http://www)-5 b(.terryb)n(urton.co.uk/b)o(arco)o (de)m(writer/wik)o(i/)f(.)26 b(This)20 b(wiki)f(pro)o(vides)515 2535 y(a)29 b(collaborati)n(v)o(e)d(approach)h(to)i(documentation)d (that)i(allo)n(ws)i(users)e(to)h(add)g(and)f(edit)h(content)515 2635 y(collecti)n(v)o(ely)-5 b(.)1935 5255 y(i)p eop end %%Page: 2 2 TeXDict begin 2 1 bop 515 523 a Fj(Contents)515 756 y Fi(1)82 b(Intr)o(oduction)2246 b(1)515 986 y(2)82 b(Code)20 b(Commentary)2021 b(2)639 1133 y Fk(2.1)86 b(The)20 b(Barcode)f(Data)i (Structure)f(.)41 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)165 b(2)639 1279 y(2.2)86 b(An)20 b(Encoder)52 b(.)41 b(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h (.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) g(.)h(.)165 b(3)639 1426 y(2.3)86 b(The)20 b(Renderer)59 b(.)41 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)165 b(5)639 1573 y(2.4)86 b(Notes)21 b(Re)o(garding)d(Coding)h(Style)59 b(.)42 b(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) f(.)g(.)g(.)h(.)165 b(8)515 1803 y Fi(3)82 b(Resour)o(ces)20 b(and)h(Examples)1818 b(9)639 1950 y Fk(3.1)86 b(Language)18 b(Speci\002c)j(APIs)i(.)42 b(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)165 b(9)639 2097 y(3.2)86 b(Front)20 b(Ends)i(.)42 b(.)f(.)g(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)165 b(9)639 2244 y(3.3)86 b(Installing)30 b(the)i(Barcode)e(Generation)f(Capability)i(into)g(a)g (Printer')-5 b(s)31 b(V)-5 b(irtual)830 2343 y(Machine)36 b(.)41 b(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.) h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(10)639 2490 y(3.4)86 b(Hints)21 b(for)e(Generating)g(Precisely)h(the) g(Required)f(Symbol)h(.)42 b(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(11)639 2637 y(3.5)86 b(Printing)20 b(in)g(Perl)69 b(.)41 b(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(12)515 2867 y Fi(4)82 b(Supported)21 b(Symbologies)1818 b(13)639 3014 y Fk(4.1)86 b(EAN-13)45 b(.)c(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) h(.)f(.)g(.)g(.)h(.)124 b(13)639 3161 y(4.2)86 b(EAN-8)25 b(.)41 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(13)639 3308 y(4.3)86 b(UPC-A)79 b(.)41 b(.)h(.)f(.)g(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(14)639 3454 y(4.4)86 b(UPC-E)26 b(.)41 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h (.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) g(.)h(.)124 b(14)639 3601 y(4.5)86 b(EAN-5)25 b(.)41 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h (.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(15)639 3748 y(4.6)86 b(EAN-2)25 b(.)41 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(15)639 3895 y(4.7)86 b(ISBN)77 b(.)41 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h (.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) g(.)h(.)124 b(16)639 4042 y(4.8)86 b(Code-39)40 b(.)h(.)h(.)f(.)g(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(16)639 4189 y(4.9)86 b(Code-128)18 b(and)i(UCC/EAN-128)68 b(.)42 b(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g (.)g(.)h(.)124 b(17)639 4336 y(4.10)44 b(Rationalized)20 b(Codabar)40 b(.)h(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(17)639 4483 y(4.11)44 b(Interlea)n(v)o(ed)18 b(2)j(of)f(5)g(and)g(ITF-14)29 b(.)41 b(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) h(.)f(.)g(.)g(.)h(.)124 b(18)639 4629 y(4.12)44 b(Code)20 b(2)h(of)e(5)63 b(.)41 b(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h (.)124 b(18)639 4776 y(4.13)44 b(Postnet)21 b(.)41 b(.)g(.)h(.)f(.)g(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(19)639 4923 y(4.14)44 b(Ro)o(yal)20 b(Mail)78 b(.)41 b(.)g(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) g(.)h(.)f(.)g(.)g(.)h(.)124 b(19)1924 5255 y(ii)p eop end %%Page: 3 3 TeXDict begin 3 2 bop 639 523 a Fk(4.15)44 b(MSI)56 b(.)41 b(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g (.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(20)639 670 y(4.16)44 b(Plesse)o(y)80 b(.)41 b(.)h(.)f(.)g(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)g(.)h(.)f(.)g(.)g(.)h(.)124 b(20)515 900 y Fi(5)82 b(License)2390 b(21)1912 5255 y Fk(iii)p eop end %%Page: 1 4 TeXDict begin 1 3 bop 515 523 a Fj(1)119 b(Intr)n(oduction)515 756 y Fk(Barcode)20 b(Writer)h(in)g(Pure)g(Postscript)g(is)h(an)f(a)o (w)o(ard-winning)d(open)i(source)g(barcode)f(mak)o(er)m(,)h(as)515 855 y(used)j(by)h(N)m(ASA,)g(that)g(f)o(acilitates)g(the)g(printing)e (of)i(all)g(major)f(barcode)f(symbologies)g(entirely)515 955 y(within)29 b(le)n(v)o(el)h(2)g(PostScript,)i(ideal)e(for)f(v)n (ariable)g(data)h(printing.)53 b(The)29 b(complete)g(process)h(of)515 1055 y(generating)15 b(printed)g(barcodes)g(is)j(performed)c(entirely)i (within)h(the)g(printer)e(\(or)h(print)h(system\))f(so)515 1154 y(that)22 b(it)g(is)h(no)f(longer)e(the)i(responsibility)f(of)g (your)g(application)f(or)i(a)g(library)-5 b(.)29 b(There)21 b(is)i(no)e(need)515 1254 y(for)27 b(an)o(y)h(barcode)e(fonts)i(and)g (the)g(\003e)o(xibility)f(of)n(fered)g(by)h(direct)f(PostScript)i (means)e(you)h(can)515 1354 y(a)n(v)n(oid)16 b(re-implementing)d (barcode)i(generator)f(code,)j(or)f(migrating)e(to)j(ne)n(w)f (libraries,)h(whene)n(v)o(er)515 1453 y(your)i(project)g(language)f (needs)i(change.)515 1600 y(T)-7 b(o)35 b(mak)o(e)f(it)i(as)f(easy)g (as)h(possible)f(to)g(incorporate)d(this)k(project)e(into)g(your)g(o)n (wn)g(systems,)515 1700 y(whether)e(the)o(y)h(be)h(freely)e(a)n(v)n (ailable)i(or)f(proprietary)-5 b(,)34 b(it)g(is)h(licensed)e(under)f (the)i(permissi)n(v)o(e)515 1799 y(MIT/X-Consortium)17 b(License)j(gi)n(v)o(en)f(in)i(section)f(5.)515 1946 y(The)g(project)f(homepage)f(is)j(at)g(http://www)-5 b(.terryb)n(urton.co.uk)o(/bar)o(cod)o(e)n(wr)o(iter)g(.)515 2093 y(This)27 b(is)g(the)g(main)f(resource)g(for)g(the)h(project)f (pro)o(viding)d(the)k(latest)h(do)n(wnloads)d(of)h(code)g(and)515 2193 y(documentation,)17 b(as)k(well)f(as)h(access)g(to)f(the)h (support)d(and)i(de)n(v)o(elopment)d(mailing)j(list.)515 2520 y Fj(Ackno)o(wledgements)515 2753 y Fk(The)28 b(author)g(wishes)h (to)g(tak)o(e)g(this)h(opportunity)c(to)j(thank)f(the)h(gro)n(wing)e (community)f(of)j(v)n(ol-)515 2853 y(unteers)d(that)g(ha)n(v)o(e)g (helped)f(to)i(de)n(v)o(elop,)f(test)h(and)f(document)e(this)j (project.)43 b(Most)27 b(especially)515 2952 y(Michael)e(Landers)g(and) h(Ross)g(McF)o(arland)f(for)g(freely)g(donating)f(their)i(encoder)e (implementa-)515 3052 y(tions)c(early)g(in)g(the)g(life)h(of)f(the)g (project.)515 3199 y(Also,)d(special)g(appreciation)e(is)j(e)o(xtended) c(to)j(the)g(de)n(v)o(elopers)e(that)i(ha)n(v)o(e)f(created)g(the)h (front-ends)515 3298 y(necessary)f(to)i(mak)o(e)f(the)g(code)g(v)n (aluable)f(to)i(ordinary)d(computer)g(users,)j(especially)f(Petr)h(V)-9 b(an)5 b(\020)-33 b(ek,)515 3398 y(Dominik)19 b(Seichter)h(and)f (Herbert)g(V)-11 b(o\337.)1926 5255 y(1)p eop end %%Page: 2 5 TeXDict begin 2 4 bop 515 523 a Fj(2)119 b(Code)31 b(Commentary)515 756 y Fk(This)20 b(commentary)e(assumes)i(f)o(amiliarity)g(with)g(the)g (PostScript)g(language)2741 726 y Fh(1)2774 756 y Fk(.)515 903 y(The)g(code)f(is)i(split)g(cleanly)f(into)f(tw)o(o)i(types)f(of)g (procedure:)515 1133 y Fi(The)h(encoders)41 b Fk(Each)19 b(of)h(these)g(represents)f(a)i(barcode)d(symbology)2566 1102 y Fh(2)2598 1133 y Fk(,)i(e.g.)25 b(EAN-13)18 b(or)i(Code-)722 1232 y(128.)k(It)c(tak)o(es)g(a)g(string)f(containing)f(the)i(barcode)e (data)h(and)g(a)h(string)f(containing)f(a)i(list)h(of)722 1332 y(options)e(that)g(modify)e(the)j(output)e(of)h(the)g(encoder)-5 b(.)23 b(It)d(generates)e(a)h(structured)f(represen-)722 1431 y(tation)j(of)g(the)g(barcode)e(and)i(its)h(te)o(xt)f(for)f(the)h (symbology)-5 b(,)19 b(including)g(the)i(calculation)f(of)722 1531 y(check)g(digits)g(where)g(necessary)-5 b(.)515 1697 y Fi(The)21 b(r)o(ender)o(er)40 b Fk(This)24 b(tak)o(es)h(the)g (output)e(of)h(an)g(encoder)f(and)h(generates)f(a)i(visual)f (representa-)722 1797 y(tion)c(of)g(the)g(barcode.)515 2027 y(This)g(means)g(that)g(all)h(barcodes)e(can)h(be)g(generated)e (simply)i(in)h(a)f(similar)h(manner:)515 2257 y Ff(\(78858101497\))47 b(\(includetext)f(height=0.6\))g(upca)e(barcode)515 2356 y(\(0123456789\))i(\(includecheck\))h(interleaved2of5)h(barcode)515 2641 y Fe(2.1)99 b(The)26 b(Bar)n(code)g(Data)f(Structur)n(e)515 2844 y Fk(The)c(follo)n(wing)g(table)h(describes)f(the)h(structured)f (representation)e(of)j(a)g(barcode)f(that)h(is)h(passed)515 2944 y(by)d(an)g(encoder)e(to)j(the)f(renderer)e(as)j(a)g(dictionary)d (when)i(the)g(PostScript)g(is)h(e)o(x)o(ecuted.)650 3170 y(Element)p 1422 3200 4 100 v 546 w(K)n(e)o(y)p 1657 3200 V 98 w(V)-9 b(alue)p 600 3203 2694 4 v 650 3273 a(Space)20 b(bar)g(succession)p 1422 3402 4 200 v 126 w Ff(sbs)p 1657 3402 V 104 w Fk(Array)f(containing)e(the)i(widths,)g (in)g(points,)g(of)g(each)1708 3372 y(bar)h(and)g(space,)g(starting)f (with)i(the)f(leftmost)g(bar)-5 b(.)650 3472 y(Bar)21 b(height)e(succession)p 1422 3602 V 103 w Ff(bhs)p 1657 3602 V 104 w Fk(Array)40 b(containing)f(the)i(height)f(of)h(each)g(bar) f(in)1708 3572 y(inches,)20 b(starting)g(with)g(the)g(leftmost)g(bar)-5 b(.)650 3671 y(Bar)21 b(base)f(succession)p 1422 3801 V 163 w Ff(bbs)p 1657 3801 V 104 w Fk(Array)f(containing)f(the)i(of)n (fset)g(of)f(the)h(base)g(of)g(each)1708 3771 y(bar)g(in)g(inches,)g (starting)g(with)g(the)g(leftmost)g(bar)-5 b(.)650 3871 y(Human)19 b(readable)g(te)o(xt)p 1422 4199 4 399 v 137 w Ff(txt)p 1657 4199 V 104 w Fk(Array)k(of)g(arrays)f(that)h(contain)g (the)g(character)m(,)f(po-)1708 3970 y(sition,)f(height,)f(font)g(and)h (scale)g(f)o(actor)f(\(font)g(size\),)1708 4070 y(in)29 b(points,)i(for)d(each)h(of)g(the)g(visible)g(te)o(xt)f(charac-)1708 4169 y(ters.)650 4269 y(Renderer)19 b(options)p 1422 4399 4 200 v 257 w Ff(opt)p 1657 4399 V 104 w Fk(String)d(containing)f (the)h(user)n(-de\002ned)f(renderer)f(op-)1708 4369 y(tions.)515 4594 y(Other)24 b(k)o(e)o(ys)h(and)f(v)n(alues)h(may)g(be)g(contained)e (in)i(this)h(structure)e(that)h(o)o(v)o(erride)d(the)j(render)f(de-)515 4693 y(f)o(aults)c(with)g(encoder)f(speci\002c)h(def)o(aults.)p 515 4765 1146 4 v 605 4820 a Fd(1)634 4844 y Fc(The)14 b(PostScript)h(Language)f(T)m(utorial)h(and)f(Cookbook)h(\(a.k.a.)k (the)c(Blue)f(Book\),)g(which)h(is)e(freely)i(a)o(v)n(ailable)h (online,)515 4923 y(serv)o(es)h(as)g(both)h(a)f(useful)h(tutorial)h (and)f(reference)i(manual)e(to)f(the)h(language.)605 4981 y Fd(2)634 5005 y Fc(By)f(symbology)h(we)f(mean)h(an)f(accepted)j (standard)f(for)e(representation)k(of)16 b(data)j(as)e(a)g(barcode)1926 5255 y Fk(2)p eop end %%Page: 3 6 TeXDict begin 3 5 bop 515 523 a Fe(2.2)99 b(An)25 b(Encoder)515 726 y Fk(The)j(procedure)e(labelled)i(code2of5)e(is)k(a)f(simple)f(e)o (xample)f(of)i(an)f(encoder)m(,)h(which)f(we)h(will)515 826 y(no)n(w)19 b(consider)-5 b(.)24 b(Its)d(purpose)d(is)j(to)f (accept)f(as)i(input)e(a)h(string)f(containing)f(the)i(barcode)e (contents)515 925 y(and)23 b(a)i(string)e(containing)f(a)j(list)g(of)f (options,)f(and)h(to)g(process)g(these)g(in)g(a)g(w)o(ay)g(that)g(is)h (speci\002c)515 1025 y(to)k(this)h(encoder)m(,)f(and)g(\002nally)g(to)g (output)f(an)h(instance)g(of)g(the)g(dictionary-based)d(data)j(struc-) 515 1124 y(ture)e(described)f(in)h(section)g(2.1)g(that)g(represents)g (the)g(barcode)f(contents)g(in)i(the)f(Code)g(2)g(of)g(5)515 1224 y(symbology)-5 b(.)515 1371 y(As)17 b(with)g(all)g(of)f(the)g (encoders,)g(the)g(input)g(string)g(is)h(assumed)f(to)h(be)f(v)n(alid)g (for)g(the)g(corresponding)515 1471 y(symbology)-5 b(,)17 b(otherwise)i(the)i(beha)n(viour)d(is)j(unde\002ned.)515 1617 y(The)d(v)n(ariables)h(that)g(we)g(use)g(in)g(this)h(procedure)c (are)j(con\002ned)f(to)h(local)g(scope)f(by)h(declaring)f(the)515 1717 y(procedure)f(as)k(follo)n(ws:)515 1933 y Ff(/code2of5)45 b({)726 2132 y(0)e(begin)515 2332 y(...)726 2531 y(end)515 2730 y(})f(bind)i(def)515 2830 y(/code2of5)h(load)f(0)f(1)f(dict)i(put) 515 3046 y Fk(W)-7 b(e)27 b(start)f(by)f(immediately)f(reading)g(the)i (contents)f(strings)h(that)f(are)h(passed)f(as)i(ar)o(guments)c(to)515 3146 y(this)j(procedure)e(by)i(the)g(user)-5 b(.)44 b(W)-7 b(e)27 b(duplicate)e(the)h(options)g(string)g(because)f(it)i(is)g (later)g(passed)515 3245 y(unamended)17 b(to)k(the)f(renderer)-5 b(.)726 3461 y Ff(/options)46 b(exch)d(def)726 3561 y(/useropts)j (options)f(def)726 3661 y(/barcode)h(exch)d(def)515 3877 y Fk(W)-7 b(e)20 b(initialise)f(a)g(fe)n(w)g(def)o(ault)f(v)n (ariables.)24 b(Those)18 b(v)n(ariables)g(corresponding)d(to)k(options) f(that)h(can)515 3976 y(be)h(enabled)f(with)h(the)g(options)g(ar)o (gument)d(are)k(initially)f(set)h(to)f(f)o(alse.)726 4192 y Ff(/includetext)47 b(false)d(def)726 4292 y(/textfont)i (/Courier)f(def)726 4392 y(/textsize)h(10)d(def)726 4491 y(/textpos)j(-7)d(def)726 4591 y(/height)i(1)e(def)515 4807 y Fk(The)18 b(options)f(string)g(is)j(tok)o(enised)d(with)h(each)g (successi)n(v)o(e)f(tok)o(en)h(de\002ning)f(either)g(a)i(name)e(v)n (alue)515 4907 y(pair)j(which)g(we)h(instantiate)f(or)h(a)g(lone)f(v)n (ariable)f(that)i(we)g(de\002ne)f(as)h(true,)g(allo)n(wing)e(us)i(to)g (o)o(v)o(er)n(-)515 5006 y(ride)f(the)g(gi)n(v)o(en)f(def)o(ault)g(v)n (ariables)h(gi)n(v)o(en)e(abo)o(v)o(e.)1926 5255 y(3)p eop end %%Page: 4 7 TeXDict begin 4 6 bop 515 523 a Ff(options)44 b({)684 623 y(token)g(false)g(eq)f({exit})i(if)e(dup)g(length)h(string)h(cvs)e (\(=\))g(search)684 722 y(true)h(eq)f({cvlit)h(exch)g(pop)f(exch)h (def})g({cvlit)g(true)g(def})f(ifelse)515 822 y(})f(loop)515 1049 y Fk(Since)22 b(an)o(y)g(user)h(gi)n(v)o(en)e(options)h(create)g (v)n(ariables)g(that)h(are)g(strings)f(we)h(need)f(to)h(con)m(v)o(ert)e (them)515 1149 y(back)e(to)i(their)f(intended)e(types.)515 1376 y Ff(/textfont)45 b(textfont)g(cvlit)f(def)515 1476 y(/textsize)h(textsize)g(cvr)f(def)515 1575 y(/textpos)h(textpos)g(cvr) e(def)515 1675 y(/height)h(height)h(cvr)e(def)515 1902 y Fk(W)-7 b(e)23 b(then)e(create)h(an)g(array)f(of)h(string)g (encodings)e(for)h(each)h(of)g(the)g(a)n(v)n(ailable)f(characters)g (which)515 2002 y(we)d(then)f(declare)f(in)i(another)e(string.)24 b(This)17 b(information)f(can)h(be)g(deri)n(v)o(ed)f(from)g(careful)h (reading)515 2101 y(of)j(the)g(rele)n(v)n(ant)f(speci\002cation,)g (although)f(this)j(is)g(often)f(surprisingly)e(dif)n(\002cult)i(to)g (obtain.)726 2329 y Ff(/encs)726 2428 y([)43 b(\(1111313111\))k (\(3111111131\))f(\(1131111131\))g(\(3131111111\))811 2528 y(\(1111311131\))h(\(3111311111\))f(\(1131311111\))g (\(1111113131\))811 2627 y(\(3111113111\))h(\(1131113111\))f (\(313111\))f(\(311131\))726 2727 y(])e(def)726 2926 y(/barchars)j(\(0123456789\))g(def)515 3153 y Fk(W)-7 b(e)19 b(no)n(w)e(store)h(the)g(length)f(of)g(the)h(content)f(string)h (and)f(calculate)h(the)g(total)g(number)e(of)h(bars)h(and)515 3253 y(spaces)23 b(in)g(the)f(resulting)g(barcode.)31 b(W)-7 b(e)24 b(initialise)g(a)f(string)f(of)h(size)g(dependant)e(on)h (this)h(length)515 3353 y(into)h(which)h(we)g(will)h(b)n(uild)e(the)h (space)g(bar)f(succession.)39 b(Similarly)-5 b(,)25 b(we)g(create)g(an) g(array)f(into)515 3452 y(which)19 b(we)i(will)g(add)f(the)g(human)e (readable)h(te)o(xt)h(information.)726 3680 y Ff(/barlen)45 b(barcode)g(length)f(def)726 3779 y(/sbs)g(barlen)h(10)e(mul)g(12)g (add)g(string)i(def)726 3879 y(/txt)f(barlen)h(array)f(def)515 4106 y Fk(W)-7 b(e)21 b(no)n(w)e(be)o(gin)g(to)h(populate)e(the)i (space)f(bar)h(succession)f(by)h(adding)e(the)i(encoding)e(of)h(the)h (start)515 4206 y(character)f(to)h(the)g(be)o(ginning.)726 4433 y Ff(sbs)44 b(0)e(encs)i(10)f(get)h(putinterval)515 4660 y Fk(W)-7 b(e)23 b(no)n(w)e(enter)h(the)f(main)h(loop)f(which)g (iterates)i(o)o(v)o(er)d(the)i(content)f(string)g(from)g(start)i(to)f (\002nish,)515 4760 y(looking)c(up)i(the)g(encoding)e(for)i(each)g (character)m(,)e(adding)h(this)i(to)f(the)g(space)g(bar)g(succession.) 515 4907 y(It)g(is)g(important)e(to)i(understand)d(ho)n(w)i(the)h (encoding)d(for)i(a)h(gi)n(v)o(en)e(character)g(is)j(deri)n(v)o(ed.)i (Firstly)-5 b(,)515 5006 y(gi)n(v)o(en)20 b(a)i(character)m(,)e(we)i (\002nd)f(its)i(position)e(in)h(the)f(string)g(of)h(all)g(a)n(v)n (ailable)f(characters.)28 b(W)-7 b(e)23 b(then)1926 5255 y(4)p eop end %%Page: 5 8 TeXDict begin 5 7 bop 515 523 a Fk(use)17 b(this)g(position)f(to)h (inde)o(x)e(the)i(array)f(of)h(character)e(encodings)g(to)i(obtain)f (the)h(encoding)d(for)j(the)515 623 y(gi)n(v)o(en)i(character)m(,)h (which)g(is)i(added)e(to)h(the)h(space/bar)e(succession.)27 b(Lik)o(e)n(wise,)21 b(the)g(character)f(is)515 722 y(added)e(to)h(the) g(array)g(of)g(human)f(readable)g(te)o(xt)h(along)f(with)h(positioning) f(and)h(font)f(information.)684 945 y Ff(0)43 b(1)f(barlen)j(1)e(sub)g ({)853 1044 y(/i)g(exch)h(def)853 1144 y(barcode)h(i)e(1)g(getinterval) j(barchars)f(exch)e(search)853 1244 y(pop)853 1343 y(length)i(/indx)f (exch)g(def)853 1443 y(pop)g(pop)853 1543 y(/enc)g(encs)g(indx)g(get)f (def)853 1642 y(sbs)h(i)f(10)g(mul)g(6)g(add)g(enc)g(putinterval)853 1742 y(txt)h(i)f([barcode)i(i)d(1)h(getinterval)j(i)d(14)g(mul)g(10)g (add)g(-7)1150 1841 y(textfont)i(textsize])g(put)684 1941 y(})e(for)515 2164 y Fk(The)24 b(encoding)e(for)i(the)h(end)f (character)f(is)j(obtained)d(and)h(added)f(to)i(the)g(end)f(of)g(the)g (space)h(bar)515 2263 y(succession.)684 2486 y Ff(sbs)43 b(barlen)i(10)e(mul)g(6)g(add)g(encs)h(11)f(get)g(putinterval)515 2708 y Fk(Finally)24 b(we)h(prepare)e(to)h(push)g(a)h(dictionary)d (containing)h(the)h(space)h(bar)f(succession)g(\(and)f(an)o(y)515 2808 y(additional)c(information)e(de\002ned)j(in)g(section)g(2.1\))f (that)h(will)h(be)f(passed)g(to)h(the)f(renderer)-5 b(.)726 3030 y Ff(/retval)45 b(1)e(dict)h(def)726 3130 y(retval)h(\(sbs\))f ([sbs)g({48)f(sub})h(forall])g(put)726 3230 y(retval)h(\(bhs\))f([sbs)g (length)g(1)f(add)g(2)g(idiv)g({height})i(repeat])g(put)726 3329 y(retval)g(\(bbs\))f([sbs)g(length)g(1)f(add)g(2)g(idiv)g({0})h (repeat])g(put)726 3429 y(includetext)j({)896 3529 y(retval)d(\(txt\))g (txt)g(put)726 3628 y(})f(if)726 3728 y(retval)i(\(opt\))f(useropts)h (put)726 3828 y(retval)515 4111 y Fe(2.3)99 b(The)26 b(Render)n(er)515 4314 y Fk(This)20 b(description)f(is)i(out)f(of)g (date.)515 4461 y(The)i(procedure)e(labelled)i(barcode)f(is)j(kno)n(wn) d(as)i(the)g(renderer)m(,)e(which)h(we)h(no)n(w)f(consider)-5 b(.)32 b(Its)515 4560 y(purpose)14 b(is)i(to)g(accept)f(as)h(input)f (an)g(instance)g(of)g(the)h(dictionary-based)c(data)j(structure)g (described)515 4660 y(in)29 b(section)f(2.1)g(that)h(represents)f(a)h (barcode)e(in)i(some)g(arbitrary)e(symbology)f(and)i(produce)f(a)515 4760 y(visual)20 b(rendering)e(of)i(this)g(at)h(the)f(current)f(point.) 515 4907 y(The)f(v)n(ariables)h(that)g(we)g(use)g(in)g(this)h (procedure)c(are)j(con\002ned)f(to)h(local)g(scope)f(by)h(declaring)f (the)515 5006 y(procedure)f(as)k(follo)n(ws:)1926 5255 y(5)p eop end %%Page: 6 9 TeXDict begin 6 8 bop 515 523 a Ff(/barcode)45 b({)726 722 y(0)e(begin)515 922 y(...)726 1121 y(end)515 1320 y(})f(bind)i(def)515 1420 y(/barcode)h(load)f(0)e(1)h(dict)h(put)515 1633 y Fk(W)-7 b(e)32 b(then)g(immediately)e(read)h(the)g (dictionary-based)e(data)i(structure)g(which)g(is)h(passed)g(as)g(a)515 1733 y(single)22 b(ar)o(gument)e(to)i(this)g(procedure)e(by)i(an)g (encoder)m(,)e(from)h(which)h(we)g(e)o(xtract)g(the)g(space)g(bar)515 1832 y(succession,)d(bar)h(height)f(succession)h(and)g(bar)g(base)g (succession.)684 2046 y Ff(/args)44 b(exch)g(def)684 2146 y(/sbs)g(args)g(\(sbs\))g(get)f(def)684 2245 y(/bhs)h(args)g (\(bhs\))g(get)f(def)684 2345 y(/bbs)h(args)g(\(bbs\))g(get)f(def)684 2444 y(/renderopts)j(args)e(\(opt\))g(get)f(def)515 2658 y Fk(W)-7 b(e)27 b(attempt)e(to)h(e)o(xtract)f(from)g(the)h(dictionary) e(the)i(array)f(containing)f(the)i(information)e(about)515 2758 y(human)f(readable)g(te)o(xt.)37 b(Ho)n(we)n(v)o(er)m(,)23 b(this)i(may)f(not)g(e)o(xist)g(in)g(the)h(dictionary)d(in)j(which)e (case)i(we)515 2857 y(create)20 b(a)g(def)o(ault)g(empty)f(array)-5 b(.)684 3071 y Ff(args)44 b(\(txt\))g(known)g({)853 3170 y(/txt)g(args)g(\(txt\))g(get)f(def)684 3270 y(})g({)853 3370 y(/txt)h([])f(def)684 3469 y(})g(ifelse)515 3683 y Fk(Just)23 b(as)g(with)f(the)g(encoders,)f(we)i(read)e(and)h(tok)o (enise)g(the)g(supplied)f(options)g(allo)n(wing)g(speci\002c)515 3782 y(rendering)d(options)h(to)h(be)g(o)o(v)o(erridden.)684 3996 y Ff(/inkspread)46 b(0.15)e(def)684 4095 y(renderopts)i({)853 4195 y(token)f(false)f(eq)f({exit})h(if)f(dup)g(length)i(string)f(cvs)f (\(=\))h(search)853 4295 y(true)g(eq)f({cvlit)i(exch)e(pop)h(exch)f (def})h({cvlit)g(true)g(def})g(ifelse)684 4394 y(})f(loop)684 4494 y(/inkspread)j(inkspread)f(cvr)f(def)515 4707 y Fk(W)-7 b(e)22 b(ha)n(v)o(e)e(e)o(xtracted)g(or)g(deri)n(v)o(ed)f(all)j (of)e(the)h(necessary)f(information)f(from)h(the)h(input,)f(and)g(no)n (w)515 4807 y(use)k(the)g(space)g(bar)g(succession,)g(bar)g(height)f (succession)h(and)f(bar)h(base)g(succession)g(in)g(calcu-)515 4907 y(lations)f(that)f(create)h(a)g(single)g(array)f(containing)f (elements)h(that)h(gi)n(v)o(e)f(coordinates)f(for)h(each)h(of)515 5006 y(the)d(bars)g(in)g(the)h(barcode.)1926 5255 y(6)p eop end %%Page: 7 10 TeXDict begin 7 9 bop 515 523 a Fk(W)-7 b(e)21 b(start)f(by)g(creating) f(a)h(bars)g(array)f(that)h(is)h(half)e(the)h(length)f(of)h(the)g (space)f(bar)h(succession.)k(W)-7 b(e)515 623 y(b)n(uild)27 b(this)i(by)e(repeatedly)g(adding)f(array)h(elements)h(that)g(contain)f (the)h(height,)h(x-coordinate,)515 722 y(y-coordinate)18 b(and)j(width)g(of)h(single)f(bars.)28 b(The)22 b(height)e(and)h (y-coordinates)e(are)i(read)g(from)g(the)515 822 y(bar)d(height)f (succession)h(and)g(the)g(bar)g(base)g(succession,)g(respecti)n(v)o (ely)-5 b(,)16 b(whilst)j(the)f(x-coordinate)515 922 y(and)24 b(the)g(width)g(are)g(made)g(from)f(a)i(calculation)e(of)h (the)h(total)f(indent,)g(based)g(on)g(the)h(space)f(bar)515 1021 y(succession)c(and)f(a)i(compensating)d(f)o(actor)h(that)i (accounts)e(for)g(ink)h(spread.)684 1249 y Ff(/bars)44 b(sbs)g(length)g(1)f(add)g(2)g(idiv)g(array)h(def)684 1349 y(/x)f(0.00)h(def)684 1449 y(0)f(1)f(sbs)i(length)g(1)f(sub)g({) 853 1548 y(/i)g(exch)h(def)853 1648 y(/d)f(sbs)h(i)f(get)g(48)g(sub)g (def)853 1748 y(i)g(2)g(mod)g(0)g(eq)g({)1023 1847 y(/h)g(bhs)g(i)g(2)g (idiv)g(get)h(72)f(mul)g(def)1023 1947 y(/c)g(d)g(2)f(div)i(x)e(add)i (def)1023 2046 y(/y)f(bbs)g(i)g(2)g(idiv)g(get)h(72)f(mul)g(def)1023 2146 y(/w)g(d)g(inkspread)i(sub)e(def)1023 2246 y(bars)h(i)e(2)h(idiv)h ([h)f(c)f(y)h(w])g(put)853 2345 y(})g(if)853 2445 y(/x)g(x)g(d)g(add)g (def)684 2545 y(})g(for)515 2773 y Fk(Finally)-5 b(,)22 b(we)g(perform)f(the)h(actual)g(rendering)e(in)i(tw)o(o)h(phases.)31 b(Firstly)23 b(we)f(use)h(the)f(contents)g(of)515 2872 y(the)27 b(bars)h(array)e(that)i(we)g(just)g(b)n(uilt)g(to)f(render)g (each)g(of)g(the)h(bars,)h(and)e(secondly)f(we)i(use)g(the)515 2972 y(contents)g(of)i(the)f(te)o(xt)g(array)g(e)o(xtracted)f(from)g (the)i(input)f(ar)o(gument)e(to)i(render)f(the)i(te)o(xt.)52 b(W)-7 b(e)515 3072 y(mak)o(e)19 b(an)g(ef)n(\002cienc)o(y)f(sa)n(ving) i(here)f(by)g(not)g(performing)e(loading)h(and)h(rescaling)g(of)g(a)h (font)f(if)h(the)515 3171 y(scale)26 b(f)o(actor)g(for)f(the)h(font)g (size)g(is)i(0.)42 b(The)26 b(graphics)f(state)i(is)g(preserv)o(ed)d (across)i(calls)h(to)f(this)515 3271 y(procedure)17 b(to)k(pre)n(v)o (ent)d(une)o(xpected)g(interference)g(with)i(the)h(users)f(en)m (vironment.)684 3499 y Ff(gsave)684 3698 y(bars)44 b({)853 3798 y({})f(forall)853 3898 y(setlinewidth)k(moveto)d(0)f(exch)h (rlineto)g(stroke)684 3997 y(})f(forall)684 4196 y(txt)g({)853 4296 y({})g(forall)853 4396 y(dup)h(0)f(ne)g({exch)h(findfont)h(exch)e (scalefont)j(setfont})853 4495 y({pop)e(pop})853 4595 y(ifelse)853 4695 y(moveto)h(show)684 4794 y(})e(forall)684 4993 y(grestore)1926 5255 y Fk(7)p eop end %%Page: 8 11 TeXDict begin 8 10 bop 515 523 a Fe(2.4)99 b(Notes)25 b(Regarding)g(Coding)g(Style)515 726 y Fk(PostScript)16 b(programming)d(v)o(eterans)i(are)i(encouraged)c(to)k(remember)d(that)j (the)f(majority)f(of)h(peo-)515 826 y(ple)k(who)g(read)f(the)i(code)e (are)h(lik)o(ely)g(to)h(ha)n(v)o(e)e(little,)i(if)f(an)o(y)-5 b(,)19 b(prior)g(kno)n(wledge)f(of)i(the)g(language.)515 972 y(T)-7 b(o)20 b(encourage)e(de)n(v)o(elopment,)f(the)j(code)g(has)g (been)g(written)g(with)g(these)g(goals)g(in)h(mind:)653 1202 y(-)41 b(That)20 b(it)h(be)f(easy)h(to)f(use)g(and)g(to)g (comprehend)653 1368 y(-)41 b(That)20 b(it)h(be)f(easy)h(to)f(modify)f (and)g(enhance)515 1598 y(T)-7 b(o)20 b(this)h(end)e(the)i(follo)n (wing)d(points)i(should)f(be)h(observ)o(ed)e(for)i(all)h(ne)n(w)f(code) f(submissions:)653 1828 y(-)41 b(Ne)n(w)21 b(encoders)e(should)g(be)h (based)g(on)f(the)i(code)e(of)h(a)h(similar)f(e)o(xisting)f(encoder)653 1994 y(-)41 b(Include)21 b(comments)g(where)g(these)h(clarify)f(the)h (operations)e(in)m(v)n(olv)o(ed,)h(particular)f(where)722 2094 y(something)f(une)o(xpected)f(happens)653 2260 y(-)41 b(Prefer)25 b(simplicity)g(to)g(ef)n(\002cenc)o(y)f(and)g(clarity)h(to) g(obfuscation,)f(e)o(xcept)h(where)f(this)i(will)722 2360 y(be)20 b(a)h(problem)1926 5255 y(8)p eop end %%Page: 9 12 TeXDict begin 9 11 bop 515 523 a Fj(3)119 b(Resour)n(ces)30 b(and)g(Examples)515 756 y Fk(There)19 b(are)h(se)n(v)o(eral)g(w)o(ays) g(of)g(using)g(the)g(PostScript)g(within)g(your)f(o)n(wn)h(projects.) 515 903 y(Man)o(y)15 b(e)o(xample)f(uses)j(of)e(the)h(code)g(for)f(v)n (arious)g(languages)f(and)i(platforms)f(can)g(be)h(do)n(wnloaded)515 1002 y(from)e(the)h(code)g(repository)e(at)j(http://www)-5 b(.terryb)n(urton.co.uk)o(/bar)o(cod)o(e)n(writer)o(/\002les/repo)o (sitory)o(/)515 1287 y Fe(3.1)99 b(Language)26 b(Speci\002c)g(APIs)515 1490 y Fk(No)19 b(language)f(speci\002c)i(APIs)g(e)o(xist)g(yet.)25 b(If)20 b(you)e(ha)n(v)o(e)h(e)o(xperience)f(writing)h(API)h (speci\002cations)515 1590 y(and)f(w)o(ould)h(lik)o(e)g(to)h(help)e (create)h(an)g(API)h(design)e(for)h(the)g(project)g(then)f(contact)h (the)g(author)-5 b(.)515 1875 y Fe(3.2)99 b(Fr)n(ont)25 b(Ends)515 2078 y Fk(The)20 b(follo)n(wing)e(is)j(a)g(list)g(of)f(the)g (front)f(ends)h(a)n(v)n(ailable)g(for)g(the)g(project.)515 2307 y Fi(W)-5 b(eb)20 b(based)h(generator)39 b Fk(http://www)-5 b(.terryb)n(urton.co.uk/b)o(arc)o(ode)m(writer/g)o(ene)o(rato)o(r/)515 2473 y Fi(Scrib)n(us)42 b Fk(Scrib)n(us)26 b(v)o(ersions)g(1.3)f(and)h (later)g(come)g(with)g(a)h(Barcode)e(Mak)o(er)h(plugin)f(based)h(on)722 2573 y(this)21 b(project.)722 2673 y(http://www)-5 b(.scrib)n(us.or)o (g.uk)515 2839 y Fi(KBar)o(code)39 b Fk(KBarcode)20 b(v)o(ersions)f(2)h (and)g(later)g(mak)o(e)g(use)g(of)g(this)h(project.)722 2938 y(http://www)-5 b(.kbarcode.net)515 3104 y Fi(pst-bar)o(code)39 b Fk(pst-barcode)18 b(is)k(a)e(PST)m(ricks)h(package)d(for)i(L)2270 3090 y Fh(A)2302 3104 y Fk(T)2339 3123 y(E)2379 3104 y(X.)722 3204 y(http://www)-5 b(.ctan.or)o(g/te)o(x-archi)n(v)n(e/gr)o (aph)o(ics/pstrick)o(s/contr)o(ib/pst-b)o(arco)o(de)o(/)1926 5255 y(9)p eop end %%Page: 10 13 TeXDict begin 10 12 bop 515 523 a Fe(3.3)99 b(Installing)31 b(the)j(Bar)n(code)f(Generation)g(Capability)f(into)h(a)f(Printer')l(s) 739 639 y(V)l(irtual)25 b(Machine)515 842 y Fk(Most)d(genuine)e (PostScript)h(printers)g(allo)n(w)h(procedures)d(to)j(be)g(de\002ned)e (such)i(that)f(the)o(y)g(persist)515 942 y(across)30 b(dif)n(ferent)e(jobs)i(through)e(the)j(use)f(of)g(the)g Ff(exitserver)k Fk(command.)53 b(If)30 b(your)f(printer)515 1041 y(supports)22 b(this)h(then)g(you)f(will)i(be)f(able)g(to)g(print) g(the)g(main)g(code)f(containing)f(the)j(de\002nitons)e(of)515 1141 y(all)e(the)f(encoders)f(and)h(the)h(renderer)d(once,)i(e.g.)24 b(soon)19 b(after)g(the)h(de)n(vice)e(is)j(turned)d(on,)h(and)f(later) 515 1241 y(omit)i(these)g(de\002nitons)f(from)h(each)f(of)h(the)h (barcode)d(documents)h(that)h(you)f(print.)515 1388 y(T)-7 b(o)25 b(install)g(the)g(barcode)f(generation)f(capabilities)i(into)f (the)h(virtual)g(machine)e(of)i(a)h(PostScript)515 1487 y(printer)19 b(you)g(need)h(to)g(uncomment)e(a)i(line)h(near)e(the)h (top)g(of)g(the)g(code)g(so)h(that)f(it)h(reads:)515 1717 y Ff(serverdict)45 b(begin)g(0)d(exitserver)515 1947 y Fk(Once)24 b(this)h(code)e(is)j(printed)d(the)h(procedural)e (de\002nitions)h(for)h(the)g(encoders)f(and)h(the)g(renderer)515 2047 y(will)g(remain)e(de\002ned)h(across)g(all)h(jobs)f(until)h(the)f (de)n(vice)f(is)j(reset)e(either)g(by)g(po)n(wer)n(-c)o(ycling)e(or)515 2146 y(with)f(the)g(follo)n(wing)f(code:)515 2376 y Ff(serverdict)45 b(begin)g(0)d(exitserver)k(systemdict)g(/quit)e(get)f(exec)1905 5255 y Fk(10)p eop end %%Page: 11 14 TeXDict begin 11 13 bop 515 523 a Fe(3.4)99 b(Hints)24 b(f)n(or)h(Generating)g(Pr)n(ecisely)g(the)h(Requir)n(ed)h(Symbol)515 726 y Fk(T)-7 b(o)20 b(create)f(a)i(barcode)d(to)i(a)g(required)e (width)i(and)f(height,)g(without)g(stretching)g(the)h(human)e(read-)515 826 y(able)i(te)o(xt,)g(perform)e(the)i(follo)n(wing)f(steps.)515 972 y(Create)30 b(a)g(basic)g(symbol)f(by)g(choosing)g(the)g(rele)n(v)n (ant)g(data)h(and)f(te)o(xt)h(options)f(for)g(the)h(corre-)515 1072 y(sponding)20 b(encoder)m(,)h(and)h(position)g(this)h(using)f Ff(translate)k Fk(such)d(that)f(the)h Fb(bottom-left)g Fk(corner)515 1172 y(of)d(the)g(bars)g(is)h(in)f(the)h(required)d (location:)515 1402 y Ff(gsave)515 1501 y(430)43 b(750)g(translate)515 1601 y(\(977147396801\))k(\(includetext\))g(ean13)d(barcode)515 1700 y(grestore)515 1930 y Fk(Find)25 b(the)g(uniform)e(scale)i(f)o (actor)g(\(same)g(v)n(alue)f(for)h(x)g(and)f(y\))h(that)g(mak)o(es)g (your)f(output)g(of)h(the)515 2030 y(required)18 b Fb(width)p Fk(:)515 2260 y Ff(gsave)515 2360 y(430)43 b(750)g(translate)515 2459 y(1.3)g(1.3)g(scale)256 b(\045)85 b(<--)44 b(Add)f(a)g(line)g (like)h(this)515 2559 y(\(977147396801\))j(\(includetext\))g(ean13)d (barcode)515 2658 y(grestore)515 2888 y Fk(Add)26 b(a)g(height)g (option)f(that)h(adjusts)h(the)f(bar)g Fb(height)h Fk(appropriately)c (\(taking)i(the)i(scaling)f(into)515 2988 y(account\):)515 3218 y Ff(gsave)515 3317 y(430)43 b(750)g(translate)515 3417 y(1.3)g(1.3)g(scale)515 3517 y(\045)f(Added)i(height=0.8)i(option) f(to)e(adjust)h(height)515 3616 y(\(977147396801\))j(\(includetext)f (height=0.8\))g(ean13)e(barcode)515 3716 y(grestore)515 3946 y Fk(The)19 b(result)g(should)g(no)n(w)f(be)i(of)f(the)g(intended) f(dimensions)g(at)i(the)f(desired)g(location)g(with)g(prop-)515 4045 y(erly)h(scaled)g(te)o(xt.)25 b(Y)-9 b(ou)19 b(can)h(no)n(w)g(add) f(an)o(y)h(additional)f(options)g(to)h(customise)g(the)g(symbol.)1905 5255 y(11)p eop end %%Page: 12 15 TeXDict begin 12 14 bop 515 523 a Fe(3.5)99 b(Printing)25 b(in)g(P)n(erl)515 726 y Fk(This)h(e)o(xample)f(will)i(print)f(a)h (page)e(of)h(EAN-13s)g(ranging)e(between)i(tw)o(o)g(gi)n(v)o(en)f(v)n (alues)h(when)515 826 y(called)20 b(from)f(a)i(shell)f(lik)o(e)h(this:) 515 1055 y Ff($)42 b(./ean13s.pl)47 b(978186074271)f(978186074292)g(|)d (lpr)515 1285 y Fk(The)20 b(contents)f(of)h(the)g(script)g Ff(ean13s.pl)k Fk(is)d(as)g(follo)n(ws:)515 1515 y Ff(#!/usr/bin/perl) 47 b(-w)515 1615 y(use)c(strict;)515 1814 y(die)g('Requires)j(two)d (arguments')j(if)d(\(@ARGV!=2\);)515 2013 y(open\(PS,'barcode.ps')q(\)) 48 b(||)43 b(die)h('File)g(not)f(found';)515 2113 y ($_=join\('',\);)515 2213 y(close\(PS\);)515 2412 y(print)h("\045!PS-Adobe-2.0\\n";)515 2611 y(m/)684 2711 y(\045\\)f(--BEGIN\\)i(TEMPLATE--)684 2810 y(\(.*\))684 2910 y(\045\\)e(--END\\)i(TEMPLATE--)684 3010 y(/sx)e(||)g(die)h ('Unable)h(to)e(parse)h(out)f(the)g(template';)515 3109 y(print)h($1;)515 3309 y(for)f(\(my)g($i=$ARGV[0],)k(my)c($j=0;)h ($i<$ARGV[1];)i($i++,)e($j++\))g({)684 3408 y(my)f ($x=100+150*\(int\($j/)q(7\)\))q(;)684 3508 y(my)g ($y=100+100*\($j\0457\);)684 3607 y(print)h("gsave\\n";)684 3707 y(print)g("$x)g($y)f(translate\\n";)684 3807 y(print)h("\($i\))g (\(includetext\))j(ean13)d(barcode\\n";)684 3906 y(print)g ("grestore\\n";)515 4006 y(})515 4205 y(print)g("showpage\\n";)1905 5255 y Fk(12)p eop end %%Page: 13 16 TeXDict begin 13 15 bop 515 523 a Fj(4)119 b(Supported)32 b(Symbologies)515 756 y Fk(The)24 b(follo)n(wing)g(section)g(sho)n(ws)h (the)g(symbologies)e(that)i(are)g(supported)e(by)h(the)h(encoders,)g (in-)515 855 y(cluding)d(the)i(a)n(v)n(ailable)f(features)g(for)g (each.)35 b(This)24 b(list)g(may)g(not)f(be)h(up-to-date.)33 b(If)23 b(it)h(does)g(not)515 955 y(contain)h(an)o(y)g(of)h(the)h (formats)e(or)h(features)g(that)g(you)f(require)g(then)h(check)g(the)g (project)f(source)515 1055 y(code)19 b(or)h(try)g(the)g(support)f (mailing)h(list.)515 1340 y Fe(4.1)99 b(EAN-13)515 1528 y Fi(Data)40 b Fk(12)20 b(or)g(13)f(digits)515 1743 y Fi(Options)888 1691 y Fk(Option)p 1401 1721 4 100 v 333 w(Feature)p 838 1724 1589 4 v 888 1794 a Ff(includetext)p 1401 1824 4 100 v 103 w Fk(Enable)g(human)g(readable)g(te)o(xt)515 1955 y Fi(Notes)41 b Fk(If)20 b(just)g(12)g(digits)g(are)g(entered)g (then)f(the)h(check)g(digit)g(is)h(calculated)e(automatically)1603 2756 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (9781860742712) (includetext guardwhitespace) ean13 barcode end @endspecial 534 2938 a(Figure)g(1:)26 b Ff(\(9781860742712\))47 b(\(includetext)g (guardwhitespace\))g(ean13)d(barcode)515 3276 y Fe(4.2)99 b(EAN-8)515 3465 y Fi(Data)40 b Fk(8)20 b(digits)515 3679 y Fi(Options)888 3627 y Fk(Option)p 1401 3657 V 333 w(Feature)p 838 3660 1589 4 v 888 3730 a Ff(includetext)p 1401 3760 4 100 v 103 w Fk(Enable)f(human)g(readable)g(te)o(xt)1721 4302 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (12345678) (includetext guardwhitespace height=0.6) ean8 barcode end @endspecial 515 4485 a(Figure)74 b(2:)136 b Ff(\(12345678\))46 b(\(includetext)g (guardwhitespace)i(height=0.6\))e(ean8)515 4585 y(barcode)1905 5255 y Fk(13)p eop end %%Page: 14 17 TeXDict begin 14 16 bop 515 523 a Fe(4.3)99 b(UPC-A)515 712 y Fi(Data)40 b Fk(11)20 b(or)g(12)f(digits)515 927 y Fi(Options)888 874 y Fk(Option)p 1401 904 4 100 v 333 w(Feature)p 838 908 1589 4 v 888 977 a Ff(includetext)p 1401 1007 4 100 v 103 w Fk(Enable)g(human)g(readable)g(te)o(xt)515 1139 y Fi(Notes)41 b Fk(If)20 b(just)g(11)g(digits)g(are)g(entered)g (then)f(the)h(check)g(digit)g(is)h(calculated)e(automatically)1603 1939 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (78858101497) (includetext) upca barcode end @endspecial 936 2122 a(Figure)h(3:)25 b Ff(\(78858101497\))47 b(\(includetext\))g(upca)c (barcode)515 2459 y Fe(4.4)99 b(UPC-E)515 2648 y Fi(Data)40 b Fk(7)20 b(or)g(8)g(digits)515 2863 y Fi(Options)888 2810 y Fk(Option)p 1401 2840 V 333 w(Feature)p 838 2844 1589 4 v 888 2913 a Ff(includetext)p 1401 2943 4 100 v 103 w Fk(Enable)f(human)g(readable)g(te)o(xt)515 3075 y Fi(Notes)41 b Fk(If)20 b(just)g(7)h(digits)f(are)g(entered)f(then)h (the)g(check)f(digit)h(is)h(calculated)f(automatically)1721 3875 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (0123456) (includetext) upce barcode end @endspecial 1021 4058 a(Figure)f(4:)26 b Ff(\(0123456\))45 b(\(includetext\))i(upce)d (barcode)1905 5255 y Fk(14)p eop end %%Page: 15 18 TeXDict begin 15 17 bop 515 523 a Fe(4.5)99 b(EAN-5)515 712 y Fi(Data)40 b Fk(5)20 b(digits)515 927 y Fi(Options)888 874 y Fk(Option)p 1401 904 4 100 v 333 w(Feature)p 838 908 1589 4 v 888 977 a Ff(includetext)p 1401 1007 4 100 v 103 w Fk(Enable)f(human)g(readable)g(te)o(xt)1721 1790 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (90200) (includetext guardwhitespace) ean5 barcode end @endspecial 724 1972 a(Figure)h(5:)25 b Ff(\(90200\))45 b(\(includetext)h(guardwhitespace\))i(ean5)c(barcode) 515 2288 y Fe(4.6)99 b(EAN-2)515 2477 y Fi(Data)40 b Fk(2)20 b(digits)515 2692 y Fi(Options)888 2640 y Fk(Option)p 1401 2670 V 333 w(Feature)p 838 2673 1589 4 v 888 2743 a Ff(includetext)p 1401 2773 4 100 v 103 w Fk(Enable)f(human)g (readable)g(te)o(xt)1839 3555 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (38) (includetext guardwhitespace) ean2 barcode end @endspecial 788 3738 a(Figure)g(6:)26 b Ff(\(38\))43 b(\(includetext)k(guardwhitespace\))h(ean2)43 b(barcode)1905 5255 y Fk(15)p eop end %%Page: 16 19 TeXDict begin 16 18 bop 515 523 a Fe(4.7)99 b(ISBN)515 712 y Fi(Data)40 b Fk(9)20 b(or)g(10)g(digits)g(seperated)f (appropriately)f(with)i(dashes)515 927 y Fi(Options)888 874 y Fk(Option)p 1401 904 4 100 v 333 w(Feature)p 838 908 1589 4 v 888 977 a Ff(includetext)p 1401 1007 4 100 v 103 w Fk(Enable)f(human)g(readable)g(te)o(xt)515 1139 y Fi(Notes)41 b Fk(If)23 b(just)g(9)h(digits)f(are)g(entered)f(then)h (the)g(human)f(readable)g(ISBN)i(check)e(digit)h(is)h(calcu-)722 1238 y(lated)c(automatically)1603 2039 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (1-58880-149) (includetext guardwhitespace) isbn barcode end @endspecial 936 2221 a(Figure)g(7:)25 b Ff(\(1-58880-149\))47 b(\(includetext\))g(isbn)c(barcode)515 2559 y Fe(4.8)99 b(Code-39)515 2748 y Fi(Data)40 b Fk(V)-9 b(ariable)19 b(number)g(of)h(characters,)f(digits)h(and)f(an)o(y)h(of)g (the)g(symbols)g Ff(-.)43 b(*$/+\045)p Fk(.)515 3062 y Fi(Options)888 2910 y Fk(Option)p 1698 2940 V 629 w(Feature)p 838 2943 2009 4 v 888 3013 a Ff(includecheck)p 1698 3043 4 100 v 357 w Fk(Enable)20 b(check)f(digit)888 3113 y Ff(includetext)p 1698 3142 V 399 w Fk(Enable)h(human)e(readable)h(te)o (xt)888 3212 y Ff(includecheckintext)p 1698 3242 V 105 w Fk(Mak)o(e)h(check)g(digit)g(visible)g(in)g(te)o(xt)1367 4025 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (CODE-39) (includecheck includetext) code39 barcode end @endspecial 703 4207 a(Figure)g(8:)25 b Ff(\(CODE-39\))46 b(\(includecheck)g(includetext\))h (code39)d(barcode)1905 5255 y Fk(16)p eop end %%Page: 17 20 TeXDict begin 17 19 bop 515 523 a Fe(4.9)99 b(Code-128)25 b(and)g(UCC/EAN-128)515 712 y Fi(Data)40 b Fk(V)-9 b(ariable)20 b(number)f(of)i(ASCII)g(characters)f(and)g(special)h(funtion)f (symbols,)g(starting)g(with)722 812 y(the)k(approriate)d(start)j (character)f(for)f(the)i(initial)g(character)e(set.)36 b(UCC/EAN-128s)23 b(must)722 911 y(ha)n(v)o(e)d(a)h(manditory)d Ff(FNC)43 b(1)21 b Fk(symbol)e(immediately)g(follo)n(wing)g(the)h (start)h(character)-5 b(.)515 1176 y Fi(Options)888 1074 y Fk(Option)p 1698 1103 4 100 v 629 w(Feature)p 838 1107 2009 4 v 888 1177 a Ff(includetext)p 1698 1206 4 100 v 399 w Fk(Enable)20 b(human)e(readable)h(te)o(xt)888 1276 y Ff(includecheckintext)p 1698 1306 V 105 w Fk(Mak)o(e)h(check)g (digit)g(visible)g(in)g(te)o(xt)515 1437 y Fi(Notes)41 b Fk(An)o(y)27 b(non-printable)e(character)i(can)i(be)f(entered)f(via)i (its)g(escaped)f(ordinal)f(v)n(alue,)i(for)722 1537 y(e)o(xample)c Ff(\210070)i Fk(for)e Ff(ACK)j Fk(and)d Ff(\210102)i Fk(for)f Ff(FNC)43 b(1)p Fk(.)f(Since)26 b(a)g(caret)g(symbol)f(serv)o (es)g(as)i(an)722 1637 y(escape)33 b(character)e(it)i(must)g(be)f (escaped)g(as)h Ff(\210062)i Fk(if)e(used)f(in)h(the)f(data.)62 b(The)32 b(check)722 1736 y(character)19 b(is)i(al)o(w)o(ays)g(added)e (automatically)-5 b(.)1367 2537 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (^104^102Count^0991234^101!) (includetext) code128 barcode end @endspecial 555 2720 a(Figure)20 b(9:)25 b Ff (\(\210104\210102Count\21009912)q(34\210)q(101)q(!\))49 b(\(includetext\))e(code128)d(barcode)515 3057 y Fe(4.10)99 b(Rationalized)24 b(Codabar)515 3246 y Fi(Data)40 b Fk(V)-9 b(ariable)19 b(number)g(of)h(digits)g(and)f(an)o(y)h(of)g(the)g (symbols)g Ff(-$:/.+ABCD)p Fk(.)515 3560 y Fi(Options)888 3408 y Fk(Option)p 1698 3438 V 629 w(Feature)p 838 3441 2009 4 v 888 3511 a Ff(includecheck)p 1698 3541 4 100 v 357 w Fk(Enable)g(check)f(digit)888 3611 y Ff(includetext)p 1698 3641 V 399 w Fk(Enable)h(human)e(readable)h(te)o(xt)888 3710 y Ff(includecheckintext)p 1698 3740 V 105 w Fk(Mak)o(e)h(check)g (digit)g(visible)g(in)g(te)o(xt)1485 4523 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (0123456789) (includetext) rationalizedCodabar barcode end @endspecial 619 4706 a(Figure)g(10:)k Ff(\(0123456789\))47 b(\(includetext\))g(rationalizedCodabar)h(barcode)1905 5255 y Fk(17)p eop end %%Page: 18 21 TeXDict begin 18 20 bop 515 523 a Fe(4.11)99 b(Interlea)n(v)o(ed)25 b(2)g(of)g(5)f(and)i(ITF-14)515 712 y Fi(Data)40 b Fk(V)-9 b(ariable)18 b(number)e(of)j(digits.)24 b(An)19 b(ITF-14)e(is)i(14)f (characters)g(and)g(does)g(not)g(ha)n(v)o(e)g(a)h(check)722 812 y(digit.)515 1126 y Fi(Options)888 974 y Fk(Option)p 1698 1004 4 100 v 629 w(Feature)p 838 1007 2009 4 v 888 1077 a Ff(includecheck)p 1698 1107 4 100 v 357 w Fk(Enable)h(check)f (digit)888 1177 y Ff(includetext)p 1698 1206 V 399 w Fk(Enable)h(human)e(readable)h(te)o(xt)888 1276 y Ff (includecheckintext)p 1698 1306 V 105 w Fk(Mak)o(e)h(check)g(digit)g (visible)g(in)g(te)o(xt)515 1437 y Fi(Notes)41 b Fk(The)21 b(data)h(may)g(be)g(automatically)f(pre\002x)o(ed)f(with)i(0)h(to)f (mak)o(e)g(the)g(data,)g(including)e(op-)722 1537 y(tional)g(check)g (digit,)f(of)h(e)n(v)o(en)f(length.)1367 2158 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (05012345678900) (includecheck height=0.7) interleaved2of5 barcode end @endspecial 515 2340 a(Figure)32 b(11:)51 b Ff(\(05012345678900\))d(\(includecheck)f(height=0.7\))f (interleaved2of5)515 2440 y(barcode)515 2760 y Fe(4.12)99 b(Code)25 b(2)g(of)g(5)515 2949 y Fi(Data)40 b Fk(V)-9 b(ariable)19 b(number)g(of)h(digits)515 3164 y Fi(Options)888 3112 y Fk(Option)p 1401 3141 V 333 w(Feature)p 838 3145 1589 4 v 888 3215 a Ff(includetext)p 1401 3244 4 100 v 103 w Fk(Enable)f(human)g(readable)g(te)o(xt)1367 4147 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (0123456789) (includetext textpos=75 textfont=Helvetica textsize=16) code2of5 barcode end @endspecial 515 4330 a(Figure)75 b(12:)135 b Ff(\(0123456789\))47 b(\(includetext)f(textpos=75)g (textfont=Helvetica)515 4429 y(textsize=16\))g(code2of5)f(barcode)1905 5255 y Fk(18)p eop end %%Page: 19 22 TeXDict begin 19 21 bop 515 523 a Fe(4.13)99 b(P)n(ostnet)515 712 y Fi(Data)40 b Fk(V)-9 b(ariable)19 b(number)g(digits)515 976 y Fi(Options)888 874 y Fk(Option)p 1698 904 4 100 v 629 w(Feature)p 838 908 2253 4 v 888 977 a Ff(includetext)p 1698 1007 4 100 v 399 w Fk(Enable)h(human)e(readable)h(te)o(xt)888 1077 y Ff(includecheckintext)p 1698 1107 V 105 w Fk(Mak)o(e)h(the)g (check)g(digit)g(visible)g(in)g(the)h(te)o(xt)515 1238 y Fi(Notes)41 b Fk(Check)19 b(digit)h(is)i(al)o(w)o(ays)e(added)f (automatically)1130 1619 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (01234567) (includetext textpos=-10 textfont=Arial textsize=10) postnet barcode end @endspecial 515 1801 a(Figure)145 b(13:)277 b Ff(\(01234567\))46 b(\(includetext)g(textpos=-10)g(textfont=Arial)515 1901 y(textsize=10\))g(postnet)f(barcode)515 2233 y Fe(4.14)99 b(Royal)24 b(Mail)515 2422 y Fi(Data)40 b Fk(V)-9 b(ariable)19 b(number)g(digits)h(and)g(capital)g(letters)515 2687 y Fi(Options)888 2584 y Fk(Option)p 1698 2614 V 629 w(Feature)p 838 2618 2253 4 v 888 2687 a Ff(includetext)p 1698 2717 4 100 v 399 w Fk(Enable)g(human)e(readable)h(te)o(xt)888 2787 y Ff(includecheckintext)p 1698 2817 V 105 w Fk(Mak)o(e)h(the)g (check)g(digit)g(visible)g(in)g(the)h(te)o(xt)515 2948 y Fi(Notes)41 b Fk(Check)19 b(digit)h(is)i(al)o(w)o(ays)e(added)f (automatically)1367 3449 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (LE28HS9Z) (includetext) royalmail barcode end @endspecial 873 3632 a(Figure)h(14:)k Ff(\(LE28HS9Z\))46 b(\(includetext\))h(royalmail)e(barcode)1905 5255 y Fk(19)p eop end %%Page: 20 23 TeXDict begin 20 22 bop 515 523 a Fe(4.15)99 b(MSI)515 712 y Fi(Data)40 b Fk(V)-9 b(ariable)19 b(number)g(digits)515 1026 y Fi(Options)888 874 y Fk(Option)p 1698 904 4 100 v 629 w(Feature)p 838 908 2131 4 v 888 977 a Ff(includecheck)p 1698 1007 4 100 v 357 w Fk(Enable)h(check)f(digit)888 1077 y Ff(includetext)p 1698 1107 V 399 w Fk(Enable)h(human)e(readable) h(te)o(xt)888 1177 y Ff(includecheckintext)p 1698 1206 V 105 w Fk(Mak)o(e)h(check)g(digit)g(visible)g(in)g(the)g(te)o(xt)1249 1989 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (0123456789) (includecheck includetext) msi barcode end @endspecial 682 2172 a(Figure)g(15:)25 b Ff(\(0123456789\))46 b(\(includecheck)h (includetext\))f(msi)e(barcode)515 2488 y Fe(4.16)99 b(Plessey)515 2677 y Fi(Data)40 b Fk(V)-9 b(ariable)19 b(number)g(of)h(he)o(xadecimal)e(characters)515 2924 y Fi(Options)888 2822 y Fk(Option)p 1698 2852 V 629 w(Feature)p 838 2855 2286 4 v 888 2925 a Ff(includetext)p 1698 2955 4 100 v 399 w Fk(Enable)i(human)e(readable)h(te)o(xt)888 3025 y Ff(includecheckintext)p 1698 3055 V 105 w Fk(Mak)o(e)h(the)g (check)g(digits)g(visible)g(in)h(the)f(te)o(xt)515 3186 y Fi(Notes)41 b Fk(Check)19 b(digits)i(are)f(al)o(w)o(ays)g(added)f (automatically)-5 b(.)540 3987 y @beginspecial @setspecial tx@Dict begin STP newpath 0.8 SLW 0. setgray 0 0 moveto (0123456789ABCDEF) (includetext) plessey barcode end @endspecial 831 4169 a(Figure)19 b(16:)25 b Ff(\(012345ABCDEF\))47 b(\(includetext\))g(plessey)e(barcode)1905 5255 y Fk(20)p eop end %%Page: 21 24 TeXDict begin 21 23 bop 515 523 a Fj(5)119 b(License)515 756 y Fk(Cop)o(yright)894 753 y(c)871 756 y Fa(\015)p Fk(2004)19 b(T)-6 b(erry)20 b(Burton)515 903 y(Permission)27 b(is)i(hereby)d(granted,)i(free)f(of)h(char)o(ge,)g(to)g(an)o(y)f (person)f(obtaining)g(a)j(cop)o(y)e(of)g(this)515 1002 y(softw)o(are)c(and)g(associated)h(documentation)d(\002les)j(\(the)g (\224Softw)o(are\224\),)f(to)h(deal)f(in)h(the)g(Softw)o(are)515 1102 y(without)18 b(restriction,)h(including)e(without)i(limitation)f (the)i(rights)e(to)i(use,)f(cop)o(y)-5 b(,)18 b(modify)-5 b(,)17 b(mer)o(ge,)515 1202 y(publish,)f(distrib)n(ute,)h(sublicense,)g (and/or)f(sell)i(copies)f(of)g(the)g(Softw)o(are,)g(and)g(to)g(permit)f (persons)515 1301 y(to)k(whom)f(the)i(Softw)o(are)e(is)i(furnished)e (to)h(do)g(so,)g(subject)g(to)g(the)h(follo)n(wing)d(conditions:)515 1448 y(The)24 b(abo)o(v)o(e)g(cop)o(yright)e(notice)j(and)f(this)i (permission)d(notice)i(shall)g(be)g(included)e(in)i(all)h(copies)515 1548 y(or)20 b(substantial)g(portions)e(of)i(the)h(Softw)o(are.)515 1695 y(The)28 b(softw)o(are)h(is)g(pro)o(vided)e(\224as)i(is\224,)j (without)c(w)o(arranty)f(of)i(an)o(y)f(kind,)i(e)o(xpress)e(or)h (implied,)515 1794 y(including)24 b(b)n(ut)j(not)f(limited)g(to)g(the)h (w)o(arranties)e(of)h(merchantability)-5 b(,)25 b(\002tness)i(for)f(a)h (particular)515 1894 y(purpose)f(and)i(noninfringement.)45 b(In)28 b(no)g(e)n(v)o(ent)f(shall)i(the)f(authors)f(or)h(cop)o(yright) e(holders)i(be)515 1993 y(liable)19 b(for)g(an)o(y)g(claim,)g(damages)f (or)i(other)e(liability)-5 b(,)19 b(whether)f(in)i(an)f(action)g(of)g (contract,)g(tort)g(or)515 2093 y(otherwise,)25 b(arising)f(from,)h (out)g(of)f(or)h(in)g(connection)e(with)i(the)g(softw)o(are)f(or)h(the) g(use)g(or)f(other)515 2193 y(dealings)19 b(in)i(the)f(softw)o(are.) 1905 5255 y(21)p eop end %%Trailer userdict /end-hook known{end-hook}if %%EOF postscriptbarcode/docs/barcodewriter.pdf0000644002342100234210000037062210516422741022424 0ustar terryburtoncoukpsacln%PDF-1.3 %Çì¢ 6 0 obj <> stream xœ}VËn#7¼ë+æ¸V›o.‚ k$×¼ `Ï£ÑØš]I”gF«8_Ÿæ£)Y6>î!›Íªêj>7œAÃã_ùí‹çÅêÕ,><´c¶ýOë¯ ÌH¸p½]|ø2s?Ƹò ”×%>c sà®Äþ:)ƒÔÌ)ð ÓSwÛ¥¶Ž zêýØÎ¹Tmé°—pNÀ£˜œðt\J¡°ÿœ$Ü/™ ɰˆäM;<„©-3;žcBqKOä~Ê(æU•\{Ü–[Tꑯ’ÚêzáïÃ6kV@ê|J½F š†ÊÚˆr”aìû±?väqÚW‹ ܬ³öáøTDƒÓwâ–ˆñ8½6až†\¡²è(ÕUç];—;Z¨2RÌF›ã”z:ŸNaœ'VZ_7[_˜äýh=5¯Ðƒ$‹!ÜðG˜ûO©D͸6tâoýt*ျ«Ó("r[´U¶öõ±Pà÷šC×PtršD.ÎooÖ¿sÜp| 㡺IšJ‚äÐ4šáØ'Q(T‘©Ü!wÙU4ÄšoÊMdQ›•pÈüc]eu)D,%"èM´,Îp&‚œ¨c¯ •UA*VD,…£>W§¢›ÎÝ®ð"\íÎCÈö…Ç[)jËïÂÎOi½ôŒG«Ý–áÜ&¼Ï§å–DšÂFåZ½§p„OX.^)<6$Ü(³ð‰¯Aù‹Y¦j>®í+ =š®¦Ö’WÈ:@¿çõ„O;ì³1HÌÈÓø‚8ÅÒ·ÍžÔ‡.x÷:Á—’çöšŒ¨jº ߆åa¡%á°›çÓ§Õêr¹ŒÐʨ>v}& „ªùož +zE(Q{<ίš'j˜+]]=M´–VÊQaÊÐñ‚„–¥q.\¡¦™ŽúÅ畺¹k‰rQ£d–8T½§Õ,Qëèè:¤õ6ÛŽY­ û}» 8#Rz…H^߉…ÎÈ&ݹÏ)´–ulµ',£ÍšW±¼;ÙA”"ÉŽ£z€ÌXc*ÏÅ/qúªk/ì÷¡Ðo¯ÑËT%QçŽËq*mæôõQòN%í–ÌÛÚ`×®súú~ÝT”º6h´«òÈZJ¬‚KQލb åÑÈÎ ÝÓãµ-n…h5VÆ÷!æÏ®ŸRþ¾nþ^Ä¿ÿ0Sþ½endstream endobj 7 0 obj 1277 endobj 32 0 obj <> stream xœí›[SÛFÇgúèO¡·oö~yJZf†§ïÂD[Yî”~úîÝ’- “TR`ޤ££ÝßžýŸÝå>%Ðüøß‹õä~rŸ k ¿ëäd>y7#ÚB¡'ó›‰{%ˆ @4™¯'G§eQgE½y;ÿÓ<ÄÇœš‡°Ð'ó“#ôöÍD{“Góåä輨+ó b&¼µ\nu^æ pîGÆ4%D&E2Õ®¹µcë¤åú´\fÆŠ)`‚Ëh]¯u iõ`¯) ×°‹³fôS‚ à‚'S£1™c OÏ¿dþK”DÌOÒjáã 0쿦uj] @ˆ¢ÞzUWú÷•»_(q¸ŒIJ`l¥ÇMŒAÆ¿æÁ¾úzé Ô újõF‚ Èš@Y€L€öáC€Ž 1Ç4@|V|*Ïtt]1*_ß„z‚­ïÇ)Ùq*T;Ñ‘g&ºYVhN©”Á~pæêE÷÷Õ×@Ó'Ûa)iKzˆåEYgV`„ˆæ™ƒehƒÛ´ZæÅ­ÍªÚ¡áƒ´fv¤nLÌ+'&tÐ’ öqox¡ß—õ8/Òé·¶ú´b Ú‹Äϳ ±8Ë6åÖM³Ì= ‡bZ&bâi±´F#BUñìït}· 깚††P.¬.YÉHkÒ%+?¤Åí6½µôQ %DáWwÙ"ÿeaƒÖ¢Fqy|y¾ñޏyEÿ뫯‚¯v‰Ry¢ˆRž©¥ù¾Òåš5SUL‹gÅ2rÃh‡vÿŒÝ×@ÅgÞö,OºÄçy±©ÓÕÊÏÒ:!&ƒóÚ S T³ç@EÁú[VdUV¨³”à Ò»ô:_åµ]$ L‡Þ‘ui_¢(4·­å%@Œðñ—•¾5«ÞØOЉ_ÄD¼ ÍÂxxáÆÄSS^ÕÛteÛÆL'ˆ Ý6Hi¯~L_ò"¬$FÇîk0XQ¢`A7‚µ¢fQ®9‚;túï¹_'´“O\Ù»)+/Ë Ž©íˆÝ ½¬´üÙd+;FµÆÓÒ*¼"$‚ÖRÊ,»ßæU¶ ·ï*Ô«‡õui‡!€ñ•÷ÿc· F·¨}UÀ;Æf¬PþXAsžõR0¦·¬ZùNÔåS_ÅØ} F¯:4ÃÜ‹üJûA¥¦§|®•õøQ©]mïîʪvãXOÛD °Çåmî«0¡ÕAˆ÷Êý*LÑ®ÂhWvv|1u.Ìt‹£}Ì|ŒÝ×Pó:ÙåuNÛävÔz†\»0B´xTh¸õ"ˆ¾úÌ ïóYî(þ>_žNC&¯9xø¾†šƒéŽ[¿cæwviWÉc¸=ó9XAŒ~Î1°¼—ƒ;ªD£'Ø«ž¹¯¡ê ö¸žàÝ,ãW–Gîk„,‹C–ϯN.¢Ä`}h§^tÖ¨| Uað†Âm’å!Éæàî”ØmA»·õ š‡ß;c÷5tu…×BW=‚.ÂêöapfˆëÛcC|>=}gW–ÝÌÄëá²oè½—œÚ÷ö,Dc:V{0 Ï"ÌìÑ‚t•ÿãv*˜¾Èãî™æ$½NÝy3 Ê~B_}€©ýì‚ÐSçæ@É*³‡MÜ1Åpå/›p€B…S&;„ÌxëÿLT…]ôòÆÞ²uîÖ|OÜtëÌ^çó÷S·x`Ë'òt£õ‚•>s÷£J ÙàN´—/>à.þ'TAõ ˜8oÄ0` }ÕºgŸ»kT¾†ªÐš,ïoäÇ=¤Èòe¹©‹¬YKª§gÞQvØØ} 53«ÿ 9î,íTfé'yy°=¸S£íÃoÓÜ×’Iõ’C³½3*_CMÄ]Ä)Àºˆ¤C7ÏÍ•³yòib~þ&1jendstream endobj 33 0 obj 1451 endobj 39 0 obj <> stream xœå•ÍJÄ0F÷yŠ»¹“›Ÿ›d+¸tÌt*t°B™•oo’6â0 A J/·‡zÒN @•µìÝ(&1Õ¬mÝ×IlwÚAÄÈš-¤g1?@@6 ðÊ#åƒQl,’»J¡5†`óPÚ‹ÍýÓmÍ,ZoZˆ%òhrþ;‘sÊño³.¢Ä¥²~T"ž³Ö4ç„EMT­ªV%“†Zö ói±~_åæ3¹^úã±_üæÈ­ø[%çÈýƒ÷õ×Yk—ˆ+²¾”y»3üùû-1h,ÔYî:è]ƒÿÐõnèú×YírBË5ÍÌÓ‚$fT…éòý˜¡Ã0”Ñ›¢¬wI2Tæendstream endobj 40 0 obj 262 endobj 43 0 obj <> stream xœYÉ’ãÆ=øÖ'£ˆ!ºöÅ·‘—°"$Åx¦ÃöA4XÝà ¨þZÿгPYY‡VHŽ>tÖòòåË—É/;Vñ‹ø¿9Þ}¹û²ã˳ü¯9î¾}¸»ÿ ቪ¤2b÷ðt—¾Àw\ÊÊí,³W»‡ãÝþÍç;Á+e¬‚7wo¾ëçqyªà©øt8œ›¹úøÉý¡w¾òFWß+]yÉín/,<]Þÿ¶›áâëRW–k\ç_c;‡´¾«´y×vY™³JræðÙûó¸, Xå Ï'y?LóÔŒíiŽŸ)^9%òêíŸùJHMÏê´2¯¼Sôlù*ì%eÞìÙŠYÉòNõxØ_Ú¾oûçø¡æ·†9…ÁóÂX|: ç± ùz"¿ü¸BCUL2ëÏËé RK|˜ð±•’Ìq|ö6Øs¦éËe÷ðeœïöpEç–OÎS8àÙ˜'à_—­DåìÇøÈTNJ–w÷ñݲ™Ð•ð:t~©g<©3ÚÓr#€›ØS7m×Îõ–ÃIW e%­± ÀuÅ™Ê;m?#€b„Íð„ÆÑ»/á¤0â§!QÊŒBÞ]zZxz=>ÝðܦCj¸§ë8ͺׄmÜHGlE"I;¿$¦  Svt!áèuÁñç1ÎiíIn}~$âWÉùŠß~§˜ÛJj“o¡^ö·ù;Oéþ€¬2<€…Ptƶ~L‡•¬2Îæwõ\cª mõUlªe%O™WzÀX †’»ާ.Ì_çšÒû4M˜'d¥µ5› 'œèçЇ±Î¼P C(.§J‡K&Õ6ài€Í™­.¸Êê¢ §0lÇ´‚C1Éop@ŠJ9·XÀVÚ2µuKí"vÂg•øé ÆKVÆP¼–×1Þ²Ns8þô žÅ™¡›„²†‹uþ¯’ÕJÖvN pí…Ûãb˜~À³Œt¢úgº S´f¹·+÷Ãtú©}ŒR°€¨!5¤¾Jl¸%£Ä~᤻S¨O§®mê\x”‰âC <¢>0á6¾¨8ÁÔµc=¾f}>/¾°*—g¤¼Àj,9ºr¾§Jâ%íHqúØ´—±xB3s~‚8‚!&XU)¡{M!’Q5nʘ³$cOC?O¨ ÀeÙCj­ÍUœ4—âô‡¥4Só—UÔ€n\òm¦}VéðpðN‹¼VYA¡Éx £š£Ò™—-r‡™®ÕØc¨û Ig’…+Ëú®Rš’¿Ipô¾Ò z,õÜ—RC‡ö€²Š{âñ¾‚v T¡ Ć{s#4QÕ(4(_)ê¤òÞñý·ˆ0Äl¹ ö§¤Ä±}^I`T_IÕxÈ‘c¤¤=FSˆB§KzˆåG) ô½E™Ö’z =Ñ߉-\›B6’j;fÖÒ³ÊcpRyaÿO}l¸bfJW÷Ïçú9 Y€TXçÒ„gá†èÒ¼À7Â’º°+”u­}Ô9•8å4܉e‡l )£n›®Än Ž¤ª1g”‹`&Ói¯ŒËÑõôš­`ù6½©éÅÓ0*býIäÅ Ù¤z–±iûfOp T_)ïŠð&Q‚$°ÌÜ€9FD—¥p‡¥¹pÆ«¡dG^÷’,´vRÅKu)±h†0WÅ'½PœïÉ`­+Ñæ¥PôüZô*ˆVdÚŸÆ€5j¯à¤º¿-Ãë¶[[Ϯʈò¹b|¨ÆaƺîÀ;¢ÀÛäõ´/V<3E{O"ˆñ‰fOSm›Ð£9`Œ%œûCÈÖ u×zp.ǘ”u§”Ä[©Š™ *À6&á‡ïîÿ½ÿ3êaœÛóq T_Aû|ŸN‹Û@jf><·©Ì‚âY÷+[çÎË– Þêó¦@­åâJIæ4æ¹dßä9âý¦ãúý7*ó2à UFÅb©¯+;¯šoWc0íJ5_æùô§ûûËå‚U ™ß¯Àã¯<¡(Ïã<ôU3TçEo K†Î)ï|ÅK²2”iP°Á!Í:„[‚_r½€‘î‚^3:7N'O ß7| aº|t\N^âVt1ª˜¼c>X‚ŠªR2K µ…IÊšbœYu•7VÞ†Ñ #|€ª £s㤾J[¦/Ï”R ²ÄüœPhšè Íý±œl‡%3B)áʤfU‚é&Ý‹‘ˆSʈ3tÉaœŒñBQìc¡ë(ȿԿu¹FIIu t'ìW¢¼S'H(²bƒ~·ßbê»ÒÛe™HBwJN…Z30a”D¨ËÚà+ÅêúD#®<Þ’`¿•5yõ”6 ]fÓ)4mÝ剋}‡ÝLuMÅQ­ œÿ¾Ž¦d„$wóT¸§,ü¡ùÙT_ÆP.±Lò»¥DXEH®\¨°E²{jŽdÌ·3¶)aã\›ÆŸ¡*<© ¡fz¼:ÑSx"]ÌlÔé ×seæà¯taJ287¥Ök×µO9!]14캮¿›¯¯yÁdP×Õý]7 ¹Ï$þ#rC=ÆøQ¶aÅ«­'ØNÏГ¬'è¿ÌørÈv±|«[½90û9—yýâ×z³îÿÒ  ØJ/š1ÔeÒèÖ´:½ ¦ý¼ p.Ï ¥p›¹|byÎM‹…W]aäuÁè÷©r¸L¸nbI–,”ùµ‘pw^õEë;Þ8Ñ0‚ÙÂóÇÞ¿ Ûãè÷ŒTÆ.3£ž TùnÛ­.)÷É‹½é'(P Q¦¦ÿL7à :|N6f¨Ãøã‚>ð‚‰ÕnŸ±Q…¾Xù2˜ûËplûö3Šˆ³41þ@ó}àà↲Ţÿ=Œ|“S®åЀÔêg¥á?yžvS‚‰¥#eíòsÜ_vÿ¸‹ÿyØÕ"endstream endobj 44 0 obj 2536 endobj 47 0 obj <> stream xœ½ZK“ÛÆNùÈ_£\%ŽæýHU–­ª¨òr¬­ä²Äî"âK¸ëͯOÏ« ±”ÙeË‚3þº‡_*JXEýßéÏõnñeñ¥ba-ÿ±ÞUïoï~°"‰šW7w‹øV1!ˆ­ 5„Éêf·xüùÏ‚3"µ‘ðÄÍfñæçæñ«Bé´ÃÕÝ®Ùu÷ì?{÷W•#Ns-ýþK¥á¤¨–ÜÀ„oÜ<´}Øì•"゙ì£8ኳôYÝ÷§]ӧÕS*}p–hd½k·mݵCØF2Â%œ?{j‡‡Ëƒ‡‡ðVàÍe>ñ×C?|ZwíqÛ")8,~¶­÷÷§ú¾‰ï«Xeˆ0\„÷šH#T%H|W6çAœrÎUËüñO‡¡¶Z2CüsÁSÑ4pe ÃÁá4G!zÔÆ×i­?nÛ`>sDkeò÷·M½ß÷ØÂ²üA»é8«ñ¸á)îl×ùÉð˜!J1–2<c€8øÊ¡]‡!F‰±6ïxìëfsêš?Fç=A Ó–cbôÄ ŽPmòÎÍÞ;¢ëç,9ØfmzòC½ŽaL9yÍ2€BߤG­ ]sìàƒýƒÍá+M¿WBdï¬ê.DzÊ1tFÿ¼[¶‡ûç9äH ^—c˜s&|ϣNJ„žòäÛ`™? s£!÷$…SZ•Añá§¿/™¶i@ÏN:t—îð ¿ŒÐt@Ö6¿dsKR2I›sécÀ›%ŠŠÈ¨?‡­9aTæÅˆ8Nk릮´BˆlA?tíþ>£URcS´ûô¸Njv5Ÿ_ŒÉ¦¹Ì'L>·Þo¢$¢ë^ɾ™m¶m?d›…T„.x‰“–kaù8´‡}Ÿò×(W^¼RÀ¹9°»Ã¦½ËÙNeIØ97NÃñ6ä³7Ádp©‹ Å RV¦ã˜Êë*ŠpCÑsX¹oöMW‰êôÔž¹Í°‰÷Oëˆd“òÜ”ãšs6á×B%Jáw¨½SèßúüUáìËW5rR’PÊà1„2|Û6’œï  M$Rjºà÷!qÏî¿KÙ)¡n)wͨ Å@Ùr†ççEW(¢Ý¯·§MF©¯ŠöÚæëz»>mÑoRÎÔ,Z¢uýЬ?'/@ZN»ö>y„~ŒÎç>=4]d`ÈisåÞ7ë¦ï“6–p¨êcd]x`¬ò—«H"U!œ –qf3«Çµs2fPÂ5ÖÅ‘²Ñ¼Œ+¸`vºòï7“’TÈyJ† m¥ƒ„Dg$¸šÍÀTŽ›$ øP% Ô’o=¶ý©Þ¦p†ó:Ì:¥ŸWòŠŒ ©°y¡"¿HæQ5ZWó‰\˜Ó—;P=}b6Çe¡A$Maѹõv›<) ?«ë‘›¼FÒ(É’ã!!BkÕ¤AYWgîÝ$qʨ@qÐîŽQ•qk·i÷—|0W‰Z¾u 3@Ÿéì¬]½‡3“ÔRr ^J‚Ÿ‹þ—Î'GÐÿ·o|,£L:sûc jÀºÓ9%o{4C)Ë€ÿ9êð‡¦½þ‰¿ ÚV;—av:®ëôªŽ£1ê’kN<)ûö ej¥uiÓÉ‘hQàœd³nÓü}l6üp§‚°U`—¸4|e*ÏÖJÍ4Júgc£Dò•Éo’¸d$°m^|Ô†Õ<`G‰ŒÊ_’*¬ú×M«ŸR½KÜÎ-JÜfŽ›@I+âu4ðÛTH[˱¸;l·‡´¬±~>e]RZ”‚U¯¶ùͨ2Ù\H è•VX¶54’ i€Uê¼p+yQ¸K}Và°Ò…"ïQ^x˨З¡ÚÝQH8{ŸÔ? w^;BÛ-„ªüæ Øê9ÓƒæÙ ‰&ù>&߉ìLÖ$«g¹® å(má{_*u–Ðæ\A›‘M»ö~L¥3ô.&ïÅvŸ µV_3ãZ?<×{6—uõ÷¸äc9ßšõ ¸0u¿Z@Ó¦'/Ø6~$à?þpSýsñ¥…<„8Ð H’ÆVÂë9b½[¼ÿ¸x÷ñoÀ«Y¼ûwÅïþìÿõþןá¿TX|ø6šŸœÕö”ò\ÂöRd¢BÎÿýLÅË/üü¢á†Úïb¸ÁÂbø¿¢áŠe}{jF† .x¶Õ Ôy…ÕÔO'þ_¶2E+apüôéX¯ /¢°X% õ ‰aå<­½:Llqîp.GH>ºÕWx‰ )—.ÏÑ»ô«þEÃ2^Ͱ—‘rzlÕO]W?'a®Ï8¾è\…œé¬GßS»ú·©ã“é … 5¸v<@ ŽCéçÂ^LcF f“æ6¡Ž=éÞfPºvëT™‚’Þ¦bJ Ö‘~¨»!½&@žËB‹eL¤tU‰n›»awˆÍ;°3ãX³|l`d:Aá5Eiè³.ðÉšmˆò)Y-ÊHïÛ¡®Ùwƒº-UãêáëP5þõbU:óÔµïEÄY´}º`´GAN<Ÿ"èv9¡˜8…—l*ð— ìæ¬ôH eš”Wº.lÍÏ€+ôp¿6ß¾î¹3ÀõjkÜ8ç°»ªÓÌ5(ß]ÏRú;@×AµÉuüêXúÕ »]¥ÆV}+Kmþ1jý„GåïúfHÁ3öbü5;é›4ásQžëá§¶«ä8W`~`“èñžÕ4O€ ß)T ¡‘(ÞS†eu Ü%„œ-“чº«×CjÓ4´<P ¨›t<,åCš96æÓ¾õÝZ–+œžÍS²rySÚ÷Ø!A÷® N2fgÐýºÆî]²ÂÁèÉ%êzˆçð vÿ·xg~†‘Ó³oÿÛÜþø6å8´˜z\ÆR$ø¬ „tÖ¥ÍsnpWñ–RpR¹oÄÛKž–)úô±íÛœ€ E]¹—* 8I?…¶ÆÈ¦x) ¹-&·M×GB`Üßtã{ÿ6îÛ- Gߣû›kUë×j¸®ç9W^„|:gó|\_ϰ+YUvdÕ§r͹eì‹eÑ 'Ç îÔ7Y¯H†·}ËMóÃ>Nz„¿ÃÛˆ³á cEóK ›É\;ÃA ÂÂ4#|ò0§Ã:ŽÛ|ž™‰Ì zÄ:æÜìôþ1~×À~ãö¾ÜË‹2~Î-Žp¦rפj'Ë+¹'Ö¦L¬±R7÷ÅiØ¥Pâ¸/øÑ€†´åy$_WÆï‡K·<ÎxªëZžúÑð ðó9Zj@Hå£ò ·rPfÂÅ3¼xÚ¦K+à3†%a^kL/^F÷ƒý±Y·?¬Si±R[îR -M­?“Œ’’AÀ ¯Ê„Fx—ŸΪ×Q§šVŠ8cÀ°ñ„òKÃ),Í’ÒO[€ë!v`0‹?N~âœ]xƒIH9þe:KôÓY‡aúëè·5Þ9oo"”2¸Ñ ªT›îŸüo;þ(#%‡ T#\~>>¯àŸt¨)¿Z¸}S“Ϥ&¹²1{%zÇøi`¢$Þ#½‡S ô™fq:úôÐbý¢e,ÓÄßáh†×¼]Óls^2áp²(”tùÑǸd˜Ào×ív47ðWΦý8–gVh1–Î* ±éÑY¨Z"gX âdꙵÕ!BœÁŒ›\*¢@:ä%`Þ»Ó6ùA*ôÃ0"ä·8æð2ưkî€÷q4J[KÌzßù.RI1\qÒ*÷“%¬[‰ü«®tŸ<ÍàygL¯Óo·üWø7dÀûç¬4úbrI/üÅ#Þö=5—û›Ë° ÕÚ©Rü„Q[E5´ØÇt»F¬Ü¸€?ë.BË=rÖ\“#//a¤ñ·×ÓËgÿÛü% ˆsüÉÝffÐ1¹x;»Å²ÐShþRÐâõÀ…þïÿÉÔªˆendstream endobj 48 0 obj 3091 endobj 66 0 obj <> stream xœ•XËnì¸îÒ_ÑË 0MóýÈ.Ì"Ë d­V³mMäV_I=¾NOQ$‹zÙ÷¼0@±‹ÅªS§Nñëv á/ý¯_¾>|=°i-ÿ«_zxüM™cÄ)ÅO—‡øv`B{0Ô&O¯?qÂÿòôû×ÄJcaÏÓùá§¿]ó„ š×~½ÖÝÙ÷áÃão\qškŒ¥"ÔXs8rI„ž¶?½ødÃI¦“[ßÕþ|ï§OR®œLŸÚêäÛÖŸÃæ(éK8–w5ý†é\v©¦# nת°dˆƒ‹ª´44¯·v:’ƒÓ†æ­Ñ "`k¶ø­Ê['†¡wÝe:‰«m6[Å qb¹Ìk¾I0"Kë?‡Eœ£*_ëí¥©_&§ ±Ôâr ›"Œj\kÚ6¬Å´WŽŒO®]Xvàç&oŽKÒ”ø]‡&;%àº<ß–D¯x•/ðqH·’MÞîý­|2àu‹8˜â9Çc‡I¡Ù@U×þ6âe%&+'ÐX4y½ÝãN¬C¦´FÅ,­cß\Ÿ§­€%u¹ïX5×ôMJ"5Ëy*%Ñ\æäœª>dm{½`É_cDŽܤÊBì6!`‚+3d¥—”yªÄÇžB©ÈÍ´Í0fp0„B“hv·±¬O¨’˜Ùì°0j“0m°Ø§B†TV]ÀIF0ÌÚÖFº˜Uâ[\¢F`Vï oBâ•Æ—jL~Z-ì lʰ 7_7_ê” ðT:,Žt/Lñi|Iœ a³‘uÑbþgU» +ür­Úö= eï=ºû˜{)ÞÙÄ•84×a¬®uD¦†‚šÞ㣌mE ElŸ›:@¡êß§jˆôª0´Ë•u®Æ)S*V˜dïõ1‘ Õ2þ˜(ØÝrd÷³ê¾9ÅC$ƒºÓ|‰Fhi(ƒŸ\KaW\ä°sÂÒElá*Ä4%ŽQëý­@¦…Žb¤e›xH½[ë’X³[ëk)[ûÎÔ G;¶I†Chxj¯à´)¼‚ÙÓ³§b¬ì”…à‡÷×S×vÏïézÎðld"ïc^;"C3Í;"\ªâoÍ8õæ€jrLl+A&¦MÎQ™ZCK‚jÀ릲‰,™2³ýbÿœÙ•Àófä¬ìc¡Z¢…âX}ÃpMA³ày¹ ŠLuòénÂbAý;¾q¬ðlÛÄŠÖÄ•j¼t} ¢ÖÊíÝŠ#nz@à­»žÓ-ŽÜ‚k G~ ‡1tD)Š\ÒÁ)ý[IŠ<›óM‰êÉ¿T©.46Ñ?šîÞ#KS¹é²]߯gÿåêÏNLAƒåà¤øBÈ8K}/}SZ?d™ÁEéHç¼Ðy:ª³ûËJYºé-t‡Ç5ày_]rèÖ®8—C§ 7Bɇ›'4AçÚtÄÙ‰mWWSµp([‡Hêî–‹Þqï©t5žÓwöu[e¬ Ph¥ ¦ÌBùCÂuÎúFÌ”m¥Ó¥kÛ.cÁåÕ·á¯a 9×ì”LÕ]f% §Å™àq.¹PEþo„8bpÙ#à+µŠL‚RöäŸccHSØ)Š’: ±–ÏÍøØ_;Ÿþ—[ž29n§&nþpôñì/åTŒå'—j»jÇÌÎØÖ…Ð`·¿ML·”–S˜¤Ð(ìñE®SLºÅt¤n¨~L½ške–` „ϱá¾O6Õè£.Q 4Òhï«ÌV î\¹LikBÎËdÞ[ÊÚ!grg,xˆ*œ~Çø (ÝçàkJW“èŠø®ú¬ÊghÅ5mŠ\èRA•@]£&,úOѦRZæ> -³|MË{sõ‰¨BE¢Ãf& ,Óçû­mjH_â ¸Ùz„YŸʨrxÅèaKw=ùºJl :H ¤ñfŒåøZyÛY+nÁ¹>aÑIQò z\‡Áv®ï× òuN ¤ŽÕj‘° ;ØFe-¦µ>è“\³ Þ‰|ç êBAˆe÷8‹› £ŽÜþ[Î1ÔʉY¬= Œ!ý`kHÜb¥Ü&FšðÄ"V¦…Ì;VLÍêŸpés¦À4@¿Ÿ1Ír¶†¡tl@ yöPf9™BßÍu—a2ø†´y‡HžBS4PaÙØ½ÍTB'ÿöyAP #"ž^Òã (/)ß×(œŠ2Нd\ÀŠ“fΙ"˜×háJ…îé:Nx0N¹ð†5/ ”ªVÏ^’‚§çä©"g+Kù0¯IñéÃÆÒC;…IÍ’JSU1†=¡H'3×ò>bs þ©òØáÇÄ™JÚÏ…&4@„)Z|ð?XÄ\`#¢›kÝÞÏ~ôߦ“ n™Š/Áètð_á|,¿ ñÙ¬’ƒ•K±¨äÇ_@S7‘w 0ÁñS[Có¿±Åhn\¯­÷¡@æø˜ ݺš:šO Áïå4·'w^|óü2n©(«š™Ðù!Va.HŽ)»CÂ~Ší5%˜ÁÙfäsN•v×ý{ËþÚdÕ¤£¥XÕŒ¹0Ìe¾ªsÅHÇ2®‡{ž¸š„x¡ÌŠ}€7ð :Q¤œµèK±ÔåM8ÌWYm…'ÏñM˜õ¶a˜l>?ôÍi#[³t40ú§QÈÐ@öp”¨š5J¸òÞÿ×ÐaÐÅÙ,>FM% “„Ã÷4.ƒ(éN ‘n»«OùÑ Ÿì?&êÔî$P×–[]Ï’ §±v{µ¹iìïþçÍx eš¦ó•£2r9áNf÷,W…Õ›žŠW¶ÐÚC[¿m§é-N…3'‡¾9ûmbwûÁs³µ»w|±‘3Þ¼gîû}WJ¬¢?ëÒ¬®ªSNÏì1{ï·SKh )Bß@¥Ð‰ðá×§Ã?Âßÿû²•~endstream endobj 67 0 obj 2238 endobj 70 0 obj <> stream xœ­YMoãÈæè_¡[<À˜ÓŸlöa/²À¹d×@™(ж¸#‘’w±ÿ=ÕUMš”lšíêêªW¯^µ¿mXÆ7ÌýÄßÕñæÛÍ· ÷kø«:nþ~óùW­66³¹ÈÕæþá†e…»6\ʬØf2ŸŽ7·Ýilºvøxÿû2™a¹³~¿»¹ýÓ-Ý Ø®ŒÜÜqáWÇîkݺ/RƒQ–ÇÍåa¨—Ëõ7·ÆMfE²[ÿhÆ¿üy<³Üê¸Þ<,÷îÎ'·èœÐÒÆÅCÝ>ŽûhÀ˜BÅõaì›öqi¸ú>,|¹ýéËÇ´\ ºì+oûN2•)àæ<+Špùþì/) ¶B×.Y}?4ãÒÇúG°>·pêV®¹¾uW?üµ\½tܺæà†â_ÇÞIQdÚrJºßí À$tÁçÏ¿ =…Ÿá,W*cÂãì·¦­‚/*+x޾”L6“Ji Þ³[2Yn8ÇãÎCÝ{'l¦¸ÁÌ>6a§ÖÌ Áï> Î%F²þÛBáŸN`/EƹÅU}]ŽÁÑÕCõ wå®. ©Ïcýc|èZ hf„ñÙ 5Aè¢R™S…¿3WFaéÎþŒ¡ù£^?ƒ¾¼8£m‰†èi²À¨Ä+þŒS7, M>;{&~y„2è¡áˆ<ÝÒñ¸—?YA™—­_¯x †òÜgçßn7 DP‡zåVNJ%–§u÷¦ë]¨Â@*–Q)—}_>Gw¹ÈgÝC¬zHnM-ÂEˆ+êSmÕí° 7hæ¡ëc%‰\7—‘›Yf Á{íD¸^üs¨b { Ñ…ámÍè¥98z‰ÌÀ%1Cµ/û²ëžÜš~Ú7Ø¿x‘Y‚ ò À+ñÉ$øÂRðwuuˆ\%¡üXj‘¬-ðmNéÀŠ‘ Yê!Ö¾¦¡ðœ0}¿oÌx!Ù†HKÇÊþVàQ.1ï:³Ò`¶u ·NXØÕ}wJůß.þ±L=á¡ïŽ‘Þ”Î Ý×çCLìÆÑ]D[fJ¨iQG4+hÈ¡¡¯¸:ik€tûàÆÔ?NuÕ|¨|à>yÑÐEèžåaÜwçG MŠ|‰iÈ3K,–m\‹œ`=”WT_ù?õÍ8<ÇŒÙ"Ñiƒ×·¬@H|¨Î!`YÉaá–QõnDzi_í@Èo ˆ~h PÊÊHÄ?onÿóño¾ù[ºú—[î ?œh€sJÓ—[÷%ì¡ï¹0jò÷òêwÉÑBø:Ú•ij¥èÂÌÄÂ91±æÂõïxÉ™ ³Æƒ½ôñÒ)Ó Î[ÞO‡ªâ&iÊÿ¢&Ki¡öWýð;äÖéò20žve˜\LJW¯…]sñM]KZ`uµk噽˜¶ uRAñ– Ì,‰».ð¨lÆà÷IÛQ!§±F˜ŒÔ£‰GÔZW™Í…:F&ÖIÒNº T‰ºw‘t‰Uy€*Í#—Ih®:vcyˆt5MJõ|ÜÆ® `–PöÊm¶1¯Ð°Š$î£w~)ld鬂æ†&õˆÐœæ2xµûöõ4#âoX˜ä :‹_lÁÑúe1#'°hÚflÊC3`ôñÄÞKísIŽà*I—(4!H€9÷ uì ŒÔx\‡JÉ0ÚN”ï¦ÿ|;/¤N¡½ÞÅ3UN¡ ‰8UŠª÷)µ6ÒOÍá hŠÛvÙÙÎÍa·<³ MLú]çH ¢‚æHÈ\ÜkG° ç  2@gÌb‡šþßš#¬>4/˜FtšFB…d3­¯Ün&RÁòB¤ª|U¤„’¢ ”ƒ¼—vJÎ)ÎÀ=bgHá"΀YŠs¹Ãò.¬Î_Ät¦@öçcðŽ2TNà …q;™|˜™IªôǸìâQ÷ÆVîª]†N)=á1}b‘.?\zº6y [½'$““gcgäôÒsŒÒp6*q±ÜÓ1ßxéÍŠ\¶@0Ùðy a~›¿ºÕQ÷zKÐFyñJK„™Ab®¯´ÄIîê°2}îylPÜóTºkšðÔRgš?¬¡:1…ž¢.–˜$É’)|¡M"x¶ÏTÌbRYÈÛ³‚YugKïµÉ^Œ‹ æåâúEÆ2<ÓK@²ôK“ ×B] àªõ )iqx{½f…k•A=a9M>Êñôzˆ"}ãµòz¬Ç…ÁÓyt/Iý÷ <^Á±›ÀÞñqÆ YÊjŒ:Œ2¹VK‰dEøX„Ï·â ª`™¤ú˜r¾M³Z‡ðÔvR: Ít:Ú®>ó]ÃDÍ5¤µk Ç’z ™Yd,ÍÌ„X/ ib&L*IíCÛ ûO$?@Áº!B_±ptG ]ø¯À¼&ßW{éU‡«µW#ùâµ%Ò|A ~ ‘"¢þ:£m'Ô°2m¿¹F§T¦×DÏ*•ùò½ ±sƒH]å·ü2b)jßÁ½Â•qHs> stream xœ½Yˎܺ²ì¯èÝõÒ¾YH€wcv×^¨%yF¹©-©=ãþ÷)²(µä± Á,(QT=N:dÿz¸{ËÕѧ¹–Çû‡ùvdB{4Ôö§Ã›ëXÿzÿ¯SDHêWÝW‡7Óc3«&’ëh¼ôc35}çI˜r¸¼÷6G¬ &­nºjÞ¾$”ˆÖoÒ°åOÍË$O“±†â³7sN”à&šûa)§¬Š¶ò±Šrª‡à–%ÒpÕ]ÙWM÷B‘œHfÌ+÷ç©hBt\Câô«¦½ÓW5>ôÁ&ˆ±Ê­·8 Á ïæxb<Øo6D)jl\û)xKcLàÇ–Œ)÷ãÖD0žý9í@U2=?6åc ÍJ›6ž«ì ß.ªª®âR¡éºÆ{Á¨ÝdÆæÌŒ—¢¬ïÎEpLT¥M¯eY#`ˆ„‡7FSúkþÀÄa2ê9æ„H¦çf¬C„\®8ßøIb»Ir„ s*¢‰V¾"ŒX»IãÛP³“EwÁkݼZ#x¯OÅŒ8À5É<ÔEUœÛ:–¼ÆÖ3`¨4Eþ2m+Ú~Æ&—DJ-1wÓŒXÌE²¦ÆŽp–†pŽÁtU$pO#Æ»ù›–áL`ÿ©˜RyïÞ*¹¤ JBÜ…”$à«Vš¨ÀB4Ü9Ä&‹&«LŠ@Õν a)sêféâíñzޱJ¤6üJn 10¹(ù]©Êqlûú%v „À±UÊx‚$A9ìdp ¡Žù³Ò`V¾ÙÂôPOM8ýT´¡ÀŒhçtÛ9V _ˆe icí_nrô‹N^úKJ*ÄýÛá dóñËM>S éÃ}=# fŠ0Ü| *àpãh;EcZzlºÝŒãÖš\[[!Ûr£gÀ)ˆbQðñ¿ŸüLåâfM„Îo5Þj^œ/dEs%2ÝÞN1)Pâ¤n˜âk30@7ØÀÅÞîËqgvÆqÔü´ËqØ1Ȼ՛·]«…ðu0ÃdÌ”Ç3q$V­»ߟ2¬l([nûê¾9UþÍ¿ChŒm?³Kg74ñ:V¥8+ü¿7]ѶA‘xùipÃçQ‰ á2Ô—b˜•È„xÐYe\®ã< 84íZÌ E !R&«¦ôª ‚t›FÕ]BW\“öP„j&ÿ{ÄÀZCYò%c%n®ÒÖïR3€Ò(´g1æà($eÚøs"h<± ¾A2Í¥€³… .}t¡ƒÂCØÎbÃVõŸRkBÒŒÃFîbzYn·±.ñ¼^Z,'ìݯ‘8£YSjE»ÐËm›æPIÕi$hŽè"¼kè¢mqSŒY”ßÊ`+vœB Ž“pó"AP•z$ßm{ˆXT7¢ºéÒµçèüs4ÔÄk£¾› ?/z2“JQTÿ˜ÒMèg—}t¹—~¾_…‡RÜ$ѵ@@º’4pN¡ _.SŒ T?_ç g³êˆ ÄýE'Þ:éêçAßtãTte*®bÈÍ8–— Är!³¢;‹¨´õÓ"bQ*¼Ù§áZN‹ºÂY|!´ÌyÞëõõý´`ÉG–ŸK}‡U¹ÔG±™œÈWgIù3ª# ë¡ën."HS«-¢uV²Že%»n çrE÷üëŸfÊç*†s3 Q E1;ŸŸÎ}Û?|ŽÓC;ô>ݬR‹Î®®±Ž m-æ²@ÍjyÎá§f¼ÎL ÌÈÍ#Ëw[RàÔR7—–f üqÀàánέG¯Xüа£Ëëß›²¨Í·pº‰Ì&=¿°=fƒ|Id¶xUnÃ#C14þætL­Ë…¾­?‰sý#KÀ`¤Èù'e1è«ëßLÜÒ-U.;·s] dƒGíOWkBX±íËXA;cðLTö—5Ç‘,ÏH Æ¡ä(™ë²-†Å-… 7Wèó¯zuÿrË'ä"ƒ\ô¡oÛ>öšÆsÑóø—€¨©g=Biwåí»?þóàÿþßendstream endobj 75 0 obj 2130 endobj 78 0 obj <> stream xœ­XKoÛFzô¯Ð1êõ>¸¯C/ ½µ0ÐCÓE­-6©Tl#èïìkHŠ”’…2–ËyÏ7ßðㆶ¡þ/ýVÇ»w7,œåŸê¸ùéñîáwYl,±Š«bóøtG‰‘ñÖ† AÌFSM<:Þ½{Ø–]ÕîÜ÷ßIA´–^üãîîÝgtϱF™ÿǘð€úŒkHw·î¹nÂý‚m”‚ûExBñçܱáS1®ÙE ËGÿ$ Fjž5Ôñ:ܶœ›tºsO£ÖÍ=ãáôºO‡¶\‘B—êØÒÇ]] ËwOçpøð;—Ó³Y¼¥†(Æxÿáo"Ya³.¸B¥£aïB89#ÔÊlA}<º]]îð–\“†Ëô°sÉ5J¬ÆW@PðD‚þ‚M<©Û¦ìÞî·eïÂkšέÎ7Ê¡L„/öCw®†sD C43ù…—}]íÆ0…1«û ’B I§²O:œ4‡¡Œw9aÔØ|²+@—¸æüöuó|FpE K³}e¤@ø§€X›A< ª/‘aöBÙuå[ b< ¯Úf(ë09u-3l9~&rêæ©íŽåú\úɃc¬Ü¶q¢Þ ~¼§úþ|Œà DÇ¡äç^¹ã@(2æyHq§ZàyH‚< @˜ió´7ƒ Z® Bë§ × tiäÀÑ3TPÒTŽñÄÉòÒá1EÓ#NǦRÄ4EP[+€º’DŒl*˜€f‘ί瞈B´¥kó‡Sœ?Õl¥ž…&ôbÈ6kÉòàærÜþ°]ŒˆÚ. WŒCy> F …o¤·Å0«Êe¬Ö¯Äÿ‚²Œÿ×@dx]‘MûÒ,#›Öšh%ù À@Î׃楷Aò[çÈ”Ùõ„Û~Î XÑ œ¯Zöç_)–+v¡ Ð7P¯‰{+Êê'wˆusTä3ê¯çTíÆcÅœ0EæÙå—zØgÞjDqÑçd›)ë#g–ašÍ ˜ÓÞÏôéuæ%Ú×ÿá–¥ëš:õŠðÄ„Ý2­?ŸN‡:qd`¸ƒƒ Ú¶OLÒZ¤¢åáÐ"°ag¼$PÓ¹ÐÉUõwUìQ0Òð›‹ó4£9Ä…ccϵk‰Úqh±2¶k ‰p»ÐULíêÝÎ}-Uã–"U«›ý)§*p0†Kaò:_³xLÑE 2±˜ ‹Ý [§eûòîrç[‹wŸÊTíüñã²>»×zãZm 옕ž;Ÿ–-pÍsì€`›ln9£3ÁÕ§~)äý»#ÆøÝá`©ÞǪ¡P®z$·°ºehW¬>êaiß„LkÃr ÚÓÂŒõ›Æ–Ì´M¼^·w]ÆV@H`åü èvh£Õ÷ùáôFqÎIëJƒ)êAø*NÊiX nsR:á¤û0†­ç øÁd­=—Ãú*AMV%lÙv™_3:ÔÕH™º¡|—"® DÀ¾„·ÒâœoŸ–ZF°Õ#mœß 3bÞ{l»9Q-,€!Ï‘iCš—L;¨à(çt~Hd]r1~+XÙj›6fÁÀ CF••n=Îñs¬KæOéå@‘þÜé¡$ 5îÊyž ªËmÞº¶ÍOÞ˜mó†*¶ëÅ…ã@&åÊ:?‘=Yç[Yç/%¯1àª> stream xœÕXÉnäÈ|ÔWÔmÆ@+•ûr5à9ùâ (’RqºŠ¬&Y’ÚþwGn‘d‘Ö4l_ °r‰åÅËxñå@ ;Pÿ—þ×ç»/w_,|ËÿêóáOw¿rupÄi®åáñù.n`&±C aðý|÷óßþøøÛ%ŠIÇaÅcs÷së?iâ”&}šæjœýg戒*~ú¾q"5ϻ뱭æ®ñ¿ ;–~©â¹V¡òÕ8¥c©2ùk5ŽU8™sbÏ·ÍÇ*Ú`ˆ°Â¦¯]8ÀÆ×éÛ±:=§•V3…ûƒgLÍe6êÔö/ó1\Çâ CÜO‰±öÃýÓ¥ªÃg.‰”ÚÇÂZE8gùãt­ëvšº¡'þGiÁišo\$B.q/„%FèÃ=ãñè°—ÇX^xíNM¸ÎË™F{clBô:e‚Š)Û ä¬mNá7)‰“"¯¯š&'“)vr€R˜£öÔžÛ~÷‚ÝV`D0{–‰Ù«‡~®º>,çÄ0ô=[e1ØÇ¶{9ΟÂjF¨@¯ÞïëaÁRp#ü|Ï%*Dk⯋E~tI—í«ú&‹2•Ï}ëšH¤“7è8¢c‚0"4†.!N˜·Ù•ÇäŸõÑ+ÿ%^·kÚÒ›n¥EUÉO«‘?(Í&•›1*§ÿyÎÉ@ª´Y'àÇ”V_B6 Ä"²W†S¨¹ â²,¿ñI­”¾Iº„G£w/|ª¦6ybÒI¹.€@BE ,°±.m=w Ë–"Æ_cEAA18þšR µžmއBPdÀ·cwšæ”uͬùÈ“÷H9q´”vI4ÚmPaZS«‚”qgí¹j2C)mõ6ëÜaÖGö]W§úzNOI?9 +ë OzîC#æa®Ná> ûE.ó®o€.>!¿ž‚7ÙÁR ÑxqœDúÚ½¯ð²"tÃË€j #–ôpƒUØv[ÚW^FjýJÖÃùÒö>ÊSžŸ)A¸0Ùùªž‡s 7Liˆ¢È”U]×̬ÆÇ;_û<ä¡\9 ìçèâ °ÑïJ.(•{'Ùƒ†LQš„‡üN Ë0.ÓÓ”^ç²—å=• Âe³¯,áÄ9›k ž|@D6‘o×uM*”kY†HÍÐÚ¦¦}Ž¥jÀ`i=¼§:ŽìþÑt°ãÜÞœìa¥uxÝZ–²ÊðÿML¦ëÓ6&ß‚=Œz2âKÈ>t[§Ú÷úøãN=4Ûö\趦¾´óÖTiwÎÛó)Ä|G©´sÑ$ÎÃtvÔ~Ùš£©„/æU0ÛµOÇi{Ï™¸Ú´[÷Ÿ¯§b¦ÈB â5¯bç%"¦ò U" ´lÙÿK7Nsr„¦åò¯©ëÖÐQ¶çŽ@Ø¡TÐ&­;FhÀ Á⫬ôqR/»ÿ)µ”íªO#¶‚•ÆDGœEG~»N¹Ç2Ø\î+ë9y¬MñxH`£%Ž1m)Œ¶Ì'Ú*½Ç NÆWQòb§oV+õ3}J=¢–(‹R019µõ¤âýЀê Z!b“K­éM/UŸ-íÓ*>ඃ&ÐFPR#ð¶÷9mæãXR ]hþ´17ŠÖâîj(ª@“r8iZhën-˜e‹NèúDrëë¢L0>é&ß÷rõ£p›CL /hpÐe¢Í»6,Cƒ¯ðLRv”DUúñŒH!y®>'x0¡Är)hV´]Õ'Ó”ù[äWЪ¸þ‡ºkûºpÕêKD3UÑHx]ÞþšØ Š˜£9ÇvÌ^#q¤(ŠÀë‡9 šÌɉl3O‚"â(NC…S+î×vê°Prc;ÆÍë:”D"Íc@]ämcæ<}¦©Üú9ôÙÒέӟ†*kù 6´‰Ò(H°|v0j_5 È.ªÆ¢Tn7Q¦@h®Õ‰æNÝ?óDJá”&W¾yöŸ’”!Uš±2Í’Ìq}«Ë±«3g8Vš¤9M@€¥Æ ù6+ÊmÐfMí˜;¡ ð B·ªÇašƒê_Œ0NÓö¾T¸L+ÏišÞ 8•.æ2uÛ\#d%'Ì”Qe>F”c. Û!J9{s¦”ŠÕœèÚãð¨ ôݯÙyú˜#`æñŠ© é²´L0ÓœˆB—#n§««é <é­õ´)PPö1+ŒJ¾vãÐ{6üÁY‚P8Kx™ª×Œsý¿¤7þ§›N6Ê4ßhWôê·ïÛfù½gú!/ŸÚ »Åi™ñ¬äóðÚÆä­uùžÜUÕ£?<`ü{‹$8Ãç4ãƒlQ!~§w^úûç Ÿ®÷©äGÒiOµÿaˆšë%]tÔN$×J:Ge=‚yîú&sL”Ù;³‰…’ ̇ üeN¤ÏÿŽd†-ùí2\¶YiGúŒ³…çö”š€—ð“Ï¿cèþtÞ"úT„Å“» 0 ì6ʾ\ã H€áB‘¿úχ¿Þù¿"ú®¨endstream endobj 83 0 obj 2168 endobj 86 0 obj <> stream xœÅWÉŽÛFrÔWðè£vïKŽ rÈÅpÆúŠjI´I6‡¤FÖß§Ø5#Až[0ÕÍ®W¯^-óR`D <ÿÅߪ]½¬^ âmé§j‹?7«ÏÏB„ #-6ûUø€„1¤ …"¼Ø´«Oñß7ßWT"Í•†;›ÝêÓ7Ùq63‚Ñúlå°«»Ã|"$R˜Êxô—Kvà¤NöoÓ¥±³ùó3y rIS”µ'O#A@Ÿ yÜ0¾¸¹7œ’Þ| &e°È´µ"šHÍ?:Ôs."éÝl,̉zŸN¥s:Ö¯¹,»Ã TˆB¢1G³°Ö %r½ñÚGT)œò8”㽘}4 1%ÂÔ_Óݸ¾µÝø€À)¾Uòî+µ0jrj}õP6ÆéæÖÚîææª` v¨Uir­žëéèoCOá™f€0wiÃÒÓW6c”7Y´u·¨.%ºÈîÏ1U3w!…BZõÅÆ&Ö4ÀPœdMá&f&î6ŒIždËñ¿¦‚½í*‹˜ ëÂzËXÙ…š…þl„|ðuåÚ~°GîCw ˆ@‘¯¡Ú ý¿Cka>ì/±4¨&ô&:¥rt¶;–]eC `£ÙU‚>TÓ±ãÃ/ïÞqv·ýí]Ó„(4èq‘c>3³Š'kïênó Õ©ˆÆ£;5Þaú=Ýv´Ãkü\“ø£îB‰ kÈcDä®Ü4Þƒ\ÑÄww§ÐÏÁ$ ÍÝmóãiÛÖãX»nŒE"f)<®‘/)4±½u]_÷¦Â\†1+ó˜ý ]Ûr ÌÀ$’§,º.rÀxl÷tFŽŒ%RǺ­›rH;…‘9ªÐBŒ§”¾Ÿõ8%¹ĵ2oÄJ˜\P#kôŸ®jN5£>Es,íÜ¥ÇØç%ä)f5hÊH}5êcçd°fN ¨Xô.n Ô˪äzX¬¦YÞ-H³”…ÐkçBÄ9Þ×4S IºpÍkÌ–Â$ó²{ŠÎ¸É÷¦º:EÎa³„²¥ïC\S ˆÊ ÑèZ õ×Qß>ÀS—"bKøÙÛj ¢‚å’˜\˾·!ε Ê‘ª¯ƒÝ‡ÜB­p±ô‚ºí›ºŠËžßlqNJj—ji—vˆçü· ¤“§Xî}—psßïG†ºŽÒ'yJI†¥…>ðï¶ûÓXù4û¬èxT°r¯lØÚa›—:¯ÿ‹ ½ÒaìÎaîÎç:42Ø{ìÎ$çó^¸Sð¶±mP–@”²f°Êsªgûß›âßÕü÷è´4ïendstream endobj 87 0 obj 1232 endobj 90 0 obj <> stream xœ¥XÉŽÛFrÔWèèÔì}ÉÍÀ°8¶€äJQ==)“T&ó÷©fW7µ0ã,˜ƒ¥^ª^U½z­oKJØ’†?ü¬Ž‹o‹oK6ÚÒGu\¾Y/ŠÏ,’©ùrý°ˆØ’ AìÒPC˜\®‹WâÇõ×gDj#aÅz»xõÙ÷í¹ v)ˆ4Ù+ßãb'­EcÙlG£&š+ƒÆ·–ÇÓ!./>sµtÄi®eðdÅœjørÅ XÇõë½ïüxŒ"Zq‘ÎŽFCsÉÐØ6K(·.9ñÇè,q ÎF“ïÊøÙaEZøL†P#(O—Õþnƃ!“ýAçp« Éã6†f ¶”‡§æþÂS×~õÕГðÕŠ+ȼfËDP‡˸ËÎY¾2˜4±‚¥s|¼N@$b.ƒ]0”“˜`æ39õ96!7AÄdö¸j·õҡñ¡!"•»Îî%eW·ç K›²~(›Ý¹ÜEÇ$#Ú9w]¨LÉTJÞéPpç1®§•Îþ!`P‘ΤC615%StÛ1EŽXιÉ):´åÖ7® ƒ ²ÁôÍg×±—8Óæ'Êçp2<ùÑùSÛ×CÛ”Ð6)¦rˆþ@/äzÞÃé§¢xz@JH¹KëÉà»îy“Á¤És7´ ©Zr~w6~YlÊñ‘šéÉYŒ@˜ 2ÖsSM=u5Ü:^)ˆ‘4aYü¬Q„èÆzP)M¹âåXB¦ã‹È2P€¯Sj仕€ 9SKø‡ðq c´Ò$G>`Á„o´©©7¾œ|UÿP!¾Ôeß_z÷7Ä~…PVl±ÁxÆöP?"ÉiúD—SˆC‹ËË”½÷‡£ùĪóåàS—©\òH3@ :Sʱ²9â­ïë]œ€Dv?Qf ×L™³C gÄ0ÄJÕï43·ÍPâr )Ë^œxåyØGO`†S™Næ»`ÕËîä÷Ýùs ª~àUòuŠ÷m³ïIe^øUO®Ñ}¾–©ŒâáÐ"æ:ÏŒ§4ñ`MRuŸ:GñLº±4œÂäÂ^œDN휲˜FDŒf„f„ÇHG•yyO±sS³>”›8ʹ#”ý÷¬¢—`C@ÈQÙÉ8è~‹P @*ë7)©|›²÷IGZeS°;߀Ž¢w·¹•:(»tÂÿpÅ&î2ª]…®2šeŽã€•˜heœgE"/%&Zl<*c²Œ1MÃ3•AWÌ¢*(Hm×À›%HË f¨î$Èæ` ³ØåÚv‚ìÒÔ]m js¥ÍŠê>Ñ-D)'îA„ñ€²¿y :).\¾Ëd­Ú£Gmmiž\A*߯-#‡k#röß@ª01Ê"Cú±|¼W½ñ~hAÇr%œç]ÈUOô5¦í–5GÛ ²†"GûgŽ£z¦eVøMÚðbÕö9W dm&ÅsO°]xšÛu‡2í®~ Ðëâ²~Þ¿)³øtÊADð¶‚Â{Ç™Äï/°aä¨}I\ %Jç‚á1‡rzyLãÚºÙja2K’#¦Õ„¼ —Óù‹ßÛ}?q:˜Ó+ÿbò7&Òøa6-²gœ¾LË©V(«-'Ä¿Ë nÏɱ€d–{ihq`Ý«FºFìÓ—uM.냮®óÓ_˜ÔG§²zL:Væ¸}Å]“(Ø^䆋@ÿ X¸ëë¹HE×qw±r NÊ܇ÙÅ@4Ûe¶üŽÍçùÏš¯Êû f%à˜¢ÞCÀIY×®ø}Â&²šþØÍ<ÊÓ½x:ÕU_@ZCÆs€Mþ!¡/‚D‹.šð“DÚ´)ÆRÀ:’RMÏæª½oœX..¼Dd:£ˆ€…gˆ ?ÕÀ°EÔ\øæízùë"üýXÞnðendstream endobj 91 0 obj 1667 endobj 94 0 obj <> stream xœµWKoÛFzԯЭ)möýè1EQäP4M…Þij%3H›¤âúßw¸»3$-ÃÍ¥ÐAÀr9Ïo¾oø¸åLlùô+ÿõeó¸yÜŠt†õeûq¿ùðŸ­,#·ûã&¿ ¶B)æ·Ž;&ôvÙ¼SLý´ÿº‘–yí<ÜÙ6ï>µÃXÏM{šžɤ¡<ïãt( ÜÛrø±êÓ¡gAYQëî®JÇxP²œþÛØWcÓµÓ3+˜ýþR=Tw͹Ÿ“_ǬÓh­iÇ.Yƒ¬Qå´šŽó2]Ž>÷p5ö?NO4gFZt=LG;eq\mwB± Óƒ¿§ž #,ZiúñZ§s%˜QÓÿ½ªï›6åõá‹4[(ƒ•ðÔxg-3j²“š)›¯wÃX¢Za.§Ø^‹¥Á-GëŸáú_uß<¤—´ZFÿóJI@¹§Œ¡U©4B3§ó©”F).ÈDWÇõɈ¶LƒÏrugZq4q—[-™àÚ”³Cü¡‡Rï1\ëû”)gÁ Ih©R*Â1Ã)4ÄP2ŒWSÏášÜa¼n“ msC mË=«ê¾RÒOe¢øšcIð‰¶±íX€î”Dø|í4ÎPx}w=Ý—öX%Ý‹¸ š€yò¡‡Té.è½Y¿ £©—°á,ݘ¦Seƒi Œ£MóÿiÆ!ößbÿäp¬Ÿàiù^Ý].U{`©ÑžiA9Âú(¡±!ÏÝ5Ù—ðÜþ‚¸R~0 ÜANÞ—Ž?¢Ð+Xzµq‹œJq`×P´à.N 4vu¦8ëhÛz®ñãje,}vý¼ã¨ã=AdEøàCéåµ"†c‡ß;~±Ê=¡ChZXmmß7ðÚCRþx°â]ž‡1^Ï><^3woÈñ)⇤‡$±~‹N‡= L¥ÌDŠó×ýöÏÍôûï5ú¤endstream endobj 95 0 obj 1475 endobj 98 0 obj <> stream xœÕXKoÛF¾ëWèԢ;E{h‹>=´®.|¡HÊbB‘2I%ñ¿ïpwgI‹Šëí¡ðÁÀp¹œÇ÷}3£‡5%lMÇ¿ø??®Vkæmø/?®¿ß®ÞÞ*³fŒ8¥øz»_…Øš AìÚPC˜\o«Aäëí»×ÄJcá̶XÝüR5C?š%–9Í{o"†¦£©íF“„kf¢íç²)»l¨šûñ™¦D+‡Ï~ ç9Òâ×ʼêËúÑ_® sNÅáô§-qÒâoˇsåoŠH'ñ’ÂU„1†ïÿñxܵõh{ËÕÚ§¹–c:6\I"©]o¸$BûÓÛñ "ÜŠ´£É)‹–¼+³¡Œc"Ì|¨n!0Ô]ÖåmáÏBÒ£Ãò×2¨¢£æéûVWv>ЄªœÄ|¬Šáà}€pM2gMÈ&Æ(4Êêþ0¼ñ§ܯ§K†C{üíНD|Ð]9ä‡X>É Þœ]TDÍ%çcÖÄHøtò?+6£y#8'FC²Žîêp#T¥ó!­†P#("îSððb(COe·o»£÷\Å4®z·oëº0ÒÎ¥èCxàwÒ¥ÐËSO¼ÏŒê´Ÿ QÁí¦Ú;¢—óÚYBgµÛe}•û“’P'З>RîTï΃Ÿ ¢$ÇÐóCÛöÑKßÓR\„© ))Ì®¬1x#Rëƒ/!1ޱäm3,ß.²ÁGÁ)áSEP†¸ P×ËäÏ1"&D·§¡j›~ì>jP+·ˆÉN¥ËÛ®+#„+JÉ¡þÔ6Å”fÑ•²IôÁûƒ_xèM³f)¾d}ô<ÂËBî’UçéÎX#P\9—PNEE¬k dâÚËîÐeM_G8]ªеPl§Ùký9Äg+Æ“cÙÓ<Õ>¦ôí-ƒ:Ío—ÄÙ”ã]; íqS—ûáš+R-”š Ò„ÜBA ĤRAÚ}5cí¥~?á#Èb¿$È,’)Ž©­š¥NNW9Ãþ甲nól,æ×S¡Ð5eÀ3Ÿèû>ûPFPC£Úþºº‘‚¾þjÅá *£¨/Çã“Ún¤¢“uwãŒaÒ§-ew¯½x¸y†î ò¼>åP~âÚ¥Qʬa"kÕSf±ál8…\_ þÃãû®ì‡¶{q!JX"|~ªEoBÎð†då“×ç¦Jª‘N]{ê*@cXK”&E•Š2dïqö`°FˆË†‹‰N¾p|rÝ%«ó1ôRüÒ|œçí¹z¿Œ} aäܶþýw¼BÏ”áßRßžá7Tê[yl˜]àæ"Ǧm±MŸ*éQ„{Œ±r„ wF*çôøB^z Œ£—‘ ÷È«‡þΘ<鄈—–; ƒaÑàÒlÚÊús=ÄÕDª$ô=,ƒu 8²iÃLÐäHîÁ45¸]‚›–imÆYPë+³ šÖ`@Ù `Ò4)Eu,›ä1äZ¼ãîrxr}Qöi,„F9ýBcaœñK3þ¸G•£\`=G9ÀUpä “ÐRvA$ü4òìYò ×Ïo¹~ç„ýOL[îŸù0H Šn´çÐYAù¦51¬Þ°ôsg^P¹yÒ²âÊá>7ª«Â¬<Ÿg¿ƒÀ«~KÊü6+Á%š®o~­ió»öÃGülU_â=О[ ;: ÐjÃ$Œ¢A‘ØøäÇíú÷Õø÷é(™oendstream endobj 99 0 obj 1643 endobj 105 0 obj <> stream xœVmOãFþž_ahPàÀ›}ßu9ªrjzªD…´_êSe'˜:v° §ÒÿÞ}5 僣ÙÝ™gžyfvPõÏ}'‹ÞCï!@Ææ?“EðiÜ^3 "Æp0žõì B€ Ñ`¼èÀŽÆ÷=̤Bª=ãiïðªÊŠ&+æz…2@ö+Y¡m+Ç’ûÝÚ$œySZåÚ8¼Æ,ˆ@Ä1§Ea@“Aˆ) ÜlßeµAä„y&4 ¯ý˜,–¹± ¨ˆ¨³¯³ÜC„q©30n1€,rÖÄ"å‚t™ÌO¬¸Â~_93`PzD£óË•*¨BúøURÌWŠ\ƨ÷r›6ë45„(aÈ-4km‹€$˜ R›$@ µ9Ì3 —1ØVæ«å%BO•/ å”mozŸÏ=_¥–h8"Þ¼¾³çC¢¡Š¯&Iž§S§ Ì w=«Ê…#L¢¾a–+UâMõ]j £vbÔ–+Ïþ6x¡bÒÍroo”.¾·"btSDŠ|¶¥fN FÌ}W6É„' Ó¤PuKƒE¨E }ŒHH$9 dV•6° ÕwWŸ\¬(’¾ù²Ú¥úíÞãˆaÐŽïLÚH€H"Oï¤,š´hL¥,bÛš„@ÈV“ó@0ê+ZOªlÙ¼Á&B5 ß@³EÓk)`©!‘c¶y#€þ§’º…ê{aVæy麔GÞº~g…™TaÂ}·7\ÕÕð6+†K7d"‰!ß ¡é­Ð½šWuê´/ñáë¦Ê&Í©9àWÌi–§ÙŽ3ƒëôa•U¶•˜êaêѬËîö¤š¯ºž£pÅšh¡f3_~Ì}ñâÃϯ?ÿ±w†ã# Eª}Ø&®r™ñáÕÍÉà6©&å4Kër½¸ã#7¤¾žžº!ŸÓŒZ± ~Îܨe*è [”M7ÅY¹*¦Ï"PéÀÓÞÿëì¾ÌÚÁàäãÕÍ.)½z¡´ž—uª3ÑæAÏexá§÷àEôýƒ½«›ð|ZÞ¦¡šêq\ìÛ¨~ÛG‹a T>«à Ž»ù‡á§Ñç_.í#ªBí ~½º8ÂÐÄQÃC@å*Ô#Fºzžh]‡t"Œ.²þ©¨¥ù…#'öÌÞ°~ìÒýîþ^$·¶ˆTèËÝO©¦ì:X&U½£ÞåjG½ÝÐyaLÕåœ4i«©Ú™o2ÕÞÈÛ!úèe ©SUÕ.¾u­ý쬯›æOøåÄÍiÁÛiOl§Û¿?ƒ§;°d­#ôå´;ðûÙññÉŽC÷ÇÇVÛölZPݘl±Ðã‚ð1ø!Vo¬&Vn‡¶¥UÿrŸ©ˆœØôéö¶wƒ‚ªîGQ«žq¾Ù8PÇé߈vʸmol^'_ÓÍç¾v¬ÿØ‘hÂF=§j­¤çºž‰7#¨Œ²]•ÐŒNòÕ4mÒÇÆnê ñö¥¯¾î97]Ÿ˜QLå»HR7DSV‡Us ¨^A>‹½ÿwäÕwåZ?Q[?¯ÝÌBÀÕu¹§2O–Ñ8ø­§ÿîÛendstream endobj 106 0 obj 1196 endobj 109 0 obj <> stream xœ½YMÛÈÍY¿‚G/õô÷Ç9ÄY/2‡l’Ýrñ…#Ñ#:’8ÖPqæßïëO65Ôx¬–õøØ]]ÕUõJþÔPÂêÿ¤ÏÍaõiõ©aË›Cóönuó³"‰š7wVñÖ0!ˆm 5„Éæî°z#¿»û¸âŒHm$wÛÕ›_ÎÃiì¶þ‘¶„q¥ò£çÃý°úîÉ?¼ù™«Æ§¹–~—µuD9îš57@Ã+w»ÎS™Å,¯óaØï‡kçú¹?>s8±Nfô©ÛŒýpô#L‹ò`—D+SÖ†áä”[°1™ ç’å·çGQ‚AEy£Ã+8†6¡íiiÚ[’A™IîŸ'9͖Ýééa F¨3ùQ\{p-'\ˆfͱ6<ÚìÏÛä1<4̼܃ѲGÖ&̉ržÿDÈ8ÆrìÛ~ßÞïÃëÜah^óC׎çSô•DR&J,OÉ努†®ÝìHXEØw¼ÛõaN‰æ"oºïŸÆ´„s2ß‘Cûœ¨L¨¼ÙqÓÑ”ey³û.ùYÈòöùq=ëm;vÁ ipÏŠu·<æˆ42[Ö‡u-Îñ¿íÏ‹ôàŒñ¹ ˆ…á1Ãqlûc ‡4®øôwóÖåh<Çݨ`‚Mˆ®¢V½¤Ô%ð÷¡c Qºø&Åa¶ÂEØŒf/®8œ–+ñ<œH]‰Ï©ûtîãÝGJZÀ¾cŠ‘0ÅŽÍ®Ûü;ÀšHËå‹ÃÀÙ™§á#ò;,M‰¥*ûþi8Ÿ6]t4²#!&Go»êæ‡§ÄØÉ}§çT ì¸0Câ^&qŠP%•Hˆ)ÇÜälgI¬°NwJ…J +.Ç›5ü FÖ%wXi²§ßýù§5q¡gU4×(„*VÑÚ±]ª¸~/V.,ã)Põù+މû†„)¼mÿÐO‹öhT$ CÖØ-–ž¿?ú’¼Ø¤¿eF±r(ìÙsßÝ5ÿDÒĆvWц£”j… D´õMíííêæöoÍx:w«›5luóWÿ×Ûü·?4X½» -w¾¹=¹óq©‰àºQZ£¦‡Þ÷cLŽÊ2æ¨ÎÆy+QSá`§Lû{§dm®¼ÊÙXl¥üÅ æõG_á»±ûïøEçidýÆÎCm­¬{wÌ"l]ww>Ăǽ0ùʺv[^ÐhC<'Â0C¨¥ÛÄ¿L _ QW× Õ4æÖOø¬E¸%ÆÐ¼}®øèt&[úñœÚŽFnd­°”BSjp49£/õÀ¬”tDZ;E5€bi§6‹%lWSC[,GSUH¦RAƒ©ÞYRl©þlŠçclÚýæ¼o'Y‚ì/Jà<è =8ûçr³¼>óÅú3‚Þ£VI\GÛHápˆæPŨߩٯ~uˆ–V‘"0#ùž*ÖåÚù7}è@@M÷:Q ªƒnÐÞp ‰ž€š>YÍ ˆÕìð}n õz®â$àŠVx!ZÓ#0_ÓÀ¹²&E`Fr”-*R®8Ê CTÍ߯œÛ9ßkvjº¥hF…“¾/Ÿ[PÍ¡Ljv– Ô¢¢Êš™ÌV=]• ÌIè|Pò)sj‘©9 &(]“"0#qd¾¬üœå¨ˆXkz®x‘ãÌÔôÌLÀ–„Öv&àŠ«…RÄÕ‘IÀ|M‡ªakR®Ø‰O P=³5¥¡dÆ ßgEé,»30'aíú²fàÊy¡ný :]ˆÌ×´˜1LMŠ@MºÖîôp%ÞJ¿CŸί‰íœ Ï%-é¦b„LœEZÙ—ûM,=A¹7Фܜ²îúŽò%Ä_®µðâ‚]¼´ƒ †¡4"Üǹ¨÷¯Æ˜¯KoØ¢ã/ãkþ^– ŠêE¢(‰ø³ÄýCRfHÀ©Õ±ï“ä¾®¢”Pê¥Þ¿qÆ"ý©‘˜"øûïB·Ä©ÊXúþRkƒ¾[¼òpnOÛÏ»Jã±ÝtqåU¦Ç®=FMûbÍ]ø¾=åaårL˜ÿ #Œ× ñ—‡ûÅYAÛ¯˜lT]rš@_™|ߓ† @³ TùíG1¯õWŽŽú}æ“/¡_;áÍþöÀdÜÿa¸¦Ü8J´\a¨ñàüPçRÃFÅd¬"e "Õ"·Õù5±” ôTôÊz¤BMO@m‚Cã1¢"e`Ù‡uÍŽß+²€ Q¼<ÙJ¯Q*ví…Ð £R¡ ^ G¸ªI X´úNú+WѰl£Ö£% ¨M`¨óŽÕ¤ÌH˜Ajç`ÿ"ؘõ¿.×ô,ÛÉqDÜ≞ÚŽPÔžJßgì"XÍI@MHXôÌHÊZï–ɯ¶+RjZŸÒ“{30#Iã…tEJ@EúZ!e¹ÿYå’ÁD!uMwÌ!qEéÌõzUHeèšN»P:Ü@• ïoœWº0¡BJ†;Yù·Ÿ8Ò¡e«ä8‡Sú÷ 4AHpCL»àÊ}EA¹6ÿ›FòBÃs¡ 9hQHü‹ †8.ª•Þ¿a¥]• $¶1¯j#ÍË]h£¤­´Ëºs×õ»ñO˜(ââðv. $è&㵘Ðeóo¼3å´ìñBÃ-.õ£(ÀBHýŸ_KGî*endstream endobj 110 0 obj 2042 endobj 116 0 obj <> stream xœÝWMSÜFÍy…ŽøÀ0=ß“[°q…CÇÙT.\äE6ë°`ƒ¶’üû¼ù’FY L\R[Ū›§ž×Ó3Ýo¿6œQÃÃ'ov«¯«¯ E_ùÚìšÓõêä½¶ óZ‹fýq•^ †¤d®±Ü2RÍz·:RL¾Z^ ܲ˜õåêè÷w¯î“÷Ò4žy#Œ aŽ îXf\¿iû6a…®±B3EÂæDC‚)#DöÝÞEgÖ9]p"ã¤p—ÛOÛþ~–!ƹ6à£Y¢óË—~{{s?ÇH)fMc˜4œSسuó+öR1wê˜o„âïc¥ ߨïÓóÕÉùOM·ïV'4´:ù1ü9}÷_çošïVgç1Ð|Q¦|JQ„'fF3.bYÞvm¿¿ë*fä¹)äK²aƒAÎÐ3‘Óª&ÇY¬I<4Ö1ì±Ñ¨¹‰ô¶7›ëýe×w÷nžAÕ ožÒ5»³›öÃuÜ;ÉAA—3xµßµ±ØÂ3ím9rw]{9¼`yQîA}–q+y9Œ)ãËA¨†WÈÝ3¥"òçÛ¾›=‡Â1kyYþücÀxF¤laúy—!ƒ»a¸BãÕŠik ó6 #egwÓwwÝeÌ“˜³ ›ó¼êâ¾€»–ZŽÞÛ«nóg\Oã2 UóˆnÜf\ûìÞÞ—Ü´(ilÚëÍþºí%Âí/ÑÛ}»kû-0×ÿ 'Ë!c‡¥þBÑ·hU ÇÑ5ZZÁD³†;ð§æzõ|Æ…ç ”cÒK¸Âøð\Ó£†xHîÜ¢"¡ž“èÖHFºÑ ÿØ æ‹õpÆp2–wR0çp6";cCÛÀÉ\ˆì9n‘ÀÙ¬Ác1„WÆNæRdl•´#8™óœ%Ç€Â\ÌùÈ’ãæs;‚“9ÏYrg˜¯"'³K ¶*nqLA˜„Ö× äXHˆ´ ó²,›ÍŽä îáNæBöBžp6'\¦¤ÏæÂâ8 h#8™ iI4(>FÎædq‰¡6žÕb.,.=ºJ/™“x ÇŒÕÎæ‚5´!ÉœB|P'Uù²c!OUD]íìXHCcEè« ž ÚéxlGPrÔ ¥QH$gg¡¶LÆ£‹næaÚ4µ´ÌËAœ¹€ÁE°rÐa3.ý ªL ÊšÎk”9¹øá‹tèR‡±ü!ªJ§Þ€˜Ž«#ýwè“ÅIÁ¤9`«|„¾Ý~Ê2 ÕÖ²Ì-ù} ±(‰„Ì„k‡±/’ê¸8 2Ö'åíÅ«ÀäMÉæ¢–Ms€ý—M›å‰uTŠó¡½ÛÜ^v™Ðª^Y0‘U½šWõgÏ«êmÒGJR™àsšÞ PôªÑHõDE¯½7OPôJ¡{yE¯0™í½ÂÔ}n z±&ÕS½ΆùñÒ‚¾b÷?ôùöhMô zÞê9=oB«øF=oÔ³èyÏÑóP·œ‘k$GÞ¦5¨|™½¸ hRÌ 2ÑØœø/A®º¤ˆ“c1´GSƒ²£Õâ–£ Ë ^ó> stream xœ½VKoÛFbÎÁ£™}öV7êCIôâ #±Ž ˉe éÏï,wI®jÊ©‹8 bVg¿y~ºWPéô)ÏÕ¶¹oîögÃcµUËfñÎz…ÑZRË?›ü*d† ¼ö€F-·Í™ûjùWC‚ñA0ËusvùÃ/çýñâ;!:r&¹9pçDàB~ÝîÛŒ%[cÉ‚AòÅeï΃aÄr²ÞÜlö³·0É-œn±/ùõÓ~óñîaîcÀ;å€ÖXör©ÞJ† „>þs$­Èh”ólÒS²xqÕ,®~VûÝ¡k(l?¥¯‹ß~”ÇÕkõ]syÕ;šOõ1Ÿ!Õd„ 3gASŸì7]»?캊Fír‰%ú”6!çð+‘³¦&§!Ø¡|+ô¬TÒõô6w«ÛúÛw￘<‡:ñ|Ñä[³»¼kßßö¹c-ìÐYÛ¶/6E°ÑÛr¼ëÚõø‚Œ4t÷¾Ë½¨=K]òYqãõYÈlòQÆ-(k-ªíh:mÔmó{ƒòë(/P@©uÁŬÁ“w &>³Yƒ)G¶=ØG™‰ œÍž£ŽàyóçhMꃜÍSžå^ã'p68Ç(g¢·j€$=Ìyv¬´8›óìX‡ÚMàlžðܯ±VƒyÂ3Úål•¦ÉÓ„Èæ1$pS(Åœ¯7ËtŽØlÕÐSã„Ès{ŸÕÉ…Ì•Ìo¨˜Z>HÏ9FC?>¢'Q®>êÇGv¼—Ðú"IJ‘½¤KÂ`ᯥ]PD–8Fˆv!•ê©ÈæE_ ©ŒTòžx³¹);VÒiy˜pû}ÓûPêAškW×gQ“ÖׯҫÆ'éãâîúßÛÒ{päMùùæÐîÖŸ?löÝçvÕe(»ÓÑ ]{gËÚŠ4.§÷ínõqÝ®Oh¸‰V6dÑp7¯áôu5œ^\Éc4ÏÐp“d2¼¼†›4xÏ”pc¢û6nŒož+áÂÓâ}i ¯Ø}{ —ý‚ ½Î†¹—£bÊ–•B.NàbVàÚs@!;‹YYËmÈhA,‚ü:BŠ9˵—1¸˜¸R”ÕÓåƒYŸ«!ÒÏògV\È?„¢!üXœ ü ŽJ:/f% ™—êLQ‚ŒàhõÿçÒ,0á°„@ÖXáç¾$¤ec®]]ŸqÈ;\:ÔwN¼ Cÿ7 Ç~T`>^ÖœhAî)¢óž>ÿ»úendstream endobj 121 0 obj 963 endobj 124 0 obj <> stream xœ½YKsÇοbq•,Ãy?|”ÄTx°å+¹è‚+IPGÿÞß¼g´»¤«b¦T%àëýÐÓÝÓ3ݽü4PÂêÿ¥ÏíÝêÓêÓÀ‚,lï†7—«³Ÿ”#N)>\~\Ű Aì`¨!L—w«W’˜¯/]qM¬4œËëÕ«‹Ÿß|ï¥g? =8â4×ÒkYgÚšs¢mà¾Ûœ6‘ËUËåŠHÆMÒè<Å)K’ýÁ‹%ÆZ•dŒ'Rsžd×»_v§c°Qet¶ñ8>Œ‡Íi¼ö$%”[™mû‡ÃOo?ûÇJM]^å·Ýé&èC¥È?ºÞoÆã¬×Ìi"•€×ŠD§ß?œvûûãœßÕƒ&BSʲçž_?bÃ$±a;ÖŒÓKʵƒ6BúOlꛋÕÙÅwÃéð8®Îþ5°ÕÙ?üo~x‹‹wÃ_VçAÑüÎ÷öäç6qX¦böþïãæôx˘£:ç­dÆo#ŒÓìO2NÉÖ8JÂÞ‡Ì4–(˜§Y:˜·»ßÞ>^§ñ¿§gƒ§‘Hò…ƒ'UkÝùýæê6ÄN ù¬Ê™~óx· ›ÍQÎä¤;Œ›ëòM˜ã9‘Oc<Ôš“>z<=~ »á$|wDÊÀü~gó[b ÍË_|ôüÊÔSþëã1,Ãüe ûƒê+'µ;N”¸‰©ƒÌpVfòxñP Nsù|nÆûtê(Ãa*Ò©Ž6„N-…7Û—÷’UÉLßތۧ»R.[o‚˜FYŽøî˜¤ u»¹Ý>®½|Í$ »±Æjãp›/(²Ìdã7§ýÝæ´ÃãåòÖâJ³PüRj‹$’ÝŠ#ŸøpWN#kØp»ú2mý÷†”-Éá„‚^®ÿ>(Au 'جÔy²AÀeÉ6äj178š¬r#êŒ@=q¶02œ_Ú"/lµ3ÃNŸáÄÈJI°¥8Š“( %ÃyœDé©ÞfØé³†ˆêd† EPžÍú(¨ä5bÍn› Fg*7ÁYGó׳®)Q­ o\KJ‚Ž„ÍT3ì(0EWFDóNp¬ «¶ ç@7¹Wà|$¹Ã1­áɰµSæ+Z¦d8¿¸@/àD%'8ï–°(øæÛÅ¥PM8¿¸DíUU_†>§ÚHf8o¶˜ðr” œ_\a54}5-² ]^ÁEjZR4¤¥Òɘ˜k9¹’0Øëd„Ãn_¼j<üðµW`Ar:‡õCÛñÍvÇ«ÜTÜ$½Ú¶ûë1ôÄÔƒ¡Âß8õØéÔóZÖÂý¹ƒÏ?cbàlÐ2ž`2Im <‘Ö䄼¼»©urJfùþãtTÚÞl›-z­ãßÂäO¾Í‹.ÍL›ûа0ÜõFé"ŒRå&æót\›±¡6oš—æíøùîj{|&?$òÂw˜RÒ<‰®IjF×YÙ뿞}óÕ\óÎJ)ÐòñV™Ý@”ô|X “7ðÙ!eˆË?2Âeüô!цøîðŦ‹N‹Dm&8l›à$¾ü&8IQ d;Á•NüÉà1†ê…ƒ‡«¤1¯á8-#\pWËéäð| „Ó_ÄàÉ)6‡õàE§ØÕZ·‚vCþߦØg£…²#õ$cv÷$h6¼xДjün²Ã_¼ c¼è-úÏéªpÌL 8Ʋ(øÏe²ÆÝ}ºz™£æÙp1nr.˜[íü`“ ú:íœÐPJŠê! %ÁŽRÇLßáÂæBް×g¤Ÿa %Â–ÒØ§¨ôL&'¸°¸¸˜U%GØ‘VkÔ´°´ÆZ²†&ÁN›F%54 ö-ýüR(.8 ý{„ê@‚ öTot ™œà‚f£ÐN×}IpI3+Ë*9Â^³ïàª[ ö_|]¥DØS´ðcC¡D¸à‚u‚Tw#ZpÀa-^õ&¸ ]9i¸µTÌò¾ßÊŒ ç—Ó¼••áüÒç91¢’#\ÐÌÐ\ªª9ÁÎR†Õ¤©”{ Ú\á*%ÂŽÂ)÷M¦$ØS°8« %¸à¥@¨®ä{}Ü«”;ŠÜMÕ’`O1Œèª%Á…pJ œ²œˆ ;}R2"êÆ'ØS4ÆÖˆ{ JD³N@ ‘R,¼¯ÎÜPójå´¤§i¸.èÕ(<ºº”`ç’F?]·"¢…¥µ¡DÖ¥ì´/Qó-Áë ã5œ öú,m£˜`G±”–çþ{ÿP8ß„”ç.ø’ûXÈvúuÍE˜á‚N¸¦êdØ’_° ÛšëPЉù2aœB‡ò:t Š8Yºƒ·SÑû©èÝTt>­§"1¹‰¨þznòZû7ÌjÌ7šêÂkûÜkæÐÁ[Ü¿þ^:½†xûþÝ9æüø†AaëeîÌ>L&F¥ÊX> stream xœÍZÙnÇÍó|Eȃ˜ÅÚ¿I”Œ•Db’½´fZbÇä =‹då ôÙ9ÕµÌmM7I¡aÐhΜ¾uëÖ]«õKÙhxü“?—7‹_¿4bÀÊÇò¦yz¹8e\# ÆÈæòÝ"= ¡ó㎠Ý\Þ,¾Õ,|wùï…´ÌkçÁ¹\-¾½Ø¬º3!}üŦ…×ù—v½è’ _Øÿ¸¸8þäeyàü•²M`ÁJ«ãÒg‚s¦nÎð”õÃ#ÏÚ}›¸ÒP®4XLº,øŸ‘b™Š×õ·}ûöºtÌròëÃÍÛnq%±k]ðÍ»ˆ Î÷&cO^_¼x1ˆðÌhYd/¯Úm»ÜwÛ]üMËøˆï[ÀLÁØ în»eß^‹r&¹•ù‡w‡õ¾ß¬‡`>.Ê»O7o7×»ï‡_<“ò(kßn÷ýú}Þ²®üò±ß_EôLÁŽ–€¡‡öWƒ„a‚ëªèíív#í‡ß´Â9»Ñþ9ãÒ¸/÷=¬˜VÕ$ï6(4SÞ“N®Û¯û}¶|Ih9'] YÎa×íÙ É1H—§î4„õ̆*îæ°¶p&C€É¬!˜O^u5ø`©MÑëÃ`¼(C]r+¯”*š´ F©º޼ßo¶Ÿ’ŸÂ‰Ÿr68SŒ( ? Ú7ÖrfüS?¾¼ì€P3ªXMLù{ Ks^R!ÉU² 9Ê‘ô77Ý*žïõ ™‘LÚjÑw›ëëÍ`Òh´P=(ùâOýå1jfe=Æê"Ñeg\Ä2îê’l2æž„O–Îæ¯·1"vSFКÁE”Ó„™Ï/›¿#Áiæ;Á%x#lí­ƒaÒÇ$øôÅâüÅOÍ~{èçÿjÄâüÏñ¯§»ÀÇ‹gÍÏ_ ‚¦3åÌ‘x¨®-Ö–t®]»?l;¢ Ç‹rQKábƒrÊýŸ”›õ;á¼ r˜µƒzýzy}Xuûî×ý½ÆSNÄ\ü¨Æ³†j÷|]÷+«k]i9ŸkçŠ[m»vU@B ²”›”Ù|Pñ’3ÒŽ`-$p穵–WÝòç~ý £IóøF3†*ùSûsŽf)k™È_Ã.#ÄRMß«þ}_¾ÓUÀ‡~׋(ÕŒý:K¸{€¹¿zi RqLÉþT£^nöÝdÐÃ1œãµ"§…e¬(e‘!½aãNTÅ×›õÙí§U<õSÍt© ÇR³L>†J£\íÞvyU‚QŒ WØv«\†¨y÷CßæªçHÕÛïŠUk·[¶·Y*OEÄf»ê×mÉéV×ãËEÊ¡J•ZÝ^ºïsÒ¶ºø~®ÇhpþµH¥•U©Büµ½¹M&º+(AµRñøLQú™;~g¡‚+zcòHÖ鮉¦Ó¸Ñ:O.þrw=”8Ø@ŸÈØ]ËØ€vÎŒ¶ß¾s€.O…¯ÛŽB÷ìùh¯¯ø^4¶£•Y 4cxí _#Ku9®e°åtÛÂ<¶+ËvÛí³¿åÆ göfíª7ïºí‡ÜЂ]?y³@KáË.Ú‚~ÄÖÙ ÑkÁ«ŽŸS¼±5]ŒâRs¦BË”žbæ?mñ`Mk µ¬Àø1XI¤ÁŒ®FZ»»ï !<Î$pË£ëÛ;}Eéxìž>Ò—á‚»¢üa×Õ É‰/kläx­c¹ÿB7ekBYa0b¹‰¶Çñã2sa()N’>za¸‡´çBÖ¶V…~—l.„‘Çtsšå?žBí§]N‚^ò:r¬VyÏ-Ü>ì77í¾_¶×¹UEtˆ:E°Zn‘R4\©ùS÷8uÇc먭AgÚÜTÀÄž%ˆæzñeA[$m<"UÜ»£ôPºÔˆAef€’`$e0ÂA¦ö±xPzfT€icÁ>Ò30RÒ~¤GÕ8sÒ½Ž­ ¡'`$5“3!e€’Žv–©Ò =3*Ø ÜŽÐ0c>§áoTzf¤;ƒÒ06Wha)3*x¬h¨30£‚ˆiʾÏ/àߊê›Ùùbľ6°W”“€Ñæ8R uÊL[FJCé ˜ÖR¡Pb$ô Œ¤ *2}Ÿvs%¬Ä¿);3úb–G“Kè˜ÑÌ8•žé3S’ÜðmFkS(9Š̨¡ÒH@è mRTÏ‘ÌÌèªQ4ñÆÌhŒ²Ç$•ž LP;g`æX k vÎÀŒîs¯§ºg`$Ý¢~X*3c’6ñ*„0&Åî‰î=3¦r˜ƒ(;}Ÿ1Æ”HÊNÀÌÎʧvÍÀŒ*^‡QÒ+ÀŒ2ÞF=8}ŸQ%p°¨ì PúÜh*0gO5ÊñÒçj°ŠOÍOS.VMí ' ‹Shs N¡õ)´ЊBžbJ?èÑo¦ú¿3‰©1ø8našó6õº?öïóUP¼DV¥A ?Ü{a1\5f¢ÁŽo┢ã¤r±9¬÷Ÿ9&Æ´…áÏÕ-|Îl8N«‚‹Sð›7ßåKçªboèõP" ÊÚ`ëð¼Yuù®ã¶6Þí6þ–÷uÇ[ŠÌm~« x:¼r¥ñ|ÕÆ‹½öºÿOêQÐ̵/6«kMÞ,ÄW<ØGx… ýÃ_!8_•nV†^}–qÇɬ¾'p®Nqi\ Léã½ô§Ô\k”—;–™¾£M/î›p Æ¡å‘ãÒmÒÙ8gzòôâÙ]sŽæž dxòàô/Ú:¤³Ðœ)Wåþ[^ÿu·¼Ê¢ú ny•å±Cýº[^˜XÇÏÇ¿åU±{=½·¼×zmý£_ó*ªÞÜ5/½¡´úô†ò6@ Ûà!—¶ˆ¹ßÀ†j÷»¸éVqý/º•‚âþñ/º:þ®ï¹SÑœ[ô”è¦ô0gMs¹Ó3ÒÆV‹20"é¸=JÊ%‘‹ƒ`;”žB§S»Œ—{„^*ÝbEä?BÊÀ´ ÖYŒ”ži\|L¥€JwX‘S{`D²À¨= 0Ò“cØ Ë`z3£Œ£›)ÀˆŽf$2}ŸÞoºÂ.•0È(zŒ‘l¼Ò£¤ ŒH˜vD ¤ LîWqŒYÔÐ˜Ü :&ô»–Ò3@èŠ{ÇBÊÀ´ BÄ?²ó÷iÖ3²3@˜¤¤ P’Ĥ躑Ž$]®#¤ MI‘`>Z.ÓFQB¡ß$ôL›EatðT…PÔÐÝSR¦UÐXÑP×(À´ qzÑtƒ *h«â}!e`Zƒ%õ¤L«`âÿm¡ìô*`°§®Q€‚¥ì L+`1‹P‹åïTk1®Ðƒ-Àˆäe¼™$¤ Ò×Në$¢Àå·ï<¿&7òzj ÉSHBú2§=…Ü)äO¡03„ fP92„ ~ï8¤!dP„Ïc8Rici>ƤŽÁ®´÷Ð[2Ý’YVÄ—6uø Ó3ï™0ëbPŠÿUjPL¸Ú„Ä?ÿW›®lendstream endobj 132 0 obj 2644 endobj 135 0 obj <> stream xœµYKoÇrÜ_1G0›ý~Ð!²e˜;¶C$]FäˆÜd¹”•üú|=]=[Í1iÄ-æÛoª«ª«ëÑû©“Bu2ÿÑçÕvõiõ©S#V?®¶Ý›ËÕù/.tJ‰äœî.?¬Ê ªSƈØ„²ÝåvõÊ ¥¾ºü×ÊhM° ]^¯^]ìÃÝfèó7Ë9ïè›Ïr"úä AÃuÆ”1¨*@g(ŠS}qÿadi‘¬„¹ÂÊÂAýn”¦µ02Vm.¿;S6Ãç¿ß%‘¼ö6›Ø‹hSw†|Ùßö‡¾pµã\í„Uº.ýLñ0ÞȪs·îßo†qù$Œ‰¾Ø=lßwä%—ljM’ÂûXͼ^߬÷b„ó“Kÿº#/9iÕ‰aF ëLå®ïÉ1ÁéŠü§ñ°«Ûþ®¿ÂV|«³"©¼ðÎùªÝ~©Ë%U7p·?n)ªêôÛщ ËÙisÆÍK©éÝ¡øÑ%cê"}b-NŠWÿÎð™NN(xöL飿ÄìÞjD”íÎL¨;û·‡õ~w?·¹ÖŠà;üu¤fæÛËîgÈÖ•.;ïa3 éÍÅêüâ‡îp÷0¬ÎÿÙ©Õù÷ù¿7?}ƒ‹o»?­Þ^Œ‚æO[«M=m:*˜à;ïŒz> stream xœí™KÔFÇsžOá#¦·ßH,b%V‰„¸˜óXf½òéSmwµ«í…H"E+˜ßü§ª\ý¨*x[q&*Òëj»x»x[‰žáËj[Ý>_œ<1®‚cduþr1|ATB)æ+Ǻ:ß.nh&ÔÍóßJ2¯œÑùzqãqDŽqgMhÙíš.ò“'ÊV+­Ž¶— Þª¥”Ìú^}·îêA+ ÕJô.Ùü5J,Bqô\ÚúŦ‰ÈÀ´w!}°»Ú¾h)Ô`4òuûªí.Ƽñ¶Z*q=ºèÚýîòXhZ3g+!™ÔD•§çÕ/g ™‹Y\ É+錃ð*ë”fÜǵ¸}¶89{Xu‡«fqò[%'÷ã_·ß—³»Õ‹Ó³ÞÐñ+£Á“^0¯me­a\öKv¯©»«CC"“Ž+f‡àb”ÂÅŸvòp[™GÄH/ö—·–¢O+ ‚%¾Üïº[?Á8×7:K8ÌÀF†^6K.Û?›[‚ÞKóã¼ u×k§Ò/êÃj¿nÒÓ~bÈ5>ÉC®ž¹Oö†ØzœcX·›£ÝbÜIÎýÓS®ÔÌ8‹‹TïÖi‹ùGõU}Ñvã•=ô¦éºæp|XV3mD?,þ¬ F>VÖz¿ï0+k˜ÿÒYŽÁW îºéOÆÖ_<+kcü÷˜•ItÿŠYYCÑwVÖZ}û¤ÁI‚üVþÏÊRY×k½‡cpo ñ`V¥9ŒóžËÓ–@!‚*û—˜Ê6¥Å¹ÏÚ© U…гÑaÔ!t ˆ˜Ê„˜Š QdÙ‚ÂTðQTd¡RÀé%þ2!þ,Ô•‰ UȲ"P,u)B@£rV ,ûË„ª$Y*$Ä¡‡cYvˆ€šòP7JQ…%8=P\‰¿Lˆ)¸1{–M! ¦‚Q…¥9¦îŒ87®Ðd0:Sœ@’eP j`£%$Ä”¶4…€š&¶CÔT&ÔŒ‘¦ "9Ôub*âPƪê j+¶âäÀg@M)hÍ49¤"ã&¢ Qü^z)Œ„¥¡£×ÅfBU0Nir”3(D>LM!!aè|5=Ê#!¶Œ1=˦<$YQQDôÑyúŠcµXAa7JaªÅúr   z,%§s$çÈÏÑý9z:GaŽžÍÑGæ=ëü «Y€Kd2ïÅ«`œ÷ôõóŒ¿0ÿ¨øÿS6Í{N¥¿ÿ4<»vÞ:å`qò:Äyi›¦#8•Žç¯ÊŽ·J J$Œ q‘ú`DÈU7þüCg'ðendstream endobj 140 0 obj 1740 endobj 143 0 obj <> stream xœÝ™Ms7†÷Ì_1Gç ß¹E¶\«ƒ³ÙD•\|KL̬(Å;ÿ~_ ²Û3°ìª(•J¹Êªyø²çEèß R¨AæõïÕvõnõnPk®¶ÃÙåêô{¥DrN—?¯ÊÔ Œq2e‡Ëíê™Ê}uùëÊhM°]^¯ž½úá"ÃÓï’H^{›£œ4Õ‰ÖÂÇIúbÜE«Õj'¬Ò¡ü1K¼PÊÈvq·ßܬó: CªÜ>l߬wÕTr¶ñëÍ/›ýý¢¯dpýpbBóõŸßö›»Ûû%kÖŠà…¶Dš•ç—ÑQ‹å|(-\€½Ác…Œ9ëg«Ó‹WÃ~÷°^þ4¨Õé¿ógß=ÇŸ‹ÿVçS åGÃÝ´G££ÑúÁ{'¤žÎËõ¸Ø­‰3í`FsÙ¥ 9Ï0çÕŸdÎYjNŠèÚÔ Q8Øsxô~²·¹½ºy¸^_½]_ýïÑìy%óß'Íž7ÔÞùm›_F -]›‹¿H·ÚÒéU¦Ë£9°ò£ì×ö¦À¦¿ Žºë¥àíÃv¼mo^®âÝz¼>|okÒ±~²ŸX2©+ûð¹ÙÒqiÆln?+i&¨üJ?iÒœ£&_ÓìÈëƒVm°ë²€EcŒ[˜GÁÏç‘–"ØC€ß7÷›ãr'Õ!›éAàíPI¶ç³; ñN#®ZxŽ=ƒ)€I0÷cÛ¬´ÆJ•Ú¥±`lÀKÜÞ©áfõÃ* ë#Œ¿Ç§Þ¼>D^•k#M~&GQ\d04R\P,RLdµ’Fª€‹<ö$©&rR‹@#UÀD‡üa‘Õs‚È èäÎE-,Mu,ºÇ–©UÐ±àƒÆ.OÔÓuÇ@Øéiì XlÌEì/TTáuð,R—Ñ(AóT®¹ï¯aš:CIp®©Ë :’SBÒèô¢G)‹^•cËKrÐy,²–Š XöiTÞý<‘W°ìÓ(,á†F¯ ‹bÑ èDפÑ+èD×>a_¡òX>ŒL" Û@Ç‚1IÐåšG Ø›ÕÐqiA5 Y‹iá\Q—0‘“ûUÀE6ŠH#UЯÃV¨zºf=6ºè4ÀEA©fºî¤$À·¦+èx & ¦ž®ÙíC¨È©¦€Ž¨ƒtØt DlùžF¯ Û%Š"¯€9N6£©¨.Šè‡X¤–}Z©° “ Ò•[é¼HŠŠ  ¢^©¢Pw-Õ*(4rç´Å’XŠ9Õ ‹Ø¡ Ps¤çÈÌ‘#7G~ŽÂÅ9Js4,µg'»ˆEëx‚ú'E¯&éËÍ/µÂpæ0X÷õcUhÂ4΋¾œÖƒœ´×ϤBYâ|ˆéõWSU…‰¦íïëYkƒêÄ'”C­d;ýK_ßÞo&ŸhJS+ÔÞŒ»«»ëuõú‰ÞÜæíñЛûyoþÝÍúþ~ýÇ߯?¿û¹²!Æ6ìRÇ&ŒÈºVÇ~‘ØÍv¼É¡6ÔXÄ%õ¸¯öëÝr›¯°‰CžöîŸjóõ—µùÖ$ÿä]^^‹I^§ãB›r^æm>ÞŠðçtC5m›OúÒö¦Úû©;Ü£¹¿Eƒk¥ç¹ú‚þÖ*÷ô)Cqôø¹ííbú©žwz ±5¹à[Voz’ñS7$Ï壧òÑÚ n€ýõD¥¼¿gå·wûõâÊ€$„Cýü0¦ ¢´ziLXü›Íq·`³,f|ú¼Ÿ£ñûº )ß½¾^_O÷ñXªŽøa·÷›«ñæfZí¶åÚj+–X¹Ñ)»CÑÑ€ñXmR):”Åæ€Åü(ª€ŠŽÕ޲nÚKˆ¼*'rg툺\wbc†Æ®€ùuXT´¡¢˜Èc—4R\„æ0ÑHt†’»è@ÇRAg0ÔÓäWÀ,lï–&¿&ŠjªŽ¢ ¸ÞTAg0裉6_u†‘°’F·vóòá°|s;hG2Ù“çÚRÍt½ìRKt¸:Qu,"ª™ü;ÇQT¡L4RL„ðù¬ä(ª 3^íR>M$ò:ƒÑ-‹^@'zn– ^A'ºÁx4^A'ºÅ*iô :Ñ-úÞDm,ºhŽ©fºîpè;=™¬ 0yn -uYAÇ¥Gçk¨Ë :r[­hô ˜Ü£± /ULLÈg%GQŸÁ¶ä4À}¢Ï¥!Ë5— Ëµ4N\„.×PÍtÝII‚oEG[“§€*#PQË£5EI$. r4$^ª™®—]‰â]QÐ1 °åZ2¨:ÑF£iô :ѱ‚±”5Љ®zc½– \>A!¢˜EŠ"ª ãÓx—O$ˆ¼€ŽO”¬¹Â:Ê+èDGç—ˆ¼æØFÇ:œA1M³P‹é@ê³&Ê¿›:©‚Î`<šJºì4Ðñé“:RyÌBþ]Y‘÷°Ž…à-[vèXˆ e#^³Q[Ò¯.JF8©&JÆ°Š®. †Ut P aÃ*º¸µ(­èࢄú–E*`9ÁVåÃ2%`1•×l¡i`ù)XtZù7°£¼‚Žm5[h`4j{I}VÀDF+¶¨4ÀE^±E¥Î`,ªQG*¦:ƒ±f©zºf\þ‘‡l t 8PZ×5Àc¢"¥u]Tô…°¹WÏUoÄ;ÿ ç¯ßÌÑÙ=Ÿ£st>G/;'¾ŸuŒ\Ki§Cà轞[Wþ±C`o™Kl”¾^³CàoΞ¿8YÎqc¢MýëùA/?þíx‹ò %Vû€ö.Ì ÖÁ´T¹rŸìhyhèó¿ÿ²¢ä`endstream endobj 144 0 obj 2179 endobj 147 0 obj <> stream xœ•XÉrÛF­ò‘_Á£]%Žg_rt*‡Tå8<ú‚ h´âÿð§gëEÊrJ©3=½¼÷ºG_Ö”°5õ?éw}Z}Y}Y³°–Õ§õ‡íêýG+’©ùz{XÅlÍ„ vm¨!L®·§Õ[õnûyÅ‘ÚHرݯÞþÑÖM?5þÃû\­qškéÍlòÎ 7°¶ÿ:œýV¦‰F%߯öñ8Û–8 V(šR¾ÖÑ6SìÚ81aËf¹÷ÓxÏøSq­ÓmœRîâDR™}Øú%E„34/5ãø-8k‰2N¤Õ—qz¿¾qŽP%Ôzà ñ7Á×?›ñÔNSwHC”&l§`jOkÇflváA‰,)y«~nöá‹‚¤›¾ƦI^YÎrPÃ!¬1b¤Í6êcÒÞ1¡²ÿM0Ê V¡XZœ‡tœ)š/ªBP!q_ðÔnËœ›qŠÑrG¬pùø°›«¶oûÇJœEÃ~ðÊNÕ €A£ôÍeÔ=Ss s>ÆÄn Çå`.óߦá0?¥bS¥Ñƒ±I×9+Æ»OÙâ }¨¦i¨Û JÂ>hÞõåÔôs5§rk¸Ä ÎÞtM,¸#’›Á'ð7×Oj–ƒøþ7zj 3ÂO¿z*Æ ÕuÅ(Ñ+¶oª.ßÈJm»3û £2W²¸ FHƒ”¬Ç!½<¬?µóq¸Ú #G„Í4mí³—5j5ºSw—}Â…j¢S×­Dƒ]{jK–%#À`ñ, ÀR= ÉçPbµçIcŽfV^¦DKhY}hÊXö9èS‹9 ûöð-•RR&®·*EU®î©SPH ùV¼äû|ÙuítŒ’ €>¹ê­O÷.CÄa=/sŠLcdŽlòf‚fG‡4ˆ&8ð~>d+-r˜SÓuÉS'킵mÄxØ5I,A[²4× D™½Š¸;Žg~úÖ¡®+ê…‡bK:{ Î턪k¡JRÁ` ž ©¸‡§ãpJá ®o"1ò'"I{ŽQ®aL¡ÑÃe졸IfÀ i€Ù}\ƒ¦yobÎà~cD)ö禞SÑuåžÕ»†®?´ËÇŸAV™‘ñÐï[OÓé—en8œáËþ¸½'~Õn¸%Û×HÇ2¨‰C@ãP‚wxZæ M4£9–~˜ù© ²à¸(ÿÂHn+°ª¨^B«´w°ÎQ‘_²>«H‡,s¥»k(‹T{mŒ Ї -ª™êeJ½’Y¨85|!\‰“ríÊ¡€Db{i ™f5ÚØ9@ªi©òyC5ƒ;P ‡ ¾0õ?yA‚ÌcÛûqç›W¹"æ9¿®ç¬ó8¤\qçr®¾¶)× ›ÊÏŠ©WSf¹@£ß$Ž#JËI.=ð)B•A9úêgº8ëÁ#Ã8ÔXÉüÁð%<%ÒÒ?mgDH¯Ó"g«‰ÜñDÉ™ú÷ myJ¢h-6‰Šp9‚ítîÚ4|Š@Ç!· ©¼jáP@ƒbµ‹p1g3fS¨‚Ý„e´….Ÿ°v«UŽÝ`di'/&=1(%Q 0ë0ñæ¬C?†¡&º]Ûµ±T0ÓñòJ)°0Š´3÷%±Za»:¤ÌJÈ,6ü4új#0ºs$«/]œÕ7‚ª«)ë|ÏC|_­ÁQ¸ˆ–-ãj?ÀÄ}¡4ŸLÇ ÔÃàXþ{ŸÂ^<úÌ É±$1W tO‘ûù¶ Eð¸g›¼)™Z Ý Ð8å!²È#ârù yEìŸà²åãÐí´ /[Ùåq(Cù×][íº&²¨L)%奔/1Ô7¨Âк«ÚÓCêE®¼›÷Õ©zDXB»·×_Ië¹SFMÑzï/Õ¿*ÀC&bêÓ±ÉfIÂችe1 T&þªÎ#8„b¸½÷´^”ªŸG8ð¤Ü•‘mœQ_ÍuØPè@Ô–žå]~jó°êÿG!ËÛ¨ò;ÄÞâë0§üd¢‡¡$Ô@x8ß¼(yq±'J î5`²o0)0 ˜ò¢ö!¸àåQÜr€—×Ê«½•Þvϵ»F/Q3 ɂқÓË`3(àý èr s߈Q`­»É…¸ä«wØË‘e²ð`((´Ÿ˜Â7Îü—ß¶ë¿Vþç?!‘Aendstream endobj 148 0 obj 1687 endobj 5 0 obj <> /Contents 6 0 R >> endobj 31 0 obj <> /Contents 32 0 R >> endobj 38 0 obj <> /Contents 39 0 R >> endobj 42 0 obj <> /Contents 43 0 R >> endobj 46 0 obj <> /Contents 47 0 R >> endobj 65 0 obj <> /Contents 66 0 R >> endobj 69 0 obj <> /Contents 70 0 R >> endobj 73 0 obj <> /Contents 74 0 R >> endobj 77 0 obj <> /Contents 78 0 R >> endobj 81 0 obj <> /Contents 82 0 R >> endobj 85 0 obj <> /Contents 86 0 R >> endobj 89 0 obj <> /Contents 90 0 R >> endobj 93 0 obj <> /Contents 94 0 R >> endobj 97 0 obj <> /Contents 98 0 R >> endobj 104 0 obj <> /Contents 105 0 R >> endobj 108 0 obj <> /Contents 109 0 R >> endobj 115 0 obj <> /Contents 116 0 R >> endobj 119 0 obj <> /Contents 120 0 R >> endobj 123 0 obj <> /Contents 124 0 R >> endobj 130 0 obj <> /Contents 131 0 R >> endobj 134 0 obj <> /Contents 135 0 R >> endobj 138 0 obj <> /Contents 139 0 R >> endobj 142 0 obj <> /Contents 143 0 R >> endobj 146 0 obj <> /Contents 147 0 R >> endobj 3 0 obj << /Type /Pages /Kids [ 5 0 R 31 0 R 38 0 R 42 0 R 46 0 R 65 0 R 69 0 R 73 0 R 77 0 R 81 0 R 85 0 R 89 0 R 93 0 R 97 0 R 104 0 R 108 0 R 115 0 R 119 0 R 123 0 R 130 0 R 134 0 R 138 0 R 142 0 R 146 0 R ] /Count 24 >> endobj 1 0 obj <> endobj 4 0 obj <> endobj 26 0 obj <> endobj 27 0 obj <> endobj 37 0 obj <> endobj 41 0 obj <> endobj 45 0 obj <> endobj 64 0 obj <> endobj 68 0 obj <> endobj 72 0 obj <> endobj 76 0 obj <> endobj 80 0 obj <> endobj 84 0 obj <> endobj 88 0 obj <> endobj 92 0 obj <> endobj 96 0 obj <> endobj 103 0 obj <> endobj 107 0 obj <> endobj 114 0 obj <> endobj 118 0 obj <> endobj 122 0 obj <> endobj 129 0 obj <> endobj 133 0 obj <> endobj 137 0 obj <> endobj 141 0 obj <> endobj 145 0 obj <> endobj 152 0 obj <> endobj 9 0 obj <> endobj 8 0 obj <>stream xœeTkP“Wþ>CrÎt­1Õ æKm×m½"ãVXí*t,,Rä.×ÑÜ IHB€B nB.n ÑB /(Z¢n»«Ö®Z§Ø­[µ³ëÎìœO?lpfwì¿3ïyßgæ}ÞçyH"hA’$7>ñ“¸˜ôIb©¨ds¢\š+[(¿M¯&é5‹èµ,fã{Ùùò;¶k ,ÇÞÄ3KñØ2‚E’ów£ä m±¸°H)|/91õý7ý¯²-""B˜§ýÏ0ZT".” ×j‘D®Šdʨ@·D"ÎJ´Š¢anA¨`a,%W":*Ü+–ˆ ¹Zø^Ôû°ÐÐm;…ñ*©¨X¾I(–ËÄJ­0WV < æ ¥¹¢…Ùh©XY¬nËþ;/–æ©J„¯WÆË#„qÂDQ¡J’[üÿ?A,•å$/PˆŠK”bUn*A ¢‰wˆ"†ø„ØKl#ID2ñ1‘B|D„ËtA„šøŠT‘Wý~Ñ8k«‰õKPiÐuöZ¶‘CqN¾ÔÓuÈI‡|NÞ˜ÇÑó¬NzïX“­ÁŽ`¿UŸA1 %ÊÓj¡9AZ³ÞüûÀ…³nÇ0‚“É~ŠW¡K_h*p‚Œ–Jš„X ~ξyH¢‹Ý'¸LZ±!©ŒL'oÓìÝeÑëp(/3¦°$ÁÐØo1øçç·øÛ ‡mÔ1U›¼[ëBüîž¾«1çwd¤•æQéÙò}hdÞº¿³ÎŽvžô ¼žïà, ~±õhFðø(vŒhz–?}ŽÍχÁJ®ÊñbëÓ€y³Ã€"á«€"+*Âë pUøoœ{è–kÄçê=‹.  í¨d@êU8>îœjwÙ<.Èýà¸Û92‚ƒÂf˜HAóˆ÷ 3ûõ+š.ñæÇ… duA¾ò¨6¯z?‚åÖ! à~àjµ: æ2Ã>LÉÞL7öÓaý$úwüÈÂMty+t##`Vÿ´/ÇËŸþ ðÊ­O˜T…œ7?»‘Y˰ÿ¸oOÁaϨš’O•ÝD·à“ó×n °¦èÖ÷¸tž…Ÿyø7SìN ­· : «íç(ú07fꊌ±:~hk8†Ú±ó(&ˆ†ö|°…a3ë˜ßlÇ‹®žî=ï£b&ƒÉTi4hK‹2Ó¾ÅK1{òÎ_/Of¥,,ÂH»pâüys«¾gYéµÁ²! ü$½ ‡ó2wçÈbQ"ÊMkO›†-sÏqªÿd(’ú¹RQ:ÊÒŠÄYyŠhÁíßbðä›YLŒ ˜{xÏ~Ï72‡æGÞ¾Ó“¨»GñÅ Í?Çe˜\É}€3ðï„¥«þº‡®ØÎx¾òÏ¡/ÑxùiÅ@þÄöþÍrŸ1]î ¸Sm3¢(ø* ÕÆÝ&¨ÁÃ=`W“¾} iu÷™·µÕ‹W_ËzwCB:JË•‚`ü 9ñß!oͳºé^G“µÁàqkY6Å4”n2ÅVfr‚}M:'š†X†Î\ô³švAg¹½¦A³«XÝ+Ε)£3¨ÇÓ§¨ +4ÛñnúC7‰®áˆ›,ügü¯¯a8K•©¾¾ñk±ÑТjS5Šà®Ä´¨ƒCù3©™#§J»J„Ÿ}Tž&–´»5õñª¾ŠiXÆ„¶sZmÍŽÀÉ;,}5ý5ÞÚnïÞ˜¹y±dø€ŸbˆòNýqäåžì?7=(ë ,z2 ÚÅCät@²mt o=†[}SÀTUSe2Š’r2Ëj ¦2£ºK“^f®pv æÌNžöL *ìêbQ…ø‡õÞëþì H±ëÏÉûȨGmMbëbw4¶7XßóšD=@QFÃÞ…˜2:Áþ–jº 1iXÍS(•r¹[Ù?ÐçèWöÉ^ût†æu‘׿ñÞy]r‘gæ2 …Ÿ2a:p­ÎaDé©Hn./7(T’J)‚G}ã¾Ï¬/ê:ôèdZÀ® i_|Öéõ Μa‡ƒfËÅ^¿ýRÇë(œ¡Wy–£öþ€ßy°’{—Žÿ’§+¯4ëTš:&(œ Дy@ïQùszÜ™§ì-íó¸zÝÍõ-õ­”ÅZ߆Z¡wÈ=:é•% â³åºêäþ¤*- ‰›Èž›sMÍ ZR»Õcȇ\ŽS§!³õ;’˜«Ô•%åò*5‚Erߪ Ù1?^2ƒ_F\/–ô/ÃùÉdh8—Ìݤ@êšOræMæñ*fþÙÒRå®oâW¹jzyúlW`Ó«Óõ¶*ßÎáˆUBæó.½ØÔ]Û…ì|äîh½Ôh±hÀ%³S;²'¿ò­rrðz'Þþj'ÛÉyˆ;lý˜Äç{¦ìÖË6\ÚK§ôâ¤^Îà5ضxñÃîÅKâß»q͹ endstream endobj 153 0 obj 1983 endobj 18 0 obj <> endobj 17 0 obj <>stream xœe‘_LSwÇï¥Ð{£¬CHƒìö² …0ÜŸh³9¨Ct 2EZú‡Î–^{K;¥¥ ~3ÀÀ‚m¥-Ý lÈŸü@àIœ1ÙÂ\–e&.fæÃ¹pyXyXö°·“ÏùžoÎ÷‹ÁpO,))=QPœU¤3¨Ù=9F½j‹¦q)8—ý.à?ä×6~ImŽØÐ$Bûp¼ ÖL€ãl[®‘©5é´Uf:ãTaIfVÖ[ÿ‘½2™ŒVÖþÛ¡«Y¶šÞ-,j½‘1¨«ÍйQµ^¯«¤µúZ¦Š¥*•Zµ5V¬Ð«/ÐGuzÃ-tFn&ýNvö^¹Î ¬aéB£AQMË2ú½µôÿ1†aÄÇ•&Ö¬PbØØaì3¬;…å`¹MŽÅb:ì.žŒ÷à?ÇTÅÌoÔ‹Ö5(‡Æ¸£^|ýH@Ü"T¡:ßØÆ³ÜÀN£7mN©ß¶×ŸuJLP ÚÍnD½]ß\ߨN¨ŽèÑ¢dih¬jmF m¶VÒ+Ħ â5hyÁ·Ä‰¸ÛCN2„#HƒDHpÙ€‹5Š‹6%"ß+z ©?˜ñô]rtJ;œ!ÅW¥×Í£ˆœ úÇ–òî¼Ë§îNãßä©g°2?ôÓ¢4j‰ü°éZâ¤$'B5§ó'Ya¤ÉÝ€*Iþ6”ŽòK$ 7ü„¼ÝÞ‹–H8IÌ„"á®îËun*és£ÏL †Æ¦tásgÔLÞ¹¨µÄ6ÂíãWþê¹Vá‰Òkˆ¦ú¦f;jBWê:>w›Ûk™}ìÓ}Ç&ο¨þh™ÐRe¸XväüÔS eäe¡Û×ùu7ê@]­W[í³Ž"ÿ|°ôì±*’1)ýäcáPàVpÐa¹Iù¬îÚ¾rRØÃÆø H°Mµ˜„ò÷+Ëò‹Hf†_!ò#•ŽûÛer[Õu6 ’ýãR˜[#DœË¶Ì¥ '"ØÅ'H ’“V8ò¸±Ñårµ5#‰ír·G ׈ßÎò">îàéCJ¿ib<ä¹ÖÔk÷PΫ®NÔIúBžïƒŒœÊ!øíÚR«ÆD&­V,ºŠ×ä·Ë–¦½÷îSîÓ7¿¸‹"hÈsk‚äKÄŒÞjgi° Ž/NNþê‹tÖ6Ì¥ÏÁq/~¤°v @»¾_̳Âig·3ú­Í—=Ä“ùiå÷u÷$«/!¨žó‚³š/UialÄë #ri(Oæ)Cþq3tG*²z9…J¼Âð6 ·‡Ãññ@Ä¿‚aÿcÒÄa endstream endobj 154 0 obj 985 endobj 15 0 obj <> endobj 14 0 obj <>stream xœcd`ab`ddäó ñv ÷Óvöõõ44‰Èýfü!ÃôC–ù^òO¯XW~.ôÝBð»1ÿw}fFF7Ÿhçü‚Ê¢ÌôŒ gMCKKsÇÜÔ¢ÌäÄ<ßÄ’ŒÔÜÄ 'G!8?93µ¤ROÁ1'G!¤£X!(µ8µ¨,5b§s~nAiIj‘‚o~JjQ“ƒ,ƒ<È.öÈ•ÿ}Cøþ3sHYðcí|Æîß™šÿh>qÒ„îiÓš¦4ttv·ÔÉýÙ÷{fC[s[w½dwýä¶im?€3Zz»ûº9¦M™2mZË„ú‰ò~ïaÅ4ñ{…è´ “'tOïžÞ<¡aŸ}ßgJÔMêìîèæhhjjhšÐ:³EþÇÂß=€¸¶¥­µ»I²aJÓ´¾ÞîI3äøJþ´_ø{Ù´i3Ø~'Nc_Åu™[Ž‹Å|>ç’‰<< ŒT˜ endstream endobj 155 0 obj 360 endobj 12 0 obj <> endobj 11 0 obj <>stream xœeTyTSW¼×ªX¥O Ú¼X{l±H] UëBµDVYˆdAH€„$°o²CXYd1A@«»–:mm{ŠNÛ3n­eÎi¿‡—™3Ásfæùïžû}ß¹÷·}$áêB$É;ä"SH3¼‚U ‰Ò˜°PXË­&¹5.ÜK<¼÷=mxú¿uÍs/n|º†_ x$Ù{ó›ýª4mº,9E-~íXpØOÏMÿ»Ùâçç'Ž×þ§"ö—fÈ’•âõÎC¦T®JSH•ê·ÄûÝr¹,Aœ,צ¥dˆ%‰‰ÒÄ…±P‰\š*> “ËÒÒT™â×öoûx{oyK|X£¦«6‰eÊ$™R¦ÖŠ%ÊDñ…4Y"VH¥ ³þ ™:]+Þê-Sþwð°L¯É?)>¬òˆƒ¥É¹$ýÿ+A0ZeÂ>Jz$]­ Iß³}Ófï->I!ü‰uDH ¼‰£Ä1"”ØFû‰µÄJb ±”XF,'܉NŠ W¢€øƒUh)`7â.LAya}qª¢&{Åp)mÇñª½¸1¯R|j•-ß®èŒhHFz!Ò«t ÃIM¶"s©étv…®L‡huVVƉžô¡ÏÆ>€W&YØÌmªë©©n³ ï#;çqüxügx ÜËL¹­ÚZƒèÎ*}$‹­ Î3„ÓzH±SáeúZä ¡9SÛ‹èñ6ù{,–R(À¨‹XhJ´S‘§skÑ8 ZêAì{£åºCEßR¥‘ZY^HŽóÅ@Ó—¿‹Dßð¸—Á›‰z'9#ÑÞ‡¾êצ¿wÔå%U³åšJU“¶ ÛÏ4ŸýàË;"ó’ãÙˆXÕA´“Æ+¾Ý ¼‘Á†n‡¨£­¹ãüMÚmn#jÎA¨íÏn^þhŠfßj¥»¦vn#ãÞ—MÍÕæ¡½ô| …ö¾:›r×ÀßwÐtkŸ£§e¡KÚAy—¢#­öO WëZ«ÛZi÷íçÎØûß÷WŸx¯ÈÿÄÍù9?üå6 ~uˆ!¾›˜š;}ýSh µ©ê¶:EI28¸9Hn7xðÏ9_Åkð+8Ú«Ç{2ˆ½ðSâN„°Äý«ònȇlÀç;žˆNvE£ZGêdd·‹P ñ@V˜9]—®V§¤ÄhCQ4ŠiJé=ñší|ÃJgv×-¨>e+˜ Í&iH\TNq^Aa*Bk‰­„þ žì8wsübÛÕ^‘±&3]gÒ a’¾ã#~{&ì Ži$oÍÀ—1Á ¢ójFYx„}tÔ-K­ EÐ8—Bª"ƒ!/M#ÏU :1µoˆ…oñz5f©×£hŸ¦vŽ…ßîhèè ó}©²’‰GÍ•zgü5s¿ ‘`šåAÅÁÌ[(´=/Ï·ˆÎ†‘fʯÌP‡nÓ\å$tF{»Ðm‚BØÍŸŸâÝü6Ag›ÁÕIñ³íák'¿šáUÌñ˜:k•µÑ½ÕÆ(v>“BaËþŠv*ËšPª¯G„@±—ZJ-6‹°Òd+DE´Ù\˜+ÊÖƒÒ.ˆµÉ›%W°„®êê˜þôÖhW¥Ð^V_ÚˆèJ;Ž3NÕ#Ê7 ¹Ng»­â|©âRi®2?(G¨Èç/ðØÃ-úˆüt²~ä×Ü.¦¨T¢OË?n*óù9T¹µ U z°Ê,aç(ùÝßÁªYpu°ôí¯JŽÌ…º\v\½3± »a^Ô!¿°˜³çDnO½ °h˜‹é&Ñ ,™æ– òæüo3»RÂï:¼»Á °ï¾ãÁõ›ìøøg·ÞÞ+ðR¼áÕ€ï4Ú»+¬§­åì'PÁ? 0I5ïëkR0¥äÈd¡¡ò·Ñ>:` rüÒ厑>Qyl¿r Ñ¿Þ0à‡×Á‹øÏ8oǯã0[ñkðÅDÝ¥Ç,ÞÅù1%öŒ’Ä’(]àÉãÙÉJM¢“Ô½W'›&ú.²=ZÚJt3tr®£$ºe?ó¸à¹= ˜‚²÷…cbw  ì¶v¼1q1v2ã–À ÷:WÊ‹û¾ÇTlf4€íOp¶´Ó80÷&öãeØ%ñð;o{¯_©ìl±³­ ÝU’hÓ´Ox?àµÌg½#SèCz"e &%C-K=›í(¯°ZËE¥Y—槪’Ž%±Î±¼V–=aé'åÊsé]Ýí纺O¶+ØísËÛIôê-øØ— A]RJÐQ)¦~a²?wùh알è nt\¸qí"ЖРñ†µx¥Èr’™Á|,ÅÒXñ¶m±@"¤ŒïûÌÙäì=\ZXXïzó Tíéš²²Ò¦ŠÆ2§Ç[«ô©ì|…Nä«sÌz³Á"9åtz—ÚiÍ©Fc4÷x!Ïèkîì_I˜ºÇãTðc<l4Ç !ÎÀNðÿéþÀ×èŽðɛ߬ Ó$$‰ReúTkѪÁ_=Ÿ#zæzðŽ]Ñ›wø°øâçr”[V Ú!-‚óÏß]t¾rñâ»M‹—Ä¿ Õ endstream endobj 156 0 obj 2378 endobj 29 0 obj <> endobj 28 0 obj <>stream xœeVkXSWºÞØ{«”ZÒ(Q&A+ˆ£õR*c+µŠ ¢¢xC¹$„„„H€„„@Y\á ±»Š"xë Úcm­c/S[Ûzé9vjŸY›.~œ½q|æ<Ïù—½÷—µ¾Ëû¾ß˼ga,‹³mûÑ+âÄ2¡êímr© `­€ù°„ZÄ¢gQðBï¡'¿ÿ=лÄÇøú»þð›7`Ëë0æÅb©Ê›#äŠ\¥85-+(ôÀ¾øå+V¬üÏ›µaaaAɹ¯¾} T‰S3‚Bè9B©\!fdm Š £¥RqJPª4W‘¦ J„æo“¤Âô ÅR±B!Ï XôΚ5kcIJälUÐ>¹,)#(FÄ$þÿ_cý~nFŠ\¡nW¦ªöe‰÷gG¦«¥IYòŸÖ¾³n=†½-ÁŽ`{°°Xl;¶Û‹}ˆ…`û±X¶;€íÂÖc±?bÑØ!l7¶ ;ŒÅ`Ø|Ìccobl1ÝHÌ›~9ÈÚÆêŸå=+jÖ˜×Z¯ÓÞ³½Ë½ðqáoáƒø¯Äf⹆”OgËg;笟sk®~îß ¾Z߇¯yíÔïZ¿©•À=…»Yá»^S¯C5'—lVKÓÒ“Eûs·2FÓ0§¤¸×Øð]5éFÿTŸ–¶äƒCä´†‡ ÛŒ¤’ºGøM‰€n >t°¦¶»9¥¸ä·†sŠrÈq¤œ>'\¥×5r•ð„›ˆ­Î²Ð`u·]n€ÙxÏæúT r ÓN–€‚rÝIR ïÓeÐÀyKA¥>~TJ‚oQ¥.€s½¨,*‰ƒV¨ð‘“õÅ@ 'Fåw«/¬\ÐX_ë®´W¸P•Šp–YÊ,Æ*pnysôEræÎLÏ\c‘µ¶TVTñ+ÌfPMžV9Ä"E¦0aPr­çt}[¯Íéì}—S‹š‡ë꺪H?j¸(ÿ[¬ ȇ<È÷‚iLBûUøÙâÚBD¢Q$I4¹‘YßúHè @uM]]m»ÓUïdo³b?•@T/.¥Cõ.BPUX†IXM<I3¡»Jͽ w0ƒ …˜^üTÀ9ßà6OÖLZœDBUA]u¥«ˆ[%µÅ DQDây™=hVX F_„þ6á±òËþ¦Â<}:+Ç ÈƒÊ¿@6äœúøº§K%läÓpÓ\˜ší¡¯Ûî5 Wrbw§«Žh2ô“D‚èÞŒñŒ Ýðœ„)7á,è;:’+ᜒÞpÒ ¸.Í`Ð#ÐVgןŽÚŽÒyEËÑ*”ˆ’á2S>ÿ¸¹ï ¿»½ÝqnŒ7JjƒáW¨9×XW馼 CÿïÈ똑OŸ$@r‘ñh=ÇŽ6"¦*Ïn‘p1qáXGÁY@Bï/_Ðâo}мbS³öJù• PSk¯op´;ëÛ9îÚƒ yòØ}’ g¿–ÏŒýÜÓ×w±¨ø'åˆ47@FKNonw‘§ô6 ͸éÚÑô~É@‚#Ž®ã ¡(…|½Îûêb÷ãOø¨ †sª oËàEÐ Zó­R³¦R^yˆÔÒÔ]MS÷Zô† â¥Ûÿ{øîö#ꇩœé»8û%q»´õåãu†÷‹hÊM B—îTËS3Dqùဌbä–†õˆ$;à™¸á‚T„UPK°ÿÖßP;Îc?‚ÀE±qI7NW\ð Nuù_†‹°û`ÓÕ½4³M¶2C¤äBà ¦«­."¦Zß&I¸—ïñXk‹óm<ömEk“±cQ_GçÀ9±çØa¡bç1à(¹úA߇P:aìòß¿ÿà"уì•C-áL ùûf?!·¤,Bs7D®7Hœr~»ªµ`Týž"EâArKîÍ,’ý›!Ú(Q&/Ü{OL“ðÏßÿÏýÝçƒy»ðMêšÎ:ÛùçÊGÛÒãàÒÇŸëpM,ƒúää–éƒö#ÃåŽàÀàl¤5•è Væ›%¶¬jš k"woˆJø%‘ÿ©¬S ÒI,óøö„sßåðä(ÌÛÚ,5µÀ ¬'ëJOé' €üñÆäŸ FB‡ù;NËÝ ‡ôtºû;NrÚymj[nÓ Òoꌡn8öoXÀ(¾€ýóÔ7'X Pìø¸ÕÝÐé>}Ê>Α½¢xèÎþJIÜ-iÔ‚r:†Û 7Ó»þè&6×ÚÀç$EýÌ–ê¦* Éþ¹Îb7»ýÔ—¸$J+HÏág手ÃËI?øPÿ9üý,kœ˜ë4FÞ†›•xÌŸRŽïŠ#ãè>±k$åö­Á¾â)mja¾.p冿A>¼ü„ðƒ] Úè¸W3’í Êâhîk ù%ÊŠ‹ 4ÊŠ\DšYßúÉíÔ¿8‰iiIÇ=’³g{±D’ûOœØŸ¥¨ÿ(…—Ø-kÈdj¦2íàõ´G0 Î~¿ˆú±ºøB›´:ÌLÎ@`*ÀÁ‚¯1ö糩8ÈŒX>™Dm•µªªòT»¦n[ö1þ4‡aê¼Pš™Ô\±¦2¯ Ü'©[säR»!΂g` ¥„©ž¡7Ób¹§Wͪ÷zo/¸ÿÚòÂU§¦ñµX¾•ìÄ»&û:/ƒ³À£iO­Ï±Êi.ŸÐÄ¥9´9-‰ö=kÈ,j=s‰nŒúô+è€![!¾€ýíuÊÁéÿ«Ç9È)Ñ‘ii+eü<â› OÞ1ɾݕÑrüèÂa•ÆÖ-á dv … •øÀ_S‚›hã€ÃóÚ‘Œ^~Ž+¯>¥…d{s õôÇ Æ\ Ýzxio¦:+ò‚^ÔZ‡?¬€Á´¥¡Íº•CmßDÄn¡EnSäê=+¹lò»-…Á[—Þ€^Ìcò|$Ä¡Žùø©T’Æ;pÏ4×ãñõ…ANß×0ì× Sì endstream endobj 157 0 obj 3559 endobj 24 0 obj <> endobj 23 0 obj <>stream xœuy TS×Úö‰1çœZ¥*¦& ulµZµ u«¨€ˆ€‚ŒB3 d$ Ó† L2ϳ8O8´¶Zg­ílõÖÒïÞ»ÝÜïÿ÷ÁöÞïÿÛo-‹Å9{Ÿ“÷}ÞgØá£Gçí Üv®ß9ß3L»ÀC*ñT-vf¯¼ÃLå0ÓF1Ó¹è#Ôü[ño_ñʧ9=šÈM`È·`ïx‚Ëá4]~°Q% szw¯Ç¾÷æÏÿ?ÿYìâââ ÿãŠÓ¦ Ø°H§9ø„ i”$(2n•ÓF|wDDاyTh¬“``P »ÌË?"(ÜiKXDXT”4ÁéÝï9-Y´hñ*§]ñ’ éûNa‘Áa‘aqr'ÿÈ@§Ý’ '‰`»v“$,.Fî´tQXä¿î “ÄÇ:|J§]R'W' øÿ˜?_!ÍÇ®ëå‘G¼wnH’úìÚ´{St°Ûæ˜-±¡[ãÂöl‹?êùqBøÞí‰þ^;d’€}Ë –Zñ>×yË•,Z¼dî‡ï.}oü§™p ˆÄ —ØMl"\ˆ…ÄLb?áFl&V³wb ±ˆ˜Mx[‰ÅÄb±˜Kxï{‰íÄRâ=‹ØA,#æûWb91Ÿð&vˆÄû„±‹ØH8o‰ÄdBBˆqD$!ÄB¼EL%ƈ‰„#A“ˆ7>1†H'ÌÄvŒb4~©“œUœæQ¼Qvîn;÷ï£×>Í[̳ãÉ4ò{*€zB鍊ޘóÆñ1“Ç ½)yŽ•Œg÷Ìa©Ã§o­«zü„ñ‡Æ[ÇMÈHLÜ6ñ+Ç©Ž}“&L*ã¿Çøö²·ÏM^9¹U ´ ž' ›¦,ž²~Jû”ëS9SSåSÏL›4ÍuÚéüéÛ§ƒéõ¢Õ¿)ì²æûį';F1_À ü¤ eœ")4ÐSî èmäU^‹˜‘PàVQÑ£\ÚŽZdÔ]ƒU 6ÓÃn”cجTlH¥e^ÞBž„xCÁÀ}º˜wÊ8C^vþ!£Öze3׉$ Vï@sÔÉû3„2èk§ö'Zk-Æ¢\«¸¾Áƒ6²k¾%Ê ”B“¤óʤe0ŸVA3R°Ò¨–çÀ¤£ÈAæ¤ÃH/>šª ‹S’Ó2 ézñìM6Ê7Wm§h(§žû]\0"iÇVÑ#JŸí+Óx&ã'ºio3¼:xÀefÀEüý›Cb=½hÇ—úõ­ǭVM°YœŸ/-•—au…½òâæ+|½CÄ>~Ò­à#½ýh!äï,nhÕTÙkê/Ó#­mç ¹Íã£y>£Xâ€B# A<$ø_Þõ4¶TA™-¿)«6K`GdÔõôRÅßrÐRZŒö.y'5Í; ·Ti§Üsäù ØlÇÚúà›ð]ÁOȩɷ4Œ­¶·ÊÛš[ËŽƒ“ WÞQ'©‰²l/>k-7W•ÓŽËUØÚº¦ÀÑKúÑz‘ ú–ÿô¥¶*hÇ K±5G\§€½ GâÂåºí«,hîÑŽËËM6Q/ ©«û—¬öò[ ÆõÌ”z³NåËs´>†dU’P™–â h$"aóφ^Qéh ¯”,¸c³]4‘È>üOÁŒ£0pµµÌ’Zø}Ç…Fæ0½½h>¡©?ÎáÄÿ€"8ùƒŸÐ$±Jʸ<MG¼C[×Wu&ˆ¥g“¿À%ÿéĵ["v¯³Ì¼×3˜8À…/µ|8÷,¯˜’gf€t@‡è ûÄ̧Tjöþ¤PíŽ$a2•Ÿ•òÝV  £ETPcTáüæÔB ´hÒ½¥pÔÅö²ÍâäŒz½Z«‘'Æh#íìù%| òNݽîÔ/ñkÜrË8°ƒc‹]©Œ<›Y¢±@›ªNQ ™(A€Þ…1šbCÉ4fç3(ÌÂHi’Q'3Š”¯Ð;p2ò  XªÕ.Jùl§–d+-à> ½(ø.L¸úMuÅ É?fCòÃ^.ÃhøL%®˜ÛìÖ"sQN{ÞW-£ÚÓ‹Òl)eÊ‚°“FßQÃ|FÆCked(Òu ‡wþ%§QÌ. G‡¡”½Œs9téäHs‡Ìp)0—@’Õ‰ (ŒŠ<ßbŸüÀ8Gìôܼ3h!@£ÀÂúeg<®lÿ!ègyà羫iyéúMKœÐì);Üîy*â;¹4üøGøœ}él‘NQc¸MjßN³¤*)ŒÃÎ0þ·€™Î/È2@7›´ÄáاѸè$˜ZJ­ËR‚Oh¸˜j9Z¥íÆPó gÃñ›¿·Ç/f¯ŸøeÈÞ›ªòLÂyëøõ[ûîžZ‹hÄõ]·ñ€Gk½ˆe¶›0²R­æ}èÌß¿öpäà×E^’·ë›2®Òð*©»®­‹i”´,ß|ÀyPØ€¨MÀãþö2Hýtï2$ºEè!|Ÿ_ø°¹í*¸ ª¤Ö¥,Á)[™ÿnŵ$™5ä 9óÑ4 ÍB4.:ï.îwý6ðüö>pt‚Ž|êyEìzsEë|ŒâÑ} OÞ~Þ·a@o7Õ–Ä})1I1qq¡¡‡ä^à 8TÚ°¯ïè/¸°`°öe÷ º£çTÅ€ŸÀò ó”%•or&;–¼‚>بV­ÑÌØFBü½éÚÅë—Û¾/Áw’‡ž¶ÞDœV4G%éX"£é R0ÿ 6ñ# ó»ž]O;)z¸·k@@cV¬<àé®^ è#jL"4ó*3qd@“ñ€3«ùk$x× óÑh\€‰Ÿ-yÞ¡úd¯afÛ#WlJÅ­ÕQž]>覙Ÿ4ÔôĦ©´ºxÙQuˆQæÄ²ðº„ëà3ÜñswŸ^k8ºMäŸaMœÛýk9_}Å…×Xa~ Òd¿½¡½¼HY**޶hK]i/­lõ«Þ½Ó+ê`´8ÚO’¹Šv ‚>'Áz#«ˆVåbÔ‚{4ü:`Þ:…EE'<Í–r`&³¥| }a/¿:£$³<çÍ=UW[¯‚Ï@·²=ªîHïÒÚ€v|‰JHÇÇØ³èÌZ°‘ÞL:íZýkùȨ(wh&a´ãË“©N½v`Ö<7D%*³²ãD¯RìéºWvÎ j—½¶JñÌs¸š/%}q8Íté üsõ¦TcF!(¡!€ ©'À¦²:Ó•PGêÒ¥*Iª;€ë¿Ƶyy5"8•ttÁÓZ¡(YL#ÓáLÞp-éØù?=ÖV<ÓF:À—À_ýsk€[ÊLá ²,€>Vì'FF øèõ;Ô¸„zµÕ˜d—hO5öœ®É+HÕŠŠ•…+ «l%µM eaþ‘q›|Å?`–öŠQ¹É„#ÞêœXÁ£¹µÁ‘_ÁÍjj';" s”ð;ÖP‰˜…Mñù‚(sTn4 ®ß¸Èµ&è³£b™\ždH=©J‰ Á¢îJ¤ÿ¥Ù´/êhð¯‡~?Ý{XÝ}VÔÞPÒÚÁµÝ눟'ðÊŽ)Å ¬©¥&¿ Ó”iö kfh¶†š¦Z[ 8 êR+•4ÒOá7é¿4œô÷Mª÷µˆ÷¡{]o¥ÉÚ}ZŒ_2þÈ¿\ÛÒ×P$)•†Z‚@zOdèÁÝþ×_à–žÃ`ºúÿ5ô'&&óq§(õ*¹bîÑl¶G¹l¦‘Ž¿þ¹Gßÿ§GSΚ‘‰f1µ&“Û4Œ„³©Ç DaY‰ÉU¨­`VWpÀ5èòÞ€ŸóÓà4ž†ÌÈHÑgbC$4m¶&7>?>—ó#ï{<Ý/î?Ú’X "„~áRï°k…L”p,¥Ru‰NF‹¬¤Éœ“mÁ]”Qi¨5Ô¤•úÁ§ý_œŽmÚÝ*FħÒbÅ1P#ìl¨í»T¶¤RôÚ»N=Ïz×]˜Ãüî¾ú’@Ÿ>²YŒ|)°U«r7¼6¯{͆|p“†û©¿ûŸ_éæ»û ^¢RaêÝžda”Ž—LådA. {òu‡ÅÃᯆw^a£Üó´¼~Äb1¿²ÓûtªØé=>4ÃÎ2&š#›QÌ|n­·4Õ4VÛ»Á Уj‹® êr®f'øª#˨{:³lz]m­z«Ÿõ¸Ú¹*+[mêb6LAWyp9¼ŸyÆw|P[˜ß 'ô^à“à"Œ5ÌÏ‘„NøI)ä–Ãy#Âàô’;äÿÉGùr²'Ý’nÑÙRòâÀa-§ÂwEmD+æBîz^û}ï)Qï©k57ÀEpJÖR/-Ž:¶‹®$u0„OdreЂd£ÜtÈv0ÿ†ÑìDæ¢ÃïÕ¬»è&þ|Ë‹ 8 <pBKg ý(pÙbíÏ¥`vSc9—pOò1wÎÁÔiÎ4DúCŠ^äyxršFoЃTž•aÌ Ï¡óäŠú×OµWm© b’´ñ@¬¨ùD ;~¡ð–¸ÓŸ rá-7²NïOž›0K¶5««FCAZÍ–tµ6êã\™-&¤¼a?*.N*­ˆ«­«¬¨««ŒÄ²r«éÎr8¿‹S÷ *á2{°œ&iqMþà88å燃ÃÀ/éhdh„Üì«z÷ÀÑn·ƒÎ *På&€Xz›ÏÁ K\/@QYByd–ÝRd˜=ÓìúvE§®k2õí£_Ÿx^G‚[âýþ½à<}¡»ýÚñnYH‹¨!¼(ºØ O¤ÃžèS½°ÍÎùf^äÂCñ±}· ˜°/kQô…š?@«^ÍkƒZ—‡ás‹†ð"Ú÷WWØ|ñç]׈™îgø%œkpË—‰=ÍO%j°ë…/Ð’$êZºE |h¤¦€4U©ÔDÅG¨%€ oîÃGhŽ’:™^¤i”K}tÒûN[GqM¨§‡çLådœ.k-còˆèâÊÞ)²°¾ù´Œzú:cá²*Ë™u8ÛG³BŒ³}ºM d@›¡MÓ¾‹,‚Ù°ÀP”^ °©/4µqº÷VPí&mß,8u ² F½Q—'ÏÓå<`²ÚÚà$xWPw#ÏTo¤_3 ³so€kâòñ0àÒMfÕ~ñpv¸ééYU٨Ĭ#ÙØ´¡+ÐncZvzvº1]˜¯5@*’bP‹d i#ýŒvÿ3hôÔÕÜúìZ_]¾Ð–S” O¾ V’™…i@ t)J¥‡*ãL¥e©#uîÉB‰Ž=5ÁÆÈÎùnþ Ç ÈXø`ÐRüČˣQ Åñ`.6„˜ŸõAÉ’¨ý;"ÖMÀ·*ꄼQ߯:ñ;#Pý’…j+6 Õ 4ºN¡õ]àȹ×r£CTÕ]а’¤lgþWâ50§ùàNaác6Fc÷ñäõÚá#Ô!uB´ÒL/Ò¶$cmŠŠ‹òï’ôCâêm8b¿÷ëî—‚jÖ›õ ( ±š¨Å(F°Æ%õ¬BPQh:aÂÝòSPmiMÙ^“Ì$Ë“/Bûï¢4s†˜… Ü’ßœƒïÚ¦ *3òµÞp*úI`‘ä+ó°Êä[-Õ8dèß#MQpŽ!M · ¸çÖŸ¥ÝÆÜ2üˆ×äÇ2N‰ü<²0Ë’…“g£Y‰SL4ö*U®©¸Ç嚣6ƒ 4ówc_RvKÒÈiK?#¨š¾Ùò œùx²ãf×gü$¥:UgI_Ô+†˜+ΦÖ)ªâ[Ûݽ`½¯k\YbeUyYENfn¦IœQ™LtMcE穚Ƚ¢]Z¸3Iw8ˆvü1>QvtŠk¯ßÕÞ®ò³WE¹ûJº@3þè-í4úîˆÔ”u¬Rš’èPis8+EW+×Ëê—¦|èÍrÎÐN6÷úËÈ é¥ Éú(µÍæ Ð|øýÑ;ºJ`{‘™Í½…YElîµË¨S8÷ö,™Ã} c˜þ¦G……'8ߺ½ÎÔß r™©C“ù–L3ÈõvrñqOo´-@êßHicqiQý¡Êš×‡3-vj5{žu‡†»©êò̸¿îü&+J¥^š™ 4`äð§ßNíËRš½DJh@èvãzqþ\¡Ù¨O)lx´‘ ±8¢M‚Þ‚¯àX{M}qc–І–(¨ú ³–Z‘jPËU‰Ê2´[Þ ¬ ÈjªÏÂX:¢( êA±ªáÀs4K€Hä" Ðê¦ p¶’ªs­y&›µLü¾õ=rÊ1d€Aäú´£¬_°ã7™~– Å®ì×ÎÌà[ùì_uAò~1Êc¥Ø“‰c£¼²… ƒ†-ÈÎ7›LÇ*{JZÝ[Ší•ç,ƃÕÛ8å‘¥(×h˜KÕ÷4•öúRi”³…PÀC§s×㛤6*:[’­*B@Á1WÖ¸{G»ïÉ/…Õì~@ªtv¥ïQúloY˜ÆSÁ:xm#óæ'œÏ`â7\¸`h5?5Û_¥; F²~-/+˜ÝYâ/.¦"žý á(8¾µöùÜ]î!¾‰"¯Ñ'ZÏ><½9 îþ.ûU9ü¶ coœó›3‹=_y&c/ $¢µR4ý @ø<#7¥"Ó(L)7رžWUšÏ³Ø+“Q—2Í)Í«š\N¨ÍbÆêKÓFg*ŠLgŒø– u&Õ&o[÷7³ð\Ȭ‚K‡WñläSXd®ÅRrÂ~¶°àœyD'Ú˜K8ð!6Ô3_ò¡7Y r²¦öo)&E‚65Q‰8H›™2A†05'=¿±S¯êA*øÜNð.=׺ՉI¦ ‰(¼2ÎŒ§-R©Ž :{oàvÍ™Óâ¾ãå—À}p[Öçsگף)ÇOvšU6@q`Çì¯ÉŽç.1›ùŸ7¿ ®Ð§C;…ÆÆ……WÈÚòLYYy"S6YØÈ–ççtáÒà½ÁbhñsÙW¦üï Òÿ³€ý¸µÌè>øæ|Çe<†Öñ©u—mðFÄ7D4,­ù°Ç§Ýï|ì5lÆ?û s⤠å— r×Àù˜9 ¸¸šF¨ƒÿìôFܱQ»6¸÷9üàL~m™M\^ÜP€Áʆ$3§ ãÜ€»¸ Ì2þ tŸ;4ª=™Q6jOŽªs'|òŒz‘›î%F%¬8¥ìLýýr®Æ >¥¡ 2û\šQà§LgÏü÷ ×Ø[RÔÓQÔ»ª*ÌeeÊm%Ý>µkÖºGû†ˆ%š`Ã*z ‰+ +gnßå0{1ö†IÒ Í-ÑõÜ(µ^B(!‘ïð¼ë$ šÁs€Æø2ΫîWè?õ¥RÖúÿ”ùùÜëCŒ€ÎÍè6Àmd–óo¢ÏHpÈ£LÑ굑¿nžÒúhøtC_SÀW‘¼êpœ™r´fp–f^âT­ËÔ¤© BYŠ25;w­Q‘+-ŒÌ‹ÀÁXi ä°60íCz Ÿ¿ÜÎ’ÿU~º·Â¢‹*Ù¥Ö”J<¥9Ù¹¹#X¯rÀYü>Œ½éy²ã/°‡¡ø?Ÿké7è'¯ÌEœ•Ûm·Gþý"\â#ÀVzÞ£­'rüŽ}ðÙ¯bÇ_Àƒ°ShÜw´|ÿξª°‡Þ~èÐöµÞý_ZÑÝBtêIH¸H÷ïúäFßé! Qj:iéØÒ=ƒ^Ÿp: ™ï 3?aj{˜ÑµðÔ¿ä^ŽçÃÑÖ ö§þëþU8À©4tù¾øèÍ%sÐTäp{%$.tw ˆë„Þ¦áe8ĉi)šil°*Ðk÷߃o^*¾R^-.);VXè¯/C‰qO5å8á_y,¦®¡úX]Ctµ_jÐ@.Ì‚\œÆøýù„FÿÕ"eùÐô2ìÄf‰äÿÚ»ÁÂLY=4±š^@ë Ö;ó=Rp¨ûž Dô@œ&ôƉ=m~gbûÁÐSÒÚÒ¡ÒŽ£¡ÿ"øš,JæG<„‚üœ–-óû' „¡Ç!÷™xDÙ8ƒÏ¸°—=ŠÜ¶ˆ§¤,¹…99Ù¥¦’ìDË áböËŽ£º¸äEŠ2ÝŸU–:õQV²œd‘ÅnrŸ©¼ËWŸq)œÎWå{¨RaÆÓ‘ð#¸éÛ;ÂW+ÌôÜ$X¦OÚTž*èü[kãM@\òX±úàÂKÄh rç©™)Ø5=ÃÌÆÎÍ?þ‚ÏþjnŽJC~'§Væû+aÝ£ Û“oÂð+þeP™Q•r-¾Ãl¡Wxl_•hª IJ“Lì×k eBhOüUwŸèªîŸƒ3É'"+d?;íøôæ‰cmç§<Þqñ¿¤ð‘$J¿Û–&èºs¼é@_?î碉‰K$RÅÖX¢×õ$®ëúý’èàƒ›–†Îé˜cÛ{ßÌîÚ_6ÜR,Xõ‰´%ê^ìçšûàø»õI͵Úkõ­·ûG²A9œó)³âù—‰€ÉüÙŒ»‰>vçí€ÍhÕ¸jBÛ>å#= õðŒ5ϸíh3ÿîÉúê¶¾[_·¼ð '¿üp0àdtžFu²àKךÐÚuUÛ ×‚¹`¦Ê9j—ÔU²Ñ}í¡ø÷†–óÃHä0 û•FÂñhï È”ºDÛ¿KÎìpóמOvŒ¸3ÀwŒ^õÈwˆ³™>êzs÷ÙKÍû–®’l׋2ti h R+3iÇÊoÒ{· ©S–Çò—éò+2D•ò’x Œ–%Dî”\zõèä\Œ?}¤Y^Y¸ËB;FüóT}Óí)?||eæVïhïHQB0†ØfÚ!±Œñ*ƒžedý˜§oÖçû´tì8‚ø¿¸ endstream endobj 158 0 obj 7408 endobj 21 0 obj <> endobj 20 0 obj <>stream xœmVyX“ç–ÿb ïw-Å[ij¢m’kírÝŠŽmáj«—Û+U@6AŠ ÙXBHH $,' $$$„=ì;‚€R+ZÔ[[í­uéˆÞÛÖåNÇyæÎý˜g拽3óÇÌóäïÉ{Î{–÷ü~çÇ – ã¥b£#÷­‹I„bd’4i馷ý'¿ñ­bø^^â{…Im£†Ÿ6=½ØþrpÍrç|gžþ5Ád0†.ÞŒÉUù¢¬ìBÁ›q1 ¿]·nýÿþ³)<<\®úïÁ.a(K*xþ(Šer‰PZ¸UA[‹Å¢£‚,±Jž] HËÈføÝâÓÄÂ\Á‘X$—ËŠoFüV°94tÓVÁ~…D˜/[/I3ERQ¡J&ͳҒ´ ¡ßw—DT˜¯l IÿÇq¿H’®(<«R°_.ˆÄ³â´üÿ{B:žJzôY†\˜•ŸU](RäÄ)ÅiÅ’ô„õ62†‰`‚H"»ˆW‰(b7Mì!ö›ˆƒÄï‰XâC"ŽøOì#Þ&ˆDâ#âⱟˆ ˆçi×eŸ~"€0ÿÎØÏøÛ’KÎ2ßf:˜r.±Þa ±þÅ )r5)#¿üUæ¯:—î\zå¹’ç¾ Jj êš{ª öUQÒǾÓ†Oæ‹gS«4¬Á¦ò’Êc•¿–ꣶ+ÝÐÀ…}ÊBz¨t-ê®lÖÕ«1‹ªáX+<’ÞCMY á‚¦0R-Ñæ)е`„r‹¾®Ø®®UY¨Tä æO^=}¯9ÇÇ}ë݃ ÎN+—ŽßÊOWð®f“o5Ûfuš€ìuh’ø”AŒN›XIjp¶%Öj\0JâatúD‡kÈ3âù”Ad©úß(Ã’êÊ\p†Ä*t?õüαzß^Þmd°$©DºØ:b”þ+_`n2}«q(;ywVA ¡ûî`ô¯Ÿ^ÿvÔ­ËtòmŠzY‹ª¸Ý­Þó»O½›”¨ÌJçJ•í…m$õÒí˜yb¢i`”×ÓÙÚÓ‘ ~²Z‹Çðäv·.ø›ÿ£! דµìáb´`ré`'¹…`giiXYŒBøŸX·àzûØðè`Û 8 Óª qŸ¤GîúCÓ¬»ÝÙÙN†¼ÓÕá;¾l¾@íä…Sf?‚“¦Q "œ+è9¹âŠ2ŽæªÒ+>2IëäããtBÞi·;<¼iFóɛߋOÝÀ§®ïõmîeÀ_pã_˜Øê;¦^ ]Gñ¨U?½Ž—ãåÿ†yxÅ[¨ù¥2öÂÅuÔ+TàÇ{wddvNñe³%×à:ùàÔ¥ë<ÿ]³¾•ô]ßaå?Ò³ñ³MHUS U@fU4œäû® “%Y­ß§æ– z³ êsèÓùT(ÊŽI¡T µšzñƼäü±¶SÃü}3À`(ÓëTÊ|½ȰØ;x<óõ7Ÿœ9ï/„’4ã˜A_ðgŒk XñÓá{…í0ÛÁä°]˜¿˜ A§‹2’jljA;Ì¥ p™Ä›ÐHN§~H¼ôG€_ÿÞýçµSóãRù7‘ÑW”]«æâµ;ØýçGO~}f;ER̤‡cFûyþñùK1eøÖã0vòö#Ò}Gú¤sªc†¡êyϳ*þ¨ïË”Œ¦´'À!8¬Š§ËwA8Iñ¾z£7.bb’GÝÂëÙ ·†Çæa:eî-d0þŽÆÃƒ8­—q÷._òƒr&YZ޵7ê¥-¼¦<—¾Hok‹w4µûÀGñò”<~^jEVÍV2<÷©«,ø@WáGƒÛƒÂ­º¸Aâ«8ûÎ@+î˜À3þ]xŒK0cEÈ·8 O³»«›kºáœsNu~68:ŸÃ¤ö˜¼ïèô–Þ @†<¢šY!ߣ¯+œzˆ w#x·B¿Ý@ã¡V´Íªi„?‘¾¢€G=v{^uéðšµQ‡(¤Ôš-…¼`ü<øç¿2®/0[|+ÙV‡Ùd—£$•OY2ö•Ñ ¸q«{r–wl yŽÁ¥Ã“;­ÛƉ·ä;  Ú†Fzê5ö+´V»kl0žž¡^ÏÌ@ŸÉ«$)ÃâJöáŽñ ? •fEoÏ ÿ!ºoÚkwOÎðé$ëðO싽#'ºÕ’&^K¶+2ȃÒì”i|HWßá{¯ƒ—pø5&þ_eWâ—u¬êêrCMM%p ·èêõŠZº´m1‰ÞKæ_ÈQ6€˜›š+K‰Ýż¢®roéYB…ºYvg­ÅE#¦±Úkì5öT¶yóÊ…k3CFùqEÖ¤é‚îÄ@ïɹ~Ñf/ïÆ^uÎÏØûiÐoÂÙ“'û›ÇœéÊÚͧ’ìÕ—F¡ì8§±¾$q2ú·´s¿‹J+8ÂÃsÈd•åW,áÊ+KP­Ù u@NÕWá/æ"Øm,® ýÅmÓ»hÿ`<@SMÐ cŽYOƒâuΫ‘g(7–ôÂØ#É%•:ƒÑ&¨2W[«ÉO¨s¬wû\#× >v3ãÒÞ³Àô̰M¬Í‚ø!µY.U¹ôpˆ¤ÊÈLZ­N®—I€ÌÈžäãÛÔëZtºªQ)$U‡¶NüÓØxSOoj*0 ÕVÏ´6œmäÒiSÒá'¶Ç ¼—N<ΗÂ6Y£ …¥Q*š_ëÌ‹Çì®×¡¦{¹ Áöª|Ò¨×VhAz»º]åÕ:Jè¬R+r' Ïá%¿Á«ù‰O¶ÿõ`hõýu’õ™Øþ„`/V!xG§ 3Ѹ?ÑŠÂkµn?îëÏ!Ì‚•—ZBv²ŒøýÀÅy–‘z?°“Õ‰ÞV$Ým»o­4òü¤Æ§•F•GÅ ¯ÖWêߤ\œ×°ÃØXÕZk4ØG¬´ÖHÔ cÕvýÉ58ˆšàXŒVƒµÂ¦²UØÀv·g ¿ˆ¿æô}a³÷[é œù÷_Ð4hØà4€4Æ|•ÏyªO€›  öSvúúT «téÚâìÅöb›*”J漉+ÕNpr¡ÝU?\K[ý^ƒ¼ÕõúŽD¼ŠzÀqIêµ6z\ëÝ®nz}8?PºÆÌZ£ ¸v¨s4MÐëóŸ9-“Öº6:Ä/c柱Ö'L¶Õ`v™é8èÔÒû)Aœ¶4ÒD—΃"kËœð)é»*- j¡~ú™X¹àãt.‡ï÷|_ývEÈMßþÏÙjm™IC?¡¡qšÌšú4ŠÑ#­Q@nØ™Yئôv¶·uÔÖÔÕØùÕŽšz°“=ƒgz¤q¼ýˆÚø‘ºâˆ ùI¡ÔŠrVFN§ÎOoŸçÕ%´‡aºô‘c$õÖ]6ˆMåEeZYyÙ²á)~-‚‹ÇGñóÓä/Tæaà—pЇ%e“xšz'rîâ Z5 š¹j³õW; …²2E¾Ød,S•*µmÙ¤jÜÐè¶÷›é.Õ8P?4•¾O­áP,*\’®7äTq5ø5’•Õ¹mv»/ûÔ-F0rAe¨Ì©¦Ÿ¾•Îä•Y¿ˆôÿ˜­´’t[ëýJ²ÛQ’̧lþ^kÖнÎ÷ x‹¦ÆI<‚ÀRï´Û»¼SÍ#@NwdÓ &ApP§‹ñc¾ÐƒbÌšf¸Dâ:Ô?5ÔrȹyŸÊ¢•iEE´6’yPžEb)mq.NGxiÆgïG'æEÇñTs¢ž8H™6,’¼A‹ÐÄbZ„jü K?è{î2ãó¬üž‰7(è^KÐóñ_¥Àõ endstream endobj 159 0 obj 3442 endobj 53 0 obj <> endobj 52 0 obj <>stream xœ}y XS×ÖöaÈ9)Ž%‡s°ÖQªâXT¤(Š¢¢u 8!""Tb€ÂàB!¦¢Rê€H'®µÈ¥­å:]ŠVm뇵Zë­vZ§ßæ~Ï¿O"„~ÿÿ§}žöœì³‡µÞõ¾ïÚ8Q®Î”““Ó °°UK-÷ Š—ï‹‰Ú'¾òF8 #…Q.øøŸÃÿ{¤b䘷݅}¯CÛ Ø3˜rqrJÌ5Å'¤ì‹‰ÞõׄðÕë½}|&9ÞL3gŽ×¶”ž_¼F%ÆDïõGþgÔžø„¸¨½ø{‘Ñ{öÄl÷ŠÞ“’°+ÑkëŽQ;ÄÏÖmÝë³'&!!~¿×„ o¯iS¦L]·Mžèµ"~o¼×r¯ÕQÑò=[÷ýå%Ee„/LÙ»}Å;©ñ;V%Dm ]øþÎU‹öE'îZ½øƒ˜5Kä»×†ì OÚ³uݲä¸m fLÜ4Ógó¬I£#fO~cŽï˜È·ßzÓÊXÅÜ©¹æM¯œï7aº·Ó)j EM¦Þ 6R¡ÔBÊ—Cm¢VQ‹¨·¨7©0*˜ò§¦Pc©ÕÔbj*5ŽZC-¡ÆSk©Êš@…SK©é”7µŽZFÍ &Rë©åÔLê]jõ5‹šDm VRAÔhj(ÕšK £úSó(jåLͧ<ÉÂ.ÔpjåJ- FPƒ) 5’z¢©ÍÔ(ÊJ£"(Ž’QRê=Ч†P¯Q,åF­#É%¬¢¾pšçtÅÙ×¹Æe´Ë6—#®]\ŸJ"% ´+ý.ÝÈø2UR'iªôÉk1¯Ýu;Ôïµ~Yý‡ôß×ÿÆ€¬nwlä1hë æÁ3ÿÏëþ¯_rgÝ+dÓdŸ ñÒÊÎ`ëØï†F=6ôö0Ù°éÃ’‡U{prnÏž×<ï÷<ÂcĺŸŒ ù·QýF…ŽÊu|T·„‹ánò<΋ñŠð:)ü4Pø Y¹Õé¥NÔ¹@ŒPÎޡͽñC•NÁãutŠZs ]¯.ã;»åŽ'!"貜b¥R“™Âáéøc› &XáœÕ Á6˜ ;]„Æ¶à ’>ŸÂºÌ¾@ MãB¹oéóó@/í–KâhE:yeT›y˜äØ’?}&H ÀÊâ4(8'1Ñde¼Ò*”5uçÃÛ0ÛN]„ÇJðq^ešmÞ´E¯?lRë’ø4 eäKq#&•>…ÇδB¥V¦ÈrWhržoðløFr™.Ó“jq„”N±(ãÍ´ý°] ñV÷Ž8Ò8Lv3Ù:ICéÔþåöcUò0Ô6Õ‡jrêHÐÑ'¬ús‰Tv®ªºº¸nD=*ÓT%“÷¡8)F±L’Š|h Óå8ünÐÓw‚[ß N^¾†#{PX'íFxÖà"lú³[k×—‡")é3 {`Ù3_ð¸Ö^^{™?Vn.G%Ò•^­Byj·aÓ²Ä 2ÒyAÇoàúU8{sÛ:-¯MÑ©MHjÐÊùÇL©ºD¥Pg¤r½HùÜ* :ë_Ã\|ቡ[H"cÛ-‰òÚl$»M'»Ý%ÈÓe:ò¤!‡Oc_üOƒoÇøªnyÌ_¾¶ACÌÑ;‚¼˜†iø‰=Ö +DYXá|}¾Õ<¬ìzÚ¤«ôÿ¼ñí?¶\šU÷}\U‹.K}áÍábÇ Ë´G±s˜Û-a+WDÎâñx|”x3m¨V]“Z'¯ŒFÑÒk6,âzrìd°B­ÕEØKò‹ó¡“õ™&cQq9wt ¾ŠŸH¢…~?1eYÅé ±ÖภO$ŽY…×Èž?‚XI玟ù2€±V'p'¡Ê'l ›úèæ6ºùÜévK}nn5w> !-’õ£A£K/àcu‹Š¢‘tê²ð >ÔéE]îòîS8_ÛUBCЇ¾R™ÕV"wb]> Ë. þ4Ð:žÉ¹ñìÓÀ€É“è|Õñ”ÿ_ú5Ö ,Ð>A6A¶‡Éäë¶ MEö ‡ÿ§ ‹Ö¦O¢{d‡u”ÖËÏw",X6úD¤i ’ŽÚ[_ÌW§Vgud]ɪVW)¥²GÕJó¾ÄáëCv̘\{+"$bÌ0¨8Ù#¥F•ÊÏ&ÏÉÄgc±¾œ/a¬ÑÍ)×+Ò>½s:ådl%k‰* ÕÏЫ 䇥²;r£ª¬txCˉŽÎ+q‘Z._áp7lîBÙë.ì:çô Ž Ï'*7™€9Kù Ú囈E³9BÃF!’˜"ƒéÊÕ¥-ȳUU%7Ù}T„#dàá0`ïB°¤õ­[C7¾Z<ºRm‹Ÿ#É™…,ù sgÓº.á…Õø´C!´¬²7é&®’6éíIW땯l«{Å]ÑdƒÌ&°úÊ*ú‡ÙAŒÂ@سPWAì`÷&1“zµÉ@ ÃÝÿnù˜>äPà8l¯·m-ga”Ø:ÚÙßrD•p²{õy¾å`%;Ûû±Û\àÑPx[è/©ïÓwNt„µÆp—$…Æ¡KÒÞgÐ$‘”¶ö¸†¹Ýý%}íˆh –Ábö\=,ÁÁ’ø>òp+’Æ;` Lƒa’ó¶ã˜lÜ2ı¾…ÆxœDp›D“ÕcŠËûͯ´Ec3w× Ue“ðÔ:ðIŽÓÛÈwàÇôÔEÁ~~Á7¾çàñ?ÿÒLôn±–ŒÂ®ýˆ#t}Ø®¶ŒVˆQ›Ñ0ÇEX>ô[´2º×¤aW"ʶM›ùfz1¾íE’ ´. ‚Û’+tY1˜iØ8 ý€Äí2ý=”ü€KìÊ­=DôÂNDY=DÔ]þÿ!¢ž‚YØÓ˜µ6“¦ }F›É&?Ì …µ,ô­àË“£CҒùôœœ,”!ÍЫ ùZ”¯å:«ªuuHz»y÷F~!fŽ-Œ Œî>+ÌtfŸ¯z³íèÕ6î¼kÈòp±O_´åtó·š~ojÖ¨NÙ0Z!äÙ/ZÞ-.P1´…†B¹¤¦?ôÉÆ]¯í–Krh¼RKîö¡‰IŽ‹–ºüßZa;¼ã~ÀÞïxº§)´Gzv9¾ £`môeï³ðlô0ÿ••zâÖDãø}Õ'ûóéû‚=>¦ç©¯X.p”|ñ,Ì„©Ýë¶0å‹4éYX쬤É6Â,6»ØÙm 3ñT¼””‡ªaoSøÅ4LoðÅÞ’eÿïR÷½ôù¼æ“‰]¾ÎDÅ»9…»zû2ƒ³£:b$d—®žýøhíˆS5»vðøFÓ;¿øëÙÖªj‘´¶fwow0½hÚ§è¶÷.…mÝ¿a;'¿SµmE{’wo–þõ–@ìn  Ýí ÒÝöÞØ ¹7/?v‘_hÝÕ1ú?î0Ðç9¸66h‹¿`Ÿßõ=ÑŽÏØù^¼¼s賂8b¢ßnF‰6åÇ&Nª>ŒeO‘‰FE§ÌçácæqÈÉØyvÁ“9<“A -+k×Õ¾ÛôA+’vv~|¢X¥O× ”¡âÛÓ#Ñ&]6þ|r j“Ât<¿|üÃõ‹ƒ¹ÍÌØCËÑléÂÖµ÷ †ü guMÏU"’†m?õ·Ö–¦»â¶”gIcs­N—­PIjyÐÆBmѤhŠÎŸ’¦Ï4jµºÃ\CŹRx[WL³8Ð;l}UÓ>G§)Ð iº:3#è8•Ä7ïnV\…þ»G$8® ŒÜ©JZ/®'„Ö¿°ØÅᤰŒÅÃ4(/?yªTêŒ JÏë‚Ƕ9X¢Q¡\”íI"nÐë J Ü=p}€]õÚ\ò4êõ%º<]N?$0Üj.ÔêP‰g‰ºX•§>˜—ÃaÏ­à˜Ò,ƒÝ|‰R:¸áOORõ .p˜óÙ«ö³ˆT÷ï=À9ÚQÚšæFØE>¨ƒ d¿¾Íæ•#2 kæ/ªš;ï^èDT–kÈÖeëÚ:Öbƒ%Ú¹,d_Äz>pyÌ „_“âwààöìÎw¼œÿÝÔ ðms¶sºuleƒ±Ül®©m°ÔÞl]æ?3lqàâ ¾#EŒléUlZç %@±5qó „.Í,!Í1ÿ8“þ±×á.ÀKé{ST&ž¦üɳêÃ9Z’w•*S•ƒrµjÒ)ÿ{…^©Ë6 O½ÁPR€ I Éè¼ ÁjóÄK… „Ö»¹¹Hƒr=3JTƒ¶Ð¬ã`¦P*ù²[À$©M‡‹ôî44Š)!˜^„ òrQÊñTÓÌ&]a…‘ƒ7¡TT å¿Iÿc~3S™Rš”˜’*'CóÕœ-IÑ©Œ&Þ’ÏÅãIlœ\ŸP)¯áMtMUåñêÄÊ8Þ‘FLbóãÖÛ¡RÀÿ¹óä9ë@†øüüU-õ'*ÍbÏ&ÚùIpƒv¶£öx#úLúhn§À´•'¶\æd¿íŽ _6ÜûÁ¼_ýæîsNöº¶ãJàIi ”²m«-]±.0`Õ'í7þ~µ“Çu®²_¾½¶& 0dåÿ¥Ÿuv|Ùr¯'}ÂA’º2{'’Âwi.Ca y+á> Ä8Â3§°N›¨Ï(CžeÈP¢­::+CO`]~¢A|kFÆ’üªSä­ý4»­ÐlKRs‹°ºY”ªU L´4ie|䦀y›ç¡”\¨.TiÅ4´«ÓSëõí׎\¼Âw|^û7)Í€˜0SovÎþáf‹õ^=§ù”MŒT¥*1QQIÑD8Wµýðïí·o^Œ˜]Ík3Ò%Šœ©¬p‚K e·ÇÅGE×Ä×óº®æø™º¸ê(ÛáÃHzœ í¬‹À°E!0‰zm†Ä|³ºD‰<Ó‘F“—ªÀIãiy[”_’^¬BžJµ&•'¯%"é¦)EÒ½M«ð`ÉQ•Òm/îÑ ¼O¢fHæf­¾4Ÿ3ƒ\ò’N±½ÍË$î•d‘¾”/'ï;EJ35Düè8ÌŠ³§õ0X„%vÿ›“ ,`ÿíú6ÐÀP˜žÿù*ø”¼Û¹³f¯ýýGgÎÄÕØ/ìÿs «Õ£¤•TÅj•&'MÍaRrÄÅd‹•d°U’I/¨pÜlw /À@óáÅvVÆŠ0ˆ¢,Ñ5ÉÇÕ™×ÒÚ•e9–´cJséÍ—/{oé‚PH]nƒTv®4W£O!¶E™)üGŠûÙ¯ôâH?æåá/®¢»¨1¹6Î_ñ¾.ÐV’¤M:Læ“N?r|xkËùëm­qQZN«ÐåØ.ôe|SšC8U­JÉãbŽ%–DJ›™rµf“m”S'®‚0A.@¹y6&0¥™†Â ƒ ‚àØŠžò¬pɆîó; ø•…i À »bçì„§qì×éÎàúÕàÇáïž²èZéõêóU§N•7 &t"¹2¦&²-“ú1¤(–Äm–ïŽÝI?¦"ñdü…Ô /E §ÕA`Èê  ÎéXÝú¦³ÿuÆ0d°!kW/Yܲúzû§WÛo­ý4˜r½Tµ!rû¶ÈˆíÖóÏÖ5ñx0… Y³vqpËÚöö«Ÿ^¿µî“EdàÅÚ#¢vDDD½p±îÌyJp kÔé Q±Ô .VçdDy\÷ <(=;GƒTž™úL=ÒÊ×q¯XA¼÷ýJÈfÑéÊã' ,úBd”Vëk¶F„r8€AQ‰û¢ryj JGôóÁºœª}(ZŠ™°†Í-f›Ž&p±ùòãè”dM·Ä;qÄXÄÓw€Žfâ4mž.W‹<µHG4¿Àhµºº]z!þ˜Sø 6õ/DzOTS€ ¤ZFC?G¤ø¼œ\û­:‘ôq׋W­Ræhˆ_÷Ì4fê9d<”ÏG£¤û0æúôŒÿ¤Ív·JÍK,9øäÏ·ˆ ÅΪ,•§èöµú|Ѫëw?½F—§µë¾!¯@UÜC¡ÈÖ€t°¥™†t›Ðÿ{&óœn}I˜¸ZØ^ê^%ZÌ4¥¸a#þrØ(6‹¶_Ôé¶?bØÝüI›þFVyÃÊ0­—>o}øÀòˆçz4óÏŠ5ñ›¢¹¤”±(Uš)Ö¶®È¤åÌ¿vþ:’v´¯ ŽP$øøò8 ¿/ FÞ±ýqŶ×h¦GŽ! å"É`l¢©/*µ•J¹äÕ±Mý8™E1ò„ؼ¤\u6RJI M-Z91½µGÖj͇ô:ô!2’¨æGì;Šê¤À´m9¿F)^ë³-¹Ü‰ÜÊ´K*Âh«qÿ‰bßOOBÛÄ, G íž ’ÜCyÈSƒÄ?©Hs™œ\› “¬ë³AÀïz`oRçh²‘ÚåæçjsÉ ­h‚P>Òæë ¤v¥:Û‰VwxbM¶“½ š{ÕæçÊG­GÏ^FW¥ç_¿~ƒ".Š“P&#•T$m¶à°«>Ùli!¦·mã²-ñ;¶¦òò ±»R±Q°eGöäÙƒesçÏ ™º&¼¢v¯ÑæäªRgªÒN¥òÍñÍÅÛÕ‰—½@×7·ù,íAÍg.ÐMB®Fê,ÅûAØ9 »¡qhì‰1×±¤*JŸioÄ‹K óPžŽ_ƒ÷þ‚þ@¿ôëM_˜/V±Cé¯n?eð›Õ~?Óæ²XæÇ8šß%Ž®oȚŧÃ&ñq„Q³hœÜí)ÙÌÀâµRiØ¿I*éW›üù È"›LW©2rIœ³ùÛxð± SÈ+nÌb<(ô(›ôÅ™BÍÇÌÜmp: nègô˞߃kâ•A¤“, ¸[,ºÑÍÚ¯±kÿõ€oW endstream endobj 160 0 obj 6863 endobj 50 0 obj <> endobj 49 0 obj <>stream xœcd`ab`dds ôõõsÔÉÌM-Ö ÊÏMÌ«36É(üfü!ÃôC–ù·ÍﵿfÿºÇºàÇ9¡ï‡¿ïæÿ¾M€™‘qͱÎù•E™é% ¡AášÚÚ:CKKK…¤J˜Œ‚Kjqfzž‚Q–š“_›šWb­à T““™¬žSYQ¬˜’’šÒ–˜“š­à–™“YP_¦ á¬©`d``h­àWš›Z”¯£™—–™—YR©˜—¢àŸ›šž¨›˜’ Òë’›YRT©`b™×è—™›TZ¬ö¤‚_¾¥‚BPjziNb¦ ³£¡ƒƒƒ08°XRV12üªáû™Ö=ï{ä–Šó†Íëkœšqõwï3ål¿SþÔ{ÿV«¯Žî”¬ø5=º|Æòé}3'Ìßù“õû,¶-ÚÓ &v×JvU5‡uqT|ŸÌþ§îûTÑïìß—çø½œ•ïGG÷,Æ™¿oÿi!úÛÀµ–}ú„iýý½s'ÍéŸÚͱ`JM¶üŸHöî¬æ’ꦚ¦ÚŽÄ.Žšï+f±ÛôTOíÞÍñã ;Èë?]eü~â!óüï²¢uÒ‚êšâº%7³}·ùîòäŦëÝ7%ß[ÝP /MN“ËάɮrYÐ&±ùíúÕº9î 2·Õ37’ÿíö;µþ‡;_ùüaó¿‡Ìg[Éõ€{ådžsyx§ì… endstream endobj 161 0 obj 564 endobj 35 0 obj <> endobj 34 0 obj <>stream xœWiXS׺ÞÈÞE%ÝÔ&ÔŠb«­RÇŠ¶*ЍNQ¦„I€!Ì,†0C‚HedRQ+žª=j­O­¶µµ·=§ž§ß¦‹ç>wm¼=çÞçþ»Bö—µ×÷®÷{ßw (çI”@ `·o=à·ëÐâ@yœL»t‹J‘öú*þÁµ—z‡ZAyQ ¨ýÔv*ÚA­¢P;©ÕTõõµ›ÚB-¡Qþ”/µ–z‰,2›r£DÔ‹Ky„)gòè+Á.mÒÂIÊIß8­qjwžçœéü¹Ë—›B/á#:œ¾ÇÈóëäìÉßNY:%jŠeê’©CÓ_py!ä…\·ºtýët·éºéŸ±þƒëØä:áM§±é c•˜ :EtlXäþ¤ˆñ×× H8î×Ö|[Â8ð?4ôÜ“)è 3®§ÑÁ4ã£áîÓ®\…W¹\»ÁT'. eñb­p ¿: i‘1ßdÒ¼‹Ý}a·îB¨ÜÕVW8Ь…îv\¬¥›òJóJMÅèÜ¢ºP˜†/¸'%ŠM@¦ÌòŠBTTX,)4šQ sJk“GªãeÒÞ˜k§ªÄ M¶Þ®a÷Š{]ee[1ãÊ]FvÎí¶à2H@ 'ˆæ7´_+̪È@¡ ¢Qh¦é˜‰ÑB¶Ž4§[P76•”UVV46Ù«›ÓU§Þ/Á94ŠLK‘ç’Òt;QœQú(¡]õÙ#UDŠ]¹€ÔÛœGéýpƒNÜ °‘¡ñ©aˆYø-Ìý­ýæˆÕ’i,•˜M¤ýÐÂÃ'ºÓßl?{cû…UxîÂWð|,þÎfíöVà ðÁbØýÛ²kxØ?dO EÉ¿ À“^ ;ôÖñäºA Wè|ÆRsV,Zÿa{ÈÒy1*<=OB6µÛÀ·¶VÂB'(áâX,òž‡çâWš³€}úŒ ì¹øf%… v´>¯ÅËtÁ{t—`l=9rƒ,s9õ=nê{ð.OoXßÉiìù‡ùFÙr÷&ZZœVC€å>ƱZúvNE’2Ø9g•"OòñÄ^xî§Þÿ¼Üa’äý…EÙÉéiº„Dã Äiþ"`[®v´ieµÀÈçÜ~4Èù:A2 Gi„6Tg¸°WÒhŸ!•§/èôÆŠ¤zôÃ- ¹ýã}.­ÜC!ºVSóA%á|¬†¾—UŸˆ¶2x”&Ëê/ŒMî ]lsó‚%lÀîXía½2=&[…v ]]ÊååÔѯ „ß‚I0mh I6 ˆhŠéÚÄ8 M-L6õÈ„ %'*ìGªŽöŽàExÁa°/€ð®×u_•´76ÚÎ ólÆ¡ °é*7åšà=‚õ›àý?]É3z<ŸFa™¦#™„¦Í ´q² ÝfàúÂÑæ´AÄ€óÏð’Í?a§€¨„½ I‘”EeÖê[cSu#bFì{ð,Š›ÀÀdròÑdtº¸g‡Û׬JØ2KT÷Ë÷,:®ÑíÍçEw… €ùDÂ! {ÂLœ"Á£BQ†¾•]o ܃7›X‘¢ÉV}öãK1ïtŠ[‚j· 5h‰îØcré‘„ˆ9–Vsîù¤ÂµNp©œå#xs–è1÷!Üø=¡èƒÿ5ªÁ©Æ·É¨r_ѽá¢*¶ëTQJid`Ê&Äøñr 94P_D5f˜fø>^hÀˆ(L2` EŸôÔTŒˆEa º(w`Æ!$ç„ìp ¼¢ìnW`Î,Q7(ynì%ò›]•†Â'Ô.,ÃxœçF½ö/I¯A7ØK´t”Wd¥T‰EwÕõSóœîæÖ³çäGÉÔÛòÓÃÚÁ¦=lÅeS›z´^w˜ùù,Ñ3ŠKäæ±—ñK´è)e=®* Ÿƒ§®Ù±D^Ó¤’4jëÓ†tëÕá2ŒÂN&ÝJ`Dÿ4î2ÅhÂfï½/'JùÖ£‘_ì>ï%Þ)\§+k=ÝÚØ+9W0„¥6²ü¹æ¦¾Ë³QoúiU+³q<ˆ=6^iNŽ‘Æ{¯’6 6”Uµ6IÈ»s&v¨^¶l™>ê葤3O~¬ï"»÷HíäÖvŠ~ñS'xŸ³àu‚Î6d礣l”Q”bŽ©J(!ê±bÇî5;ú¤‘܉kÕ X&".þØ6é¹oÅ*ìãV5”–U 3*ϯÌmI¿llEÌ÷7o|÷QÄ€w¿äÝS*êd:Z=Í-ÆÄFqƒ®*Érü_.~¶Q¯CZáySY& cÆËþ¿FUœfá¨pˆ‚"u{ƒÅ®cG ûÚaø¿‰~°i–èç±6 ¥•fÔ`)ô¸_¯wÔ´:NµX{Ñ9hï›ØOŒï E_¥Ë©5 _fÜŸF[226ðòø½ƒÞP™QEä¶ÐŽÿê¡Âq?îg•–XŠKÑÏ•¥V³cÎÝ!óü ±‰’ødy֦Ʀ FøÖG +—ÂÐÿðc;õ~@ï¿{»÷ôW}bM•N–’šˆe8; ÓsG¤ux*sJ˜R—ñŸ…yXêrJXSGÎÃŒ²Ï—ž›é~!ÁSJJÝ̯ó›ƒÞdÖ×¢†#ê6Ò`½WL,ó7 ýqNƒh„ö1Æ.¸ÄwÆ“ŸVØ•gMB‘äLÖÉóžŸ_LaJ=êeøÈq‹›Óî†`uñ,Ñ.‘——Wƒæ³6‘•åÍNogSÌY%YUØôî·ú&[U›ÙÃŽ×k銂ò‚bÔTPž È‘¬ŠÍÎ6è ‰Ùe¹¥y%±ýñ¨U×–v2¼9·4Ç/âCîÊHuŒ)uÿÛºäÈ|r4ˆØ¥–! ²4÷÷œ/*.+/«èßåÞS©Gé(=5[Á—eC¿7!xĈ®Â\’…'H=‹¤Ïð?ÃJvUúŸƒk|nHYüàùÁåU¯ÔZ_SɈ¾´6Ô•ÕÍ9kIØ3¡{aÆ´Hž%i¤¸„Häób3_ÜXG*ÓcÑL”†Óe|©‰dõ"c5?>ϳú>Y‚_°8îf´}Ú…¤ä71íœ×^¡¯’Ý®ánOÒ ^¡‰È„3ãϪéÏß;v&ey€Ç“g°ÄŸb§#‘É‘’}Îu6kbn´m'ñI·Ó/TÝvAâú‡ÁÐ0æÞ,øCί·S#¼’gÉ@ ”–oÈIÅÎø©;¦àqF{®Ux »¥b°¸ˆ8Li!áÉ }ù6S•¶k±;ž‚ßÇÓ8*Çš_ÎWžª®á¯bCº?»ÒTw¢Çqo‚?›Æã]Z„p”û¥¦·©¡£Øƒ%¼¹¥ À³ÏœÈ%é< m¹ŠÿÇOY}Ùƒ©U—÷¡ÌþãÇ÷'¨«O‡‹CÚãj⯉~ >0ùWxå™ßXÐ&‘U)J|̼¼Ã&`Ð ½,ÎÅ ä’4’eçà?[Hª[B ]áÔ–Æ‚§íŽã³ëÿxpåw"Þ^.ØÏ\é_ÆS>Y‚žfsm‹8/yk=ž¯d  î°i9yùY9ú\bv'\'÷¦úôEG1¡JbQUnC[‘:?6ï31cî6¼ÀGãǶ²ØŒ.ñtEqyqqQK¥£¬1ŽªG%ã,|tÉÞŒ–›j§W%[І»=1WàÁí¡ÎÀ\'NQ¬V¨ôMÏö"†°XHìtÙç÷»n£O=~ßø)¦ÑEE‹#"trÕf¦UØv£»õ DúƨêÄrJ@Çõ±‡nˆ%™x“À­æ_’:ÌÝùÒ l°`3g‰¾ållÏûM#ˆ¹y6|׎èè%q’dúkeGò9#ºÛ¦> endobj 55 0 obj <>stream xœXyXW¶¯¨º J”NEPÓMŒÆ%š¨q ¸¯¨(*´¬Í ÝìKw³ƒ—}§i P6A%¸O£YÔ˜=cLt’™8oN‘Ë{ß»…“™yoþxß÷þêvõ=çw~ËAÂXO`$ ïêzp·Ûöùî!JÍ.ªðíÒ⃙Ât‰0c‚ðªYM~üí³ÖÙ63¦ÖÙ s§ÀÀK<™±’H4Gk]UQ‰ê à'çý{=æÍŸ¿àŸY²råJ'¿Äߟ8mPjB‚"æÐâ”᪨edÌ*'Wz:<<Äß)(<1*Xãä  ?vÀ7\æ´)$<$*Jçäì:ÏéÍÅ‹—ì ‰ð‹Õ8íUEøF:íR­tÚá$^üßÿÌ0úå;ÞMŒôßé’¤ Øå¥Üè¶Q´I¼wsLȾ-±î[ãö‡ûˆð{ëí ËW¼±rá¢ÅKÞœ»t™¤ƒ±c˜7˜™Ìaf7³YÈüñdܘÌ"f³‡ÙÄÌfö2›™%Ìf³…™Ë¸3[™¥Œ3³ŸÙÆ,cæ1˜·˜×æmf'ãÂ,gv1®Ì+ÌT&‚q`é˧1/1“™)Œ=#eó2Ã3+("Œ5=Ø#q‘tO°ž=aÔj¹•ÖêÏÖ›­ÏÚ¼iSÆN`}Ù?rë¹ húü…/Üxqí‹7m÷Ù–Ú~5Q3ñɤ-“Ê&}`7Ï®Únä%ÅK§'N¾0E6¥È~¦ývû{öO¥¾ÒTi¹ô×——¿\ûòÇüv¾ê·»ÑØ2ÊZ$÷ám«Ñ— ždC×ć‡ùîK\‹Ñ®„ê>¹Îá»5ÕŠ…üEÍÝÊ9–Œ¢±Ôê]Ò‘Z¸ËÙb ¬?%l2IF7Zø6'ׂ‰FhtP±D=6 \¨KñLwTƒ·…s+Š©ÄM¸ºÌRÁpÊbÙŽ5UA8ÇiÓ‚ó²±öhjRÃ=n,ôüóg’cc'ä_øƒc–`°µb_žÌ×°}yU™XƒõyééêÍÄÝÁvÆ¿‡1.sÄ5Uå–c¾ƒ™j¸ÆÜ’Ü’ôB<0¯Ö&’³‰’E‡Å`ÇôŒ²ò|\_(Ï/Î/ÆEè¸Æ­Tô„^î8^U_/«o4õtþó„×jOWT´";á<6 ö7%çA2[A°x¡}¶?³< û"2Èaߌô#éHYf.°XgÀ]L.*­¨(oh4W5bÔYµON²9¨MÉ¡Guf. 0­ ŸFPÄÝ?pqån…Ê-Pf'¸¥Þ[ií¯=L¶ƒ„ôNõÃh™û˜ñkÛõa£!C_"/N§åûæ>Ó…Ñé&ó©k[Î.%3æ¾FfÙ÷Î0ùÞ¥Ö;Wäv¿¹>ÇÿÑi¡Y®þƒ+áð¾TÝúLÚÿo-ÜšŠ´Jü1vqøƒáv1‚bŽx…/!܆”¨ÙÛYF-ö@c*ïÖêÖdÐÏi-ÜÊ’„:| ¡=²ifíFa‹º FN@Ó ûï`,†•Dë§J£+x5÷aNÝ?&+EçB_ÄI“à. kÀú.Ø $ô·ÊƒO„6ô Ž¾ÞO§ýºð2Y%ÛEîó'XiÒ¯CûÉ„×ý½ãTÛ/ò­OªOɤ«?jóycf¨Š¼”+§}ÄmÂkma,ãUlzXFbr\˜w¨vF‘,$ smšÆ8.“Ì´ib-?5Áé(ÑŽ9;¨)Gg0µUX#¢0–À\+("x"užIf?ü4 ¦ÿä§ùÏ/Ïç¯Ô¹“da¼Ç·ø÷`l86|^â|ê%ÁölgÙ–‹ãóƒ–?Sm)¾Vz­Ì¡‘Sj«é Ÿ0 w3»<+ÙÎùœ‰0*0"V:‘ÙdƧÎ=ßn”çþ‘ÇYiI:m|Lœ>£ê?‚øæ«WÚ[5Êù8CE¬¿ë\û­ ‰¶œ©Y®M9»ErxoJªHgˆ·pkËëDÔçp¾±^›á>‹/WWߨ ð‡©¹;™uqx"WDâ'œ}¡V±Ñjt6,àÝv†i'DêB³Tx+ÞÑ9y>õü ÿ˜û•}²¾€ÆÐÎuÈÚ(65X¯OÀé8¥(¶ÂÍìYéIËó$óÈBâCü`.™þ_­íº(okh0 ‰Ä#¾õ°î¢ðâeÉ%Úë·Áù_ÉW!’o,Ã~éž”QMõÜ®Â$¾‰à5î¬W“¶#°þâm¼|ýOÄÊ-(fO¸¼@ÁãÒrcUµ©¡±ª£aón2•LV¹í lìN'õØÝËZ%˜ÂûOôÁ8òX\gb[F{·ŠÙ¬oRúCO)Lî´Ž)ËÉ2ç«ù0ùËsmoȉÖñ…0ñXÏ9Ü‚ë’Ë‹ TQ íe0eH§ð¬Cm±ÿšVU.S¥µ??â±·:~OžÈ‡pø…p˜EÇüˆL!Érr…•Öª¹‘¬º:$ðv#/ o4Uúä½ÐM²æ5.x9^ÿVØ‘…gÌ6ŒŽh«Ægð‚0»B7‡~ÀŸ^çñÎŒôm::&3§(O/Ç=Hø!…[³ï`_xÍ!ìH^Y4“Bóê§óA2Øiìé•_²N TÇ…`´3üþém]ïió”ÛÁ}*¯öƒg«ä2È/ƒÕÇÂ[<¹Ïa½N‘Mqi5s tUø‚›ú—wÑÐÐy¬2S—“›™•&KOÉÑã4Þ¤éè²Xº®ºõ.ßâ¡ñŽ’Ågúá·Ð^oÖNj<­p©“6íZÇ;¢¢| ¸ÄÃôüŽÂþc_¶ö¿ï!@ > R!}Jî²Ò/ÕÜGY5Éx#£Ê¶Sï••‹Óòô¢ë<°p«+hé·‘j-}ÚX[Õþu»7avè”Ñ12M|hæŒÆå .w€5(BDÀ¾ƒ·§J ßS^Ýa¥7þ‡žy¤êߥz&|Åõ@€Š ߯ ŠTº'¯Ãh»è²Í÷T„šàQ4›BØ€ Âä#Hᤷ»«Ë‡eÒ‡°Ÿ ±GdaE3Ãe˜d¶¿Ó§J» R¤ÀjˆY•Zì?î?~izo‘ufnW‘®_C°‡nék/+ÏL®”I?Œª3¤7Mïjj95ÒîuHµÅK.­_ØÁÄû-~>½Õ·^˜øùTé3FˆfòçÉ+œô côV•øO'¶Ë·.©mTÉ4uÚÁøÕQþJìýŽ%ŽÄ é_õ;ÒCÕ~ÓöÜ ¡ÞõÎwÃ?ßÛyf¶l»*¾´åDKC|àè ¶”t˜éëš{ÏOÃ=ºª´vì/}¨¿Ð”ªpv^ªhì¯/­li”Óï~(¤óƒuÊ… ‚¼<O>þ±®kPþ|$þ™/DdF~G&E´¬"cnQQb¾ˆ •ûK^W` ÂÔl"aƒƒçâç8tUW¼÷ÃÕ¤àV Fƒº2ªf2S(S;„í’‚_@öÄ Ãç<ÌŽå²R²²u8 §$‡VÆQY^¼uçò­½Š?ûÈoE´¨q ˆˆ>²Q1ð N¦"+-le}Ii9.Æey9ͺóúŒ]¿öýÇ}Χ囫,¸µ·Xº›šõq ²úøÊDƒ÷?’l7ý3Œˆï®aϤ—f`?4Vúÿ #A…ZƒFòÇÃÈÀø=2»Q/ÚãÞ6ú{ƒa;¬›*}:ºßÂ'bmIZ5Q@·ÃÕ:Ku‹åx³± àœ¯“í²¿³ïNvM vgŸKZÚÑwý#mÀÁfüÉ6àËŽmžò¸¤ÈPX‚¤O+JŒÅ–é?tùÌÜž'N É\w”²±.¡ò-7îD0 ‹­Fs ‡'OÔìýlƒïG3¹ƒ‘±[vøÖõ…ʼ/ÅÝÇ0ò:XÁ¤3Ô“úe}ÊÆÿÛ“ü¨'Í!³ ðW˜»Gä ¥É¨²ên¢Š§û~ë— ‹ý¿BÉø¬Q³»Þò?²ÍE “{ܶ>ÿoöœøªW¦®ŒW&§ÆaG•¾¶G~äì × +Lwa‘ˆ"EP¤3E°?½<"8NçÌ …žÂ’aæ‚‹u5¸mþÆûûiíïïhïï éô¥=¡] ¹¢URÈãr‚ â!"‚ËŒÎÈH¢¥é c˼Œa%JZÚŒk‰ýÒá`»W~3ì;_s4öpÜtøÈÚ=‡,甲¨®Ôö¤P$ÁÇÙKY¹—áÊ܆̡¤®Ì>Ê ç_¾û»Š»ÛÛädîíwzb-ø¬ãµÓÝ·N'ž”u#MÛ(H:4¡Õ"ù–ŽLÝ:„|Ê’ÄáÃI©bâƒÇε<¹ŸCeçÉxKŒœ©\g›’ñ!DüIø?ùH|ò½š»™u,…>Ù|8E»Q¥ï-œKYR } $q¢ÑÝ^1KÎýÎ'Z¾Ï`.ºQz­”&-ï*Œ}ƈBà åTé°"'¹ÐÐ8½ #¿Ó{rø¸i¸ÞŒ²t1×sK‡<¾î4]‘û€pPÓz ^àñ»zý[b~µpËJôøS$˜9x)gXQKlÑq66cOÙ\¢°9ÎÖ‚íð˜\DiüÊóˆöX|‘ä %¦Žçð_-ܺâ„<<Þ”ázãBZú¯jî“ìúj1b*­Ö7I„Äÿµå$g&º’m«Á;³.¯—8bCE©¥ —å—å£Ù‹ òçýè^tΡ‰…e‚S]YYk¡£˜ðÎJ,’¯`)Üí·µ®óøjqD ƒQjî³,SrfÈà‡{J 5UÆ¢³ôè#Šaf•–’žÐgóê¿ï}6x$ñ6¾ƒ?jèëènú?F" Ì£È,yOÊO±½¶3טˆÇE,0)>$÷9Bó“ëh@«¦·ÙÓ C¤àdS¥÷„ˆ>--77÷h6vLÍ,7Ê¡†ûfÝybGlÖ\ïgV÷ö´˜;j²ªuFYzE.mªo1v^iŠÚ%sáˆmÐáø@5’>ö‰ˆ ñ™¶kðÈÈå3¦¡‹²Êƒ çpn5v÷"âq™ ×i0Šˆkî¹rúôõbØN¬Ö,Ý#¢f?Î6dâ0œœ«Kò!Rò•Ý|$ äTaƒ#n4Tvãê|C>íÓC57”Yžaq‡ò±'Í,$ߘ¯ÕT—R,îŒ =µü‹0ƒîãó<•.Cþ¿§ß¬JÝïZ¡ný™¢VèE­Õ¾ÄXW]¤_ëkKk§Ÿ2Äì×{?½6P쪖.¢Öðüp±x¸¡–žÄ¨Û q?ê«×)Å£étO-ÐW‰Ìy¾§îUÆl÷E\6ïÀ;°"J¹[t¦Ô6aöÑ™.ÒÛ.7¦ ±'Dg¢ºæÆžUqŸ_:ãw2y;‚ããg0dkŸ+ÏÀ¤€@ù^ëÚ>“±£k­[h—ElÛîÕzV )à,¼R <ûÌŠnægxheû@jC-æuò§Ÿ2{³úSªÎïÅ[Ñ>oï}1QU'üe>mÕÑE«ƒ\ ~+á…_àµgÛ¿ ’V¹²2¼he±8RÚfø¯j&‹éµX ¡£x☰3v±^ëF¬1Maä݈ 8ÁäG?S8&¹|FذØm„¬ æ~ý%Ì9H9Åßlt'KÉ‹ºˆÃ1‰uiò¤ö´Ûø1¾Vr¹´¸¬¤¦¨ÿÝÂiZö:!¦åç2Hóò3¶©,#ZN.rØ_¯ úÝ“ ¨'Óh>ƒ[œ~$7£×Xü×¢NCsuCc%íÕ ³.åèÑÜ£¹òl}žëPXSlww³¥óòæN2Áe_bP Ìß?Å+ïM¢/ºÝù¤é½²èËsèË‹õÕø”ØêGxU"D‹ÑiëMÔ6¶nÄ\‘о?K¼ÆNÚüÄŠÍj}ù8åß$2xÚQ9qÛ©Òǰ îñ{b´ÑêHUŠ{£Ùßn¦{©üñ0ñÏ5§[2éí'=½#Ó®»DlÉô77ΔIãõ=î?»!˜ø'~yŸâ"¾„Ož¼ÔvdWFL¨·lA295£C WÁY‰̯»röœi'™+ñ4:Ð/$îˉ]L$6Ñ\yaYaaAs…¥´#Ke¬—|ŒçðÊø$ç£H#Øš¹ÅIºA 7Åÿ`pv+“0ÃJPC¯a#]uY³iŽ˜ÏR__øùÝΛøSÇ¿­ý”0‡<ヂeñ!ªõ¨…m½ÖÕr÷ãö„† ª¸2ŽÁÞ îa‡® ö¥‹òb#,£IèþèR“ä)< ›CàûèC¿Á݇BC{(.Æù%²Âü\€QeYšNìû®‡(©C­/íÁsÖ;UúíÁÄw¿ßÞ8ŒÑõSþ;¶/ˆ'q_G¶' AÒ[#ñœæªTìÖ$T¶…ÊNE#0RFiBö¿ô¬¢+ sΤôEvÊãÌIUþÇôÛ‘SuǯN»¿ë½ÙÎëÍro,”+°–˜ì!fÓeLX e¼°qç¶–¼LVm]´{£4ŠªE>'í¢ñq6'‚Y4}Š¿ú½B”,(aÈÆ.Þ$øšÀÃĶ¿N¶íí'‚SãÄI ó߬r— endstream endobj 163 0 obj 5310 endobj 101 0 obj <> endobj 100 0 obj <>stream xœeUmPSW¾—H¸»kiWÌJª½7n»(*R§­Ô]§³ U .RPD]b ‘H¾ ùN¸ÉIBB‚$ XñiEÅ Õ­¥Ø"h;âWín·³»³âœ«Çvö2;;ûcçü9sÞ÷œ÷9Ïóœ÷àØ¼8 Çñ…YÛ7P”š/‘‰+6)‹¥’Ò¹õW™Å8³$Žy…ƒ~‡:ž1ϞǷ.I_ÿ6½­/aW»3+åÚ*‰xŸRR·}ijêòÿ­¤gddJ´ÿ²D ‰x¿à v¢I+å2Ñ~åZA&›-e« ÄR­|ŸBP,Š„sÛ¶KE‚ ©D.¯T R2— Þ\µ*}‹DV¢Rò*eÅû[*3Ù‚<‘X%-®üþÿ'`˜é…J¡¨Œ%ÑHe%+ð£X"†åbë± ØûØFlV€mÆ ±l –ɆYn°yØNì1^€7ÄÉæ Ï{sÞøµ\·–x¦OdhS”YÅÁ ìšáÀ[L-C)( ¥¿5ZðèúÕÞ±O©ë×NÞ7‰;[ÇÞ&jÞéXYÞï˳g3U¶MTµ»¤Ç.Nö<8{ƒ:1:Ø{sÇ3 #8¸s¦8L)äð rL–@˜­Á¦–>˜xÆQÝßE¿>w9|ÉÛLbûv¢&á¢3@50¸ìµ…{Кdë 6,úzå¢eY'÷^êûÇ8e*tê’·j;GN}5B¢5p‚×ë U1–¿†ÞK“(ºOÜ9‰ëd¬g -ædqåš>bvÌ᪾ÎÏ ÎËÌ•êØ;ä•û$ä 5ôQ±z¸,úd Üãʺv _£t”–½ûɇ·nLŸúü‰öÃ4Þч“ÓçmÑ)¥Õb©Œ*Û'Ò¾¥&áŸPi”¹Ý«Û€Ï7N1ë¾X”4ÛÏxßrW?_£”ç¾ÑzÝ^¯Jú¡Þï®÷¿Õ¶ªÉ¤YµN«”ôˇNüfŸ¢¾„_ÅCœëï‹G·¦ÜDsÐa£]NÚAÕYœ`#!]{GÛ¡ö²XQ‘PµKLÊ„šÝ²T"Ë*JÚáƒ(Üv¢…Et±®¸\~{QÒOŒ”YÊÛÂ¥ÃcõË•7ŠXž9éëVlo— rKµ †c[mÊfv¾›Øpýÿ„ f.Ý¿²shy'¹§é@„ˆPGW³Ç\^²ÁÙâ "éÇGýæV˜ŽØ#Ô9.šFxnàqy\^W#vI?=)¨ÜýrÁÖÒukw¿zØßn#›[4¦0‹yI?´)ví3î©–Pª©J‘*væ»±¯¯Qì,gà,ë›Ûo{oqü¯à}£I‹-l _i¡z¾o›‡‰“ònáæ¬Mèõ•$œÏä;|[ BÛl|}W‚°ÃÝâ?\jA­£Ê²ßå¢kí*´øy0ù&÷$\Ù|ôäŸGnÖˆP³ÑPGêtT>*5Ù¤ÀÈ?Ъë>ßß}ÿ2ÉÊn: Ÿõáà<˼Ç[ËýËíàæh¯ÃN»¬vRX˜³£ÂReµÙ ¸€ÓM“ÜLsZ\4má[dÖ}ÀJ¨¢ºîÄþr…4вu:à[ì ç°z©ð^ü w®Ü&ø79° ryŠ ›Õlª©Ñ›-€°ZÞP ^oÀÓ@xÜžð&íy£ZC i¾.á«Ð+­³kv¢õɺ­v)ÐeaMïǽ3c¤šæÉ5JYE›º§«£#Ö£ì’S‰OÓ´QæõVœ9þˆfRx®xÏó4š¢ƒy_õþ¶~u²Gè±Ahí<ö…¯)Òß{á!\•܃¾ôÈ=tð@cc÷·»ÞWïƒKà;Sp¸JôªÚe ½AmðYÃz2¬÷›ì• Eè 8›ÜäôÚ´Óê Q>£'L³¦ ¾é3gƒ°|²Ò˜êuåŽ:`vsÑtš™ ã`š«á‹<‹‰ÆŠâj½–íBŽ@SÀ{СÜ^·Ïí©ÌT²Ã—kÙrm,?ÛŽvÙi …^yÞI›œfàà‹[5}#ý=»F&>-c=øx‡ßOÏLynsž®g-h6ZÍt]¥X]£gEpø}õaÿajÖ»ë=‡€Ÿ¬ª[R­±édQEÉÎ (®s*4Úˆ~e§dËzÖ£iä§PD{>4ªëÖèùºÎ„®f›Þ¤\%FI”2ƒ6 ‰›Üa¸:4ptdôîåÑ£l3Xt– ôB62Psž]9wþÆÙñsC=€h šM§Ñ¡¥¶¢KY]50óe-º®3CG&/¾@ü\Ÿî`^:‹ƒ{°ï.Æ=]Ä»äôÓ@,´Ñ®rÚœ6—ÃiKFKž;ãë”Ó²Q˜ ß…™0}¢èÜÆõÛKP\ù˜a¹ÛaÛ7ZùPˆ¢¼ÓÝåÛ6 rs¨2Ñ^5Û]¥ú¦ŽË½? NRCÓfxæ_Áa?là¡Jnmv<”s5&+wG¸?¿õ‹ŽàüùöoïFÍo endstream endobj 164 0 obj 1928 endobj 62 0 obj <> endobj 61 0 obj <>stream xœeVyTS×Ö¿1{´ŠïIS‰¶I:·NEk[èä€h­¨Ì h$@  IHH´I 憩Zj‹lkŸöÕ§¶•Úáuòµõ­÷­s}×o­ï¦ý†?¾µîwÝsö>wŸ½‹XF°X¬‡v¥~s_ÌÆx±TT´9V.ÍéŸùW¥Ö³¨‡—Q°éWé‘·ýûV`×ëõk¨uÆ7Vã™?lkøâõ¹B](ÎÉU ŸIˆMzvãÆMÿ÷ekxx¸0Sý?+Â=¢"qŽLøó¢Iä ©H¦|EÁì–HÄÇ…9µ"·H˜‘•%Êò‡%fHDù½b‰X¡«„ÏD<+ܺõá¡b©¨P¾I(–e‹eb¥Z˜!Ë–Šr2„ÒŒ,‘?vT¬,T ·‡ŠeÿxH,Í,.þ^¥ð<\%ŒåK2 ÿÿ AÂ(µìønyV„B”]˜S”«ÇÇ«òK$ÒÌM[žy– 6)Äabñ8MDO1Ä^b±•ˆ#Þ â‰ýDñ&±H$^ ’ˆ("™8Hì&Ä*b5±œXA<Ê4`’ÜdE±ú–Xæb?ȶx7ðåÀVNH–‘—Ñ£èôò‡—‹—_Z‘±?°ý«++VÞZÅ]ºª`Õ俵AOé$õ›gÍ×w×+¨+x7W#Ò)µšÜ¬xu 78»õöQ%%ájkëÍä¡GKÉÏ,-:ˆD÷£ÉàqˆÔiwW¢R’ åœÁ»ƒ¨jZv—:ãfQr*‘K¯×r|meUµ–j³`=H“Øni­jft¸§¬ÈMgêÈþªvƒSƒ9tmˆÍä–iË-´Ê(TWP\ª TX ¥M½²¤¤(ÏW8}ùÌûø‰ó¼…ÚÔâknêµñ˜óÁM­{õáÞ³Än£ãÚmMuÍ€µ)ºŽ„Xƒ.¹ iq®›L®×º` áòÌén×0 ³½’ýZDB”^sÄ¿)ËM¦4”»à,ÂjòÇ´÷w“hìãß$ÍÖµØ_Æœmü” dÁu6õå¦FæÅ =ð9&ÿùÞÕ/ÆZ ÙM{±SÞ¡î^·§çýÈ·_JI.ÉÉI“ïƒWýÐÍ-˜}zªíÄßÛëñ]DA÷60ýÇÓSØ5^êYóó]\y÷eL® .vÝÛÀ )%—*]ØåoìÒëêý(Æ_snÀÕ®ñ‘1_çi83ê)É Ô«p½Ù6×ÒÕÔÛ…‚_ìëvŸ\‡¶] wñÃéo¹w`¶rL‹‚EóEÞãQë A•u\™¯Î4픢kô ðÉæ‚_ìr4ºù3L.¤n{-1m³€¹pãµm€ßáÖïØØF¥sé‡B7Ò|zýOá5xÍÏÿùxís?Ñ ôrîÒÅô#tà[ûvfe÷N©ò¹²+pýôöâU¾?×µŽÉu—,±ñ#?=ØFªkk PŽ©yV@}HVZS5¹Æ^鬳ƒÐx£1S@‡’"Ÿ¢ù8 šÜBÒÑ^ÛŽ—½?Ñùöˆà‰Y`6— ê’B£ PXüçx5<ûÙßÞ={4Qtï9Ý օçX€ûÁÌoVª8UYy T€Ö¦µ§´q…p“Œ<(Úô2Ø2ôÂ;±¼ù½èÀðËìÂHݱkÏ~i𢠮3}"þ¬ä;Àl„÷ÿ€—ã'ççTǧø¾|·Üó&òCFÚŽc}TЬ+K¸ø6»‘z„ÛXç€F@#ãQÁý\’ †h ÒàÊrg¾.!¼•Íë5NÂ+¾ÇøIü§Èo7Ä¥&¤ ®“k‚*W¯áá ;¹CïÍ~vvhvÊΈ£±cC|ÿÜþË|˜cQ›p7uGºìÄBú l^=a®Y@xcúÈ8X蓎ëJ‚#pT-ÍTìpDó?}“?]»ˆ‰i>}oâ6ß_€è•·lGAø6ħ}8c€uë/úÙ`5Fœ ž]­FY¿­ÀelÔãéèKë?|0Qq¬@PfÊ©}…çI_æÀnCy„†-n2Üfh†k_ÆAdu<¸{ Ÿó#cé..ìµÁ_à<Ãí¯i¯í‡p¾éTï¾±ø¦uŠÁã3Û6 ¾C·s‚¿`xÌÔd„t?’„—LÆfTЇ=ä«6m+üQª€à;^‡Ã‹×/}bCôš,ÑÕY•ü |Üø×°®.±;¨uÜV[c P_cYš€¶‘pÄl>PÎü°ÙMî³iÜ0p1é;uÎko¬46óÛtÍ–@½îöaU§8C¦Ü“"øžèÄâ}t)ïwúœÇk:qXΛlXWd·päuïÀÚ`Ú@åQ!ÜÉ×ÉfKÅÎE“¢¡Ð–]¡Q^ÑÇy‚RµZc©Ì“éK T®ò“%(ø? {’yÙëo¤ýtíFÿôâD»&`ñèô.͵‡$Z ¡ :‡G½ÎÆZG­ <5-µv‡)÷ ïð€{ÎÁ`e·hóýuÜaóç–³€þ>¬Ï‰Ù‘E>38Óãh™>'`~²ÿÀ½80:{¢_#mãw于AŠ“å;œñÑÏÌØñŒÝÔkÝ,XÄáWØø|™[…4pjj*̵µUÀ³€Ñjh(v×3¥½›ç;þUªàBÞhI{Hxiùòd±¤¥»”¯ê«èÑÏ£2:´…ãhª·ºÄ´ÖôX,Þª@×?¼på\Ñðá1M|(oÓö—7ub`v~H¼­‡ÿ‡T¬?ï—ŠC ÛlÅ?s§g‡Ú'ëˉÐ)$ì3êc,hEB“Å A8•üWÆù—£3Šããy²Ò&./4Å•ñ¦À2²¾Î €N9Mé‚ûù$DZ*bLL¼ÄMÆØ.&>Ÿ`8n¥5Ïéd@ñƒ‰¦Z›…o®°T˜¢øôÔ²*ƒÙb†J¨®«±Õ wé󜗆Ò/žèæë›U…c1ð²µÞK<ùɤd ¹t—u“Iáçßçâµ 5º¬-uÀëý}8µ$D {ýh2ºÉý ¦&øaL&cW¡TÊåÝÊÁžîÁeŒaõwucÔÁ.¼ñ$kð6ÖýƦâî…qUœ*¥Á #02ìÌnÍvæC:¤iòd¹u$Á+3q8 úSÑ\fŸ¨Qß ‚"ôÆ‘c»·E½‡ƒŽð•œ!:7°›Sçqµº¡Ú«<æ í”iŠa0òÛ›ÿü2þ#:äªà± 3p½7=±xzº4g”"¿µ -õqüqâ¶³—ðÞ%6UtŽ[É9f`TÿLoÓ‹Õ.#At9 òJΠ(–”KeåL ðMú)y¦ºU ÇÝ@¾z&ù¯ã“m^/ÿÔ©À0²¾æ\çXó;­¼ß}õi6ÞecÇ=‚{¿š„ †0ÆèàÓ2¼^×â§çys [ÝC/C½ ~=ðþÇB¿ØËéŬ?·ëº¨Œ*ðóŸ€qCÕn#”‚±ÆXe|†v…<‰-­Õ­ÐÈø¡fǨñCÉZr¢Æaœ}¯¤§B¬›Ùf²«í&;ØÁÑâÇâÏB?±;†lè!s³®-±÷Ø\¦áuM€†›ô©‚û*F5ª«#ü|¤w“%uÇ­ ¹òp‰…ôa[•µÚZm«æ96 T¢Š K9¿T‹enNšMâÉx‡ÞŒC½W?^œtòÜõ­V†­n:]Ç™¬m®˜*tºrF΃B¨0²Ê**—™bÊxRS`нìÿ®û¦n-9bn2ƒ´–"ƒb+]òVjf …ÝÍŽ·LÕiZr¼ÊeèLp”:JíêP:5äÜZÕTÓM<èr9Gê™]ohÉž§±;¯§ qI:;8g‹«Ÿ@sÈßiCkv½Å<44¶M1Îã—Ži[C'sÄ@ñ£ÄÃÜ”Ó\çªc¼ƒ¯IÇ(l :}T%sW7U_Þï!êG¦ª$ȸWó»Ï»@…ô®oö~ƒÿbmðuêÐÇ\®¼RË8RsëŒ'‘0W9¨í-K÷DÚ¼+%JÙYÒÓÛÕÙ]_ÛPëÔ4Ö:Á¼¾î©³^YÿIo9¨1¥‹PðÅ%:qÞº¨™´…™“]s ü†¤ÕIaJ@ôs·¸ ©¬P•éä*@¹ò‘S‚z.žëf·èaæà‘9¿ˆò?lc}[lN¿õío,KÐv…Ú¸Z¦ÂB7™hÕ6Ã$£$XMG_Ï©öQ@3ݹ ó1Ž?Î`ˆõs…ÒMÆÖiÛaárèÔpÇ, ùE˜€Îa¬´Écf6ÉÝdUjÕwÀ$g’xEÖ¯Ç$Ä$ðÕóbo¤\…®1®9¹”qÍZ¿Ð}Ô—X/á’oØxó½×¸•Ö ­ÂtTÏ“ù©Ô^W@S‚ûm¤ä«¼ÏqÈ]¼ ?ŽWïøñéC19)%üÄ€É·Çænœ{¢Ù©“Þêéc4ÚVÜÉúu’}‹~”{yøô|€ÎåN¾•[¤ç÷”ŽÙuuv¾Ã PÇ̳ÝbÊ—g'd ˜0C ÿùW®´°@"ë+<Ñß7x¢ _*ð›™Ûl|†¡À]©Ò‚ìc{¶ç> ôr ƒÇŸýæÉ“©ýÅsù®¶W.ÉG׊.þ¿Â¿Z¾ô.,}zÁï†ðë·Ùt$÷³3Cýã³W¿ýðrÀfßyþn時î$_yYÈçQÞܽo4áq}˜â> endobj 58 0 obj <>stream xœcd`ab`dd òŠ qÒÉÌM-Ö ÊÏMÌ«3NÉ(üfü!ÃôC–ù·ÍﵿfÿºÇºàGŠÐ÷ý‚ßwñß&ÀÀÌÈ¸æØ çü‚Ê¢ÌôŒРpMmm„ˆ¡¥¥¥BR%LFÁ%µ83=OA È(KÍÉ/ÈMÍ+±VpªÎÉÉLVHÏ©,È(VHLIIMi KÌIÍVpËÌÉ,(È/SÐpÖT0200´Vð+ÍM-Ê×QÈÌKËÌË,©THÌKQðÏMMOTÈMLIéuÉÍ,)ªT01È̃kôËÌM*-V{RÁ/ßRÁG!(5½4'±S†ÉЈAˆAäQÏù¿jø~ttÏbüøùûöŸ¢¿= XkÙ§O˜Ößß;wÒœþ©Ý ¦ÔdËÿ‰dïÎj.©nªiªíHìâ¨ù¾b»MOõÔîÝ?Þ°ƒ ¹þcÑUÆï'2ÿÈÿ.+Z7!-¨®)®[òw3Ûw›ï.O^lºÞ}Sò½Õ åðÒä4¹ìÌšì*—m›ß®_}¡›ãþ‘ sÛX=s#ùßn¿YëH±ó•Ïÿ6ÿ{È|¶•\¸WNæáy0—‡— Ö¹þ endstream endobj 166 0 obj 454 endobj 150 0 obj <> endobj 149 0 obj <>stream xœ%AKQ…ß­ÈÌ,pUé[AäJ\XÈ„")¢®R’†ñ¡3ŽÌŒÐ"‘¢Ø&„V­‚YögZö®ãu‘8œÎ9Àü€P5“­^UNäBå:~¶"±Ù>̤١oDú\ön×>ðs³»x¹ƒ©0ódòµ¦lvz–Öl9üH>æñd2ÁÓ†°4Uió‚â´„¡8Ë óŠ©jÂéò´®óòªaó²°…u'ÿ¯²itºŽ°xÁl«­j–ª uµï0öÛðÏl) @ª‡æ÷¤»Þ¯ #×ûv}s_"8¡:*ôHCª‘JcãÒqˆOxƒ N¢‹ââ> endobj 126 0 obj <>stream xœuVkTgž˜dfD´–8*Zg¢V±Ö»²h‘Rï"*EV…EÐQ0(F.!Äpñ+b!¦"Å–RuY`ÀKåP«H-Zk-…–¥•­½ìj»µvûÎöËýBZÃî9{’s’ùnï3ïó¼ÏûÉ(Å0J&“ùE†¯ßôÇõAáZÝdÍ#‹_qJeÒ3äIò8üæ¿'ü¥œD-Kùª¯ìÔ3#ký ÷i°?™£)¹L–^d צeHNÚ}P½9&0(h–wdnpp°:1ë÷õKšôä¤}êéäÏ!MŠ6-U³ï`ˆ:œ¬NIIÞ©NJÉJÛ®NصK³Ë½mKBŠf¯zerJrZšö: ­z½z³&I—’pà¿)ŠÖ‡í{Q»!|[äK+VŒZ­[³pæ"õâÉKž ž3wÞüõ5…Ф¦R©ç©g©j5šNÍ ¢©T µ…šI¥FPã(5žFùS£¨ ÔÓ”¥¢ÆP¥&)¤dó² ²ëÃèa»‡ ÈçÈÊÿ¦Ø®èR*ûét;Ã2™ÌÏl:{ˆme¾x™¿Ñ§sĬ¾¥‡£¤‡H”t¢ì‘gå,Us½´Ãj±½f0ë¼…Î2šçZŒUBKê}’VB]UXž“cÊÏâñ|†< D¸ Ê$ÂRxE.-‡MÜU ²æÐUžYB·IÕJ¼cÈô(¯u锩´>— ÙŒfy!…ÐW @ ÇE¡‚ J;í‰üU‹Vôën×[Ç©za¹´ˆ ¥3LÆœ\³Ñ)œÃ_ÅÓ:OŒÆÒUr ‘@ˆ3}F´T8*XÕ…ÚººòƉͨÊT›ù†Îv¥²íe2 d£•”ɰн+;žLÊ\Å{0èEЈ²~.6—ˆr/r1´wó5úÛO>úòÃ—× o×6 v¶?üƒ@—{µÓ"Öp `æîÕ¸M"â x>Í™NÔ`¬ÏnÔÕ$¡$6"jë w\½(ÉHÊEi8 ù®Îá13ðhì÷Ï@~?~£`LÀxŒ¨øW_Èä€à©S—ôýô苾ÇÂÐwD¹d+UŸeždϤ3“iÉ·ÛÊÊ«yð3EŒê>þܯŒd¼ïÑ*ÍÌt7‡y¬Àãq0<ùÈa,€åXc±ZHP€ÏטÆÏâIA˜!‹éÙÀ€ÔßÖ›ý" 4Ëa´È%{“ i4Œù'(`²pÉ3HŒ1˜Tµk93”òh/Õ¯R4, «Ž–çz:ßfþ§¦‰À5ɇFµÛ¼Q=ûEc]…±Âh*Pôc…%¯´ÈŒümK…¹Ø\X&ƒ&ˆŽ¥fTá_a,7òØ?A p‹ënx³½ÏÞ_Ú:oÙ·“xÕOá{4Ñë&ö/{üø‹Ï¾çUQ×®+agÙ0¨äz:7¯X±%,tã»·>º~­GÀ ÕO_vE…†­Ù²öýžî›WûÜaIEʤc çª,fG…‘˜‹k:)cžÞjªú ×ÚÓÓÖ(—6ƒ‹CÙ¥z”ÖflÐÆo]» e¡ÌƆÒ"TˆX¢™ÜìF}ó­®×ß¹"tßh¸‡À‡…ð…0Ó3BaêÙž%ßÞ¹*ö5ó¦÷¸ôxC¶^Ÿ¬Ñd$·Ûxëóë·îÞy'nIPš9„!]Äp±I.éá1󖃌´¯a¡X†çñ žß£†a øô˜Ïã{çPWåíº‹µçÎU· óèLfMr}œsZÇÎgôÕ©±º={Å£”|*ý¬öRö‡è&;XäZäð©$qxãÆœBÓQ”çŸoË·ðÈöj é­J×IÌ{;|B;Ñó‘;Ît\¾Ñ10£adõ[¨“½¿¨?("J»=‰Ï8˜³e³ùV"3s™½”w\ïºx±Ý·6¬ŒÓ§Íð¼_)=Ó;x‘¬š$ÆÃLS+¤‹~ð˜In?µôq¥%%¯– ŽÓMíè;ðÂí1[õ©^w8'H˜<›¹ôøI+_w¶Íy±=ÛÖíÐîJÈtyz´±„ûœ#ƒ}ô»ýë–¾°lÍܨèS [Sia ±ƒ1ßk;|.[hÓ¶å½Cì„þGß#Aõ#ºÛò¶'ƒ j…ŸI_o‘K¾°”êùŒ÷N¶ÚëÉ[AÕæ~:Iúy’&-¦q¦Ë_Ë[3‡³iØ?+kèQNi¡üœN'Ýê#Žhõõ}GRÔ\L¥` endstream endobj 168 0 obj 2849 endobj 112 0 obj <> endobj 111 0 obj <>stream xœU“LSWÇï£PžÙ >A@Þ‹f,…âRcV ­`Ñ ­¥ú€J‡Ê~ĸ9¯?¶Å›ÁÀ`F£. S˜"Š?Â6uŠè%¬]ÝDÅ™œ§—d{à–eÿœÜœ{îùñ9ßK!ODQ”n¦6K»\™nák,U¶Ó”3\ ¡ÄPq®Œ¼IZžêyÜk.J®;>³)Ôóëhð‡m/æWŒ¢ÞÝy ­Â^[i³–Vqá« ¹JeäURRW\ûï ÷–Åa³–s ¤C…¯°—YÊ«^çÒ¤hž·•pV¾Ö^êàLf³Å<õÌhâ-ë8­·Ùí5\xZ£Z$õr[YqµƒË1•;8g°X«ySåÿœ!Ÿø.qqRŒ*6NÐlˆ(„æ `äÍB ò•H OT„n [è/ê}ê±Gš‡Õ£O–!«{¾ÙOìªÀ)@´“ƒÜ2Ñþ,™ô'g{Ý“Ÿ:÷Mý%LödÎ{5[¯L.hªaãäûWì­h\ÿíª[ü¦aþÄŸ°¸¨G$4¯ä½²bö0ä{A‡üEê«Âpã/…ÝÐ&eÿHld6rƒ ¬ÁK-&]‘vƒŸƒ)§u-†^^r†ŒM Aªß‰béJ{®…Ý©—ý{q›ùËe4ñ'ñÌHWvdlVæ’$ýõ®ž«NÖŽJ5q£8.ÍR?5G¹ZTȉ†lÕ’p#©£Ê[aï j°Ñ/ú;vBvgºa»dcbˆ8ƒéoo>¯Ñ S $€øÇiˆ,£Ùzë0Å“%æ’lM0™=®¸q70aŠ1ëÊðpÏeû¢¾A€Þ»ÓxȺ ©'ô- ,à›-§ú¾»ÑàÄÀ`ð©½cê3_ÑÕ`š„,|°$ȳ®k¾t†ÝNRs” °¯n­»NÃ,q-s¿wY´z¹>>ÁØ=êîùñÞt¹~Q˜^ÅI· K€2pVùšüB}U$&4Ù2D ïƒê ¬ú·‚ÂÖtfNÇ´Æsô¬’Haᢈ¨‚q0‚ñìè(;ÍûYL*— ö‹;™É®gy+¼yBmØLB7Ò:ï©§xú.%J Øåd&gÈ÷|ì¤óüÄÅ ÇÏ÷c'îv\2µ˜Zr¦cN_gΪ´|PôIí’ïêøìÈþ¦¦¶3‡º0=ÔcHÉYû¶ÎÊFç’ðÄÕé[HÌ‘ÿGjM°ùnÀ|áÖJ‹| ëA`öÉOîðë,Jˆ]iŒVt<Ù* x·aïšúu'–ý\:&‰mÁC'»K;ް ñ§CÇ;oƒß’~Bæ§hˆr[˜K¾£mwó¾¯ZÛ›¥ï œ-|#¯¶Ì¼‰u|ȬßNOS€ˆAQ'¸ ‚d†$» ùéà§¾¾#{|g"ô7æ:. endstream endobj 169 0 obj 1157 endobj 30 0 obj <> endobj 25 0 obj <> endobj 102 0 obj <> endobj 22 0 obj <> endobj 63 0 obj <> endobj 19 0 obj <> endobj 60 0 obj <> endobj 16 0 obj <> endobj 13 0 obj <> endobj 113 0 obj <> endobj 10 0 obj <> endobj 57 0 obj <> endobj 128 0 obj <> endobj 151 0 obj <> endobj 54 0 obj <> endobj 51 0 obj <> endobj 36 0 obj <> endobj 2 0 obj <>endobj xref 0 170 0000000000 65535 f 0000049441 00000 n 0000123846 00000 n 0000049210 00000 n 0000049489 00000 n 0000045635 00000 n 0000000015 00000 n 0000001362 00000 n 0000051435 00000 n 0000051183 00000 n 0000116436 00000 n 0000055834 00000 n 0000055547 00000 n 0000114149 00000 n 0000055079 00000 n 0000054856 00000 n 0000114003 00000 n 0000053763 00000 n 0000053526 00000 n 0000111622 00000 n 0000070589 00000 n 0000070288 00000 n 0000109242 00000 n 0000062771 00000 n 0000062293 00000 n 0000106863 00000 n 0000049558 00000 n 0000049588 00000 n 0000058625 00000 n 0000058321 00000 n 0000105669 00000 n 0000045795 00000 n 0000001382 00000 n 0000002905 00000 n 0000082938 00000 n 0000082612 00000 n 0000122653 00000 n 0000049675 00000 n 0000045939 00000 n 0000002926 00000 n 0000003260 00000 n 0000049729 00000 n 0000046083 00000 n 0000003280 00000 n 0000005888 00000 n 0000049772 00000 n 0000046227 00000 n 0000005909 00000 n 0000009072 00000 n 0000081940 00000 n 0000081703 00000 n 0000121463 00000 n 0000074731 00000 n 0000074140 00000 n 0000120308 00000 n 0000087530 00000 n 0000087140 00000 n 0000117622 00000 n 0000099593 00000 n 0000099358 00000 n 0000112813 00000 n 0000095562 00000 n 0000095245 00000 n 0000110432 00000 n 0000049815 00000 n 0000046379 00000 n 0000009093 00000 n 0000011403 00000 n 0000049924 00000 n 0000046523 00000 n 0000011424 00000 n 0000013749 00000 n 0000049978 00000 n 0000046667 00000 n 0000013770 00000 n 0000015972 00000 n 0000050021 00000 n 0000046811 00000 n 0000015993 00000 n 0000017873 00000 n 0000050075 00000 n 0000046955 00000 n 0000017894 00000 n 0000020134 00000 n 0000050118 00000 n 0000047099 00000 n 0000020155 00000 n 0000021459 00000 n 0000050161 00000 n 0000047243 00000 n 0000021480 00000 n 0000023219 00000 n 0000050204 00000 n 0000047387 00000 n 0000023240 00000 n 0000024787 00000 n 0000050280 00000 n 0000047531 00000 n 0000024808 00000 n 0000026523 00000 n 0000093207 00000 n 0000092949 00000 n 0000108053 00000 n 0000050334 00000 n 0000047676 00000 n 0000026544 00000 n 0000027814 00000 n 0000050402 00000 n 0000047823 00000 n 0000027836 00000 n 0000029952 00000 n 0000104402 00000 n 0000104109 00000 n 0000115338 00000 n 0000050457 00000 n 0000047978 00000 n 0000029974 00000 n 0000031444 00000 n 0000050547 00000 n 0000048133 00000 n 0000031466 00000 n 0000032503 00000 n 0000050626 00000 n 0000048288 00000 n 0000032524 00000 n 0000034654 00000 n 0000101150 00000 n 0000100776 00000 n 0000118816 00000 n 0000050705 00000 n 0000048443 00000 n 0000034676 00000 n 0000037394 00000 n 0000050797 00000 n 0000048598 00000 n 0000037416 00000 n 0000039719 00000 n 0000050876 00000 n 0000048753 00000 n 0000039741 00000 n 0000041555 00000 n 0000050955 00000 n 0000048908 00000 n 0000041577 00000 n 0000043830 00000 n 0000051047 00000 n 0000049063 00000 n 0000043852 00000 n 0000045613 00000 n 0000100363 00000 n 0000100155 00000 n 0000119838 00000 n 0000051126 00000 n 0000053504 00000 n 0000054835 00000 n 0000055526 00000 n 0000058299 00000 n 0000062271 00000 n 0000070266 00000 n 0000074118 00000 n 0000081681 00000 n 0000082591 00000 n 0000087118 00000 n 0000092927 00000 n 0000095223 00000 n 0000099336 00000 n 0000100134 00000 n 0000100755 00000 n 0000104087 00000 n 0000105647 00000 n trailer << /Size 170 /Root 1 0 R /Info 2 0 R >> startxref 123896 %%EOF postscriptbarcode/sample.ps0000644000000000234210000000700610773505042015452 0ustar rootpsacln%! % --BEGIN SAMPLE-- % We call the procedures like this: /Helvetica findfont 10 scalefont setfont 30 500 moveto (CODE 39) (includecheck includetext) code39 barcode 0 -17 rmoveto (Code 39) show 390 200 moveto (THIS IS CODE 93) (includecheck includetext) code93 barcode 0 -17 rmoveto (Code 93) show 400 600 moveto (^104^102Abc^09912345678^101!) (includetext) code128 barcode 0 -17 rmoveto (Code 128) show 150 700 moveto (0123456789) (includecheck includetext) interleaved2of5 barcode 0 -17 rmoveto (Interleaved 2 of 5) show 215 300 moveto (24012345678905) (height=0.3 includetext) rss14 barcode 0 -17 rmoveto (RSS-14) show 220 550 moveto (00978186074271) (height=0.3 includetext) rsslimited barcode 0 -17 rmoveto (RSS Limited) show 220 500 moveto (000000010011001010100001000000010000) (height=0.3) rssexpanded barcode 0 -10 rmoveto (RSS Expanded) show 215 348 moveto (117480) (includetext) pharmacode barcode 0 -17 rmoveto (Pharmacode) show 30 300 moveto (01234567) (includetext includecheck) code2of5 barcode 0 -17 rmoveto (Code 2 of 5) show 165 600 moveto (0124589) (includetext includecheck barcolor=AA0000 textyoffset=-8 textcolor=008888 backgroundcolor=2020FF0F showborder bordercolor=0000FF) code11 barcode 0 -17 rmoveto (Code 11) show 30 400 moveto (A0123456789B) (includecheck includetext) rationalizedCodabar barcode 0 -17 rmoveto (Rationalized Codabar) show 430 700 moveto (977147396801) (includetext) ean13 barcode 0 -17 rmoveto (EAN-13) show 535 705.4 moveto (05) (includetext guardwhitespace) ean2 barcode 0 -17 rmoveto (EAN-2) show 30 700 moveto (01335583) (includetext guardwhitespace) ean8 barcode 0 -17 rmoveto (EAN-8) show 30 600 moveto (78858101497) (includetext) upca barcode 0 -17 rmoveto (UPC-A) show 320 700 moveto (0425261) (includetext) upce barcode 0 -17 rmoveto (UPC-E) show 405 400 moveto (978-1-86074-271) (includetext) isbn barcode 0 -17 rmoveto (ISBN) show 510 405.4 moveto (90200) (includetext) ean5 barcode 0 -17 rmoveto (EAN-5) show 345 550 moveto (0123456709498765432101234567891) (includetext) onecode barcode 0 -17 rmoveto (OneCode) show 240 455 moveto (012345) (includetext) postnet barcode 0 -17 rmoveto (Postnet) show 240 410 moveto (LE28HS9Z) (includetext) royalmail barcode 0 -17 rmoveto (Royal Mail) show 410 145 moveto (1231FZ13XHS) (includetext) kix barcode 0 -17 rmoveto (KIX) show 385 515 moveto (5956439111ABA 9) (includetext) auspost barcode 0 -17 rmoveto (AusPost) show 350 300 moveto (12345) (includecheck includetext) msi barcode 0 -17 rmoveto (MSI) show 30 200 moveto (123ABCD) (includetext) plessey barcode 0 -17 rmoveto (Plessey) show 47 135 moveto (1001234567890) (showborder borderwidth=4 borderleft=15 borderright=15 height=0.5 includecheck includetext includecheckintext textyoffset=-10) interleaved2of5 barcode -15 -20 rmoveto (ITF-14) show 245 140 moveto (000100000010000000001100010101100110000110000) (version=1 eclevel=M) qrcode barcode 0 -10 rmoveto (QR Code) show 485 300 moveto (^059^042^041^059^040^03001^02996152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291^0471^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^030^062^004^063) (mode=2) maxicode barcode 0 -10 rmoveto (MaxiCode) show 250 220 moveto (^453^178^121^239) (columns=2 rows=10) pdf417 barcode 0 -10 rmoveto (PDF417) show 300 600 moveto (^142^164^186) (rows=48 columns=48) datamatrix barcode 0 -10 rmoveto (Data Matrix) show 315 140 moveto (00100111001000000101001101111000010100111100101000000110) (format=compact layers=3) azteccode barcode 0 -10 rmoveto (Aztec Code) show showpage % --END SAMPLE-- postscriptbarcode/barcode_with_sample.ps0000644000000000234210000065117211035466333020176 0ustar rootpsacln%!PS-Adobe-2.0 %%Creator: Terry Burton %%DocumentPaperSizes: a4 %%EndComments %%EndProlog % Barcode Writer in Pure PostScript - Version 2008-07-10 % http://www.terryburton.co.uk/barcodewriter/ % % Copyright (c) 2008 Terry Burton - tez@terryburton.co.uk % % Permission is hereby granted, free of charge, to any % person obtaining a copy of this software and associated % documentation files (the "Software"), to deal in the % Software without restriction, including without % limitation the rights to use, copy, modify, merge, % publish, distribute, sublicense, and/or sell copies of % the Software, and to permit persons to whom the Software % is furnished to do so, subject to the following % conditions: % % The above copyright notice and this permission notice % shall be included in all copies or substantial portions % of the Software. % % THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY % KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO % THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A % PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL % THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, % DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF % CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN % CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS % IN THE SOFTWARE. % Uncomment this next line to allow these procedure definitions to % remain resident within a printer's PostScript virtual machine % so that the barcode generation capability persists between jobs. % serverdict begin 0 exitserver % --BEGIN TEMPLATE-- % --BEGIN ENCODER ean13-- % --DESC: EAN-13 % --EXAM: 977147396801 % --EXOP: includetext guardwhitespace % --RNDR: renlinear /ean13 { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /barlen barcode length def % Length of the code % Add checksum digit to barcode if length is even barlen 2 mod 0 eq { /pad barlen 1 add string def % Create pad one bigger than barcode /checksum 0 def 0 1 barlen 1 sub { /i exch def /barchar barcode i get 48 sub def i 2 mod 0 eq { /checksum barchar checksum add def } { /checksum barchar 3 mul checksum add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def pad 0 barcode putinterval % Add barcode to the start of the pad pad barlen checksum 48 add put % Put ascii for checksum at end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (11111) (111) ] def % Create a string of the available characters /barchars (0123456789) def % Digits to mirror on left side /mirrormaps [ (000000) (001011) (001101) (001110) (010011) (011001) (011100) (010101) (010110) (011010) ] def /sbs barlen 1 sub 4 mul 11 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval % First digit - determine mirrormap by this and show before guard bars /mirrormap mirrormaps barcode 0 get 48 sub get def txt 0 [barcode 0 1 getinterval -10 textyoffset textfont textsize] put % Left side - performs mirroring 1 1 6 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i 1 sub get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 1 sub 4 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 7 mul 4 add textyoffset textfont textsize] put } for % Put the middle character sbs 7 1 sub 4 mul 3 add encs 11 get putinterval % Right side 7 1 12 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 1 sub 4 mul 8 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 7 mul 8 add textyoffset textfont textsize] put } for % Put the end character sbs barlen 1 sub 4 mul 8 add encs 12 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [height height 12{height .075 sub}repeat height height 12{height .075 sub}repeat height height] put retval (bbs) [0 0 12{.075}repeat 0 0 12{.075}repeat 0 0] put retval (txt) txt put } { retval (bhs) [30{height}repeat] put retval (bbs) [30{0}repeat] put } ifelse retval (opt) useropts put retval (guardrightpos) 10 put retval (borderbottom) 5 put retval end } bind def /ean13 load 0 1 dict put % --END ENCODER ean13-- % --BEGIN ENCODER ean8-- % --DESC: EAN-8 % --EXAM: 01335583 % --EXOP: includetext guardwhitespace height=0.5 % --RNDR: renlinear /ean8 { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (11111) (111) ] def % Create a string of the available characters /barchars (0123456789) def /barlen barcode length def % Length of the code /sbs barlen 4 mul 11 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval % Left side 0 1 3 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 7 mul 4 add textyoffset textfont textsize] put } for % Put the middle character sbs 4 4 mul 3 add encs 11 get putinterval % Right side 4 1 7 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 8 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 7 mul 8 add textyoffset textfont textsize] put } for % Put the end character sbs barlen 4 mul 8 add encs 12 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [height height 8{height .075 sub}repeat height height 8{height .075 sub}repeat height height] put retval (bbs) [0 0 8{.075}repeat 0 0 8{.075}repeat 0 0] put retval (txt) txt put } { retval (bhs) [22{height}repeat] put retval (bbs) [22{0}repeat] put } ifelse retval (opt) useropts put retval (guardleftpos) 10 put retval (guardrightpos) 10 put retval (borderbottom) 5 put retval end } bind def /ean8 load 0 1 dict put % --END ENCODER ean8-- % --BEGIN ENCODER upca-- % --DESC: UPC-A % --EXAM: 78858101497 % --EXOP: includetext % --RNDR: renlinear /upca { 0 begin /options exch def /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /barlen barcode length def % Length of the code % Add checksum digit to barcode if length is odd barlen 2 mod 0 ne { /pad barlen 1 add string def % Create pad one bigger than barcode /checksum 0 def 0 1 barlen 1 sub { /i exch def /barchar barcode i get 48 sub def i 2 mod 0 ne { /checksum checksum barchar add def } { /checksum checksum barchar 3 mul add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def pad 0 barcode putinterval % Add barcode to the start of the pad pad barlen checksum 48 add put % Put ascii for checksum at end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (11111) (111) ] def % Create a string of the available characters /barchars (0123456789) def /sbs barlen 4 mul 11 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval % Left side 0 1 5 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 3 add enc putinterval % Put encoded digit into sbs i 0 eq { % First digit is before the guard bars txt 0 [barcode 0 1 getinterval -7 textyoffset textfont textsize 2 sub] put } { txt i [barcode i 1 getinterval i 7 mul 4 add textyoffset textfont textsize] put } ifelse } for % Put the middle character sbs 6 4 mul 3 add encs 11 get putinterval % Right side 6 1 11 { % Lookup the encoding for the each barcode character /i exch def barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 4 mul 8 add enc putinterval % Put encoded digit into sbs i 11 eq { % Last digit is after guard bars txt 11 [barcode 11 1 getinterval 96 textyoffset textfont textsize 2 sub] put } { txt i [barcode i 1 getinterval i 7 mul 8 add textyoffset textfont textsize] put } ifelse } for % Put the end character sbs barlen 4 mul 8 add encs 12 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [4{height}repeat 10{height .075 sub}repeat height height 10{height .075 sub}repeat 5{height}repeat] put retval (bbs) [0 0 0 0 10{.075}repeat 0 0 10{.075}repeat 0 0 0 0 0] put retval (txt) txt put } { retval (bhs) [31{height}repeat] put retval (bbs) [31{0}repeat] put } ifelse retval (opt) useropts put retval (borderbottom) 5 put retval end } bind def /upca load 0 1 dict put % --END ENCODER upca-- % --BEGIN ENCODER upce-- % --DESC: UPC-E % --EXAM: 0123456 % --EXOP: includetext height=0.4 % --RNDR: renlinear /upce { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset -4 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /barlen barcode length def % Length of the code % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (111) (1111111) ] def % Create a string of the available characters /barchars (0123456789) def /mirrormaps [ (000111) (001011) (001101) (001110) (010011) (011001) (011100) (010101) (010110) (011010) ] def % Add checksum digit to barcode if length is odd barlen 2 mod 0 ne { % Derive the equivalent UPC-A for its checksum /upcacode (00000000000) 11 string copy def barcode 6 get 48 sub 2 le { upcacode 1 barcode 1 2 getinterval putinterval upcacode 3 barcode 6 1 getinterval putinterval upcacode 8 barcode 3 3 getinterval putinterval } if barcode 6 get 48 sub 3 eq { upcacode 1 barcode 1 3 getinterval putinterval upcacode 9 barcode 4 2 getinterval putinterval } if barcode 6 get 48 sub 4 eq { upcacode 1 barcode 1 4 getinterval putinterval upcacode 10 barcode 5 1 getinterval putinterval } if barcode 6 get 48 sub 5 ge { upcacode 1 barcode 1 5 getinterval putinterval upcacode 10 barcode 6 1 getinterval putinterval } if /checksum 0 def 0 1 10 { /i exch def /barchar upcacode i get 48 sub def i 2 mod 0 ne { /checksum checksum barchar add def } { /checksum checksum barchar 3 mul add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def /pad barlen 1 add string def % Create pad one bigger than barcode pad 0 barcode putinterval % Add barcode to the start of the pad pad barlen checksum 48 add put % Put ascii for checksum at end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if /txt barlen array def txt 0 [barcode 0 1 getinterval -7 textyoffset textfont textsize 2 sub] put % Determine the mirror map based on checksum /mirrormap mirrormaps barcode barlen 1 sub get 48 sub get def % Invert the mirrormap if we are using a non-zero number system barcode 0 get 48 eq { /invt mirrormap length string def 0 1 mirrormap length 1 sub { /i exch def mirrormap i get 48 eq { invt i 49 put } { invt i 48 put } ifelse } for /mirrormap invt def } if /sbs barlen 2 sub 4 mul 10 add string def % Put the start character sbs 0 encs 10 get putinterval 1 1 6 { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i 1 sub get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 1 sub 4 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 7 mul 4 add textyoffset textfont textsize] put } for txt 7 [barcode 7 1 getinterval 6 7 mul 11 add textyoffset textfont textsize 2 sub] put % Put the end character sbs barlen 2 sub 4 mul 3 add encs 11 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put includetext { retval (bhs) [height height 12{height .075 sub}repeat height height height] put retval (bbs) [0 0 12{.075}repeat 0 0 0] put retval (txt) txt put } { retval (bhs) [17{height}repeat] put retval (bbs) [17{0}repeat] put } ifelse retval (opt) useropts put retval (borderbottom) 5 put retval end } bind def /upce load 0 1 dict put % --END ENCODER upce-- % --BEGIN ENCODER ean5-- % --DESC: EAN-5 (5 digit addon) % --EXAM: 90200 % --EXOP: includetext guardwhitespace % --RNDR: renlinear /ean5 { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset (unset) def /height 0.7 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /height height cvr def textyoffset (unset) eq { /textyoffset height 72 mul 1 add def } { /textyoffset textyoffset cvr def } ifelse /barlen barcode length def % Length of the code % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (112) (11) ] def % Create a string of the available characters /barchars (0123456789) def % Determine the mirror map based on mod 10 checksum /mirrormaps [ (11000) (10100) (10010) (10001) (01100) (00110) (00011) (01010) (01001) (00101) ] def /checksum 0 def 0 1 4 { /i exch def /barchar barcode i get 48 sub def i 2 mod 0 eq { /checksum barchar 3 mul checksum add def } { /checksum barchar 9 mul checksum add def } ifelse } for /checksum checksum 10 mod def /mirrormap mirrormaps checksum get def /sbs 31 string def /txt 5 array def 0 1 4 { /i exch def % Prefix with either a start character or separator character i 0 eq { sbs 0 encs 10 get putinterval } { sbs i 1 sub 6 mul 7 add encs 11 get putinterval } ifelse % Lookup the encoding for the barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 6 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 9 mul 13 add textyoffset textfont textsize] put } for % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [16{height}repeat] put retval (bbs) [16{0}repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval (guardrightpos) 10 put retval (guardrightypos) textyoffset 4 add put retval (bordertop) 10 put retval end } bind def /ean5 load 0 1 dict put % --END ENCODER ean5-- % --BEGIN ENCODER ean2-- % --DESC: EAN-2 (2 digit addon) % --EXAM: 05 % --EXOP: includetext guardwhitespace % --RNDR: renlinear /ean2 { 0 begin /options exch def % We are given an options string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Helvetica def /textsize 12 def /textyoffset (unset) def /height 0.7 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /height height cvr def textyoffset (unset) eq { /textyoffset height 72 mul 1 add def } { /textyoffset textyoffset cvr def } ifelse /barlen barcode length def % Length of the code % Create an array containing the character mappings /encs [ (3211) (2221) (2122) (1411) (1132) (1231) (1114) (1312) (1213) (3112) (112) (11) ] def % Create a string of the available characters /barchars (0123456789) def % Determine the mirror map based on mod 4 checksum /mirrormap [(00) (01) (10) (11)] barcode 0 2 getinterval cvi 4 mod get def /sbs 13 string def /txt 2 array def 0 1 1 { /i exch def % Prefix with either a start character or separator character i 0 eq { sbs 0 encs 10 get putinterval } { sbs i 1 sub 6 mul 7 add encs 11 get putinterval } ifelse % Lookup the encoding for the barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding mirrormap i get 49 eq { % Reverse enc if 1 in this position in mirrormap /enclen enc length def /revenc enclen string def 0 1 enclen 1 sub { /j exch def /char enc j get def revenc enclen j sub 1 sub char put } for /enc revenc def } if sbs i 6 mul 3 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 1 sub 9 mul 13 add textyoffset textfont textsize] put } for % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [12{height}repeat] put retval (bbs) [12{0}repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval (guardrightpos) 10 put retval (guardrightypos) textyoffset 4 add put retval (bordertop) 10 put retval end } bind def /ean2 load 0 1 dict put % --END ENCODER ean2-- % --BEGIN ENCODER isbn-- % --REQUIRES ean13-- % --DESC: ISBN % --EXAM: 978-1-56592-479 % --EXOP: includetext guardwhitespace % --RNDR: renlinear /isbn { 0 begin /options exch def % We are given an options string /useropts options def /isbntxt exch def % We are given the isbn text with dashes /includetext false def % Enable/disable ISBN text /isbnfont /Courier def /isbnsize 9 def /isbnpos (unset) def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /isbnfont isbnfont cvlit def /isbnsize isbnsize cvr def /height height cvr def isbnpos (unset) eq { /isbnpos height 72 mul 3 add def } { /isbnpos isbnpos cvr def } ifelse % Read the digits from isbntxt and calculate checksums /isbn 13 string def /checksum10 0 def /checksum13 0 def /i 0 def /n 0 def { % loop /isbnchar isbntxt i get 48 sub def isbnchar -3 ne { % Ignore dashes isbn n isbnchar 48 add put /checksum10 checksum10 10 n sub isbnchar mul add def n 2 mod 0 eq { /checksum13 isbnchar checksum13 add def } { /checksum13 isbnchar 3 mul checksum13 add def } ifelse /n n 1 add def } if /i i 1 add def i isbntxt length eq {exit} if } loop % Add the ISBN header to the isbntxt n 9 eq n 10 eq or { /checksum 11 checksum10 11 mod sub 11 mod def /isbn isbn 0 9 getinterval def /pad 18 string def } { /checksum 10 checksum13 10 mod sub 10 mod def /isbn isbn 0 12 getinterval def /pad 22 string def } ifelse pad 0 (ISBN ) putinterval pad 5 isbntxt putinterval % Add isbntxt to the pad % Add checksum digit if isbntxt length is 11 or 15 isbntxt length 11 eq isbntxt length 12 eq or isbntxt length 15 eq or isbntxt length 16 eq or { pad pad length 2 sub 45 put % Put a dash checksum 10 eq { pad pad length 1 sub checksum 78 add put % Check digit for 10 is X } { pad pad length 1 sub checksum 48 add put % Put check digit } ifelse } if /isbntxt pad def % isbntxt=pad % Convert ISBN digits to EAN-13 /barcode 12 string def isbn length 9 eq { barcode 0 (978) putinterval barcode 3 isbn putinterval } { barcode 0 isbn putinterval } ifelse % Get the result of encoding with ean13 /args barcode options ean13 def % Add the ISBN text includetext { isbn length 9 eq { /isbnxpos -1 def } { /isbnxpos -12 def } ifelse args (txt) known { /txt args (txt) get def /newtxt txt length 1 add array def newtxt 0 txt putinterval newtxt newtxt length 1 sub [isbntxt isbnxpos isbnpos isbnfont isbnsize] put args (txt) newtxt put } { args (txt) [ [isbntxt isbnxpos isbnpos isbnfont isbnsize] ] put } ifelse } if args (opt) useropts put args end } bind def /isbn load 0 1 dict put % --END ENCODER isbn-- % --BEGIN ENCODER code128-- % --DESC: Code 128 % --EXAM: ^104^102Count^0990123456789^101! % --EXOP: includetext % --RNDR: renlinear /code128 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (212222) (222122) (222221) (121223) (121322) (131222) (122213) (122312) (132212) (221213) (221312) (231212) (112232) (122132) (122231) (113222) (123122) (123221) (223211) (221132) (221231) (213212) (223112) (312131) (311222) (321122) (321221) (312212) (322112) (322211) (212123) (212321) (232121) (111323) (131123) (131321) (112313) (132113) (132311) (211313) (231113) (231311) (112133) (112331) (132131) (113123) (113321) (133121) (313121) (211331) (231131) (213113) (213311) (213131) (311123) (311321) (331121) (312113) (312311) (332111) (314111) (221411) (431111) (111224) (111422) (121124) (121421) (141122) (141221) (112214) (112412) (122114) (122411) (142112) (142211) (241211) (221114) (413111) (241112) (134111) (111242) (121142) (121241) (114212) (124112) (124211) (411212) (421112) (421211) (212141) (214121) (412121) (111143) (111341) (131141) (114113) (114311) (411113) (411311) (113141) (114131) (311141) (411131) (211412) (211214) (211232) (2331112) ] def % Create a string of the available characters for alphabets A and B /barchars ( !"#$%&'\(\)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~) def /barlen barcode length def % Length of the code /sbs barlen 6 mul string def % sbs is 6 times length of barcode /txt barlen array def /mode -1 def % A=0, B=1, C=2 /checksum barcode 1 3 getinterval cvi def % Initialise the checksum /i 0 def /j 0 def { % loop i barlen eq {exit} if barcode i 1 getinterval (^) eq { % indx is given by the next three characters /indx barcode i 1 add 3 getinterval cvi def txt j [( ) j 11 mul textyoffset textfont textsize] put /i i 4 add def } { % indx depends on the mode mode 2 eq { /indx barcode i 2 getinterval cvi def txt j [barcode i 2 getinterval j 11 mul textyoffset textfont textsize] put /i i 2 add def } { barchars barcode i 1 getinterval search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post txt j [barchars indx 1 getinterval j 11 mul textyoffset textfont textsize] put /i i 1 add def } ifelse } ifelse /enc encs indx get def % Get the indxth encoding sbs j 6 mul enc putinterval % Put encoded digit into sbs % Update the mode indx 101 eq indx 103 eq or {/mode 0 def} if indx 100 eq indx 104 eq or {/mode 1 def} if indx 99 eq indx 105 eq or {/mode 2 def} if /checksum indx j mul checksum add def % checksum+=indx*j /j j 1 add def } loop % Put the checksum character /checksum checksum 103 mod def sbs j 6 mul encs checksum get putinterval % Put the end character sbs j 6 mul 6 add encs 106 get putinterval % Shrink sbs and txt to fit exactly /sbs sbs 0 j 6 mul 13 add getinterval def /txt txt 0 j getinterval def % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code128 load 0 1 dict put % --END ENCODER code128-- % --BEGIN ENCODER code39-- % --DESC: Code 39 % --EXAM: THIS IS CODE 39 % --EXOP: includetext includecheck includecheckintext % --RNDR: renlinear /code39 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (1113313111) (3113111131) (1133111131) (3133111111) (1113311131) (3113311111) (1133311111) (1113113131) (3113113111) (1133113111) (3111131131) (1131131131) (3131131111) (1111331131) (3111331111) (1131331111) (1111133131) (3111133111) (1131133111) (1111333111) (3111111331) (1131111331) (3131111311) (1111311331) (3111311311) (1131311311) (1111113331) (3111113311) (1131113311) (1111313311) (3311111131) (1331111131) (3331111111) (1311311131) (3311311111) (1331311111) (1311113131) (3311113111) (1331113111) (1313131111) (1313111311) (1311131311) (1113131311) (1311313111) ] def % Create a string of the available characters /barchars (0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%*) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 10 mul 30 add string def /txt barlen 3 add array def } { /sbs barlen 10 mul 20 add string def /txt barlen 2 add array def } ifelse /checksum 0 def % Put the start character sbs 0 encs 43 get putinterval txt 0 [(*) 0 textyoffset textfont textsize] put 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 10 mul 10 add enc putinterval % Put encoded digit into sbs txt i 1 add [barcode i 1 getinterval i 1 add 16 mul textyoffset textfont textsize] put /checksum checksum indx add def } for % Put the checksum and end characters includecheck { /checksum checksum 43 mod def sbs barlen 10 mul 10 add encs checksum get putinterval includecheckintext { txt barlen 1 add [barchars checksum 1 getinterval barlen 1 add 16 mul textyoffset textfont textsize] put } { txt barlen 1 add [() barlen 1 add 16 mul textyoffset textfont textsize] put } ifelse sbs barlen 10 mul 20 add encs 43 get putinterval txt barlen 2 add [(*) barlen 2 add 16 mul textyoffset textfont textsize] put } { sbs barlen 10 mul 10 add encs 43 get putinterval txt barlen 1 add [(*) barlen 1 add 16 mul textyoffset textfont textsize] put } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code39 load 0 1 dict put % --END ENCODER code39-- % --BEGIN ENCODER code93-- % --DESC: Code 93 % --EXAM: THIS IS CODE 93 % --EXOP: includetext includecheck % --RNDR: renlinear /code93 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /encs [ (131112) (111213) (111312) (111411) (121113) (121212) (121311) (111114) (131211) (141111) (211113) (211212) (211311) (221112) (221211) (231111) (112113) (112212) (112311) (122112) (132111) (111123) (111222) (111321) (121122) (131121) (212112) (212211) (211122) (211221) (221121) (222111) (112122) (112221) (122121) (123111) (121131) (311112) (311211) (321111) (112131) (113121) (211131) (121221) (312111) (311121) (122211) (111141) (1111411) ] def % Create a string of the available characters /barchars (0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%) def /barlen barcode length def % Length of the code barcode { (^) search false eq {pop exit} if pop pop /barlen barlen 3 sub def } loop includecheck { /sbs barlen 6 mul 25 add string def } { /sbs barlen 6 mul 13 add string def } ifelse /txt barlen array def % Put the start character sbs 0 encs 47 get putinterval /checksum1 0 def /checksum2 0 def /i 0 def /j 0 def { % loop j barlen eq {exit} if barcode i 1 getinterval (^) eq { % indx is given by the next three characters /indx barcode i 1 add 3 getinterval cvi def txt j [( ) j 9 mul 9 add textyoffset textfont textsize] put /i i 4 add def } { barchars barcode i 1 getinterval search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post txt j [barchars indx 1 getinterval j 9 mul 9 add textyoffset textfont textsize] put /i i 1 add def } ifelse /enc encs indx get def % Get the indxth encoding sbs j 6 mul 6 add enc putinterval % Put encoded digit into sbs /checksum1 checksum1 barlen j sub 1 sub 20 mod 1 add indx mul add def /checksum2 checksum2 barlen j sub 15 mod 1 add indx mul add def /j j 1 add def } loop includecheck { % Put the first checksum character /checksum1 checksum1 47 mod def /checksum2 checksum2 checksum1 add 47 mod def sbs j 6 mul 6 add encs checksum1 get putinterval sbs j 6 mul 12 add encs checksum2 get putinterval % Put the end character sbs j 6 mul 18 add encs 48 get putinterval } { % Put the end character sbs j 6 mul 6 add encs 48 get putinterval } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code93 load 0 1 dict put % --END ENCODER code93-- % --BEGIN ENCODER interleaved2of5-- % --DESC: Interleaved 2 of 5 (ITF) % --EXAM: 24012345678905 % --EXOP: showborder borderwidth=4 borderleft=15 borderright=15 height=0.5 includecheck includetext includecheckintext textyoffset=-10 % --RNDR: renlinear /interleaved2of5 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /barlen barcode length def % Length of the code % Prefix 0 to barcode if length is even and including checkdigit % or length is odd and not including checkdigit barlen 2 mod 0 eq includecheck and % even & includecheck barlen 2 mod 0 ne includecheck not and or { % odd & !includecheck /pad barlen 1 add string def % Create pad one bigger than barcode pad 0 48 put % Put ascii 0 at start of pad pad 1 barcode putinterval % Add barcode to the end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Add checksum to end of barcode includecheck { /checksum 0 def 0 1 barlen 1 sub { /i exch def i 2 mod 0 eq { /checksum checksum barcode i get 48 sub 3 mul add def } { /checksum checksum barcode i get 48 sub add def } ifelse } for /checksum 10 checksum 10 mod sub 10 mod def /pad barlen 1 add string def % Create pad one bigger than barcode pad 0 barcode putinterval % Add barcode to the start of pad pad barlen checksum 48 add put % Add checksum to end of pad /barcode pad def % barcode=pad /barlen barlen 1 add def % barlen++ } if % Create an array containing the character mappings /encs [ (11331) (31113) (13113) (33111) (11313) (31311) (13311) (11133) (31131) (13131) (1111) (3111) ] def % Create a string of the available characters /barchars (0123456789) def /sbs barlen 5 mul 8 add string def /txt barlen array def % Put the start character sbs 0 encs 10 get putinterval 0 2 barlen 1 sub { /i exch def % Lookup the encodings for two consecutive barcode characters barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enca encs indx get def % Get the indxth encoding barcode i 1 add 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /encb encs indx get def % Get the indxth encoding % Interleave the two character encodings /intl enca length 2 mul string def 0 1 enca length 1 sub { /j exch def /achar enca j get def /bchar encb j get def intl j 2 mul achar put intl j 2 mul 1 add bchar put } for sbs i 5 mul 4 add intl putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 9 mul 4 add textyoffset textfont textsize] put includecheck includecheckintext not and barlen 2 sub i eq and { txt i 1 add [( ) i 1 add 9 mul 4 add textyoffset textfont textsize] put } { txt i 1 add [barcode i 1 add 1 getinterval i 1 add 9 mul 4 add textyoffset textfont textsize] put } ifelse } for % Put the end character sbs barlen 5 mul 4 add encs 11 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /interleaved2of5 load 0 1 dict put % --END ENCODER interleaved2of5-- % --BEGIN ENCODER rss14-- % --DESC: Reduced Space Symbology 14 (RSS-14) % --EXAM: 24012345678905 % --EXOP: height=0.3 % --RNDR: renlinear /rss14 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 1 def /linkage false def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop % Create the human readable text /txt barcode length array def 0 1 barcode length 1 sub { /i exch def txt i [barcode i 1 getinterval 0 0 () 0] put } for /height height cvr def /getRSSwidths { /oe exch def /mw exch def /nm exch def /val exch def /j 0 def /i 0 def { /v () def mw 1 ne {/v i mw 4 string cvrs def} if 0 v {48 sub add} forall 4 add nm eq { /out [ 4 {1} repeat v {47 sub} forall ] v length 4 getinterval def /hasone false def out {1 eq {/hasone true def} if} forall oe not hasone or { j val eq {exit} if /j j 1 add def } if } if /i i 1 add def } loop out } bind def /binval [barcode {48 sub} forall] def /binval [linkage {1} {0} ifelse binval 0 13 getinterval {} forall] def 0 1 12 { /i exch def binval i 1 add 2 copy get binval i get 4537077 mod 10 mul add put binval i binval i get 4537077 idiv put } for /right binval 13 get 4537077 mod def binval 13 2 copy get 4537077 idiv put /left 0 def /i true def 0 1 13 { /j exch def binval j get dup 0 eq i and { pop } { /i false def /left left 3 -1 roll 10 13 j sub exp cvi mul add def } ifelse } for /d1 left 1597 idiv def /d2 left 1597 mod def /d3 right 1597 idiv def /d4 right 1597 mod def /tab164 [ 160 0 12 4 8 1 161 1 960 161 10 6 6 3 80 10 2014 961 8 8 4 5 31 34 2714 2015 6 10 3 6 10 70 2840 2715 4 12 1 8 1 126 ] def /tab154 [ 335 0 5 10 2 7 4 84 1035 336 7 8 4 5 20 35 1515 1036 9 6 6 3 48 10 1596 1516 11 4 8 1 81 1 ] def /i 0 def { d1 tab164 i get le { tab164 i 1 add 7 getinterval {} forall /d1te exch def /d1to exch def /d1mwe exch def /d1mwo exch def /d1ele exch def /d1elo exch def /d1gs exch def exit } if /i i 8 add def } loop /i 0 def { d2 tab154 i get le { tab154 i 1 add 7 getinterval {} forall /d2te exch def /d2to exch def /d2mwe exch def /d2mwo exch def /d2ele exch def /d2elo exch def /d2gs exch def exit } if /i i 8 add def } loop /i 0 def { d3 tab164 i get le { tab164 i 1 add 7 getinterval {} forall /d3te exch def /d3to exch def /d3mwe exch def /d3mwo exch def /d3ele exch def /d3elo exch def /d3gs exch def exit } if /i i 8 add def } loop /i 0 def { d4 tab154 i get le { tab154 i 1 add 7 getinterval {} forall /d4te exch def /d4to exch def /d4mwe exch def /d4mwo exch def /d4ele exch def /d4elo exch def /d4gs exch def exit } if /i i 8 add def } loop /d1wo d1 d1gs sub d1te idiv d1elo d1mwo false getRSSwidths def /d1we d1 d1gs sub d1te mod d1ele d1mwe true getRSSwidths def /d2wo d2 d2gs sub d2to mod d2elo d2mwo true getRSSwidths def /d2we d2 d2gs sub d2to idiv d2ele d2mwe false getRSSwidths def /d3wo d3 d3gs sub d3te idiv d3elo d3mwo false getRSSwidths def /d3we d3 d3gs sub d3te mod d3ele d3mwe true getRSSwidths def /d4wo d4 d4gs sub d4to mod d4elo d4mwo true getRSSwidths def /d4we d4 d4gs sub d4to idiv d4ele d4mwe false getRSSwidths def /d1w 8 array def 0 1 3 { /i exch def d1w i 2 mul d1wo i get put d1w i 2 mul 1 add d1we i get put } for /d2w 8 array def 0 1 3 { /i exch def d2w 7 i 2 mul sub d2wo i get put d2w 6 i 2 mul sub d2we i get put } for /d3w 8 array def 0 1 3 { /i exch def d3w 7 i 2 mul sub d3wo i get put d3w 6 i 2 mul sub d3we i get put } for /d4w 8 array def 0 1 3 { /i exch def d4w i 2 mul d4wo i get put d4w i 2 mul 1 add d4we i get put } for /widths [ d1w {} forall d2w {} forall d3w {} forall d4w {} forall ] def /checkweights [ 1 3 9 27 2 6 18 54 58 72 24 8 29 36 12 4 74 51 17 32 37 65 48 16 64 34 23 69 49 68 46 59 ] def /checkwidths [ 3 8 2 1 1 3 5 5 1 1 3 3 7 1 1 3 1 9 1 1 2 7 4 1 1 2 5 6 1 1 2 3 8 1 1 1 5 7 1 1 1 3 9 1 1 ] def /checksum 0 def 0 1 31 { /i exch def /checksum checksum widths i get checkweights i get mul add def } for /checksum checksum 79 mod def checksum 8 ge {/checksum checksum 1 add def} if checksum 72 ge {/checksum checksum 1 add def} if /checklt checkwidths checksum 9 idiv 5 mul 5 getinterval def /checkrtrev checkwidths checksum 9 mod 5 mul 5 getinterval def /checkrt 5 array def 0 1 4 { /i exch def checkrt i checkrtrev 4 i sub get put } for /sbs [ 1 d1w {} forall checklt {} forall d2w {} forall d4w {} forall checkrt {} forall d3w {} forall 1 1 ] def % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) sbs put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (txt) txt put retval (textxalign) (center) put retval (opt) useropts put retval end } bind def /rss14 load 0 1 dict put % --END ENCODER rss14-- % --BEGIN ENCODER rsslimited-- % --DESC: Reduced Space Symbology Limited (RSS-Limited) % --EXAM: 00978186074271 % --EXOP: height=0.3 % --RNDR: renlinear /rsslimited { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop % Create the human readable text /txt barcode length array def 0 1 barcode length 1 sub { /i exch def txt i [barcode i 1 getinterval 0 0 () 0] put } for /height height cvr def /getRSSwidths { /oe exch def /el exch def /mw exch def /nm exch def /val exch def /j 0 def /i 0 def { /v () def mw 1 ne {/v i mw el string cvrs def} if 0 v {48 sub add} forall el add nm eq { /out [ el {1} repeat v {47 sub} forall ] v length el getinterval def /hasone false def out {1 eq {/hasone true def} if} forall oe not hasone or { j val eq {exit} if /j j 1 add def } if } if /i i 1 add def } loop out } bind def /binval [barcode {48 sub} forall] def /binval [binval 0 13 getinterval {} forall] def 0 1 11 { /i exch def binval i 1 add 2 copy get binval i get 2013571 mod 10 mul add put binval i binval i get 2013571 idiv put } for /d2 binval 12 get 2013571 mod def binval 12 2 copy get 2013571 idiv put /d1 0 def /i true def 0 1 12 { /j exch def binval j get dup 0 eq i and { pop } { /i false def /d1 d1 3 -1 roll 10 12 j sub exp cvi mul add def } ifelse } for /tab267 [ 183063 0 17 9 6 3 6538 28 820063 183064 13 13 5 4 875 728 1000775 820064 9 17 3 6 28 6454 1491020 1000776 15 11 5 4 2415 203 1979844 1491021 11 15 4 5 203 2408 1996938 1979845 19 7 8 1 17094 1 2013570 1996939 7 19 1 8 1 16632 ] def /i 0 def { d1 tab267 i get le { tab267 i 1 add 7 getinterval {} forall /d1te exch def /d1to exch def /d1mwe exch def /d1mwo exch def /d1ele exch def /d1elo exch def /d1gs exch def exit } if /i i 8 add def } loop /i 0 def { d2 tab267 i get le { tab267 i 1 add 7 getinterval {} forall /d2te exch def /d2to exch def /d2mwe exch def /d2mwo exch def /d2ele exch def /d2elo exch def /d2gs exch def exit } if /i i 8 add def } loop /d1wo d1 d1gs sub d1te idiv d1elo d1mwo 7 false getRSSwidths def /d1we d1 d1gs sub d1te mod d1ele d1mwe 7 true getRSSwidths def /d2wo d2 d2gs sub d2te idiv d2elo d2mwo 7 false getRSSwidths def /d2we d2 d2gs sub d2te mod d2ele d2mwe 7 true getRSSwidths def /d1w 14 array def 0 1 6 { /i exch def d1w i 2 mul d1wo i get put d1w i 2 mul 1 add d1we i get put } for /d2w 14 array def 0 1 6 { /i exch def d2w i 2 mul d2wo i get put d2w i 2 mul 1 add d2we i get put } for /widths [ d1w {} forall d2w {} forall ] def /checkweights [ 1 3 9 27 81 65 17 51 64 14 42 37 22 66 20 60 2 6 18 54 73 41 34 13 39 28 84 74 ] def /checkseq [ 0 1 43 {} for 45 52 57 63 1 66 {} for 73 1 79 {} for 82 126 1 130 {} for 132 141 1 146 {} for 210 1 217 {} for 220 316 1 320 {} for 322 323 326 337 ] def /checksum 0 def 0 1 27 { /i exch def /checksum checksum widths i get checkweights i get mul add def } for /checksum checksum 89 mod def /seq checkseq checksum get def /swidths seq 21 idiv 8 3 6 false getRSSwidths def /bwidths seq 21 mod 8 3 6 false getRSSwidths def /checkwidths [0 0 0 0 0 0 0 0 0 0 0 0 1 1] def 0 1 5 { /i exch def checkwidths i 2 mul swidths i get put checkwidths i 2 mul 1 add bwidths i get put } for /sbs [ 1 d1w {} forall checkwidths {} forall d2w {} forall 1 1 ] def % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) sbs put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (txt) txt put retval (textxalign) (center) put retval (opt) useropts put retval end } bind def /rsslimited load 0 1 dict put % --END ENCODER rsslimited-- % --BEGIN ENCODER rssexpanded-- % --DESC: Reduced Space Symbology Expanded (RSS-Expanded) % --EXAM: 000000010011001010100001000000010000 % --EXOP: height=0.3 % --RNDR: renlinear /rssexpanded { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def /getRSSwidths { /oe exch def /mw exch def /nm exch def /val exch def /j 0 def /i 0 def { /v () def mw 1 ne {/v i mw 4 string cvrs def} if 0 v {48 sub add} forall 4 add nm eq { /out [ 4 {1} repeat v {47 sub} forall ] v length 4 getinterval def /hasone false def out {1 eq {/hasone true def} if} forall /lessfive out 0 get 5 lt def oe not hasone lessfive and or { j val eq {exit} if /j j 1 add def } if } if /i i 1 add def } loop out } bind def /binval [barcode {48 sub} forall] def /datalen binval length 12 idiv def /tab174 [ 347 0 12 5 7 2 87 4 1387 348 10 7 5 4 52 20 2947 1388 8 9 4 5 30 52 3987 2948 6 11 3 6 10 104 4191 3988 4 13 1 8 1 204 ] def /dxw datalen array def 0 1 datalen 1 sub { /x exch def /d binval x 12 mul 12 getinterval def /d 0 0 1 11 {/j exch def 2 11 j sub exp cvi d j get mul add} for def /j 0 def { d tab174 j get le { tab174 j 1 add 7 getinterval {} forall /dte exch def /dto exch def /dmwe exch def /dmwo exch def /dele exch def /delo exch def /dgs exch def exit } if /j j 8 add def } loop /dwo d dgs sub dte idiv delo dmwo true getRSSwidths def /dwe d dgs sub dte mod dele dmwe false getRSSwidths def /dw 8 array def x 2 mod 0 eq { 0 1 3 { /j exch def dw 7 j 2 mul sub dwo j get put dw 6 j 2 mul sub dwe j get put } for } { 0 1 3 { /j exch def dw j 2 mul dwo j get put dw j 2 mul 1 add dwe j get put } for } ifelse dxw x dw put } for /widths [ dxw {{} forall} forall ] def /checkweights [ 77 96 32 81 27 9 3 1 20 60 180 118 143 7 21 63 205 209 140 117 39 13 145 189 193 157 49 147 19 57 171 91 132 44 85 169 197 136 186 62 185 133 188 142 4 12 36 108 50 87 29 80 97 173 128 113 150 28 84 41 123 158 52 156 166 196 206 139 187 203 138 46 76 17 51 153 37 111 122 155 146 119 110 107 106 176 129 43 16 48 144 10 30 90 59 177 164 125 112 178 200 137 116 109 70 210 208 202 184 130 179 115 190 204 68 93 31 151 191 134 148 22 66 198 172 94 71 2 40 154 192 64 162 54 18 6 120 149 25 75 14 42 126 167 175 199 207 69 23 78 26 79 103 98 83 38 114 131 182 124 159 53 88 170 127 183 61 161 55 165 73 8 24 72 5 15 89 100 174 58 160 194 135 45 ] def /checksum 0 def 0 1 widths length 1 sub { /i exch def /checksum checksum widths i get checkweights i get mul add def } for /checksum checksum 211 mod datalen 3 sub 211 mul add def /i 0 def { checksum tab174 i get le { tab174 i 1 add 7 getinterval {} forall /cte exch def /cto exch def /cmwe exch def /cmwo exch def /cele exch def /celo exch def /cgs exch def exit } if /i i 8 add def } loop /cwo checksum cgs sub cte idiv celo cmwo true getRSSwidths def /cwe checksum cgs sub cte mod cele cmwe false getRSSwidths def /cw 8 array def 0 1 3 { /i exch def cw i 2 mul cwo i get put cw i 2 mul 1 add cwe i get put } for /finderwidths [ 1 8 4 1 1 1 1 4 8 1 3 6 4 1 1 1 1 4 6 3 3 4 6 1 1 1 1 6 4 3 3 2 8 1 1 1 1 8 2 3 2 6 5 1 1 1 1 5 6 2 2 2 9 1 1 1 1 9 2 2 ] def /finderseq [ [0 1] [0 3 2] [0 5 2 7] [0 9 2 7 4] [0 9 2 7 6 11] [0 9 2 7 8 11 10] [0 1 2 3 4 5 6 7] [0 1 2 3 4 5 6 9 8] [0 1 2 3 4 5 6 9 10 11] [0 1 2 3 4 7 6 9 8 11 10] ] def /seq finderseq datalen 2 add 2 idiv 2 sub get def /fxw seq length array def 0 1 seq length 1 sub { /x exch def fxw x finderwidths seq x get 5 mul 5 getinterval put } for /sbs [ 1 cw {} forall 0 1 datalen 1 sub { /i exch def i 2 mod 0 eq {fxw i 2 idiv get {} forall} if dxw i get {} forall } for 1 1 ] def % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) sbs put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (opt) useropts put retval end } bind def /rssexpanded load 0 1 dict put % --END ENCODER rssexpanded-- % --BEGIN ENCODER pharmacode-- % --DESC: Pharmaceutical Binary Code % --EXAM: 117480 % --EXOP: showborder % --RNDR: renlinear /pharmacode { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 8 2.835 mul 72 div def /nwidth 0.5 2.835 mul def /wwidth 1.5 2.835 mul def /swidth 1.0 2.835 mul def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def /nwidth nwidth cvr def /wwidth wwidth cvr def /swidth swidth cvr def % Create the human readable text /txt barcode length array def 0 1 barcode length 1 sub { /i exch def txt i [barcode i 1 getinterval 0 0 () 0] put } for % Convert the integer into the paramacode string /barcode barcode cvi 1 add 2 17 string cvrs def /barcode barcode 1 barcode length 1 sub getinterval def /barlen barcode length def % Length of the code /sbs barlen 2 mul array def 0 1 barlen 1 sub { /i exch def /enc barcode i 1 getinterval def enc (0) eq { sbs i 2 mul nwidth put } { sbs i 2 mul wwidth put } ifelse sbs i 2 mul 1 add swidth put } for % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) sbs put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (txt) txt put retval (textxalign) (center) put retval (opt) useropts put retval end } bind def /pharmacode load 0 1 dict put % --END ENCODER pharmacode-- % --BEGIN ENCODER code2of5-- % --DESC: Code 25 % --EXAM: 01234567 % --EXOP: includetext includecheck includecheckintext % --RNDR: renlinear /code2of5 { % Thanks to Michael Landers 0 begin % Confine variable to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (1111313111) (3111111131) (1131111131) (3131111111) (1111311131) (3111311111) (1131311111) (1111113131) (3111113111) (1131113111) (313111) (311131) ] def % Create a string of the available characters /barchars (0123456789) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 10 mul 22 add string def /txt barlen 1 add array def } { /sbs barlen 10 mul 12 add string def /txt barlen array def } ifelse % Put the start character sbs 0 encs 10 get putinterval /checksum 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 10 mul 6 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 14 mul 10 add textyoffset textfont textsize] put barlen i sub 2 mod 0 eq { /checksum checksum indx add def } { /checksum checksum indx 3 mul add def } ifelse } for % Put the checksum and end characters includecheck { /checksum 10 checksum 10 mod sub 10 mod def sbs barlen 10 mul 6 add encs checksum get putinterval sbs barlen 10 mul 16 add encs 11 get putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 14 mul 10 add textyoffset textfont textsize] put } { txt barlen [( ) barlen 14 mul 10 add textyoffset textfont textsize] put } ifelse } { sbs barlen 10 mul 6 add encs 11 get putinterval } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code2of5 load 0 1 dict put % --END ENCODER code2of5-- % --BEGIN ENCODER code11-- % --DESC: Code 11 % --EXAM: 0123456789 % --EXOP: includetext includecheck includecheckintext % --RNDR: renlinear /code11 { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def /includetext false def /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (111131) (311131) (131131) (331111) (113131) (313111) (133111) (111331) (311311) (311111) (113111) (113311) ] def % Create a string of the available characters /barchars (0123456789-) def /barlen barcode length def % Length of the code includecheck { barlen 10 ge { /sbs barlen 6 mul 24 add string def /txt barlen 2 add array def } { /sbs barlen 6 mul 18 add string def /txt barlen 1 add array def } ifelse } { /sbs barlen 6 mul 12 add string def /txt barlen array def } ifelse % Put the start character sbs 0 encs 10 get putinterval /checksum1 0 def /checksum2 0 def /xpos 8 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 6 mul 6 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval xpos textyoffset textfont textsize] put 0 1 5 { % xpos+=width of the character /xpos exch enc exch get 48 sub xpos add def } for /checksum1 checksum1 barlen i sub 1 sub 10 mod 1 add indx mul add def /checksum2 checksum2 barlen i sub 9 mod 1 add indx mul add def } for % Put the checksum and end characters includecheck { /checksum1 checksum1 11 mod def barlen 10 ge { /checksum2 checksum2 checksum1 add 11 mod def sbs barlen 6 mul 6 add encs checksum1 get putinterval sbs barlen 6 mul 12 add encs checksum2 get putinterval includecheckintext { txt barlen [barchars checksum1 1 getinterval xpos textyoffset textfont textsize] put /enc encs checksum1 get def 0 1 5 { % xpos+=width of the character /xpos exch enc exch get 48 sub xpos add def } for txt barlen 1 add [barchars checksum2 1 getinterval xpos textyoffset textfont textsize] put } { txt barlen [() xpos textyoffset textfont textsize] put txt barlen 1 add [() xpos textyoffset textfont textsize] put } ifelse sbs barlen 6 mul 18 add encs 11 get putinterval } { sbs barlen 6 mul 6 add encs checksum1 get putinterval includecheckintext { txt barlen [barchars checksum1 1 getinterval xpos textyoffset textfont textsize] put } { txt barlen [() xpos textyoffset textfont textsize] put } ifelse sbs barlen 6 mul 12 add encs 11 get putinterval } ifelse } { sbs barlen 6 mul 6 add encs 11 get putinterval } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /code11 load 0 1 dict put % --END ENCODER code11-- % --BEGIN ENCODER rationalizedCodabar-- % --DESC: Rationalized Codabar % --EXAM: A0123456789B % --EXOP: includetext includecheck includecheckintext % --RNDR: renlinear /rationalizedCodabar { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (11111331) (11113311) (11131131) (33111111) (11311311) (31111311) (13111131) (13113111) (13311111) (31131111) (11133111) (11331111) (31113131) (31311131) (31313111) (11313131) (11331311) (13131131) (11131331) (11133311) ] def % Create a string of the available characters /barchars (0123456789-$:/.+ABCD) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 8 mul 8 add string def /txt barlen 1 add array def } { /sbs barlen 8 mul string def /txt barlen array def } ifelse /checksum 0 def /xpos 0 def 0 1 barlen 2 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 8 mul enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval xpos textyoffset textfont textsize] put 0 1 7 { % xpos+=width of the character /xpos exch enc exch get 48 sub xpos add def } for /checksum checksum indx add def } for % Find index of last character barcode barlen 1 sub 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post includecheck { % Put the checksum character /checksum checksum indx add def /checksum 16 checksum 16 mod sub 16 mod def sbs barlen 8 mul 8 sub encs checksum get putinterval includecheckintext { txt barlen 1 sub [barchars checksum 1 getinterval xpos textyoffset textfont textsize] put } { txt barlen 1 sub [( ) xpos textyoffset textfont textsize] put } ifelse 0 1 7 { % xpos+=width of the character /xpos exch encs checksum get exch get 48 sub xpos add def } for % Put the end character /enc encs indx get def % Get the indxth encoding sbs barlen 8 mul enc putinterval % Put encoded digit into sbs txt barlen [barcode barlen 1 sub 1 getinterval xpos textyoffset textfont textsize] put } { % Put the end character /enc encs indx get def % Get the indxth encoding sbs barlen 8 mul 8 sub enc putinterval % Put encoded digit into sbs txt barlen 1 sub [barcode barlen 1 sub 1 getinterval xpos textyoffset textfont textsize] put } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /rationalizedCodabar load 0 1 dict put % --END ENCODER rationalizedCodabar-- % --BEGIN ENCODER onecode-- % --DESC: United States Postal Service OneCode % --EXAM: 0123456709498765432101234567891 % --EXOP: barcolor=FF0000 % --RNDR: renlinear /onecode { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /height 0.175 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def /barlen barcode length def % Create the human readable text /txt barcode length array def 0 1 barcode length 1 sub { /i exch def txt i [barcode i 1 getinterval 0 0 () 0] put } for /normalize { /base exch def /num exch def num length 1 sub -1 1 { /i exch def num i 1 sub 2 copy get num i get base idiv add put num i num i get base mod put } for { %loop - extend input as necessary num 0 get base lt {exit} if /num [0 num {} forall] def num 0 num 0 get num 1 get base idiv add put num 1 num 1 get base mod put } loop % Trim leading zeros /num [/i true def num {dup 0 eq i and {pop} {/i false def} ifelse} forall] def num length 0 eq {/num [0] def} if num } bind def /bigadd { 2 copy length exch length 2 copy sub abs /offset exch def lt {exch} if /a exch def /b exch def 0 1 b length 1 sub { dup a exch offset add 2 copy get b 5 -1 roll get add put } for a } bind def % Conversion of data fields into binary data barlen 20 eq {[0]} if barlen 25 eq {[1]} if barlen 29 eq {[1 0 0 0 0 1]} if barlen 31 eq {[1 0 0 0 1 0 0 0 0 1]} if /binval exch [barcode 20 barlen 20 sub getinterval {48 sub} forall] bigadd def /binval [binval {} forall barcode 0 get 48 sub] def /binval [binval {5 mul} forall] [barcode 1 get 48 sub] bigadd 10 normalize def /binval [binval {} forall barcode 2 18 getinterval {48 sub} forall] def % Conversion of binary data into byte array /bytes 13 array def /bintmp [binval {} forall] def 12 -1 0 { /i exch def 0 1 bintmp length 2 sub { /j exch def bintmp j 1 add 2 copy get bintmp j get 256 mod 10 mul add put bintmp j bintmp j get 256 idiv put } for bytes i bintmp bintmp length 1 sub get 256 mod put bintmp bintmp length 1 sub 2 copy get 256 idiv put } for % Generation of 11-bit CRC on byte array /fcs 2047 def /dat bytes 0 get 5 bitshift def 6 { fcs dat xor 1024 and 0 ne { /fcs fcs 1 bitshift 3893 xor def } { /fcs fcs 1 bitshift def } ifelse /fcs fcs 2047 and def /dat dat 1 bitshift def } repeat 1 1 12 { bytes exch get 3 bitshift /dat exch def 8 { fcs dat xor 1024 and 0 ne { /fcs fcs 1 bitshift 3893 xor def } { /fcs fcs 1 bitshift def } ifelse /fcs fcs 2047 and def /dat dat 1 bitshift def } repeat } for % Conversion from binary data to codewords /codewords 10 array def 9 -1 0 { /i exch def i 9 eq { /b 636 def } { /b 1365 def } ifelse 0 1 binval length 2 sub { /j exch def binval j 1 add 2 copy get binval j get b mod 10 mul add put binval j binval j get b idiv put } for codewords i binval binval length 1 sub get b mod put binval binval length 1 sub 2 copy get b idiv put } for % Inserting additional information into codewords codewords 9 codewords 9 get 2 mul put fcs 1024 and 0 ne { codewords 0 codewords 0 get 659 add put } if % Conversion from codewords to characters /tab513 [ 31 7936 47 7808 55 7552 59 7040 61 6016 62 3968 79 7744 87 7488 91 6976 93 5952 94 3904 103 7360 107 6848 109 5824 110 3776 115 6592 117 5568 118 3520 121 5056 122 3008 124 1984 143 7712 151 7456 155 6944 157 5920 158 3872 167 7328 171 6816 173 5792 174 3744 179 6560 181 5536 182 3488 185 5024 186 2976 188 1952 199 7264 203 6752 205 5728 206 3680 211 6496 213 5472 214 3424 217 4960 218 2912 220 1888 227 6368 229 5344 230 3296 233 4832 234 2784 236 1760 241 4576 242 2528 244 1504 248 992 271 7696 279 7440 283 6928 285 5904 286 3856 295 7312 299 6800 301 5776 302 3728 307 6544 309 5520 310 3472 313 5008 314 2960 316 1936 327 7248 331 6736 333 5712 334 3664 339 6480 341 5456 342 3408 345 4944 346 2896 348 1872 355 6352 357 5328 358 3280 361 4816 362 2768 364 1744 369 4560 370 2512 372 1488 376 976 391 7216 395 6704 397 5680 398 3632 403 6448 405 5424 406 3376 409 4912 410 2864 412 1840 419 6320 421 5296 422 3248 425 4784 426 2736 428 1712 433 4528 434 2480 436 1456 440 944 451 6256 453 5232 454 3184 457 4720 458 2672 460 1648 465 4464 466 2416 468 1392 472 880 481 4336 482 2288 484 1264 488 752 527 7688 535 7432 539 6920 541 5896 542 3848 551 7304 555 6792 557 5768 558 3720 563 6536 565 5512 566 3464 569 5000 570 2952 572 1928 583 7240 587 6728 589 5704 590 3656 595 6472 597 5448 598 3400 601 4936 602 2888 604 1864 611 6344 613 5320 614 3272 617 4808 618 2760 620 1736 625 4552 626 2504 628 1480 632 968 647 7208 651 6696 653 5672 654 3624 659 6440 661 5416 662 3368 665 4904 666 2856 668 1832 675 6312 677 5288 678 3240 681 4776 682 2728 684 1704 689 4520 690 2472 692 1448 696 936 707 6248 709 5224 710 3176 713 4712 714 2664 716 1640 721 4456 722 2408 724 1384 728 872 737 4328 738 2280 740 1256 775 7192 779 6680 781 5656 782 3608 787 6424 789 5400 790 3352 793 4888 794 2840 796 1816 803 6296 805 5272 806 3224 809 4760 810 2712 812 1688 817 4504 818 2456 820 1432 824 920 835 6232 837 5208 838 3160 841 4696 842 2648 844 1624 849 4440 850 2392 852 1368 865 4312 866 2264 868 1240 899 6200 901 5176 902 3128 905 4664 906 2616 908 1592 913 4408 914 2360 916 1336 929 4280 930 2232 932 1208 961 4216 962 2168 964 1144 1039 7684 1047 7428 1051 6916 1053 5892 1054 3844 1063 7300 1067 6788 1069 5764 1070 3716 1075 6532 1077 5508 1078 3460 1081 4996 1082 2948 1084 1924 1095 7236 1099 6724 1101 5700 1102 3652 1107 6468 1109 5444 1110 3396 1113 4932 1114 2884 1116 1860 1123 6340 1125 5316 1126 3268 1129 4804 1130 2756 1132 1732 1137 4548 1138 2500 1140 1476 1159 7204 1163 6692 1165 5668 1166 3620 1171 6436 1173 5412 1174 3364 1177 4900 1178 2852 1180 1828 1187 6308 1189 5284 1190 3236 1193 4772 1194 2724 1196 1700 1201 4516 1202 2468 1204 1444 1219 6244 1221 5220 1222 3172 1225 4708 1226 2660 1228 1636 1233 4452 1234 2404 1236 1380 1249 4324 1250 2276 1287 7188 1291 6676 1293 5652 1294 3604 1299 6420 1301 5396 1302 3348 1305 4884 1306 2836 1308 1812 1315 6292 1317 5268 1318 3220 1321 4756 1322 2708 1324 1684 1329 4500 1330 2452 1332 1428 1347 6228 1349 5204 1350 3156 1353 4692 1354 2644 1356 1620 1361 4436 1362 2388 1377 4308 1378 2260 1411 6196 1413 5172 1414 3124 1417 4660 1418 2612 1420 1588 1425 4404 1426 2356 1441 4276 1442 2228 1473 4212 1474 2164 1543 7180 1547 6668 1549 5644 1550 3596 1555 6412 1557 5388 1558 3340 1561 4876 1562 2828 1564 1804 1571 6284 1573 5260 1574 3212 1577 4748 1578 2700 1580 1676 1585 4492 1586 2444 1603 6220 1605 5196 1606 3148 1609 4684 1610 2636 1617 4428 1618 2380 1633 4300 1634 2252 1667 6188 1669 5164 1670 3116 1673 4652 1674 2604 1681 4396 1682 2348 1697 4268 1698 2220 1729 4204 1730 2156 1795 6172 1797 5148 1798 3100 1801 4636 1802 2588 1809 4380 1810 2332 1825 4252 1826 2204 1857 4188 1858 2140 1921 4156 1922 2108 2063 7682 2071 7426 2075 6914 2077 5890 2078 3842 2087 7298 2091 6786 2093 5762 2094 3714 2099 6530 2101 5506 2102 3458 2105 4994 2106 2946 2119 7234 2123 6722 2125 5698 2126 3650 2131 6466 2133 5442 2134 3394 2137 4930 2138 2882 2147 6338 2149 5314 2150 3266 2153 4802 2154 2754 2161 4546 2162 2498 2183 7202 2187 6690 2189 5666 2190 3618 2195 6434 2197 5410 2198 3362 2201 4898 2202 2850 2211 6306 2213 5282 2214 3234 2217 4770 2218 2722 2225 4514 2226 2466 2243 6242 2245 5218 2246 3170 2249 4706 2250 2658 2257 4450 2258 2402 2273 4322 2311 7186 2315 6674 2317 5650 2318 3602 2323 6418 2325 5394 2326 3346 2329 4882 2330 2834 2339 6290 2341 5266 2342 3218 2345 4754 2346 2706 2353 4498 2354 2450 2371 6226 2373 5202 2374 3154 2377 4690 2378 2642 2385 4434 2401 4306 2435 6194 2437 5170 2438 3122 2441 4658 2442 2610 2449 4402 2465 4274 2497 4210 2567 7178 2571 6666 2573 5642 2574 3594 2579 6410 2581 5386 2582 3338 2585 4874 2586 2826 2595 6282 2597 5258 2598 3210 2601 4746 2602 2698 2609 4490 2627 6218 2629 5194 2630 3146 2633 4682 2641 4426 2657 4298 2691 6186 2693 5162 2694 3114 2697 4650 2705 4394 2721 4266 2753 4202 2819 6170 2821 5146 2822 3098 2825 4634 2833 4378 2849 4250 2881 4186 2945 4154 3079 7174 3083 6662 3085 5638 3086 3590 3091 6406 3093 5382 3094 3334 3097 4870 3107 6278 3109 5254 3110 3206 3113 4742 3121 4486 3139 6214 3141 5190 3145 4678 3153 4422 3169 4294 3203 6182 3205 5158 3209 4646 3217 4390 3233 4262 3265 4198 3331 6166 3333 5142 3337 4630 3345 4374 3361 4246 3393 4182 3457 4150 3587 6158 3589 5134 3593 4622 3601 4366 3617 4238 3649 4174 3713 4142 3841 4126 4111 7681 4119 7425 4123 6913 4125 5889 4135 7297 4139 6785 4141 5761 4147 6529 4149 5505 4153 4993 4167 7233 4171 6721 4173 5697 4179 6465 4181 5441 4185 4929 4195 6337 4197 5313 4201 4801 4209 4545 4231 7201 4235 6689 4237 5665 4243 6433 4245 5409 4249 4897 4259 6305 4261 5281 4265 4769 4273 4513 4291 6241 4293 5217 4297 4705 4305 4449 4359 7185 4363 6673 4365 5649 4371 6417 4373 5393 4377 4881 4387 6289 4389 5265 4393 4753 4401 4497 4419 6225 4421 5201 4425 4689 4483 6193 4485 5169 4489 4657 4615 7177 4619 6665 4621 5641 4627 6409 4629 5385 4633 4873 4643 6281 4645 5257 4649 4745 4675 6217 4677 5193 4739 6185 4741 5161 4867 6169 4869 5145 5127 7173 5131 6661 5133 5637 5139 6405 5141 5381 5155 6277 5157 5253 5187 6213 5251 6181 5379 6165 5635 6157 6151 7171 6155 6659 6163 6403 6179 6275 6211 5189 4681 4433 4321 3142 2634 2386 2274 1612 1364 1252 856 744 496 ] def /tab213 [ 3 6144 5 5120 6 3072 9 4608 10 2560 12 1536 17 4352 18 2304 20 1280 24 768 33 4224 34 2176 36 1152 40 640 48 384 65 4160 66 2112 68 1088 72 576 80 320 96 192 129 4128 130 2080 132 1056 136 544 144 288 257 4112 258 2064 260 1040 264 528 513 4104 514 2056 516 1032 1025 4100 1026 2052 2049 4098 4097 2050 1028 520 272 160 ] def /chars 10 array def 0 1 9 { /i exch def codewords i get dup 1286 le { tab513 exch get } { tab213 exch 1287 sub get } ifelse chars i 3 -1 roll put } for 9 -1 0 { /i exch def 2 i exp cvi fcs and 0 ne { chars i chars i get 8191 xor put } if } for % Conversion from characters to the OneCode encoding /barmap [ 7 2 4 3 1 10 0 0 9 12 2 8 5 5 6 11 8 9 3 1 0 1 5 12 2 5 1 8 4 4 9 11 6 3 8 10 3 9 7 6 5 11 1 4 8 5 2 12 9 10 0 2 7 1 6 7 3 6 4 9 0 3 8 6 6 4 2 7 1 1 9 9 7 10 5 2 4 0 3 8 6 2 0 4 8 11 1 0 9 8 3 12 2 6 7 7 5 1 4 10 1 12 6 9 7 3 8 0 5 8 9 7 4 6 2 10 3 4 0 5 8 4 5 7 7 11 1 9 6 0 9 6 0 6 4 8 2 1 3 2 5 9 8 12 4 11 6 1 9 5 7 4 3 3 1 2 0 7 2 0 1 3 4 1 6 10 3 5 8 7 9 4 2 11 5 6 0 8 7 12 4 2 8 1 5 10 3 0 9 3 0 9 6 5 2 4 7 8 1 7 5 0 4 5 2 3 0 10 6 12 9 2 3 11 1 6 8 8 7 9 5 4 0 11 1 5 2 2 9 1 4 12 8 3 6 6 7 0 3 7 4 7 7 5 0 12 1 11 2 9 9 0 6 8 5 3 3 10 8 2 ] def /bbs 65 array def /bhs 65 array def 0 1 64 { /i exch def /dec chars barmap i 4 mul get get 2 barmap i 4 mul 1 add get exp cvi and 0 ne def /asc chars barmap i 4 mul 2 add get get 2 barmap i 4 mul 3 add get exp cvi and 0 ne def dec not asc not and { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if dec not asc and { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if dec asc not and { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if dec asc and { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if } for /retval 8 dict def retval (ren) (renlinear) put retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put retval (txt) txt put retval (textxalign) (center) put retval (opt) useropts put retval end } bind def /onecode load 0 1 dict put % --END ENCODER onecode-- % --BEGIN ENCODER postnet-- % --DESC: United States Postal Service Postnet % --EXAM: 012345 % --EXOP: includetext includecheckintext % --RNDR: renlinear /postnet { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 0.125 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def /barlen barcode length def % Create an array containing the character mappings /encs [ (55222) (22255) (22525) (22552) (25225) (25252) (25522) (52225) (52252) (52522) (5) (5) ] def % Create a string of the available characters /barchars (0123456789) def /bhs barlen 5 mul 7 add array def /txt barlen 1 add array def % Put start character /enc encs 10 get def /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs 0 heights putinterval % Put encoded digit into sbs /checksum 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs i 5 mul 1 add heights putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 5 mul 1 add 3.312 mul textyoffset textfont textsize] put /checksum checksum indx add def % checksum+=indx } for % Put the checksum character /checksum 10 checksum 10 mod sub 10 mod def /enc encs checksum get def /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs barlen 5 mul 1 add heights putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 5 mul 1 add 3.312 mul textyoffset textfont textsize] put } { txt barlen [( ) barlen 5 mul 1 add 72 mul 25 div textyoffset textfont textsize] put } ifelse % Put end character /enc encs 11 get def /heights enc length array def 0 1 enc length 1 sub { /j exch def heights j enc j 1 getinterval cvi height mul 5 div put } for bhs barlen 5 mul 6 add heights putinterval /retval 8 dict def retval (ren) (renlinear) put retval (bhs) bhs put retval (bbs) [bhs length {0} repeat] put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /postnet load 0 1 dict put % --END ENCODER postnet-- % --BEGIN ENCODER royalmail-- % --DESC: Royal Mail 4 State Customer Code (RM4SCC) % --EXAM: LE28HS9Z % --EXOP: includetext includecheckintext barcolor=FF0000 % --RNDR: renlinear /royalmail { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 0.175 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (3300) (2211) (2301) (2310) (3201) (3210) (1122) (0033) (0123) (0132) (1023) (1032) (1302) (0213) (0303) (0312) (1203) (1212) (1320) (0231) (0321) (0330) (1221) (1230) (3102) (2013) (2103) (2112) (3003) (3012) (3120) (2031) (2121) (2130) (3021) (3030) (2) (3) ] def % Create a string of the available characters /barchars (ZUVWXY501234B6789AHCDEFGNIJKLMTOPQRS) def /barlen barcode length def /encstr barlen 4 mul 6 add string def /txt barlen 1 add array def % Put start character encstr 0 encs 36 get putinterval /checksumrow 0 def /checksumcol 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding encstr i 4 mul 1 add enc putinterval txt i [barcode i 1 getinterval i 4 mul 1 add 3.312 mul textyoffset textfont textsize] put /checksumrow checksumrow indx 6 idiv add def /checksumcol checksumcol indx 6 mod add def } for % Put the checksum character /checksum checksumrow 6 mod 6 mul checksumcol 6 mod add def /enc encs checksum get def encstr barlen 4 mul 1 add enc putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 4 mul 1 add 3.312 mul textyoffset textfont textsize] put } { txt barlen [( ) barlen 4 mul 1 add 3.312 mul textyoffset textfont textsize] put } ifelse % Put end character encstr barlen 4 mul 5 add encs 37 get putinterval /bbs encstr length array def /bhs encstr length array def 0 1 encstr length 1 sub { /i exch def /enc encstr i 1 getinterval def enc (0) eq { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if enc (1) eq { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if enc (2) eq { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if enc (3) eq { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if } for /retval 8 dict def retval (ren) (renlinear) put retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /royalmail load 0 1 dict put % --END ENCODER royalmail-- % --BEGIN ENCODER auspost-- % --DESC: AusPost 4 State Customer Code % --EXAM: 5956439111ABA 9 % --EXOP: includetext custinfoenc=character % --RNDR: renlinear /auspost { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 0.175 def /custinfoenc (character) def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (000) (001) (002) (010) (011) (012) (020) (021) (022) (100) (101) (102) (110) (111) (112) (120) (121) (122) (200) (201) (202) (210) (211) (212) (220) (221) (222) (300) (301) (302) (310) (311) (312) (320) (321) (322) (023) (030) (031) (032) (033) (103) (113) (123) (130) (131) (132) (133) (203) (213) (223) (230) (231) (232) (233) (303) (313) (323) (330) (331) (332) (333) (003) (013) (00) (01) (02) (10) (11) (12) (20) (21) (22) (30) (13) (3) ] def % Create a string of the available characters /barchars (ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz #) def /barlen barcode length def barcode 0 2 getinterval (11) eq {37} if barcode 0 2 getinterval (45) eq {37} if barcode 0 2 getinterval (59) eq {52} if barcode 0 2 getinterval (62) eq {67} if /encstr exch string def /txt barlen 2 sub array def % Put start character encstr 0 encs 74 get putinterval % Encode the FCC 0 1 1 { /i exch def encs barcode i 1 getinterval cvi 64 add get encstr i 2 mul 2 add 3 2 roll putinterval } for % Encode the DPID 2 1 9 { /i exch def encs barcode i 1 getinterval cvi 64 add get encstr i 2 mul 2 add 3 2 roll putinterval txt i 2 sub [barcode i 1 getinterval i 2 sub 2 mul 6 add 3.312 mul textyoffset textfont textsize] put } for % Encode the customer information custinfoenc (numeric) eq { 0 1 barlen 11 sub { /i exch def encs barcode i 10 add 1 getinterval cvi 64 add get encstr i 2 mul 22 add 3 2 roll putinterval txt i 8 add [barcode i 10 add 1 getinterval i 2 mul 22 add 3.312 mul textyoffset textfont textsize] put } for /ciflen barlen 10 sub 2 mul def } { 0 1 barlen 11 sub { /i exch def barcode i 10 add 1 getinterval barchars exch search pop length /indx exch def pop pop /enc encs indx get def encstr i 3 mul 22 add enc putinterval txt i 8 add [barcode i 10 add 1 getinterval i 3 mul 22 add 3.312 mul textyoffset textfont textsize] put } for /ciflen barlen 10 sub 3 mul def } ifelse % Add any filler characters 22 ciflen add 1 encstr length 14 sub { encstr exch encs 75 get putinterval } for % Create the 64x64 Reed-Solomon table /rstable 64 64 mul array def rstable 0 [ 64 {0} repeat ] putinterval rstable 64 [ 0 1 63 {} for ] putinterval /prev 1 def 64 { /next prev 1 bitshift def next 64 and 0 ne { /next next 67 xor def } if 0 1 63 { /j exch def /nextcell {rstable 64 next mul j add} def nextcell rstable 64 prev mul j add get 1 bitshift put nextcell get 64 and 0 ne { nextcell nextcell get 67 xor put } if } for /prev next def } repeat % Calculate the Reed-Solomon codes for triples /rscodes encstr length 16 sub 3 idiv 4 add array def rscodes 0 [ 4 {0} repeat ] putinterval 2 3 encstr length 16 sub { /i exch def rscodes rscodes length i 2 sub 3 idiv sub 1 sub encstr i 1 getinterval cvi 16 mul encstr i 1 add 1 getinterval cvi 4 mul add encstr i 2 add 1 getinterval cvi add put } for rscodes length 5 sub -1 0 { /i exch def 0 1 4 { /j exch def rscodes i j add rscodes i j add get rstable 64 [48 17 29 30 1] j get mul rscodes i 4 add get add get xor put } for } for /checkcode (000000000000) 12 string copy def 0 1 3 { /i exch def /enc rscodes 3 i sub get 4 3 string cvrs def checkcode i 3 mul 3 enc length sub add enc putinterval } for % Put checkcode and end characters encstr encstr length 14 sub checkcode putinterval encstr encstr length 2 sub encs 74 get putinterval /bbs encstr length array def /bhs encstr length array def 0 1 encstr length 1 sub { /i exch def /enc encstr i 1 getinterval def enc (0) eq { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if enc (1) eq { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if enc (2) eq { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if enc (3) eq { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if } for /retval 8 dict def retval (ren) (renlinear) put retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /auspost load 0 1 dict put % --END ENCODER auspost-- % --BEGIN ENCODER kix-- % --DESC: Royal Dutch TPG Post KIX 4-State Barcode % --EXAM: 1231FZ13XHS % --EXOP: includetext includecheckintext % --RNDR: renlinear /kix { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 0.175 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (0033) (0123) (0132) (1023) (1032) (1122) (0213) (0303) (0312) (1203) (1212) (1302) (0231) (0321) (0330) (1221) (1230) (1320) (2013) (2103) (2112) (3003) (3012) (3102) (2031) (2121) (2130) (3021) (3030) (3120) (2211) (2301) (2310) (3201) (3210) (3300) ] def % Create a string of the available characters /barchars (0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ) def /barlen barcode length def /encstr barlen 4 mul string def /txt barlen array def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding encstr i 4 mul enc putinterval txt i [barcode i 1 getinterval i 4 mul 3.312 mul textyoffset textfont textsize] put } for /bbs encstr length array def /bhs encstr length array def 0 1 encstr length 1 sub { /i exch def /enc encstr i 1 getinterval def enc (0) eq { bbs i 3 height mul 8 div put bhs i 2 height mul 8 div put } if enc (1) eq { bbs i 0 height mul 8 div put bhs i 5 height mul 8 div put } if enc (2) eq { bbs i 3 height mul 8 div put bhs i 5 height mul 8 div put } if enc (3) eq { bbs i 0 height mul 8 div put bhs i 8 height mul 8 div put } if } for /retval 8 dict def retval (ren) (renlinear) put retval (bbs) bbs put retval (bhs) bhs put retval (sbs) [bhs length 1 sub {1.44 1.872} repeat 1.44] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /kix load 0 1 dict put % --END ENCODER kix-- % --BEGIN ENCODER msi-- % --DESC: MSI Modified Plessey % --EXAM: 0123456789 % --EXOP: includetext includecheck includecheckintext % --RNDR: renlinear /msi { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includecheck false def % Enable/disable checkdigit /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (13131313) (13131331) (13133113) (13133131) (13311313) (13311331) (13313113) (13313131) (31131313) (31131331) (31) (131) ] def % Create a string of the available characters /barchars (0123456789) def /barlen barcode length def % Length of the code includecheck { /sbs barlen 8 mul 13 add string def /txt barlen 1 add array def } { /sbs barlen 8 mul 5 add string def /txt barlen array def } ifelse % Put start character sbs 0 encs 10 get putinterval /checksum 0 def 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 8 mul 2 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 16 mul 4 add textyoffset textfont textsize] put barlen i sub 2 mod 0 eq { /checksum indx checksum add def } { /checksum indx 2 mul dup 10 idiv add checksum add def } ifelse } for % Put the checksum and end characters includecheck { /checksum 10 checksum 10 mod sub 10 mod def sbs barlen 8 mul 2 add encs checksum get putinterval includecheckintext { txt barlen [barchars checksum 1 getinterval barlen 16 mul 4 add textyoffset textfont textsize] put } { txt barlen [( ) barlen 16 mul 4 add textyoffset textfont textsize] put } ifelse sbs barlen 8 mul 10 add encs 11 get putinterval } { sbs barlen 8 mul 2 add encs 11 get putinterval } ifelse % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /msi load 0 1 dict put % --END ENCODER msi-- % --BEGIN ENCODER plessey-- % --DESC: Plessey % --EXAM: 01234ABCD % --EXOP: includetext includecheckintext % --RNDR: renlinear /plessey { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /includetext false def % Enable/disable text /includecheckintext false def /textfont /Courier def /textsize 10 def /textyoffset -7 def /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /textfont textfont cvlit def /textsize textsize cvr def /textyoffset textyoffset cvr def /height height cvr def % Create an array containing the character mappings /encs [ (13131313) (31131313) (13311313) (31311313) (13133113) (31133113) (13313113) (31313113) (13131331) (31131331) (13311331) (31311331) (13133131) (31133131) (13313131) (31313131) (31311331) (331311313) ] def % Create a string of the available characters /barchars (0123456789ABCDEF) def /barlen barcode length def % Length of the code /sbs barlen 8 mul 33 add string def /txt barlen 2 add array def /checkbits barlen 4 mul 8 add array def checkbits barlen 4 mul [ 0 0 0 0 0 0 0 0 ] putinterval % Put start character sbs 0 encs 16 get putinterval 0 1 barlen 1 sub { /i exch def % Lookup the encoding for the each barcode character barcode i 1 getinterval barchars exch search pop % Discard true leaving pre length /indx exch def % indx is the length of pre pop pop % Discard seek and post /enc encs indx get def % Get the indxth encoding sbs i 8 mul 8 add enc putinterval % Put encoded digit into sbs txt i [barcode i 1 getinterval i 16 mul 16 add textyoffset textfont textsize] put checkbits i 4 mul [ indx 1 and indx -1 bitshift 1 and indx -2 bitshift 1 and indx -3 bitshift ] putinterval } for % Checksum is last 8 bits of a CRC using a salt /checksalt [ 1 1 1 1 0 1 0 0 1 ] def 0 1 barlen 4 mul 1 sub { /i exch def checkbits i get 1 eq { 0 1 8 { /j exch def checkbits i j add checkbits i j add get checksalt j get xor put } for } if } for % Calculate the value of the checksum digits /checkval 0 def 0 1 7 { /i exch def /checkval checkval 2 7 i sub exp cvi checkbits barlen 4 mul i add get mul add def } for % Put the checksum characters /checksum1 checkval -4 bitshift def /checksum2 checkval 15 and def sbs barlen 8 mul 8 add encs checksum1 get putinterval sbs barlen 8 mul 16 add encs checksum2 get putinterval includecheckintext { txt barlen [barchars checksum1 1 getinterval barlen 16 mul 16 add textyoffset textfont textsize] put txt barlen 1 add [barchars checksum2 1 getinterval barlen 1 add 16 mul 16 add textyoffset textfont textsize] put } { txt barlen [( ) barlen 16 mul 16 add textyoffset textfont textsize] put txt barlen 1 add [( ) barlen 1 add 16 mul 16 add textyoffset textfont textsize] put } ifelse % Put end character sbs barlen 8 mul 24 add encs 17 get putinterval % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put includetext { retval (txt) txt put } if retval (opt) useropts put retval end } bind def /plessey load 0 1 dict put % --END ENCODER plessey-- % --BEGIN ENCODER raw-- % --DESC: Raw bar space succession for custom symbologies % --EXAM: 331132131313411122131311333213114131131221323 % --EXOP: height=0.5 % --RNDR: renlinear /raw { 0 begin % Confine variables to local scope /options exch def % We are given an option string /useropts options def /sbs exch def % We are given a barcode string /height 1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /height height cvr def % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) [sbs {48 sub} forall] put retval (bhs) [sbs length 1 add 2 idiv {height} repeat] put retval (bbs) [sbs length 1 add 2 idiv {0} repeat] put retval (opt) useropts put retval end } bind def /raw load 0 1 dict put % --END ENCODER raw-- % --BEGIN ENCODER symbol-- % --DESC: Miscellaneous symbols % --EXAM: fima % --EXOP: backgroundcolor=DD000011 % --RNDR: renlinear /symbol { 0 begin % Confine variables to local scope /options exch def % We are given an option string /barcode exch def % We are given a barcode string barcode (fima) eq { /sbs [2.25 2.25 2.25 11.25 2.25 11.25 2.25 2.25 2.25] def /bhs [.625 .625 .625 .625 .625] def /bbs [0 0 0 0 0] def } if barcode (fimb) eq { /sbs [2.25 6.75 2.25 2.25 2.25 6.25 2.25 2.25 2.25 6.75 2.25] def /bhs [.625 .625 .625 .625 .625 .625] def /bbs [0 0 0 0 0 0] def } if barcode (fimc) eq { /sbs [2.25 2.25 2.25 6.75 2.25 6.75 2.25 6.75 2.25 2.25 2.25] def /bhs [.625 .625 .625 .625 .625 .625] def /bbs [0 0 0 0 0 0] def } if barcode (fimd) eq { /sbs [2.25 2.25 2.25 2.25 2.25 6.75 2.25 6.75 2.25 2.25 2.25 2.25 2.25] def /bhs [.625 .625 .625 .625 .625 .625 .625] def /bbs [0 0 0 0 0 0 0] def } if % Return the arguments /retval 8 dict def retval (ren) (renlinear) put retval (sbs) sbs put retval (bhs) bhs put retval (bbs) bbs put retval (opt) options put retval end } bind def /symbol load 0 1 dict put % --END ENCODER symbol-- % --BEGIN ENCODER pdf417-- % --DESC: PDF417 % --EXAM: ^453^178^121^239 % --EXOP: columns=2 rows=10 % --RNDR: renmatrix /pdf417 { 0 begin /options exch def /useropts options def /barcode exch def /compact false def /eclevel -1 def /columns 0 def /rows 0 def /rowmult 3 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /eclevel eclevel cvi def /columns columns cvi def /rows rows cvi def /rowmult rowmult cvr def % Split the input barcode into an array of codewords /datcws barcode length array def /i 0 def /j 0 def { % loop i barcode length eq {exit} if /cw barcode i 1 add 3 getinterval cvi def datcws j cw put /i i 4 add def /j j 1 add def } loop /datcws datcws 0 j getinterval def % Determine the error correction level if unspecified /m datcws length def eclevel -1 eq { m 40 le {/eclevel 2 def} if m 41 ge m 160 le and {/eclevel 3 def} if m 161 ge m 320 le and {/eclevel 4 def} if m 321 ge {/eclevel 5 def} if } if % Reduce the error level so that it does not cause an excessive number of codewords /maxeclevel 928 1 sub m sub ln 2 ln div cvi 1 sub def eclevel maxeclevel gt {/eclevel maxeclevel def} if /k 2 eclevel 1 add exp cvi def % To determine size of matrix, number of columns if given by user... columns 1 ge columns 30 le and {/c columns def} if % ... and rows is greater of those required and that given by user within limits /r m k add 1 add columns div ceiling cvi def % Required r rows lt rows 90 le and {/r rows def} if r 3 lt {/r 3 def} if % Opportunistically raise the error level if a better fit to the matrix is possible /maxeclevel c r mul 1 sub m sub ln 2 ln div cvi 1 sub def maxeclevel eclevel gt { /eclevel maxeclevel def /k 2 eclevel 1 add exp cvi def } if % Create codewords array with one extra working space element and add padding /n c r mul k sub def /cws c r mul 1 add array def cws 0 n put cws 1 datcws putinterval cws m 1 add [ n m sub 1 sub {900} repeat ] putinterval cws n [ k {0} repeat 0 ] putinterval % Calculate the log and anti-log tables /rslog [ -928 928 {0} repeat ] def /rsalog [ 1 928 {0} repeat ] def 1 1 928 { /i exch def rsalog i rsalog i 1 sub get 3 mul put rsalog i get 928 ge { rsalog i rsalog i get 929 mod put } if rslog rsalog i get i put } for % Function to calculate the product in the field /rsprod { /y exch def /x exch def x y mul 0 ne { rsalog rslog x get rslog y get add 928 mod get } { 0 } ifelse } bind def % Generate the coefficients /coeffs [ 1 k {0} repeat ] def 1 1 k { /i exch def coeffs i coeffs i 1 sub get put i 1 sub -1 1 { /j exch def coeffs j coeffs j 1 sub get coeffs j get rsalog i get rsprod add 929 mod put } for coeffs 0 coeffs 0 get rsalog i get rsprod put } for /coeffs coeffs 0 coeffs length 1 sub getinterval def 1 2 coeffs length 1 sub {coeffs exch 2 copy get 929 exch sub put} for % Derive the error codewords 0 1 n 1 sub { /t exch cws exch get cws n get add 929 mod def 0 1 k 1 sub { /j exch def cws n j add cws n j add 1 add get 929 t coeffs k j sub 1 sub get mul 929 mod sub add 929 mod put } for } for n 1 n k add { dup cws exch 929 cws 5 -1 roll get sub put } for % Trim the working space from the end of the codewords /cws cws 0 cws length 1 sub getinterval def % Base 10 encoding of the bar space successions for the codewords in each cluster /clusters [ [ 120256 125680 128380 120032 125560 128318 108736 119920 108640 86080 108592 86048 110016 120560 125820 109792 120440 125758 88256 109680 88160 89536 110320 120700 89312 110200 120638 89200 110140 89840 110460 89720 110398 89980 128506 119520 125304 128190 107712 119408 125244 107616 119352 84032 107568 119324 84000 107544 83984 108256 119672 125374 85184 108144 119612 85088 108088 119582 85040 108060 85728 108408 119742 85616 108348 85560 108318 85880 108478 85820 85790 107200 119152 125116 107104 119096 125086 83008 107056 119068 82976 107032 82960 82952 83648 107376 119228 83552 107320 119198 83504 107292 83480 83468 83824 107452 83768 107422 83740 83900 106848 118968 125022 82496 106800 118940 82464 106776 118926 82448 106764 82440 106758 82784 106936 119006 82736 106908 82712 106894 82700 82694 106974 82830 82240 106672 118876 82208 106648 118862 82192 106636 82184 106630 82180 82352 82328 82316 82080 118830 106572 106566 82050 117472 124280 127678 103616 117360 124220 103520 117304 124190 75840 103472 75808 104160 117624 124350 76992 104048 117564 76896 103992 76848 76824 77536 104312 117694 77424 104252 77368 77340 77688 104382 77628 77758 121536 126320 128700 121440 126264 128670 111680 121392 126236 111648 121368 126222 111632 121356 103104 117104 124092 112320 103008 117048 124062 112224 121656 126366 93248 74784 102936 117006 93216 112152 93200 75456 103280 117180 93888 75360 103224 117150 93792 112440 121758 93744 75288 93720 75632 103356 94064 75576 103326 94008 112542 93980 75708 94140 75678 94110 121184 126136 128606 111168 121136 126108 111136 121112 126094 111120 121100 111112 111108 102752 116920 123998 111456 102704 116892 91712 74272 121244 116878 91680 74256 102668 91664 111372 102662 74244 74592 102840 116958 92000 74544 102812 91952 111516 102798 91928 74508 74502 74680 102878 92088 74652 92060 74638 92046 92126 110912 121008 126044 110880 120984 126030 110864 120972 110856 120966 110852 110850 74048 102576 116828 90944 74016 102552 116814 90912 111000 121038 90896 73992 102534 90888 110982 90884 74160 102620 91056 74136 102606 91032 111054 91020 74118 91014 91100 91086 110752 120920 125998 110736 120908 110728 120902 110724 110722 73888 102488 116782 90528 73872 102476 90512 110796 102470 90504 73860 90500 73858 73944 90584 90572 90566 120876 120870 110658 102444 73800 90312 90308 90306 101056 116080 123580 100960 116024 70720 100912 115996 70688 100888 70672 70664 71360 101232 116156 71264 101176 116126 71216 101148 71192 71180 71536 101308 71480 101278 71452 71612 71582 118112 124600 127838 105024 118064 124572 104992 118040 124558 104976 118028 104968 118022 100704 115896 123486 105312 100656 115868 79424 70176 118172 115854 79392 105240 100620 79376 70152 79368 70496 100792 115934 79712 70448 118238 79664 105372 100750 79640 70412 79628 70584 100830 79800 70556 79772 70542 70622 79838 122176 126640 128860 122144 126616 128846 122128 126604 122120 126598 122116 104768 117936 124508 113472 104736 126684 124494 113440 122264 126670 113424 104712 117894 113416 122246 104706 69952 100528 115804 78656 69920 100504 115790 96064 78624 104856 117966 96032 113560 122318 100486 96016 78600 104838 96008 69890 70064 100572 78768 70040 100558 96176 78744 104910 96152 113614 70022 78726 70108 78812 70094 96220 78798 122016 126552 128814 122000 126540 121992 126534 121988 121986 104608 117848 124462 113056 104592 126574 113040 122060 117830 113032 104580 113028 104578 113026 69792 100440 115758 78240 69776 100428 95136 78224 104652 100422 95120 113100 69764 95112 78212 69762 78210 69848 100462 78296 69836 95192 78284 69830 95180 78278 69870 95214 121936 126508 121928 126502 121924 121922 104528 117804 112848 104520 117798 112840 121958 112836 104514 112834 69712 100396 78032 69704 100390 94672 78024 104550 94664 112870 69698 94660 78018 94658 78060 94700 94694 126486 121890 117782 104484 104482 69672 77928 94440 69666 77922 99680 68160 99632 68128 99608 115342 68112 99596 68104 99590 68448 99768 115422 68400 99740 68376 99726 68364 68358 68536 99806 68508 68494 68574 101696 116400 123740 101664 116376 101648 116364 101640 116358 101636 67904 99504 115292 72512 67872 116444 115278 72480 101784 116430 72464 67848 99462 72456 101766 67842 68016 99548 72624 67992 99534 72600 101838 72588 67974 68060 72668 68046 72654 118432 124760 127918 118416 124748 118408 124742 118404 118402 101536 116312 105888 101520 116300 105872 118476 116294 105864 101508 105860 101506 105858 67744 99416 72096 67728 116334 80800 72080 101580 99398 80784 105932 67716 80776 72068 67714 72066 67800 99438 72152 67788 80856 72140 67782 80844 72134 67822 72174 80878 126800 128940 126792 128934 126788 126786 118352 124716 122576 126828 124710 122568 126822 122564 118338 122562 101456 116268 105680 101448 116262 114128 105672 118374 114120 122598 101442 114116 105666 114114 67664 99372 71888 67656 99366 80336 71880 101478 97232 80328 105702 67650 97224 114150 71874 97220 67692 71916 67686 80364 71910 97260 80358 97254 126760 128918 126756 126754 118312 124694 122472 126774 122468 118306 122466 101416 116246 105576 101412 113896 105572 101410 113892 105570 113890 67624 99350 71784 101430 80104 71780 67618 96744 80100 71778 96740 80098 96738 71798 96758 126738 122420 122418 105524 113780 113778 71732 79988 96500 96498 66880 66848 98968 66832 66824 66820 66992 66968 66956 66950 67036 67022 100000 99984 115532 99976 115526 99972 99970 66720 98904 69024 100056 98892 69008 100044 69000 100038 68996 66690 68994 66776 98926 69080 100078 69068 66758 69062 66798 69102 116560 116552 116548 116546 99920 102096 116588 115494 102088 116582 102084 99906 102082 66640 68816 66632 98854 73168 68808 66628 73160 68804 66626 73156 68802 66668 68844 66662 73196 68838 73190 124840 124836 124834 116520 118632 124854 118628 116514 118626 99880 115478 101992 116534 106216 101988 99874 106212 101986 106210 66600 98838 68712 99894 72936 68708 66594 81384 72932 68706 81380 72930 66614 68726 72950 81398 128980 128978 124820 126900 124818 126898 116500 118580 116498 122740 118578 122738 99860 101940 99858 106100 101938 114420 ] [ 128352 129720 125504 128304 129692 125472 128280 129678 125456 128268 125448 128262 125444 125792 128440 129758 120384 125744 128412 120352 125720 128398 120336 125708 120328 125702 120324 120672 125880 128478 110144 120624 125852 110112 120600 125838 110096 120588 110088 120582 110084 110432 120760 125918 89664 110384 120732 89632 110360 120718 89616 110348 89608 110342 89952 110520 120798 89904 110492 89880 110478 89868 90040 110558 90012 89998 125248 128176 129628 125216 128152 129614 125200 128140 125192 128134 125188 125186 119616 125360 128220 119584 125336 128206 119568 125324 119560 125318 119556 119554 108352 119728 125404 108320 119704 125390 108304 119692 108296 119686 108292 108290 85824 108464 119772 85792 108440 119758 85776 108428 85768 108422 85764 85936 108508 85912 108494 85900 85894 85980 85966 125088 128088 129582 125072 128076 125064 128070 125060 125058 119200 125144 128110 119184 125132 119176 125126 119172 119170 107424 119256 125166 107408 119244 107400 119238 107396 107394 83872 107480 119278 83856 107468 83848 107462 83844 83842 83928 107502 83916 83910 83950 125008 128044 125000 128038 124996 124994 118992 125036 118984 125030 118980 118978 106960 119020 106952 119014 106948 106946 82896 106988 82888 106982 82884 82882 82924 82918 124968 128022 124964 124962 118888 124982 118884 118882 106728 118902 106724 106722 82408 106742 82404 82402 124948 124946 118836 118834 106612 106610 124224 127664 129372 124192 127640 129358 124176 127628 124168 127622 124164 124162 117568 124336 127708 117536 124312 127694 117520 124300 117512 124294 117508 117506 104256 117680 124380 104224 117656 124366 104208 117644 104200 117638 104196 104194 77632 104368 117724 77600 104344 117710 77584 104332 77576 104326 77572 77744 104412 77720 104398 77708 77702 77788 77774 128672 129880 93168 128656 129868 92664 128648 129862 92412 128644 128642 124064 127576 129326 126368 124048 129902 126352 128716 127558 126344 124036 126340 124034 126338 117152 124120 127598 121760 117136 124108 121744 126412 124102 121736 117124 121732 117122 121730 103328 117208 124142 112544 103312 117196 112528 121804 117190 112520 103300 112516 103298 112514 75680 103384 117230 94112 75664 103372 94096 112588 103366 94088 75652 94084 75650 75736 103406 94168 75724 94156 75718 94150 75758 128592 129836 91640 128584 129830 91388 128580 91262 128578 123984 127532 126160 123976 127526 126152 128614 126148 123970 126146 116944 124012 121296 116936 124006 121288 126182 121284 116930 121282 102864 116972 111568 102856 116966 111560 121318 111556 102850 111554 74704 102892 92112 74696 102886 92104 111590 92100 74690 92098 74732 92140 74726 92134 128552 129814 90876 128548 90750 128546 123944 127510 126056 128566 126052 123938 126050 116840 123958 121064 116836 121060 116834 121058 102632 116854 111080 121078 111076 102626 111074 74216 102646 91112 74212 91108 74210 91106 74230 91126 128532 90494 128530 123924 126004 123922 126002 116788 120948 116786 120946 102516 110836 102514 110834 73972 90612 73970 90610 128522 123914 125978 116762 120890 102458 110714 123552 127320 129198 123536 127308 123528 127302 123524 123522 116128 123608 127342 116112 123596 116104 123590 116100 116098 101280 116184 123630 101264 116172 101256 116166 101252 101250 71584 101336 116206 71568 101324 71560 101318 71556 71554 71640 101358 71628 71622 71662 127824 129452 79352 127816 129446 79100 127812 78974 127810 123472 127276 124624 123464 127270 124616 127846 124612 123458 124610 115920 123500 118224 115912 123494 118216 124646 118212 115906 118210 100816 115948 105424 100808 115942 105416 118246 105412 100802 105410 70608 100844 79824 70600 100838 79816 105446 79812 70594 79810 70636 79852 70630 79846 129960 95728 113404 129956 95480 113278 129954 95356 95294 127784 129430 78588 128872 129974 95996 78462 128868 127778 95870 128866 123432 127254 124520 123428 126696 128886 123426 126692 124514 126690 115816 123446 117992 115812 122344 117988 115810 122340 117986 122338 100584 115830 104936 100580 113640 104932 100578 113636 104930 113634 70120 100598 78824 70116 96232 78820 70114 96228 78818 96226 70134 78838 129940 94968 113022 129938 94844 94782 127764 78206 128820 127762 95102 128818 123412 124468 123410 126580 124466 126578 115764 117876 115762 122100 117874 122098 100468 104692 100466 113140 104690 113138 69876 78324 69874 95220 78322 95218 129930 94588 94526 127754 128794 123402 124442 126522 115738 117818 121978 100410 104570 112890 69754 78074 94714 94398 123216 127148 123208 127142 123204 123202 115408 123244 115400 123238 115396 115394 99792 115436 99784 115430 99780 99778 68560 99820 68552 99814 68548 68546 68588 68582 127400 129238 72444 127396 72318 127394 123176 127126 123752 123172 123748 123170 123746 115304 123190 116456 115300 116452 115298 116450 99560 115318 101864 99556 101860 99554 101858 68072 99574 72680 68068 72676 68066 72674 68086 72694 129492 80632 105854 129490 80508 80446 127380 72062 127924 127378 80766 127922 123156 123700 123154 124788 123698 124786 115252 116340 115250 118516 116338 118514 99444 101620 99442 105972 101618 105970 67828 72180 67826 80884 72178 80882 97008 114044 96888 113982 96828 96798 129482 80252 130010 97148 80190 97086 127370 127898 128954 123146 123674 124730 126842 115226 116282 118394 122618 99386 101498 105722 114170 67706 71930 80378 96632 113854 96572 96542 80062 96702 96444 96414 96350 123048 123044 123042 115048 123062 115044 115042 99048 115062 99044 99042 67048 99062 67044 67042 67062 127188 68990 127186 123028 123316 123026 123314 114996 115572 114994 115570 98932 100084 98930 100082 66804 69108 66802 69106 129258 73084 73022 127178 127450 123018 123290 123834 114970 115514 116602 98874 99962 102138 66682 68858 73210 81272 106174 81212 81182 72894 81342 97648 114364 97592 114334 97564 97550 81084 97724 81054 97694 97464 114270 97436 97422 80990 97502 97372 97358 97326 114868 114866 98676 98674 66292 66290 123098 114842 115130 98618 99194 66170 67322 69310 73404 73374 81592 106334 81564 81550 73310 81630 97968 114524 97944 114510 97932 97926 81500 98012 81486 97998 97880 114478 97868 97862 81454 97902 97836 97830 69470 73564 73550 81752 106414 81740 81734 73518 81774 81708 81702 ] [ 109536 120312 86976 109040 120060 86496 108792 119934 86256 108668 86136 129744 89056 110072 129736 88560 109820 129732 88312 109694 129730 88188 128464 129772 89592 128456 129766 89340 128452 89214 128450 125904 128492 125896 128486 125892 125890 120784 125932 120776 125926 120772 120770 110544 120812 110536 120806 110532 84928 108016 119548 84448 107768 119422 84208 107644 84088 107582 84028 129640 85488 108284 129636 85240 108158 129634 85116 85054 128232 129654 85756 128228 85630 128226 125416 128246 125412 125410 119784 125430 119780 119778 108520 119798 108516 108514 83424 107256 119166 83184 107132 83064 107070 83004 82974 129588 83704 107390 129586 83580 83518 128116 83838 128114 125172 125170 119284 119282 107508 107506 82672 106876 82552 106814 82492 82462 129562 82812 82750 128058 125050 119034 82296 106686 82236 82206 82366 82108 82078 76736 103920 117500 76256 103672 117374 76016 103548 75896 103486 75836 129384 77296 104188 129380 77048 104062 129378 76924 76862 127720 129398 77564 127716 77438 127714 124392 127734 124388 124386 117736 124406 117732 117730 104424 117750 104420 104418 112096 121592 126334 92608 111856 121468 92384 111736 121406 92272 111676 92216 111646 92188 75232 103160 117118 93664 74992 103036 93424 112252 102974 93304 74812 93244 74782 93214 129332 75512 103294 129908 129330 93944 75388 129906 93820 75326 93758 127604 75646 128756 127602 94078 128754 124148 126452 124146 126450 117236 121844 117234 121842 103412 103410 91584 111344 121212 91360 111224 121150 91248 111164 91192 111134 91164 91150 74480 102780 91888 74360 102718 91768 111422 91708 74270 91678 129306 74620 129850 92028 74558 91966 127546 128634 124026 126202 116986 121338 102906 90848 110968 121022 90736 110908 90680 110878 90652 90638 74104 102590 91000 74044 90940 74014 90910 74174 91070 90480 110780 90424 110750 90396 90382 73916 90556 73886 90526 90296 110686 90268 90254 73822 90334 90204 90190 71136 101112 116094 70896 100988 70776 100926 70716 70686 129204 71416 101246 129202 71292 71230 127348 71550 127346 123636 123634 116212 116210 101364 101362 79296 105200 118140 79072 105080 118078 78960 105020 78904 104990 78876 78862 70384 100732 79600 70264 100670 79480 105278 79420 70174 79390 129178 70524 129466 79740 70462 79678 127290 127866 123514 124666 115962 118266 100858 113376 122232 126654 95424 113264 122172 95328 113208 122142 95280 113180 95256 113166 95244 78560 104824 117950 95968 78448 104764 95856 113468 104734 95800 78364 95772 78350 95758 70008 100542 78712 69948 96120 78652 69918 96060 78622 96030 70078 78782 96190 94912 113008 122044 94816 112952 122014 94768 112924 94744 112910 94732 94726 78192 104636 95088 78136 104606 95032 113054 95004 78094 94990 69820 78268 69790 95164 78238 95134 94560 112824 121950 94512 112796 94488 112782 94476 94470 78008 104542 94648 77980 94620 77966 94606 69726 78046 94686 94384 112732 94360 112718 94348 94342 77916 94428 77902 94414 94296 112686 94284 94278 77870 94318 94252 94246 68336 99708 68216 99646 68156 68126 68476 68414 127162 123258 115450 99834 72416 101752 116414 72304 101692 72248 101662 72220 72206 67960 99518 72568 67900 72508 67870 72478 68030 72638 80576 105840 118460 80480 105784 118430 80432 105756 80408 105742 80396 80390 72048 101564 80752 71992 101534 80696 71964 80668 71950 80654 67772 72124 67742 80828 72094 80798 114016 122552 126814 96832 113968 122524 96800 113944 122510 96784 113932 96776 113926 96772 80224 105656 118366 97120 80176 105628 97072 114076 105614 97048 80140 97036 80134 97030 71864 101470 80312 71836 97208 80284 71822 97180 80270 97166 67678 71902 80350 97246 96576 113840 122460 96544 113816 122446 96528 113804 96520 113798 96516 96514 80048 105564 96688 80024 105550 96664 113870 96652 80006 96646 71772 80092 71758 96732 80078 96718 96416 113752 122414 96400 113740 96392 113734 96388 96386 79960 105518 96472 79948 96460 79942 96454 71726 79982 96494 96336 113708 96328 113702 96324 96322 79916 96364 79910 96358 96296 113686 96292 96290 79894 96310 66936 99006 66876 66846 67006 68976 100028 68920 99998 68892 68878 66748 69052 66718 69022 73056 102072 116574 73008 102044 72984 102030 72972 72966 68792 99934 73144 68764 73116 68750 73102 66654 68830 73182 81216 106160 118620 81184 106136 118606 81168 106124 81160 106118 81156 81154 72880 101980 81328 72856 101966 81304 106190 81292 72838 81286 68700 72924 68686 81372 72910 81358 114336 122712 126894 114320 122700 114312 122694 114308 114306 81056 106072 118574 97696 81040 106060 97680 114380 106054 97672 81028 97668 81026 97666 72792 101934 81112 72780 97752 81100 72774 97740 81094 97734 68654 72814 81134 97774 114256 122668 114248 122662 114244 114242 80976 106028 97488 80968 106022 97480 114278 97476 80962 97474 72748 81004 72742 97516 80998 97510 114216 122646 114212 114210 80936 106006 97384 80932 97380 80930 97378 72726 80950 97398 114196 114194 80916 97332 80914 97330 66236 66206 67256 99166 67228 67214 66142 67294 69296 100188 69272 100174 69260 69254 67164 69340 67150 69326 73376 102232 116654 73360 102220 73352 102214 73348 73346 69208 100142 73432 102254 73420 69190 73414 67118 69230 73454 106320 118700 106312 118694 106308 106306 73296 102188 81616 106348 102182 81608 73284 81604 73282 81602 69164 73324 69158 81644 73318 81638 122792 126934 122788 122786 106280 118678 114536 106276 114532 106274 114530 73256 102166 81512 73252 98024 81508 73250 98020 81506 98018 69142 73270 81526 98038 122772 122770 106260 114484 106258 114482 73236 81460 73234 97908 81458 97906 122762 106250 114458 73226 81434 97850 66396 66382 67416 99246 67404 67398 66350 67438 69456 100268 69448 100262 69444 69442 67372 69484 67366 69478 102312 116694 102308 102306 69416 100246 73576 102326 73572 69410 73570 67350 69430 73590 118740 118738 102292 106420 102290 106418 69396 73524 69394 81780 73522 81778 118730 102282 106394 69386 73498 81722 66476 66470 67496 99286 67492 67490 66454 67510 100308 100306 67476 69556 67474 69554 116714 ] ] def % Return the 17 bits for a codeword in a given cluster /cwtobits { clusters exch get exch get /v exch def [ 17 {0} repeat v 2 17 string cvrs {48 sub} forall ] dup length 17 sub 17 getinterval } bind def % Populate bitmap for the image compact { /rwid 17 c mul 17 add 17 add 1 add def } { /rwid 17 c mul 17 add 17 add 17 add 18 add def } ifelse /pixs rwid r mul array def 0 1 r 1 sub { /i exch def i 3 mod 0 eq { /lcw i 3 idiv 30 mul r 1 sub 3 idiv add def /rcw i 3 idiv 30 mul c add 1 sub def } if i 3 mod 1 eq { /lcw i 3 idiv 30 mul eclevel 3 mul add r 1 sub 3 mod add def /rcw i 3 idiv 30 mul r 1 sub 3 idiv add def } if i 3 mod 2 eq { /lcw i 3 idiv 30 mul c add 1 sub def /rcw i 3 idiv 30 mul eclevel 3 mul add r 1 sub 3 mod add def } if pixs rwid i mul [ 1 1 1 1 1 1 1 1 0 1 0 1 0 1 0 0 0 lcw i 3 mod cwtobits {} forall cws c i mul c getinterval { i 3 mod cwtobits {} forall } forall compact { 1 } { rcw i 3 mod cwtobits {} forall 1 1 1 1 1 1 1 0 1 0 0 0 1 0 1 0 0 1 } ifelse ] putinterval } for /retval 7 dict def retval (ren) (renmatrix) put retval (pixs) pixs put retval (pixx) rwid put retval (pixy) r put retval (height) r 72 div rowmult mul put retval (width) rwid 72 div put retval (opt) useropts put retval end } bind def /pdf417 load 0 1 dict put % --END ENCODER pdf417-- % --BEGIN ENCODER datamatrix-- % --DESC: Data Matrix % --EXAM: ^142^164^186 % --EXOP: rows=32 columns=32 % --RNDR: renmatrix /datamatrix { 0 begin /options exch def /useropts options def /barcode exch def /columns 0 def /rows 0 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /columns columns cvi def /rows rows cvi def % Split the input barcode into an array of codewords /cws barcode length array def /i 0 def /j 0 def { % loop i barcode length eq {exit} if /cw barcode i 1 add 3 getinterval cvi def cws j cw put /i i 4 add def /j j 1 add def } loop /cws cws 0 j getinterval def % Basic metrics for the each symbol % rows cols regh regv rscw rsbl /metrics [ % Standard square symbols [ 10 10 1 1 5 1 ] [ 12 12 1 1 7 1 ] [ 14 14 1 1 10 1 ] [ 16 16 1 1 12 1 ] [ 18 18 1 1 14 1 ] [ 20 20 1 1 18 1 ] [ 22 22 1 1 20 1 ] [ 24 24 1 1 24 1 ] [ 26 26 1 1 28 1 ] [ 32 32 2 2 36 1 ] [ 36 36 2 2 42 1 ] [ 40 40 2 2 48 1 ] [ 44 44 2 2 56 1 ] [ 48 48 2 2 68 1 ] [ 52 52 2 2 84 2 ] [ 64 64 4 4 112 2 ] [ 72 72 4 4 144 4 ] [ 80 80 4 4 192 4 ] [ 88 88 4 4 224 4 ] [ 96 96 4 4 272 4 ] [ 104 104 4 4 336 6 ] [ 120 120 6 6 408 6 ] [ 132 132 6 6 496 8 ] [ 144 144 6 6 620 10 ] % Optional rectangular symbols [ 8 18 1 1 7 1 ] [ 8 32 1 2 11 1 ] [ 12 26 1 1 14 1 ] [ 12 36 1 2 18 1 ] [ 16 36 1 2 24 1 ] [ 16 48 1 2 28 1 ] ] def % Select metrics of an appropriate symbol /urows rows def /ucols columns def /i 0 def { % loop /m metrics i get def /rows m 0 get def % Rows in symbol /cols m 1 get def % Columns in symbol /regh m 2 get def % Horizontal regions /regv m 3 get def % Vertical regions /rscw m 4 get def % Error correction codewords /rsbl m 5 get def % Error correction blocks /mrows rows 2 regh mul sub def % Rows in the mapping matrix /mcols cols 2 regv mul sub def % Columns in the mapping matrix /rrows mrows regh idiv def % Rows per region /rcols mcols regv idiv def % Columns per region /ncws mrows mcols mul 8 idiv rscw sub def % Data codewords /okay true def cws length ncws gt {/okay false def} if urows 0 ne urows rows ne and {/okay false def} if ucols 0 ne ucols cols ne and {/okay false def} if okay {exit} if /i i 1 add def } loop % Extend cws to ncws codewords by addition of pseudo-randomised pad characters cws length ncws lt { /datlen cws length def /cws [ cws {} forall ncws datlen sub {129} repeat ] def datlen 1 add 1 ncws 1 sub { /i exch def i 1 add 149 mul 253 mod 1 add 129 add dup 254 gt {254 sub} if cws exch i exch put } for } if % De-interleave the codewords into blocks /cwbs rsbl array def % Array of data codeword blocks /ecbs rsbl array def % Array of error correction blocks 0 1 rsbl 1 sub { /i exch def cws length 1558 ne { /cwbsize cws length rsbl idiv def } { i 7 le {/cwbsize 156 def} {/cwbsize 155 def} ifelse } ifelse /cwb cwbsize array def 0 1 cwbsize 1 sub { /j exch def cwb j cws j rsbl mul i add get put } for cwbs i cwb put ecbs i [ rscw rsbl idiv {0} repeat ] put } for % Calculate the log and anti-log tables /rslog [ -255 255 {0} repeat ] def /rsalog [ 1 255 {0} repeat ] def 1 1 255 { /i exch def rsalog i rsalog i 1 sub get 2 mul put rsalog i get 256 ge { rsalog i rsalog i get 301 xor put } if rslog rsalog i get i put } for % Function to calculate the product in the field /rsprod { /y exch def /x exch def x y mul 0 ne { rsalog rslog x get rslog y get add 255 mod get } { 0 } ifelse } bind def % Generate the coefficients /coeffs [ 1 rscw rsbl idiv {0} repeat ] def 1 1 rscw rsbl idiv { /i exch def coeffs i coeffs i 1 sub get put i 1 sub -1 1 { /j exch def coeffs j coeffs j 1 sub get coeffs j get rsalog i get rsprod xor put } for coeffs 0 coeffs 0 get rsalog i get rsprod put } for /coeffs coeffs 0 coeffs length 1 sub getinterval def % Calculate the error correction codewords for each block 0 1 cwbs length 1 sub { /i exch def /cwb cwbs i get def /ecb ecbs i get def 0 1 cwb length 1 sub { /t exch cwb exch get ecb 0 get xor def ecb length 1 sub -1 0 { /j exch def /p ecb length j sub 1 sub def t 0 eq { ecb p 0 put } { ecb p rsalog rslog t get rslog coeffs j get get add 255 mod get put } ifelse j 0 gt { ecb p ecb p 1 add get ecb p get xor put } if } for } for ecbs i ecb put } for % Extend codewords with the interleaved error correction codes /cws [ cws {} forall rscw {0} repeat ] def 0 1 rscw 1 sub { /i exch def cws ncws i add ecbs i rsbl mod get i rsbl idiv get put } for % Create the module placement matrix /module { /tmpc exch def /tmpr exch def tmpr 0 lt { /tmpr tmpr mrows add def /tmpc tmpc 4 mrows 4 add 8 mod sub add def } if tmpc 0 lt { /tmpc tmpc mcols add def /tmpr tmpr 4 mcols 4 add 8 mod sub add def } if mmat tmpr mcols mul tmpc add bit put /bit bit 1 add def } bind def /mmat [ mrows mcols mul {-1} repeat ] def /bit 0 def /row 4 def /col 0 def { % loop row mrows eq col 0 eq and { [ [mrows 1 sub 0] [mrows 1 sub 1] [mrows 1 sub 2] [0 mcols 2 sub] [0 mcols 1 sub] [1 mcols 1 sub] [2 mcols 1 sub] [3 mcols 1 sub] ] {{} forall module} forall } if row mrows 2 sub eq col 0 eq and mcols 4 mod 0 ne and { [ [mrows 3 sub 0] [mrows 2 sub 0] [mrows 1 sub 0] [0 mcols 4 sub] [0 mcols 3 sub] [0 mcols 2 sub] [0 mcols 1 sub] [1 mcols 1 sub] ] {{} forall module} forall } if row mrows 2 sub eq col 0 eq and mcols 8 mod 4 eq and { [ [mrows 3 sub 0] [mrows 2 sub 0] [mrows 1 sub 0] [0 mcols 2 sub] [0 mcols 1 sub] [1 mcols 1 sub] [2 mcols 1 sub] [3 mcols 1 sub] ] {{} forall module} forall } if row mrows 4 add eq col 2 eq and mcols 8 mod 0 eq and { [ [mrows 1 sub 0] [mrows 1 sub mcols 1 sub] [0 mcols 3 sub] [0 mcols 2 sub] [0 mcols 1 sub] [1 mcols 3 sub] [1 mcols 2 sub] [1 mcols 1 sub] ] {{} forall module} forall } if { % loop for sweeping upwards row mrows lt col 0 ge and { mmat row mcols mul col add get -1 eq { [ [row 2 sub col 2 sub] [row 2 sub col 1 sub] [row 1 sub col 2 sub] [row 1 sub col 1 sub] [row 1 sub col] [row col 2 sub] [row col 1 sub] [row col] ] {{} forall module} forall } if } if /row row 2 sub def /col col 2 add def row 0 ge col mcols lt and not {exit} if } loop /row row 1 add def /col col 3 add def { % loop for sweeping downwards row 0 ge col mcols lt and { mmat row mcols mul col add get -1 eq { [ [row 2 sub col 2 sub] [row 2 sub col 1 sub] [row 1 sub col 2 sub] [row 1 sub col 1 sub] [row 1 sub col] [row col 2 sub] [row col 1 sub] [row col] ] {{} forall module} forall } if } if /row row 2 add def /col col 2 sub def row mrows lt col 0 ge and not {exit} if } loop /row row 3 add def /col col 1 add def row mrows lt col mcols lt or not {exit} if } loop % Set checker pattern if required mmat mrows mcols mul 1 sub get -1 eq { mmat mrows mcols 1 sub mul 2 sub [-1 -2] putinterval mmat mrows mcols mul 2 sub [-2 -1] putinterval } if % Invert the map to form the mapping matrix correcting the checker case /modmap mrows mcols mul 8 idiv 8 mul array def 0 1 mmat length 1 sub { /i exch def mmat i get 0 ge { modmap mmat i get i put } { mmat i mmat i get 2 add put } ifelse } for % Place the codewords in the matrix according to the mapping matrix 0 1 cws length 1 sub { /i exch def [ 8 {0} repeat cws i get 2 8 string cvrs {48 sub} forall ] dup length 8 sub 8 getinterval /bits exch def 0 1 7 { /j exch def mmat modmap i 8 mul j add get bits j get put } for } for % Place the modules onto a pixel map between alignment patterns /pixs rows cols mul array def /cwpos 0 def 0 1 rows 1 sub { /i exch def i rrows 2 add mod 0 eq { pixs i cols mul [ cols 2 idiv {1 0} repeat ] putinterval } if i rrows 2 add mod rrows 1 add eq { pixs i cols mul [ cols {1} repeat ] putinterval } if i rrows 2 add mod 0 ne i rrows 2 add mod rrows 1 add ne and { 0 1 cols 1 sub { /j exch def j rcols 2 add mod 0 eq { pixs i cols mul j add 1 put } if j rcols 2 add mod rcols 1 add eq { pixs i cols mul j add i 2 mod put } if j rcols 2 add mod 0 ne j rcols 2 add mod rcols 1 add ne and { pixs i cols mul j add mmat cwpos get put /cwpos cwpos 1 add def } if } for } if } for /retval 7 dict def retval (ren) (renmatrix) put retval (pixs) pixs put retval (pixx) cols put retval (pixy) rows put retval (height) rows 72 div 1.5 mul put retval (width) cols 72 div 1.5 mul put retval (opt) useropts put retval end } bind def /datamatrix load 0 1 dict put % --END ENCODER datamatrix-- % --BEGIN ENCODER qrcode-- % --DESC: QR Code % --EXAM: 000100000010000000001100010101100110000110000 % --EXOP: version=1 eclevel=M % --RNDR: renmatrix /qrcode { 0 begin /options exch def /useropts options def /barcode exch def /format (full) def % full or micro /version (unset) def /eclevel (L) def % L, M, Q or H % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop % Convert from input into message bitstream /msgbits barcode def % Lookup the most appropriate symbol specification /metrics [ % format vers size align modules error codewords error correction blocks % L M Q H L1 L2 M1 M2 Q1 Q2 H1 H2 [ (micro) (M1) 11 98 99 36 [ 2 99 99 99 ] [ 1 0 99 99 99 99 99 99 ] ] [ (micro) (M2) 13 98 99 80 [ 5 6 99 99 ] [ 1 0 1 0 99 99 99 99 ] ] [ (micro) (M3) 15 98 99 132 [ 6 8 99 99 ] [ 1 0 1 0 99 99 99 99 ] ] [ (micro) (M4) 17 98 99 192 [ 8 10 14 99 ] [ 1 0 1 0 1 0 99 99 ] ] [ (full) (1) 21 98 99 208 [ 7 10 13 17 ] [ 1 0 1 0 1 0 1 0 ] ] [ (full) (2) 25 18 99 359 [ 10 16 22 28 ] [ 1 0 1 0 1 0 1 0 ] ] [ (full) (3) 29 22 99 567 [ 15 26 36 44 ] [ 1 0 1 0 2 0 2 0 ] ] [ (full) (4) 33 26 99 807 [ 20 36 52 64 ] [ 1 0 2 0 2 0 4 0 ] ] [ (full) (5) 37 30 99 1079 [ 26 48 72 88 ] [ 1 0 2 0 2 2 2 2 ] ] [ (full) (6) 41 34 99 1383 [ 36 64 96 112 ] [ 2 0 4 0 4 0 4 0 ] ] [ (full) (7) 45 22 38 1568 [ 40 72 108 130 ] [ 2 0 4 0 2 4 4 1 ] ] [ (full) (8) 49 24 42 1936 [ 48 88 132 156 ] [ 2 0 2 2 4 2 4 2 ] ] [ (full) (9) 53 26 46 2336 [ 60 110 160 192 ] [ 2 0 3 2 4 4 4 4 ] ] [ (full) (10) 57 28 50 2768 [ 72 130 192 224 ] [ 2 2 4 1 6 2 6 2 ] ] [ (full) (11) 61 30 54 3232 [ 80 150 224 264 ] [ 4 0 1 4 4 4 3 8 ] ] [ (full) (12) 65 32 58 3728 [ 96 176 260 308 ] [ 2 2 6 2 4 6 7 4 ] ] [ (full) (13) 69 34 62 4256 [ 104 198 288 352 ] [ 4 0 8 1 8 4 12 4 ] ] [ (full) (14) 73 26 46 4651 [ 120 216 320 384 ] [ 3 1 4 5 11 5 11 5 ] ] [ (full) (15) 77 26 48 5243 [ 132 240 360 432 ] [ 5 1 5 5 5 7 11 7 ] ] [ (full) (16) 81 26 50 5867 [ 144 280 408 480 ] [ 5 1 7 3 15 2 3 13 ] ] [ (full) (17) 85 30 54 6523 [ 168 308 448 532 ] [ 1 5 10 1 1 15 2 17 ] ] [ (full) (18) 89 30 56 7211 [ 180 338 504 588 ] [ 5 1 9 4 17 1 2 19 ] ] [ (full) (19) 93 30 58 7931 [ 196 364 546 650 ] [ 3 4 3 11 17 4 9 16 ] ] [ (full) (20) 97 34 62 8683 [ 224 416 600 700 ] [ 3 5 3 13 15 5 15 10 ] ] [ (full) (21) 101 28 50 9252 [ 224 442 644 750 ] [ 4 4 17 0 17 6 19 6 ] ] [ (full) (22) 105 26 50 10068 [ 252 476 690 816 ] [ 2 7 17 0 7 16 34 0 ] ] [ (full) (23) 109 30 54 10916 [ 270 504 750 900 ] [ 4 5 4 14 11 14 16 14 ] ] [ (full) (24) 113 28 54 11796 [ 300 560 810 960 ] [ 6 4 6 14 11 16 30 2 ] ] [ (full) (25) 117 32 58 12708 [ 312 588 870 1050 ] [ 8 4 8 13 7 22 22 13 ] ] [ (full) (26) 121 30 58 13652 [ 336 644 952 1110 ] [ 10 2 19 4 28 6 33 4 ] ] [ (full) (27) 125 34 62 14628 [ 360 700 1020 1200 ] [ 8 4 22 3 8 26 12 28 ] ] [ (full) (28) 129 26 50 15371 [ 390 728 1050 1260 ] [ 3 10 3 23 4 31 11 31 ] ] [ (full) (29) 133 30 54 16411 [ 420 784 1140 1350 ] [ 7 7 21 7 1 37 19 26 ] ] [ (full) (30) 137 26 52 17483 [ 450 812 1200 1440 ] [ 5 10 19 10 15 25 23 25 ] ] [ (full) (31) 141 30 56 18587 [ 480 868 1290 1530 ] [ 13 3 2 29 42 1 23 28 ] ] [ (full) (32) 145 34 60 19723 [ 510 924 1350 1620 ] [ 17 0 10 23 10 35 19 35 ] ] [ (full) (33) 149 30 58 20891 [ 540 980 1440 1710 ] [ 17 1 14 21 29 19 11 46 ] ] [ (full) (34) 153 34 62 22091 [ 570 1036 1530 1800 ] [ 13 6 14 23 44 7 59 1 ] ] [ (full) (35) 157 30 54 23008 [ 570 1064 1590 1890 ] [ 12 7 12 26 39 14 22 41 ] ] [ (full) (36) 161 24 50 24272 [ 600 1120 1680 1980 ] [ 6 14 6 34 46 10 2 64 ] ] [ (full) (37) 165 28 54 25568 [ 630 1204 1770 2100 ] [ 17 4 29 14 49 10 24 46 ] ] [ (full) (38) 169 32 58 26896 [ 660 1260 1860 2220 ] [ 4 18 13 32 48 14 42 32 ] ] [ (full) (39) 173 26 54 28256 [ 720 1316 1950 2310 ] [ 20 4 40 7 43 22 10 67 ] ] [ (full) (40) 177 30 58 29648 [ 750 1372 2040 2430 ] [ 19 6 18 31 34 34 20 61 ] ] ] def /eclval (LMQH) eclevel search pop length exch pop exch pop def /i 0 def { % loop /m metrics i get def /frmt m 0 get def % Format of the symbol /vers m 1 get def % Version of symbol /size m 2 get def % Length of side /asp2 m 3 get def % Position of second alignment symbol /asp3 m 4 get def % Position of third alignment symbol /nmod m 5 get def % Number of modules /ncws nmod 8 idiv def % Total number of codewords /rbit nmod 8 mod def % Number of remainder bits /lc4b false def % Last data codeword is 4 bits long size 11 eq size 15 eq or { % Adjustments for M1 and M3 symbols /ncws ncws 1 add def /rbit 0 def /lc4b true def } if /ecws m 6 get eclval get def % Number of error correction codewords /dcws ncws ecws sub def % Number of data codewords /dmod dcws 8 mul lc4b {4} {0} ifelse sub def % Number of data modules /ecb1 m 7 get eclval 2 mul get def % First error correction blocks /ecb2 m 7 get eclval 2 mul 1 add get def % Second error correction blocks /dcpb dcws ecb1 ecb2 add idiv def % Base data codewords per block /ecpb ncws ecb1 ecb2 add idiv dcpb sub def % Error correction codewords per block /okay true def version (unset) ne version vers ne and {/okay false def} if version (unset) eq format frmt ne and {/okay false def} if msgbits length dmod gt {/okay false def} if okay {exit} if /i i 1 add def } loop /format frmt def /version vers def % Expand the message bits by adding padding as necessary /pad dmod string def 0 4 dmod 1 sub {pad exch (0000) putinterval} for pad 0 msgbits putinterval /padstrs [ (11101100) (00010001) ] def /padnum 0 def msgbits length 8 div ceiling 8 mul cvi 8 dmod lc4b {5} {1} ifelse sub { pad exch padstrs padnum get putinterval /padnum padnum 1 add 2 mod def } for % Evaluate the padded message into codewords /cws dcws array def 0 1 cws length 1 sub { /c exch def /bpcw 8 def lc4b c cws length 1 sub eq and {/bpcw 4 def} if /cwb pad c 8 mul bpcw getinterval def /cw 0 def 0 1 bpcw 1 sub { /i exch def /cw cw 2 bpcw i sub 1 sub exp cvi cwb i get 48 sub mul add def } for cws c cw put } for % Calculate the log and anti-log tables /rslog [ -255 255 {0} repeat ] def /rsalog [ 1 255 {0} repeat ] def 1 1 255 { /i exch def rsalog i rsalog i 1 sub get 2 mul put rsalog i get 256 ge { rsalog i rsalog i get 285 xor put } if rslog rsalog i get i put } for % Function to calculate the product in the field /rsprod { /y exch def /x exch def x y mul 0 ne { rsalog rslog x get rslog y get add 255 mod get } { 0 } ifelse } bind def % Generate the coefficients for the Reed-Solomon algorithm /coeffs [ 1 ecpb {0} repeat ] def 0 1 ecpb 1 sub { /i exch def coeffs i 1 add coeffs i get put i -1 1 { /j exch def coeffs j coeffs j 1 sub get coeffs j get rsalog i get rsprod xor put } for coeffs 0 coeffs 0 get rsalog i get rsprod put } for /coeffs coeffs 0 coeffs length 1 sub getinterval def % Reed-Solomon algorithm to derive the error correction codewords /rscodes { /rscws exch def /rsnd rscws length def /rscws [ rscws {} forall ecpb {0} repeat ] def 0 1 rsnd 1 sub { /m exch def /k rscws m get def 0 1 ecpb 1 sub { /j exch def rscws m j add 1 add coeffs ecpb j sub 1 sub get k rsprod rscws m j add 1 add get xor put } for } for rscws rsnd ecpb getinterval } bind def % Divide codewords into two groups of blocks and calculate the error correction codewords /dcwsb ecb1 ecb2 add array def /ecwsb ecb1 ecb2 add array def 0 1 ecb1 1 sub { % First group of blocks has smaller number of data codewords /i exch def dcwsb i cws i dcpb mul dcpb getinterval put ecwsb i dcwsb i get rscodes put } for 0 1 ecb2 1 sub { % Second group of blocks has larger number of data codewords /i exch def dcwsb ecb1 i add cws ecb1 dcpb mul i dcpb 1 add mul add dcpb 1 add getinterval put ecwsb ecb1 i add dcwsb ecb1 i add get rscodes put } for % Reassemble the codewords /cws ncws array def /cw 0 def 0 1 dcpb { % Interleave the data codeword blocks /i exch def 0 1 ecb1 ecb2 add 1 sub { /j exch def i dcwsb j get length lt { % Ignore the end of short blocks cws cw dcwsb j get i get put /cw cw 1 add def } if } for } for 0 1 ecpb 1 sub { % Interleave the error codeword blocks /i exch def 0 1 ecb1 ecb2 add 1 sub { /j exch def cws cw ecwsb j get i get put /cw cw 1 add def } for } for % Extend codewords by one if there are remainder bits rbit 0 gt { /pad cws length 1 add array def pad 0 cws putinterval pad pad length 1 sub 0 put /cws pad def } if % Fixups for the short final data byte in M1 and M3 symbols lc4b { dcws 1 sub 1 ncws 2 sub { /i exch def cws i cws i get 15 and 4 bitshift put cws i cws i 1 add get -4 bitshift 15 and cws i get or put } for cws ncws 1 sub cws ncws 1 sub get 15 and 4 bitshift put } if % Create the bitmap /pixs [ size size mul {-1} repeat ] def /qmv {size mul add} bind def % Finder patterns /fpat [ [ 1 1 1 1 1 1 1 0 ] [ 1 0 0 0 0 0 1 0 ] [ 1 0 1 1 1 0 1 0 ] [ 1 0 1 1 1 0 1 0 ] [ 1 0 1 1 1 0 1 0 ] [ 1 0 0 0 0 0 1 0 ] [ 1 1 1 1 1 1 1 0 ] [ 0 0 0 0 0 0 0 0 ] ] def 0 1 fpat length 1 sub { /y exch def 0 1 fpat 0 get length 1 sub { /x exch def /fpb fpat y get x get def pixs x y qmv fpb put format (full) eq { pixs size x sub 1 sub y qmv fpb put pixs x size y sub 1 sub qmv fpb put } if } for } for % Alignment patterns /algnpat [ [ 1 1 1 1 1 ] [ 1 0 0 0 1 ] [ 1 0 1 0 1 ] [ 1 0 0 0 1 ] [ 1 1 1 1 1 ] ] def /putalgnpat { /py exch def /px exch def 0 1 4 { /pb exch def 0 1 4 { /pa exch def pixs px pa add py pb add qmv algnpat pb get pa get put } for } for } bind def asp2 2 sub asp3 asp2 sub size 13 sub { /i exch def i 4 putalgnpat 4 i putalgnpat } for asp2 2 sub asp3 asp2 sub size 9 sub { /x exch def asp2 2 sub asp3 asp2 sub size 9 sub { /y exch def x y putalgnpat } for } for % Timing patterns format (full) eq { 8 1 size 9 sub { /i exch def pixs i 6 qmv i 1 add 2 mod put pixs 6 i qmv i 1 add 2 mod put } for } { 8 1 size 1 sub { /i exch def pixs i 0 qmv i 1 add 2 mod put pixs 0 i qmv i 1 add 2 mod put } for } ifelse % Format information modules format (full) eq { /formatmap [ [ [ 0 8 ] [ 8 size 1 sub ] ] [ [ 1 8 ] [ 8 size 2 sub ] ] [ [ 2 8 ] [ 8 size 3 sub ] ] [ [ 3 8 ] [ 8 size 4 sub ] ] [ [ 4 8 ] [ 8 size 5 sub ] ] [ [ 5 8 ] [ 8 size 6 sub ] ] [ [ 7 8 ] [ 8 size 7 sub ] ] [ [ 8 8 ] [ size 8 sub 8 ] ] [ [ 8 7 ] [ size 7 sub 8 ] ] [ [ 8 5 ] [ size 6 sub 8 ] ] [ [ 8 4 ] [ size 5 sub 8 ] ] [ [ 8 3 ] [ size 4 sub 8 ] ] [ [ 8 2 ] [ size 3 sub 8 ] ] [ [ 8 1 ] [ size 2 sub 8 ] ] [ [ 8 0 ] [ size 1 sub 8 ] ] ] def } { /formatmap [ [ [ 1 8 ] ] [ [ 2 8 ] ] [ [ 3 8 ] ] [ [ 4 8 ] ] [ [ 5 8 ] ] [ [ 6 8 ] ] [ [ 7 8 ] ] [ [ 8 8 ] ] [ [ 8 7 ] ] [ [ 8 6 ] ] [ [ 8 5 ] ] [ [ 8 4 ] ] [ [ 8 3 ] ] [ [ 8 2 ] ] [ [ 8 1 ] ] ] def } ifelse formatmap { { {} forall qmv pixs exch 0 put } forall } forall % Version information modules size 45 ge { /versionmap [ [ [ size 9 sub 5 ] [ 5 size 9 sub ] ] [ [ size 10 sub 5 ] [ 5 size 10 sub ] ] [ [ size 11 sub 5 ] [ 5 size 11 sub ] ] [ [ size 9 sub 4 ] [ 4 size 9 sub ] ] [ [ size 10 sub 4 ] [ 4 size 10 sub ] ] [ [ size 11 sub 4 ] [ 4 size 11 sub ] ] [ [ size 9 sub 3 ] [ 3 size 9 sub ] ] [ [ size 10 sub 3 ] [ 3 size 10 sub ] ] [ [ size 11 sub 3 ] [ 3 size 11 sub ] ] [ [ size 9 sub 2 ] [ 2 size 9 sub ] ] [ [ size 10 sub 2 ] [ 2 size 10 sub ] ] [ [ size 11 sub 2 ] [ 2 size 11 sub ] ] [ [ size 9 sub 1 ] [ 1 size 9 sub ] ] [ [ size 10 sub 1 ] [ 1 size 10 sub ] ] [ [ size 11 sub 1 ] [ 1 size 11 sub ] ] [ [ size 9 sub 0 ] [ 0 size 9 sub ] ] [ [ size 10 sub 0 ] [ 0 size 10 sub ] ] [ [ size 11 sub 0 ] [ 0 size 11 sub ] ] ] def } { /versionmap [] def } ifelse versionmap { { {} forall qmv pixs exch 0 put } forall } forall % Solitary dark module in full symbols format (full) eq { pixs 8 size 8 sub qmv 1 put } if % Calculate the mask patterns format (full) eq { /maskfuncs [ {add 2 mod} bind {exch pop 2 mod} bind {pop 3 mod} bind {add 3 mod} bind {2 idiv exch 3 idiv add 2 mod} bind {mul dup 2 mod exch 3 mod add} bind {mul dup 2 mod exch 3 mod add 2 mod} bind {2 copy mul 3 mod 3 1 roll add 2 mod add 2 mod} bind ] def } { /maskfuncs [ {exch pop 2 mod} bind {2 idiv exch 3 idiv add 2 mod} bind {mul dup 2 mod exch 3 mod add 2 mod} bind {2 copy mul 3 mod 3 1 roll add 2 mod add 2 mod} bind ] def } ifelse /masks maskfuncs length array def 0 1 masks length 1 sub { /m exch def /mask size size mul array def 0 1 size 1 sub { /j exch def 0 1 size 1 sub { /i exch def i j maskfuncs m get exec 0 eq pixs i j qmv get -1 eq and {1} {0} ifelse mask i j qmv 3 -1 roll put } for } for masks m mask put } for % Walk the symbol placing the bitstream /posx size 1 sub def /posy size 1 sub def /dir -1 def % -1 is upwards, 1 is downwards /col 1 def % 0 is left bit, 1 is right bit /num 0 def { % loop posx 0 lt {exit} if pixs posx posy qmv get -1 eq { cws num 8 idiv get 7 num 8 mod sub neg bitshift 1 and pixs posx posy qmv 3 -1 roll put /num num 1 add def } if col 1 eq { /col 0 def /posx posx 1 sub def } { /col 1 def /posx posx 1 add def /posy posy dir add def posy 0 lt posy size ge or { % Turn around at top and bottom /dir dir -1 mul def /posy posy dir add def /posx posx 2 sub def % Hop over the timing pattern in full size symbols format (full) eq posx 6 eq and {/posx posx 1 sub def} if } if } ifelse } loop % Evaluation algorithm for full symbols /evalfull { /sym exch def m 2 eq {1} {2} ifelse % In future we may evaluate the masks } bind def % Evaluation algoritm for micro symbols /evalmicro { /sym exch def /dkrhs 0 def /dkbot 0 def 1 1 size 1 sub { /i exch def /dkrhs dkrhs sym size 1 sub i qmv get add def /dkbot dkbot sym i size 1 sub qmv get add def } for dkrhs dkbot le { dkrhs 16 mul dkbot add neg } { dkbot 16 mul dkrhs add neg } ifelse } bind def % Evaluate the masked symbols to find the most suitable /bestscore 999999999 def 0 1 masks length 1 sub { /m exch def /masksym size size mul array def 0 1 size size mul 1 sub { /i exch def masksym i pixs i get masks m get i get xor put } for format (full) eq { masksym evalfull /score exch def } { masksym evalmicro /score exch def } ifelse score bestscore lt { /bestsym masksym def /bestmaskval m def /bestscore score def } if } for /pixs bestsym def % Add the format information format (full) eq { /fmtvals [ 16#5412 16#5125 16#5e7c 16#5b4b 16#45f9 16#40ce 16#4f97 16#4aa0 16#77c4 16#72f3 16#7daa 16#789d 16#662f 16#6318 16#6c41 16#6976 16#1689 16#13be 16#1ce7 16#19d0 16#0762 16#0255 16#0d0c 16#083b 16#355f 16#3068 16#3f31 16#3a06 16#24b4 16#2183 16#2eda 16#2bed ] def /ecid (MLHQ) eclevel search pop length exch pop exch pop def /fmtval fmtvals ecid 3 bitshift bestmaskval add get def } { /fmtvals [ 16#4445 16#4172 16#4e2b 16#4b1c 16#55ae 16#5099 16#5fc0 16#5af7 16#6793 16#62a4 16#6dfd 16#68ca 16#7678 16#734f 16#7c16 16#7921 16#06de 16#03e9 16#0cb0 16#0987 16#1735 16#1202 16#1d5b 16#186c 16#2508 16#203f 16#2f66 16#2a51 16#34e3 16#31d4 16#3e8d 16#3bba ] def /symid [ [0] [1 2] [3 4] [5 6 7] ] size 11 sub 2 idiv get eclval get def /fmtval fmtvals symid 2 bitshift bestmaskval add get def } ifelse 0 1 formatmap length 1 sub { /i exch def formatmap i get { pixs exch {} forall qmv fmtval 14 i sub neg bitshift 1 and put } forall } for % Add the version information size 45 ge { /vervals [ 16#07c94 16#085bc 16#09a99 16#0a4d3 16#0bbf6 16#0c762 16#0d847 16#0e60d 16#0f928 16#10b78 16#1145d 16#12a17 16#13532 16#149a6 16#15683 16#168c9 16#177ec 16#18ec4 16#191e1 16#1afab 16#1b08e 16#1cc1a 16#1d33f 16#1ed75 16#1f250 16#209d5 16#216fd 16#228ba 16#2379f 16#24b0b 16#2542e 16#26a64 16#27541 16#28c69 ] def /verval vervals size 17 sub 4 idiv 7 sub get def 0 1 versionmap length 1 sub { /i exch def versionmap i get { pixs exch {} forall qmv verval 17 i sub neg bitshift 1 and put } forall } for } if /retval 7 dict def retval (ren) (renmatrix) put retval (pixs) pixs put retval (pixx) size put retval (pixy) size put retval (height) size 2 mul 72 div put retval (width) size 2 mul 72 div put retval (opt) useropts put retval end } bind def /qrcode load 0 1 dict put % --END ENCODER qrcode-- % --BEGIN ENCODER maxicode-- % --DESC: MaxiCode % --EXAM: ^059^042^041^059^040^03001^02996152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291^0471^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^030^062^004^063 % --EXOP: mode=2 % --RNDR: renmaximatrix /maxicode { 0 begin /options exch def % We are given an option string /useropts options def /barcode exch def % We are given a barcode string /mode 4 def /sam -1 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /mode mode cvi def /sam sam cvi def /txtvals (@ABCDEFGHIJKLMNOPQRSTUVWXYZ@@@@@ @@@@@@@@@@@@@@@0123456789@@@@@@) def % Parse a given message into codewords /maxiparse { /txt exch def /out txt length array def /i 0 def /j 0 def { % loop i txt length eq {exit} if txt i 1 getinterval (^) eq { % Codeword is given by the next three characters /cw txt i 1 add 3 getinterval cvi def /i i 4 add def } { % Codeword is the characters position in txtvals txtvals txt i 1 getinterval search pop length /cw exch def pop pop /i i 1 add def } ifelse out j cw put /j j 1 add def } loop out 0 j getinterval } bind def % Calcalate the structured append mode insert /sami () def sam -1 ne { /sami (^033^000) 8 string copy def sam 10 idiv 1 sub 8 mul sam 10 mod 1 sub add 10 2 string cvrs dup length 8 exch sub sami exch 3 -1 roll putinterval } if % Message handling for modes 2 and 3 mode 2 eq mode 3 eq or { /msg barcode def % Normalise messages that begin with a field identifier [)>RS01GSyy msg (^059^042^041^059^040^03001^029) search { pop dup length 2 add string /fid exch def fid 0 3 -1 roll putinterval dup fid fid length 2 sub 3 -1 roll 0 2 getinterval putinterval dup length 2 sub 2 exch getinterval /msg exch def } { pop /fid () def } ifelse % Read the postcode, country code and service code fields msg (^029) search pop /pc exch def pop (^029) search pop /cc exch def pop (^029) search pop /sc exch def pop /msg exch def % Calculate the fixed-width binary values for the mode, postcode, country code and service /mdb (0000) 4 string copy dup mode cvi 2 4 string cvrs dup length 4 exch sub exch putinterval def /ccb (0000000000) 10 string copy dup cc cvi 2 10 string cvrs dup length 10 exch sub exch putinterval def /scb (0000000000) 10 string copy dup sc cvi 2 10 string cvrs dup length 10 exch sub exch putinterval def /pcb (000000000000000000000000000000000000) 36 string copy def mode 2 eq { % For numeric postcode, first six bits represent length and remaining 30 bits the value pcb pc length 2 6 string cvrs dup length 6 exch sub exch putinterval pcb pc cvi 2 30 string cvrs dup length 36 exch sub exch putinterval } { % mode=3 % For alphanumeric postcode, trim or pad with spaces to 6 chars and encode to binary /pccw ( ) 6 string copy dup 0 pc length 6 gt {pc 0 6 getinterval} {pc} ifelse putinterval maxiparse def 0 1 5 { /i exch def pcb pccw i get 2 6 string cvrs dup length 6 i mul 6 add exch sub exch putinterval } for } ifelse % Convolute the binary values into the structured carrier message /scm 60 string def scm 2 mdb putinterval scm 38 pcb 0 4 getinterval putinterval scm 30 pcb 4 6 getinterval putinterval scm 24 pcb 10 6 getinterval putinterval scm 18 pcb 16 6 getinterval putinterval scm 12 pcb 22 6 getinterval putinterval scm 6 pcb 28 6 getinterval putinterval scm 0 pcb 34 2 getinterval putinterval scm 52 ccb 0 2 getinterval putinterval scm 42 ccb 2 6 getinterval putinterval scm 36 ccb 8 2 getinterval putinterval scm 54 scb 0 6 getinterval putinterval scm 48 scb 6 4 getinterval putinterval % Evaluate the structured carrier message as codewords /pri [ 0 0 0 0 0 0 0 0 0 0 ] def 0 1 59 { /i exch def /ps i 6 idiv def /ep 2 5 i 6 mod sub exp cvi scm i get 48 sub mul def pri ps pri ps get ep add put } for % Encode the secondary parts, including any SAM insert and field identifier /sec [ 84 {33} repeat ] def sec 0 [ sami maxiparse {} forall fid maxiparse {} forall msg maxiparse {} forall ] putinterval } if % Message handling for modes 4, 5 and 6 mode 4 eq mode 5 eq or mode 6 eq or { % Prefix the message with the structured append insert /msg sami length barcode length add string def msg 0 sami putinterval msg sami length barcode putinterval % First symbol is the mode and the remainder are the padded message /cws [ mode 5 eq {78} {94} ifelse {33} repeat ] def cws 0 mode put cws 1 msg maxiparse putinterval % Fit the message into the primary and secondary components /pri cws 0 10 getinterval def /sec cws 10 cws length 10 sub getinterval def } if % Create the 64x64 Reed-Solomon table /rstable 64 64 mul array def rstable 0 [ 64 {0} repeat ] putinterval rstable 64 [ 0 1 63 {} for ] putinterval /prev 1 def 64 { /next prev 1 bitshift def next 64 and 0 ne { /next next 67 xor def } if 0 1 63 { /j exch def /nextcell {rstable 64 next mul j add} def nextcell rstable 64 prev mul j add get 1 bitshift put nextcell get 64 and 0 ne { nextcell nextcell get 67 xor put } if } for /prev next def } repeat % Calculate the parity codewords for primary codewords /pgen [46 44 49 3 2 57 42 39 28 31 1] def /rscodes [ 10 {0} repeat 9 -1 0 { pri exch get } for ] def rscodes length 11 sub -1 0 { /i exch def 0 1 10 { /j exch def rscodes i j add rscodes i j add get rstable 64 pgen j get mul rscodes i 10 add get add get xor put } for } for /prichk [ 9 -1 0 { rscodes exch get } for ] def % Split secondary codeword into odd and even elements /seco [ 0 2 sec length 1 sub { sec exch get } for ] def /sece [ 1 2 sec length 1 sub { sec exch get } for ] def % Calculate the parity codewords for secondary codeword parts based on mode sec length 84 eq { % SEC mode /sgen [ 59 23 19 31 33 38 17 22 48 15 36 57 37 22 8 27 33 11 44 23 1 ] def } { % EEC mode /sgen [ 28 11 20 7 43 9 41 34 49 46 37 40 55 34 45 61 13 23 29 22 10 35 55 41 10 53 45 22 1 ] def } ifelse /scodes sgen length 1 sub def /rscodes [ scodes {0} repeat seco length 1 sub -1 0 { seco exch get } for ] def rscodes length scodes sub 1 sub -1 0 { /i exch def 0 1 scodes { /j exch def rscodes i j add rscodes i j add get rstable 64 sgen j get mul rscodes i scodes add get add get xor put } for } for /secochk [ scodes 1 sub -1 0 { rscodes exch get } for ] def /rscodes [ scodes {0} repeat sece length 1 sub -1 0 { sece exch get } for ] def rscodes length scodes sub 1 sub -1 0 { /i exch def 0 1 scodes { /j exch def rscodes i j add rscodes i j add get rstable 64 sgen j get mul rscodes i scodes add get add get xor put } for } for /secechk [ scodes 1 sub -1 0 { rscodes exch get } for ] def % Recompose the secondary parity codewords /secchk [ 0 1 scodes 1 sub { dup secochk exch get exch secechk exch get } for ] def % Concatinate the data into final codewords /codewords [ pri {} forall prichk {} forall sec {} forall secchk {} forall ] def % Convert the codewords into module bits /mods [ 864 {0} repeat ] def 0 1 143 { /i exch def /cw [ codewords i get 2 6 string cvrs {48 sub} forall ] def mods 6 i mul 6 cw length sub add cw putinterval } for % Maps modules to pixels in the grid /modmap [ 469 529 286 316 347 346 673 672 703 702 647 676 283 282 313 312 370 610 618 379 378 409 408 439 705 704 559 589 588 619 458 518 640 701 675 674 285 284 315 314 310 340 531 289 288 319 349 348 456 486 517 516 471 470 369 368 399 398 429 428 549 548 579 578 609 608 649 648 679 678 709 708 639 638 669 668 699 698 279 278 309 308 339 338 381 380 411 410 441 440 561 560 591 590 621 620 547 546 577 576 607 606 367 366 397 396 427 426 291 290 321 320 351 350 651 650 681 680 711 710 1 0 31 30 61 60 3 2 33 32 63 62 5 4 35 34 65 64 7 6 37 36 67 66 9 8 39 38 69 68 11 10 41 40 71 70 13 12 43 42 73 72 15 14 45 44 75 74 17 16 47 46 77 76 19 18 49 48 79 78 21 20 51 50 81 80 23 22 53 52 83 82 25 24 55 54 85 84 27 26 57 56 87 86 117 116 147 146 177 176 115 114 145 144 175 174 113 112 143 142 173 172 111 110 141 140 171 170 109 108 139 138 169 168 107 106 137 136 167 166 105 104 135 134 165 164 103 102 133 132 163 162 101 100 131 130 161 160 99 98 129 128 159 158 97 96 127 126 157 156 95 94 125 124 155 154 93 92 123 122 153 152 91 90 121 120 151 150 181 180 211 210 241 240 183 182 213 212 243 242 185 184 215 214 245 244 187 186 217 216 247 246 189 188 219 218 249 248 191 190 221 220 251 250 193 192 223 222 253 252 195 194 225 224 255 254 197 196 227 226 257 256 199 198 229 228 259 258 201 200 231 230 261 260 203 202 233 232 263 262 205 204 235 234 265 264 207 206 237 236 267 266 297 296 327 326 357 356 295 294 325 324 355 354 293 292 323 322 353 352 277 276 307 306 337 336 275 274 305 304 335 334 273 272 303 302 333 332 271 270 301 300 331 330 361 360 391 390 421 420 363 362 393 392 423 422 365 364 395 394 425 424 383 382 413 412 443 442 385 384 415 414 445 444 387 386 417 416 447 446 477 476 507 506 537 536 475 474 505 504 535 534 473 472 503 502 533 532 455 454 485 484 515 514 453 452 483 482 513 512 451 450 481 480 511 510 541 540 571 570 601 600 543 542 573 572 603 602 545 544 575 574 605 604 563 562 593 592 623 622 565 564 595 594 625 624 567 566 597 596 627 626 657 656 687 686 717 716 655 654 685 684 715 714 653 652 683 682 713 712 637 636 667 666 697 696 635 634 665 664 695 694 633 632 663 662 693 692 631 630 661 660 691 690 721 720 751 750 781 780 723 722 753 752 783 782 725 724 755 754 785 784 727 726 757 756 787 786 729 728 759 758 789 788 731 730 761 760 791 790 733 732 763 762 793 792 735 734 765 764 795 794 737 736 767 766 797 796 739 738 769 768 799 798 741 740 771 770 801 800 743 742 773 772 803 802 745 744 775 774 805 804 747 746 777 776 807 806 837 836 867 866 897 896 835 834 865 864 895 894 833 832 863 862 893 892 831 830 861 860 891 890 829 828 859 858 889 888 827 826 857 856 887 886 825 824 855 854 885 884 823 822 853 852 883 882 821 820 851 850 881 880 819 818 849 848 879 878 817 816 847 846 877 876 815 814 845 844 875 874 813 812 843 842 873 872 811 810 841 840 871 870 901 900 931 930 961 960 903 902 933 932 963 962 905 904 935 934 965 964 907 906 937 936 967 966 909 908 939 938 969 968 911 910 941 940 971 970 913 912 943 942 973 972 915 914 945 944 975 974 917 916 947 946 977 976 919 918 949 948 979 978 921 920 951 950 981 980 923 922 953 952 983 982 925 924 955 954 985 984 927 926 957 956 987 986 58 89 88 118 149 148 178 209 208 238 269 268 298 329 328 358 389 388 418 449 448 478 509 508 538 569 568 598 629 628 658 689 688 718 749 748 778 809 808 838 869 868 898 929 928 958 989 988 ] def % Lookup pixels for enabled modules from modmap /pixs 864 array def /j 0 def 0 1 mods length 1 sub { /i exch def mods i get 1 eq { pixs j modmap i get put /j j 1 add def } if } for /pixs [ pixs 0 j getinterval {} forall 28 29 280 281 311 457 488 500 530 670 700 677 707 ] def /retval 3 dict def retval (ren) (renmaximatrix) put retval (pixs) pixs put retval (opt) useropts put retval end } bind def /maxicode load 0 1 dict put % --END ENCODER maxicode-- % --BEGIN ENCODER azteccode-- % --DESC: Aztec Code % --EXAM: 00100111001000000101001101111000010100111100101000000110 % --EXOP: format=compact % --RNDR: renmatrix /azteccode { 0 begin /options exch def /useropts options def /barcode exch def /format (unset) def % full, compact or rune /readerinit false def /layers -1 def /eclevel 23 def /ecaddchars 3 def % Parse the input options options { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /layers layers cvi def /eclevel eclevel cvr def /ecaddchars ecaddchars cvi def % Convert from input into message bitstream /msgbits () def format (rune) ne {/msgbits barcode def} if % Lookup the most appropriate symbol specification /metrics [ [ (rune) 0 0 0 6 ] % Special metric for rune symbols [ (compact) 1 1 17 6 ] [ (full) 1 1 21 6 ] [ (compact) 2 0 40 6 ] [ (full) 2 1 48 6 ] [ (compact) 3 0 51 8 ] [ (full) 3 1 60 8 ] [ (compact) 4 0 76 8 ] [ (full) 4 1 88 8 ] [ (full) 5 1 120 8 ] [ (full) 6 1 156 8 ] [ (full) 7 1 196 8 ] [ (full) 8 1 240 8 ] [ (full) 9 1 230 10 ] [ (full) 10 1 272 10 ] [ (full) 11 1 316 10 ] [ (full) 12 1 364 10 ] [ (full) 13 1 416 10 ] [ (full) 14 1 470 10 ] [ (full) 15 1 528 10 ] [ (full) 16 1 588 10 ] [ (full) 17 1 652 10 ] [ (full) 18 1 720 10 ] [ (full) 19 1 790 10 ] [ (full) 20 1 864 10 ] [ (full) 21 1 940 10 ] [ (full) 22 1 1020 10 ] [ (full) 23 0 920 12 ] [ (full) 24 0 992 12 ] [ (full) 25 0 1066 12 ] [ (full) 26 0 1144 12 ] [ (full) 27 0 1224 12 ] [ (full) 28 0 1306 12 ] [ (full) 29 0 1392 12 ] [ (full) 30 0 1480 12 ] [ (full) 31 0 1570 12 ] [ (full) 32 0 1664 12 ] ] def /i 0 def { % loop /m metrics i get def /frmt m 0 get def % Format of the symbol /mlyr m 1 get def % Data layers /icap m 2 get def % Reader initialisation capable /ncws m 3 get def % Total of codewords /bpcw m 4 get def % Bits per codeword /numecw ncws eclevel mul 100 div ecaddchars add ceiling cvi def msgbits length 0 eq {/numecw 0 def} if % Error correction codewords /numdcw ncws numecw sub def % Data codewords /okay true def format (unset) ne format frmt ne and {/okay false def} if readerinit icap 1 ne and {/okay false def} if layers -1 ne layers mlyr ne and {/okay false def} if msgbits length bpcw div ceiling cvi numdcw gt {/okay false def} if okay {exit} if /i i 1 add def } loop /layers mlyr def /format frmt def % Expand message bits into codewords avoiding codewords with all zeros or all ones /allzero {dup length (000000000000) 0 3 -1 roll getinterval eq} bind def /allones {dup length (111111111111) 0 3 -1 roll getinterval eq} bind def /cws ncws array def /m 0 def /c 0 def { msgbits length m le {exit} if msgbits length m sub bpcw ge { /cwb msgbits m bpcw 1 sub getinterval def % All but last bit /cwf msgbits m bpcw add 1 sub 1 getinterval def % Last bit cwb allzero {/cwf (1) def /m m 1 sub def} if % Flip last bit to avoid zeros cwb allones {/cwf (0) def /m m 1 sub def} if % Flip last bit to avoid ones % Concatinate the bits 12 string dup 0 cwb putinterval dup bpcw 1 sub cwf putinterval 0 bpcw getinterval /cwb exch def } { % Final codeword /cwb msgbits m msgbits length m sub getinterval def /cwb (111111111111) 12 string copy dup 0 cwb putinterval 0 bpcw getinterval def cwb allones {cwb cwb length 1 sub (0) putinterval} if % Prevent all ones } ifelse % Conversion of binary data into byte array /cw 0 def 0 1 bpcw 1 sub { /i exch def /cw cw 2 bpcw i sub 1 sub exp cvi cwb i get 48 sub mul add def } for cws c cw put /m m bpcw add def /c c 1 add def } loop /cws cws 0 c getinterval def % Reed-Solomon algorithm /rscodes { /rspm exch def /rsgf exch def /rsnc exch def /rscws exch def % Calculate the log and anti-log tables /rslog [ 1 rsgf sub rsgf 1 sub {0} repeat ] def /rsalog [ 1 rsgf 1 sub {0} repeat ] def 1 1 rsgf 1 sub { /i exch def rsalog i rsalog i 1 sub get 2 mul put rsalog i get rsgf ge { rsalog i rsalog i get rspm xor put } if rslog rsalog i get i put } for % Function to calculate the product in the field /rsprod { /y exch def /x exch def x y mul 0 ne { rsalog rslog x get rslog y get add rsgf 1 sub mod get } { 0 } ifelse } bind def % Generate the coefficients /coeffs [ 1 rsnc {0} repeat ] def 1 1 rsnc { /i exch def coeffs i coeffs i 1 sub get put i 1 sub -1 1 { /j exch def coeffs j coeffs j 1 sub get coeffs j get rsalog i get rsprod xor put } for coeffs 0 coeffs 0 get rsalog i get rsprod put } for % Extend the input with the error correction values /nd rscws length def /rscws [ rscws {} forall rsnc {0} repeat 0 ] def 0 1 nd 1 sub { /k exch rscws exch get rscws nd get xor def 0 1 rsnc 1 sub { /j exch def rscws nd j add rscws nd j add 1 add get k coeffs rsnc j sub 1 sub get rsprod xor put } for } for % Return all but the last codeword rscws 0 rscws length 1 sub getinterval } bind def % Create the codewords and bit string for the mode format (full) eq { /mode layers 1 sub 11 bitshift cws length 1 sub add def readerinit {/mode mode 2#1000000000000000 or def} if /mode [ mode 2#1111000000000000 and -12 bitshift mode 2#0000111100000000 and -8 bitshift mode 2#0000000011110000 and -4 bitshift mode 2#0000000000001111 and ] def /mode mode 6 16 19 rscodes def } if format (compact) eq { /mode layers 1 sub 6 bitshift cws length 1 sub add def readerinit {/mode mode 2#10000000 or def} if /mode [ mode 2#11110000 and -4 bitshift mode 2#00001111 and ] def /mode mode 5 16 19 rscodes def } if format (rune) eq { /mode barcode cvi def /mode [ mode 2#11110000 and -4 bitshift mode 2#00001111 and ] def /mode mode 5 16 19 rscodes def /mode [mode {2#1010 xor} forall] def % Invert alternate bits } if /modebits mode length 4 mul string def 0 1 modebits length 1 sub {modebits exch (0) putinterval} for 0 1 mode length 1 sub { /i exch def modebits mode i get 2 4 string cvrs dup length 4 exch sub 4 i mul add exch putinterval } for % Extend the data codewords with error correction codewords to create the bit string for the data /rsparams [ [] [] [] [] [] [] [ 64 67 ] % 6-bit codewords [] [ 256 301 ] % 8-bit codewords [] [ 1024 1033 ] % 10-bit codewords [] [ 4096 4201 ] % 12-bit codewords ] def /cws cws ncws cws length sub rsparams bpcw get {} forall rscodes def format (full) eq { /databits layers layers mul 16 mul layers 112 mul add string def } { /databits layers layers mul 16 mul layers 88 mul add string def } ifelse 0 1 databits length 1 sub {databits exch (0) putinterval} for 0 1 ncws 1 sub { /i exch def databits cws i get 2 bpcw string cvrs dup length bpcw exch sub bpcw i mul add databits length ncws bpcw mul sub add exch putinterval } for % Move to a point in the cartesian plane centered on the bullseye /cmv {size mul sub mid add} bind def % Move to a bit position within a layer /lmv { /lbit exch def /llyr exch def /lwid fw llyr 4 mul add def /ldir lbit 2 idiv lwid idiv def ldir 0 eq { % Top lwid 1 sub 2 idiv neg 1 add lbit 2 idiv lwid mod add fw 1 sub 2 idiv llyr 2 mul add lbit 2 mod add cmv } if ldir 1 eq { % Right fw 2 idiv llyr 2 mul add lbit 2 mod add lwid 1 sub 2 idiv 1 sub lbit 2 idiv lwid mod sub cmv } if ldir 2 eq { % Bottom lwid 2 idiv neg 1 add lbit 2 idiv lwid mod add neg fw 2 idiv llyr 2 mul add lbit 2 mod add neg cmv } if ldir 3 eq { % Left fw 1 sub 2 idiv llyr 2 mul add lbit 2 mod add neg lwid 2 idiv 1 sub lbit 2 idiv lwid mod sub neg cmv } if } bind def % Create the pixel map % For full symbols we disregard the reference grid at this stage format (full) eq {/fw 12 def} {/fw 9 def} ifelse /size fw layers 4 mul add 2 add def /pixs [size size mul {-1} repeat] def /mid size 1 sub 2 idiv size mul size 1 sub 2 idiv add def % Data layers /i 0 def 1 1 layers { /layer exch def 0 1 fw layer 4 mul add 8 mul 1 sub { /pos exch def pixs layer pos lmv databits databits length i sub 1 sub get 48 sub put /i i 1 add def } for } for % For full symbols expand the pixel map by inserting the reference grid format (full) eq { /fw 13 def /size fw layers 4 mul add 2 add layers 10.5 add 7.5 div 1 sub cvi 2 mul add def /mid size size mul 2 idiv def /npixs [size size mul {-2} repeat] def 0 16 size 2 idiv { /i exch def 0 1 size 1 sub { /j exch def npixs size 2 idiv neg j add i cmv [size 2 idiv j add i add 1 add 2 mod] putinterval npixs size 2 idiv neg j add i neg cmv [size 2 idiv j add i add 1 add 2 mod] putinterval npixs i size 2 idiv neg j add cmv [size 2 idiv j add i add 1 add 2 mod] putinterval npixs i neg size 2 idiv neg j add cmv [size 2 idiv j add i add 1 add 2 mod] putinterval } for } for /j 0 def 0 1 npixs length 1 sub { /i exch def npixs i get -2 eq { npixs i pixs j get put /j j 1 add def } if } for /pixs npixs def } if % Finder pattern /fw fw 2 idiv def fw neg 1 fw { /i exch def fw neg 1 fw { /j exch def pixs i j cmv i abs j abs gt {i abs} {j abs} ifelse 1 add 2 mod put } for } for % Orientation bits [ [ fw 1 add neg fw 1 ] [ fw 1 add neg fw 1 add 1 ] [ fw neg fw 1 add 1 ] [ fw 1 add fw 1 add 1 ] [ fw 1 add fw 1 ] [ fw 1 add fw neg 1 ] [ fw fw 1 add 0 ] [ fw 1 add fw 1 add neg 0 ] [ fw fw 1 add neg 0 ] [ fw neg fw 1 add neg 0 ] [ fw 1 add neg fw 1 add neg 0 ] [ fw 1 add neg fw neg 0 ] ] {pixs exch {} forall 3 1 roll cmv exch put} forall % Mode ring format (full) eq { /modemap [ [-5 7] [-4 7] [-3 7] [-2 7] [-1 7] [ 1 7] [ 2 7] [ 3 7] [ 4 7] [ 5 7] [ 7 5] [ 7 4] [ 7 3] [ 7 2] [ 7 1] [ 7 -1] [ 7 -2] [ 7 -3] [ 7 -4] [ 7 -5] [ 5 -7] [ 4 -7] [ 3 -7] [ 2 -7] [ 1 -7] [-1 -7] [-2 -7] [-3 -7] [-4 -7] [-5 -7] [-7 -5] [-7 -4] [-7 -3] [-7 -2] [-7 -1] [-7 1] [-7 2] [-7 3] [-7 4] [-7 5] ] def } { /modemap [ [-3 5] [-2 5] [-1 5] [ 0 5] [ 1 5] [ 2 5] [ 3 5] [ 5 3] [ 5 2] [ 5 1] [ 5 0] [ 5 -1] [ 5 -2] [ 5 -3] [ 3 -5] [ 2 -5] [ 1 -5] [ 0 -5] [-1 -5] [-2 -5] [-3 -5] [-5 -3] [-5 -2] [-5 -1] [-5 0] [-5 1] [-5 2] [-5 3] ] def } ifelse 0 1 modemap length 1 sub { /i exch def pixs modemap i get {} forall cmv modebits i get 48 sub put } for /retval 7 dict def retval (ren) (renmatrix) put retval (pixs) pixs put retval (pixx) size put retval (pixy) size put retval (height) size 2 mul 72 div put retval (width) size 2 mul 72 div put retval (opt) useropts put retval end } bind def /azteccode load 0 1 dict put % --END ENCODER azteccode-- % --BEGIN RENDERER renlinear-- /renlinear { 0 begin % Confine variables to local scope /args exch def % We are given some arguments % Default options /sbs [] def /bhs [] def /bbs [] def /txt [] def /barcolor (unset) def /includetext false def /textcolor (unset) def /textxalign (unset) def /textyalign (unset) def /textfont (Courier) def /textsize 10 def /textxoffset 0 def /textyoffset 0 def /bordercolor (unset) def /backgroundcolor (unset) def /inkspread 0.15 def /width 0 def /barratio 1 def /spaceratio 1 def /showborder false def /borderleft 10 def /borderright 10 def /bordertop 1 def /borderbottom 1 def /borderwidth 0.5 def /guardwhitespace false def /guardleftpos 0 def /guardleftypos 0 def /guardrightpos 0 def /guardrightypos 0 def /guardwidth 6 def /guardheight 7 def % Apply the renderer options args {exch cvlit exch def} forall % Parse the user options opt { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /barcolor barcolor cvlit def /textcolor textcolor cvlit def /textxalign textxalign cvlit def /textyalign textyalign cvlit def /textfont textfont cvlit def /textsize textsize cvr def /textxoffset textxoffset cvr def /textyoffset textyoffset cvr def /bordercolor bordercolor cvlit def /backgroundcolor backgroundcolor cvlit def /inkspread inkspread cvr def /width width cvr def /barratio barratio cvr def /spaceratio spaceratio cvr def /borderleft borderleft cvr def /borderright borderright cvr def /bordertop bordertop cvr def /borderbottom borderbottom cvr def /borderwidth borderwidth cvr def /guardleftpos guardleftpos cvr def /guardleftypos guardleftypos cvr def /guardrightpos guardrightpos cvr def /guardrightypos guardrightypos cvr def /guardwidth guardwidth cvr def /guardheight guardheight cvr def % Create bar elements and put them into the bars array /bars sbs length 1 add 2 idiv array def /x 0.00 def /maxh 0 def 0 1 sbs length 1 add 2 idiv 2 mul 2 sub { /i exch def i 2 mod 0 eq { % i is even /d sbs i get barratio mul barratio sub 1 add def % d=digit*r-r+1 /h bhs i 2 idiv get 72 mul def % Height from bhs /c d 2 div x add def % Centre of the bar = x + d/2 /y bbs i 2 idiv get 72 mul def % Baseline from bbs /w d inkspread sub def % bar width = digit - inkspread bars i 2 idiv [h c y w] put % Add the bar entry h maxh gt {/maxh h def} if } { /d sbs i get spaceratio mul spaceratio sub 1 add def % d=digit*r-r+1 } ifelse /x x d add def % x+=d } for gsave currentpoint translate % Force symbol to given width width 0 ne { width 72 mul x div 1 scale } if % Set RGB or CMYK color depending on length of given hex string /setanycolor { /anycolor exch def anycolor length 6 eq { (< >) 8 string copy dup 1 anycolor putinterval cvx exec {255 div} forall setrgbcolor } if anycolor length 8 eq { (< >) 10 string copy dup 1 anycolor putinterval cvx exec {255 div} forall setcmykcolor } if } bind def % Display the border and background newpath borderleft neg borderbottom neg moveto x borderleft add borderright add 0 rlineto 0 maxh borderbottom add bordertop add rlineto x borderleft add borderright add neg 0 rlineto 0 maxh borderbottom add bordertop add neg rlineto closepath backgroundcolor (unset) ne { gsave backgroundcolor setanycolor fill grestore } if showborder { gsave bordercolor (unset) ne { bordercolor setanycolor } if borderwidth setlinewidth stroke grestore } if % Display the bars for elements in the bars array gsave barcolor (unset) ne { barcolor setanycolor } if bars { {} forall newpath setlinewidth moveto 0 exch rlineto stroke } forall grestore % Display the text for elements in the text array textcolor (unset) ne { textcolor setanycolor } if includetext { textxalign (unset) eq textyalign (unset) eq and { /s 0 def /f () def txt { {} forall 2 copy s ne exch f ne or { 2 copy /s exch def /f exch def exch findfont exch scalefont setfont } { pop pop } ifelse moveto show } forall } { textfont findfont textsize scalefont setfont /txt [ txt { 0 get {} forall } forall ] def /tstr txt length string def 0 1 txt length 1 sub { dup txt exch get tstr 3 1 roll put } for /textxpos textxoffset x tstr stringwidth pop sub 2 div add def textxalign (left) eq { /textxpos textxoffset def } if textxalign (right) eq { /textxpos x textxoffset sub tstr stringwidth pop sub def } if textxalign (offleft) eq { /textxpos tstr stringwidth pop textxoffset add neg def } if textxalign (offright) eq { /textxpos x textxoffset add def } if /textypos textyoffset textsize add 3 sub neg def textyalign (above) eq { /textypos textyoffset maxh add 1 add def } if textyalign (center) eq { /textypos textyoffset maxh textsize 4 sub sub 2 div add def } if textxpos textypos moveto tstr show } ifelse } if % Display the guard elements guardwhitespace { 0.75 setlinewidth guardleftpos 0 ne { newpath guardleftpos neg guardwidth add guardleftypos guardwidth 2 div add moveto guardwidth neg guardheight -2 div rlineto guardwidth guardheight -2 div rlineto stroke } if guardrightpos 0 ne { newpath guardrightpos x add guardwidth sub guardrightypos guardheight 2 div add moveto guardwidth guardheight -2 div rlineto guardwidth neg guardheight -2 div rlineto stroke } if } if grestore end } bind def /renlinear load 0 1 dict put % --END RENDERER renlinear-- % --BEGIN RENDERER renmatrix-- /renmatrix { 0 begin /args exch def % Default options /width 1 def /height 1 def % Apply the renderer options args {exch cvlit exch def} forall % Parse the user options opt { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop /width width cvr def /height height cvr def % Convert the bits into a string /imgstr pixs length string def 0 1 pixs length 1 sub { dup imgstr 3 1 roll pixs exch get 1 exch sub 255 mul put } for % Draw the image gsave currentpoint translate 72 width mul 72 height mul scale pixx pixy 8 [ pixx 0 0 pixy neg 0 pixy ] {imgstr} image grestore end } bind def /renmatrix load 0 1 dict put % --END RENDERER renmatrix-- % --BEGIN RENDERER renmaximatrix-- /renmaximatrix { 0 begin /args exch def % We are given some arguments % Apply the renderer options args {exch cvlit exch def} forall % Parse the user options opt { token false eq {exit} if dup length string cvs (=) search true eq {cvlit exch pop exch def} {cvlit true def} ifelse } loop gsave currentpoint translate 2.4945 dup scale % from 1pt to 1.88mm 0.5 0.5774 translate pixs { dup /x exch 30 mod def /y exch 30 idiv def y 2 mod 0 eq {x} {x 0.5 add} ifelse 32 y sub 0.8661 mul moveto 0 0.5774 rmoveto -0.5 -0.2887 rlineto 0 -0.5774 rlineto 0.5 -0.2887 rlineto 0.5 0.2887 rlineto 0 0.5774 rlineto -0.5 0.2887 rlineto closepath fill } forall % Plot the locator symbol newpath 14 13.8576 0.5774 0 360 arc closepath 14 13.8576 1.3359 360 0 arcn closepath fill newpath 14 13.8576 2.1058 0 360 arc closepath 14 13.8576 2.8644 360 0 arcn closepath fill newpath 14 13.8576 3.6229 0 360 arc closepath 14 13.8576 4.3814 360 0 arcn closepath fill grestore end } bind def /renmaximatrix load 0 1 dict put % --END RENDERER renmaximatrix-- % --BEGIN DISPATCHER-- /barcode { 0 begin dup (ren) get cvx exec end } bind def /barcode load 0 1 dict put % --END DISPATCHER-- % --END TEMPLATE-- %! % --BEGIN SAMPLE-- % We call the procedures like this: /Helvetica findfont 10 scalefont setfont 30 500 moveto (CODE 39) (includecheck includetext) code39 barcode 0 -17 rmoveto (Code 39) show 390 200 moveto (THIS IS CODE 93) (includecheck includetext) code93 barcode 0 -17 rmoveto (Code 93) show 400 600 moveto (^104^102Abc^09912345678^101!) (includetext) code128 barcode 0 -17 rmoveto (Code 128) show 150 700 moveto (0123456789) (includecheck includetext) interleaved2of5 barcode 0 -17 rmoveto (Interleaved 2 of 5) show 215 300 moveto (24012345678905) (height=0.3 includetext) rss14 barcode 0 -17 rmoveto (RSS-14) show 220 550 moveto (00978186074271) (height=0.3 includetext) rsslimited barcode 0 -17 rmoveto (RSS Limited) show 220 500 moveto (000000010011001010100001000000010000) (height=0.3) rssexpanded barcode 0 -10 rmoveto (RSS Expanded) show 215 348 moveto (117480) (includetext) pharmacode barcode 0 -17 rmoveto (Pharmacode) show 30 300 moveto (01234567) (includetext includecheck) code2of5 barcode 0 -17 rmoveto (Code 2 of 5) show 165 600 moveto (0124589) (includetext includecheck barcolor=AA0000 textyoffset=-8 textcolor=008888 backgroundcolor=2020FF0F showborder bordercolor=0000FF) code11 barcode 0 -17 rmoveto (Code 11) show 30 400 moveto (A0123456789B) (includecheck includetext) rationalizedCodabar barcode 0 -17 rmoveto (Rationalized Codabar) show 430 700 moveto (977147396801) (includetext) ean13 barcode 0 -17 rmoveto (EAN-13) show 535 705.4 moveto (05) (includetext guardwhitespace) ean2 barcode 0 -17 rmoveto (EAN-2) show 30 700 moveto (01335583) (includetext guardwhitespace) ean8 barcode 0 -17 rmoveto (EAN-8) show 30 600 moveto (78858101497) (includetext) upca barcode 0 -17 rmoveto (UPC-A) show 320 700 moveto (0425261) (includetext) upce barcode 0 -17 rmoveto (UPC-E) show 405 400 moveto (978-1-86074-271) (includetext) isbn barcode 0 -17 rmoveto (ISBN) show 510 405.4 moveto (90200) (includetext) ean5 barcode 0 -17 rmoveto (EAN-5) show 345 550 moveto (0123456709498765432101234567891) (includetext) onecode barcode 0 -17 rmoveto (OneCode) show 240 455 moveto (012345) (includetext) postnet barcode 0 -17 rmoveto (Postnet) show 240 410 moveto (LE28HS9Z) (includetext) royalmail barcode 0 -17 rmoveto (Royal Mail) show 410 145 moveto (1231FZ13XHS) (includetext) kix barcode 0 -17 rmoveto (KIX) show 385 515 moveto (5956439111ABA 9) (includetext) auspost barcode 0 -17 rmoveto (AusPost) show 350 300 moveto (12345) (includecheck includetext) msi barcode 0 -17 rmoveto (MSI) show 30 200 moveto (123ABCD) (includetext) plessey barcode 0 -17 rmoveto (Plessey) show 47 135 moveto (1001234567890) (showborder borderwidth=4 borderleft=15 borderright=15 height=0.5 includecheck includetext includecheckintext textyoffset=-10) interleaved2of5 barcode -15 -20 rmoveto (ITF-14) show 245 140 moveto (000100000010000000001100010101100110000110000) (version=1 eclevel=M) qrcode barcode 0 -10 rmoveto (QR Code) show 485 300 moveto (^059^042^041^059^040^03001^02996152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291^0471^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^030^062^004^063) (mode=2) maxicode barcode 0 -10 rmoveto (MaxiCode) show 250 220 moveto (^453^178^121^239) (columns=2 rows=10) pdf417 barcode 0 -10 rmoveto (PDF417) show 300 600 moveto (^142^164^186) (rows=48 columns=48) datamatrix barcode 0 -10 rmoveto (Data Matrix) show 315 140 moveto (00100111001000000101001101111000010100111100101000000110) (format=compact layers=3) azteccode barcode 0 -10 rmoveto (Aztec Code) show showpage % --END SAMPLE-- postscriptbarcode/CHANGES0000644000000000234210000002760011035466325014624 0ustar rootpsacln2008-07-10: * The efficiency of the OneCode encoder was improved by replacing routines that generate tables of constants by the tables of constants themselves. 2008-04-06-1: * The Data Matrix encoder was shortened by replacing the list of all possible generator polynomials by a routine that derives only the required set. 2008-04-06: * The PDF417 encoder was shortened by replacing the list of all possible generator polynomials by a routine that derives only the required set. 2008-03-30-1: * The superfluous size option was removed from the QR Code encoder. 2008-03-30: * The QR Code encoder was amended to select full format symbols unless instructed otherwise. 2008-03-29: * Support for the QR Code 2D symbology was added. 2008-03-13: * Added support for FCC type 45 (Reply Paid Barcode) to the Auspost symbology. 2008-03-08: * A bug in the treatment of the human readable text when using special text alignment with Code 128C was fixed. 2008-03-01: * A bug in the check-bars calculation for the RSS Limited symbology was fixed. 2008-02-25: * Bugs in the Reduced Space Symbologies were fixed. 2008-02-17: * Support for the Aztec Code 2D symbology was added. 2008-02-15: * Fixed some occurances of a bad programming paradigm that could result in the incorrect generation of certain symbols when including multiple instances. 2008-01-25: * A bug in the generation of the pseudo-randomised padding characters for Data Matrix was corrected. 2008-01-19: * Fixed logic error that resulted in incorrect codeword lengths for modes 4, 5 and 6 in MaxiCode. 2008-01-15: * Support for the Data Matrix ECC200 2D symbology was added. 2008-01-02: * The PDF417 encoder was amended to opportunistically raise the error correction level if there is a better fit to the derived size of the matrix. 2008-01-01: * Support for the PDF417 2D symbology was added. 2007-12-21: * The ISBN encoder was slightly improved so that it generates the check digit even when the user does not omit the final dash. 2007-12-03: * Human readable text support was added to RSS-14, RSS Limited, OneCode and Pharmacode symbologies. * Default font and spacing for specifically aligned text was change to make it more consistant with default text placement. * A bug that made textxalign=left ineffective was fixed. 2007-12-01: * Added textxalign and textyalign options to control the positioning and formatting of human readable text. 2007-07-02: * Support for the MaxiCode 2D symbology was added. 2007-06-16: * Code was refactored to support multiple renderers. * Added parsable renderer field to each encoder. * Renderer for maxicode symbols was added, but there is no encoder for this yet. 2007-05-19: * Added parsable example options field to each encoder. 2007-05-18: * An encoder for the Pharmaceutical Binary Code symbology was added. 2007-04-22: * Added CMYK colorspace support. 2007-02-25: * Fixed incorrect checksum calculation for UPC-E symbols. 2006-09-26: * Added raw encoder to make it easier to create miscellaneous symbols in a custom symbology. 2006-09-14: * Functional comments were added to the head of the encoders to allow applications to extract the symbology name and example input data. 2006-05-26: * An encoder for the Reduced Space Symbology RSS Expanded was added. 2006-05-25: * The incorrect definition of the USPS FIM-B symbol was fixed. 2006-05-23: * An encoder for the Reduced Space Symbology RSS Limited was added. * The efficiency of RSS-14 was improved. 2006-05-22: * An encoder for the Reduced Space Symbology RSS-14 was added. 2006-05-16: * An encoder for the new OneCode symbology used by the US Postal Service was added. 2006-03-04: * The FIM symbols now render according to their specification. 2006-03-03: * The Postnet, Royal Mail, AusPost and KIX encoders were amended so that the metrics of their default symbols confirms strongly to their respective specifications. 2006-03-02: * The encoders now pass an array containing the widths of the bar space succession to the renderer allowing for sub-point horizontal precision. 2006-01-19: * The default border positions for EAN and UPC symbols were amended to properly enclose the human readable text. 2006-01-18: * The colour support code was fixed to prevent overwriting of the current colour when values are left unspecified. 2006-01-17: * The logic to guard whitespace in EAN symbols was migrated from the encoders to the renderer. * The whitespace guard symbols are now drawn directly making them independant of any font. * The inter-guard bar height of EANs and UPCs was amended. 2006-01-16: * The renderer was amended to support the passing of encoder specific arguments. 2006-01-08: * The options barcolor, textcolor, bordercolor, showbackground and backgroundcolor were added to the renderer. * A flaw in the derivation of the top border height was fixed. 2005-12-17: * The renderer was amended to plot symbols from the current point rather than the origin. 2005-11-01: * The performance of the renderer was improved by avoiding unnecessary calls of setfont. 2005-10-28: * The auspost encoder was extended to support the customer information field. 2005-10-24: * A new encoder for the barcodes used by the Australian Postal Service was added. 2005-10-17: * A checksum was added to the Code 2 of 5 encoder. 2005-10-16: * A checksum was added to the Code 11 encoder. 2005-10-14: * A new renderer option was added that forces any symbol to a user supplied width. 2005-09-26: * A new encoder was added to support the generation of miscellaneous symbols. * Support for generation of FIM symbols used on US Postal service reply mail was added. 2005-09-15: * A new encoder for the KIX symbology used by the Dutch postal service was added. 2005-09-12: * Options were added that allow precise adjustments to be made to the ratio of bar widths and space widths. 2005-09-11: * Placement problems with the border of EAN-2 and EAN-5 symbols have been fixed by amending the baseline of the bars. 2005-09-10: * The options required to enable a customisable border around any barcode symbol were added to the renderer. 2005-09-08: * An options parser was added to the renderer. * Each renderer was modified to pass a copy of its user-defined options to the renderer. * A new user-definable option called inkspread that reduces the width of the bars was added to the renderer. 2005-08-08: * The options parser for each of the encoders was upgraded to remove the 30 character size limitation from individual options within a given option string. 2005-08-07: * The ISBN encoder was upgraded to support the emerging ISBN-13 symbology. 2005-08-02: * PostScript and PDF documentation is now created using the new pst-barcode LaTeX package to generate the barcode images. 2005-06-21: * The isbnfont, isbnsize, and isbnpos options were added to allow the independant manipulation of the upper part of the human readable text within the ISBN symbology. 2005-06-09: * A minor fix was made to the positioning of human readable text within the Code 128 symbology. 2005-06-06: * Optional whitespace guards have been added to the human readable text of EAN barcodes. * The position of the first character of EAN-13s has been adjusted to guard the whitespace to the left of the bars. 2005-05-10: * The ability to allow the code to remain resident within most printer's PostScript virtual machines, until a hard reset is performed, was added. 2005-04-12: * The default textpos for EAN-2 and EAN-5 was changed so that it is now a function of the supplied height. * Delimiter comments were added around the encoders so that the file can be easily parsed as a template. 2005-04-09: * Delimiters were added around individual encoders to simplify parsing. 2005-03-29: * A bug in the calculation of Code 93 barcode length when using extended full ASCII characters was fixed. 2005-03-21: * Support for the Royal Mail/RM4SCC symbology was added. * A minor fix was made to the positioning of human readable text in the PostNet symbology. 2005-03-05: * The Postnet encoder was amended to generate correctly proportioned bars. 2005-02-28: * A bug that resulted in the incorrect generation of Code 93 check digits for data exceeding 15 characters in length was fixed. 2005-02-03: * A user option to override the default barcode height was added. 2005-02-01: * The option passing mechanism was improved to allow the user to override many default variables. 2005-01-25: * Human readable text was added to the remaining encoders. * Support for a string of options to enable or disable features of an encoder for each barcode instance was added. 2005-01-22: * Human readable text, with an option to suppress display of the check digit, was added to Code-39, Interleaved 2 of 5, and Postnet symbologies. * The ability to suppress human readable text to EANs, UPCs, ISBN, and all other symbologies that show text was added. * Encoders now pass font information to the renderer. * The encoders were restructured to prepare for the passing of switches to enable or disable features of the encoder. 2005-01-19: * The ability to suppress checkdigit for codabar, code39, code93, and interleaved 2 of 5 symbologies was added. 2005-01-05: * Support for Code 93 and Code 11 was added. * A checksum was added to Code 39 and Interleaved 2 of 5. * Incorrect generation of X human readable check-digit for ISBN was fixed. 2005-01-02: * This release adds support for the EAN-2 and EAN-5 (the EAN/UPC add-ons) symbologies, MSI symbology, and Plessey symbology. * The narrow:wide ratio for Code 2 of 5 has been changed. 2004-12-29: * This release fixes the incorrect generation of Code 128 check digits. 2004-12-27: * This release adds a code128 encoder that fully supports character alphabets A, B, and C. This allows for UCC/EAN-128 support. * The obsolete code128b encoder has been dropped. 2004-12-24: * This release fixes a bug in code128b where first ^ character in string of available characters should be &. 2004-12-21: * The Supported Symbologies section of the documentation was enhanced to include samples of all the supported barcode types. 2004-12-14: * Incorrect generation of human-readable check digits for the ISBN encoder was fixed and the documentation was updated with an example of use from within Perl. 2004-12-11: * Support for the ISBN barcode format was added. 2004-12-09: * Documentation is now available in PDF and HTML formats. * The orignal .tex files are shipped in the tarball. 2004-12-07: * Support for human readable text on the EAN and UPC formats was added. * Redundant code was removed from the UPC-A format. * Minor code cleanups were made. * A mailing list and support group is now available. 2004-12-04: * EANs and UPCs now have elongated guard bars. * The efficiency of the renderer was improved. * A bug that printed a tiny artifact at the bottom-left of barcodes was fixed. * All barcodes now default to 1 inch in height with a narrow bar width of 1 pt. 2004-12-03-1: * Support has been added for the Postnet barcode format. * The renderer has been improved to allow support for symbologies with variable height bars. 2004-12-03: * This version changes the renderer to accept a dictionary of arguments rather than an sbs string, so that it can have optional arguments such as text and bar heights passed to it. The encoders were upgraded accordingly. 2004-11-30: * Efficiency was improved by adding the bind operator to procedure definitions to make use of early operator resolution. 2004-11-26: * This release adds a PostScript file and a tarball on the homepage to ease downloading and patching. 2004-11-23: * This release added support for the UPC-E barcode format. 2004-11-21: * Support has been added for EAN-13, EAN-8, and UPC-A barcode formats. 2004-11-19: * This release adds support for printing the EAN-13 barcode format. * The software now supports EAN-13, Code 128-B, Code 39, Interleaved 2 of 5, Code 2 of 5, and Codabar.