Skip to content

Input Processing

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

#summary Reference for options affecting input processing

=Input Processing Options=

==parse==

In supporting barcode symbologies, 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.

Example

Equivalent symbols:

{{{ 0 0 moveto (This is Data Matrix) () /datamatrix /uk.co.terryburton.bwipp findresource exec }}}

{{{ 0 0 moveto (This is ^068ata Matrix) (parse) /datamatrix /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/optparse.png

==parsefnc==

In supporting barcode symbologies, when the parsefnc option is specified, non-data function characters can be specified by escaped combinations such as ^FNC1, ^FNC4 and ^SFT/.

Example

Code 93 including a special shift combination (/)A representing !:

{{{ 0 0 moveto (TERRY^SFT/A) (parsefnc includecheck) /code93 /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/optparsefnc.png

==raw==

In supporting barcode symbologies, the raw option denotes that the data field is providing the input as a pre-encoded codewords in ^NNN format or as a pre-encoded bitstream, suitable for direct low-level encoding according to some barcode symbology specific encoding.

Example

{{{ 0 0 moveto (000100000010000000001100010101100110000110000) (raw) /qrcode /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/optraw.png

Clone this wiki locally