BOJ, BOP, EOJ, EOP

Top  Previous  Next

Syntax

 

{boj | bop | eoj | eop}"text string" | {expr}

 

Description

 

These keywords provide the ability to add escape codes to the beginning of the job (after the printer is initialized but before any data prints), before each page of each copy, after each page of each copy, and after the job ends, just before the printer is re-initialized.

 

The escape sequences can be entered as a quoted text string or an expression in braces.

 

When entering a text string, it is possible to include non-printable characters with angle bracket notation, such as "<27>&k10G", where "<27>" is used to include an escape character.

 

UnForm will normally provide all the control needed for a job.  These keywords are included to handle unusual requirements, such as perhaps adding PJL coding to a job for special paper handling requirements.

 

An expression can take advantage of the getppd() function to load control sequences for PCL or PostScript out of the printer’s PPD file (as specified by the –m command line argument or as the generic pcl.ppd or ps.ppd).

 

Prior releases supported an unquoted format for hex strings.  UnForm no longer supports this syntax.  If your rule file contains hex strings, convert the commands like these examples:

 

 boj 1b266c3247        change to        boj { ath("1b266c3247") }

 boj 1b 26 6c 32 47        change to        boj { ath(stp("1b 26 6c 32 47",3," ")) }

 

 

Examples:

 

This example shows adding PJL codes to a job, setting the title to "Title Of Job".

 

boj "<27>%-12345X@PJL<10>@PJL JOB NAME=<34>Title Of Job<34><10>@PJL ENTER LANGUAGE=PCL<10>"

 

Drivers: pcl, ps