OMR > Bar functions

Bar functions
The table below list the bar functions that can be used.
Bit and byte sequence
By default, a bar function defines a bit in a binary sequence. You can switch back and forth to a byte sequence with < and > characters. The < character switches to byte sequence, and the > character switches to bit sequence.
For example
1/1/0/<1/0/>1/0/0/0
Byte translation
Bytes are compiled from the bit/byte sequence in the same order as the bit sequence is entered.
For example:
1/1/1/0/0/0/1/1 = 11100011 = 227
To compile bytes using old INT2OF5 and Code 39 OMR behavior, add a # character in front of the bit sequence. For example:
#1/1/0/1/0/1/0/0/0
Note:
String within the bar function sequence
You can add strings to the bar function sequence by surrounding the string with single quotes. For example
1/1/0/<’25’>/1/0
1
0
seqN
N=1,2,4,8,16,... A bar is printed depending on the binary/byte sequence.
Note:
In byte representation, this barfunction must be specified as <seq/>. If for example seq=25, the result is the same as 1/<’25’>/1/0=1252
insN
N=1,2,3,4... A bar is printed depending on binary or byte representation of the insert mask.
For example, if Insert mask is set to 10, which is 1010 in binary representation, it means that ins2 and ins4 are available to use as inserts for the job. The maximum value of N is 31.
firstpage
notfirstpage
lastpage
notlastpage
$variable
$variable[N]
A bar is printed depending on value of $variable and the bit or byte representation. N=1,2,3,4...
$page_no[3]/$page_no[2]/$page_no[1]
then for $page_no = 3, bars are printed corresponding to 0/1/1.
N represents the N:th character of the variable.
$variable="abcd"
=> $variable[0]="a", $variable[3]="c"
the N:th bit or byte (character) is specified as the second pair square brackets, e.g. $var[0][1], where [1] is the first bit or the second character in the first element of the $variable array.
evenparity
oddparity
firstsheetinenvelope
notfirstsheetinenvelope
lastsheetinenvelope
notlastsheetinenvelope
func1&func2
A bar is printed if both func1 and func2 print a bar.
Note:
The evenparity and oddparity functions cannot be combined.
func1|func2
A bar is printed if func1 or func2 print a bar.
Note:
The evenparity and oddparity functions cannot be combined.
OpenText StreamServe 5.6 Updated: 2013-03-01