Omplete, Page 18 – MF Digital DIRECTOR Developers Guide User Manual

Page 18

Advertising
background image



DIRECTOR EasiAPI


22nd FEB. 2013

D E V E L O P E R ’ S G U I D E

Page 18

6

Instructs the font mapper to choose a raster font when the system ontains
multiple fonts with the same name.

8

This value instructs the font mapper to choose from TrueType and other outline-

based fonts.

StrikeOut# Defaulted to zero. If set to “1” the text ill have a strike-out through it

Weight# Defaulting to 400, you can use the following
numbers to adjust the boldness or weight of the font:

0

Default weight

100

Thin weight

200

Extra-light weight

300

Light weight

400

Normal weight.( Default value)

500

Medium weight

600

Semi-bold weight

700

Bold weight

800

Extra-bold weight

900

Heavy weight




StrikeOut# Defaulted to zero. If set to “1” the text will have a strike-out through it

C

OMPLETE

.

BAT

Director can be configured to run a batch file at the end of a job. By simply placing your batch
file named complete.bat in the /Director folder the Director application will execute it at the
end of any given job passing the JOBID and job status as command line arguments. The uses
are myriad, the batch files could be made to send notification via email or Windows messenger
service, run a virus scan, or delete the contents of a folder. Below is just one example of a batch
file that can be processed by Director. It will detail the status of jobs that are completed; noting
the job ID, date and time stamp as well as success/failure reporting.

@echo off
echo JobID=%1 JobStatus=%2 (0=OK, 1=Abort/fail) >> c:\Director\complete.log
@time /t >> c:\Director\complete.log
@date /t >> c:\Director\complete.log
echo ----------------------------- >> c:\Director\complete.log

Advertising