Skip to content

PosiCode

Terry Burton edited this page Mar 26, 2014 · 12 revisions

#summary Reference for PosiCode

=PosiCode=

PosiCode is a continuous, variable length, non-self-checking, bidirectional barcode symbology that is designed for use within printing processes where it is difficult to precisely control the width of a bar.

Standards: ITS PosiCode.

===Data and Options===

  • The data field can hold the following:
    • For standard symbols: Any ASCII data
    • For limited symbols: letters A-Z, digits 0-9, symbols - and .
  • The version option is used to specify the variant of the symbol, either:
    • version=a (default)
    • version=b
    • version=limiteda
    • version=limitedb
  • When the parse option is specified, any instances of ^NNN in the data field are replaced with their equivalent ASCII value, useful for specifying unprintable characters, e.g. ^029 for GS, etc.
  • When the parsefnc option is specified, non-data function characters can be specified by ^FNC1 through ^FNC4.
  • The inkspread option can be used to adjust the width of the bars.

===Example PosiCode===

Equivalent ways to generate a PosiCode A symbol:

{{{ 0 0 moveto (Abc123) () /posicode /uk.co.terryburton.bwipp findresource exec }}}

{{{ 0 0 moveto (Abc123) (version=a) /posicode /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/posicode-1.png

PosiCode A including a GS (ASCII 29) character:

{{{ 0 0 moveto (AB^029CD) (parse) /posicode /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/posicode-2.png

PosiCode A including an FNC2 special character:

{{{ 0 0 moveto (AB^FNC2CD) (parsefnc) /posicode /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/posicode-3.png

PosiCode B symbol with widened bars:

{{{ 0 0 moveto (Abc123) (version=b inkspread=-1) /posicode /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/posicode-4.png

===Example Limited PosiCode===

Limited PosiCode A with narrowed bars:

{{{ 0 0 moveto (ABC-12.3) (version=limiteda) /posicode /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/posicode-5.png

Limited PosiCode B:

{{{ 0 0 moveto (ABC-12.3) (version=limitedb) /posicode /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/posicode-6.png


Symbologies Reference

Point of Sale

GS1 DataBar

Supply Chain

Two-dimensional Symbols

One-dimensional Symbols

Postal Symbols

Pharmaceutical Symbols

Less-used Symbols

GS1 Composite Symbols

Raw Symbols

Partial Symbols

Clone this wiki locally