The easiest way to set the OMR definition is to use in the Configuration Tab the Rule Assistant and there the OMR set menu

 

Example for PFE Mailers incl. continuos page sequence numbering. As ELP does only OMR printing, the command can be added into the rule Global.

[GLOBAL]

; . . .

OMR_Enabled=ON
OMR_Type=PFE_AUTOMAILER_2_3

; Marks are on the left hand of portrait A4 page in Y direction
; at position 20cm from left, 15cm from top and in 270° print
; direction, which will then move the bars down the page.

OMR_Position=200,150,270

; therefor line height is in Y direction (originalportrait)

OMR_LineHeight=0.5

; line width is in X directon

OMR_LineWidth=7

; Line distance 5 mm in Y direction down the page, as 270°

OMR_LineDistance=5

; Save last sequence number values

OMR_CollectJobs=ON

; The PFE OMR implementation, does set automatically the
; parity to ON, 5 bits Form Sequence and 3 bits SelectFeed
; Set to add additional insert from tray2

Variable=#OMR_PFE_SelectFeed#:2

Note: The variables OMR_PFE_SelectFeed and OMR_PFE_Divert are set to 0 after they are used. So both items can only be used within one job. They can be searched by information in the data stream and then be set, but only once. So to work with them, larger jobs need to be split into single documents like invoices or delivery notes. On request, this can be changed. So you do not need to split the job.

 

Example for Stielow again with single invoice jobs, duplex and automatic insertion mark on the last page.

[GLOBAL]

ELP=ON

; Turn preparsing on to get the amount of pages in #PREPARSEPAGECOUNT#

PreParsing=ON
OMR_ENABLED=ON

; maximum 8 sheets of paper can be inserted

OMR_MAXCOLLECTPAGES=8
OMR_CollectJobs=ON
OMR_PARITY=ON
OMR_POSITION=7,155,270
OMR_SEQUENCECONTROL=8
OMR_LineWidth=7
OMR_LineHeight=.5
OMR_LineDistance=4.23

; in printer DIMM mode set ELP_MAX_HEAP to 1250000

ELP_MAX_HEAP=10000000

[Inform the OMR process which is the last page]

Trigger_Binary=1

; This must be done in a separate rule, as the Page Counter is not available, when rule GLOBAL is executed.
; This is the reason the rule assistant does activate the OMR printing in a separate rule

OMR_USEREADPAGECOUNTER=#PREPARSEPAGECOUNT#

[Test for duplex job]

Trigger_Binary=1
Simplex_duplex=1

; this section is for a duplex job true
; double the max page counter to be inserted in an envelope

OMR_MAXCOLLECTPAGES=16

; Only print OMR code on frontpage

OMR_PRINTONPAGESIDE=1

[Test for amount of pages]

Trigger_Binary=1
Trigger_Variable=#PREPARSEPAGECOUNT#>#OMR_MAXCOLLECTPAGES#

; if too many sheets, then do not print OMR

OMR_ENABLED=OFF

; and move job out on the printer by sending it to a different tray

ELP_COMMAND=C1M4;

Finally if you do not want to have OMR marks on, but simply sort the jobs according to their amount of pages: Send job to different mailbox out-trays, depending upon the amount of printed pages

 

Related articles: Tech Ref OMR, OMR set menu, Postal optimization and OMR marking