IF DRIVER … END IF

Top  Previous  Next

Syntax

 

if driver name

end if

 

Description

 

The command if driver will cause any commands to apply only when the rule set is evaluated under the driver name.  The driver is specified with the command line option "-p", and defaults to "laser".  Common drivers are laser, pdf, ps, and zebra.  If Ghostscript drivers are configured, then other driver names are available based on the [drivers] configuration in the server’s uf100d.ini file.

 

The command ‘if driver zebra’ applies to any Zebra driver specification (Zebra drivers include suffix-based information).

 

end if indicates that conditional processing of the rule set is done, and keywords apply to all copies again. The end if keyword may also be entered as endif or fi.

 

Example:

 

This example will use the image "pdflogo.pdf" when "-p pdf" is used on the command line.

 

if driver pdf

 image 1.5,2,15,6,"pdflogo.pdf"

end if

 

Drivers: all