The following table describes several other sample rule files that have been designed to demonstrate specific techniques. There are two types of rule files provided:
•Cmd – adds to the documentation for specific commands
•Tool – helps an integrator to add new features to their own rule files
Rule file name
|
Commands
|
Functions
|
Variables
|
Comments
|
SampleCmdAFO.rul
|
|
gtextcount, gtextitem, gtextfind
|
|
How to work with Application Formatted Output
|
SampleCmdBarcode.rul
|
barcode
|
exec
|
|
Includes relative barcode
|
SampleCmdBox.rul
|
box, cbox
|
exec
|
|
|
SampleCmdCircle.rul
|
circle
|
inchtocols
|
|
|
SampleCmdConst.rul
|
const, global, local
|
|
|
|
SampleCmdCopy.rul
|
copies, pcopies, if copy/end if, attach
|
|
Copy
|
Mult-copy, multi-format, variable number of copies
|
SampleCmdDetect.rul
|
detect
|
|
|
Many examples with explanations
|
SampleCmdDuplex.rul
|
duplex
|
|
|
|
SampleCmdErase.rul
|
erase, notext,
hline, vline
|
sub
|
|
|
SampleCmdFont.rul
|
font, cfont
|
|
|
|
SampleCmdImage.rul
|
image, attach
|
|
|
image justification
|
SampleCmdImages.rul
|
images
|
|
|
1 sample for archived images
|
SampleCmdLine.rul
|
line, hline, vline
|
exec
|
|
nice use of multiple cmds within 1 exec. Saves time.
|
SampleCmdMicr.rul
|
micr
|
|
|
|
SampleCmdMove.rul
|
move, cmove
|
|
|
Includes relative moves
|
SampleCmdShade.rul
|
shade, cshade
|
exec
|
|
Includes relative shading and greenbar look
|
SampleCmdText.rul
|
text
|
|
|
Shaded, wrapped, fit, rotated, justified
|
SampleCmdTrayBin.rul
|
tray, bin
|
|
|
|
Rule file name
|
Commands
|
Functions
|
Variables
|
Comments
|
SampleToolArchive.rul
|
archive
|
|
|
will do logging with Base Logging below
|
SampleToolChkContinued.rul
|
text
|
exec, get
|
pagenum,
uf.maxpage
|
look ahead with get
|
SampleToolDispAFOText.rul
|
text
|
|
|
AFO field positions
|
SampleToolDocTitle.rul
|
text
|
|
|
|
SampleToolFullBox.rul
|
cbox
|
|
|
|
SampleToolLogging.rul
|
|
log
|
|
Base Logging
|
SampleToolLogo.rul
|
image
|
|
|
can use justification
|
SampleToolMultCpy.rul
|
copies, pcopies
|
|
|
|
SampleToolPageSplitter.rul
|
|
getpage,
putpage,
delpage
|
|
|
SampleToolPageXofY.rul
|
text
|
exec,get
|
pagenum,
uf.maxpage
|
look ahead with get
|
SampleToolPostnet.rul
|
barcode
|
exec,mid
|
|
|
SampleToolPrint.rul
|
|
|
skip
|
logging with Base Logging above
|
SampleToolScanBcd.rul
|
barcode
|
exec
|
|
barcode
|
SampleToolWatermark.rul
|
text
|
exec
|
|
shaded text
|
|