User Guide

9.9 DeviceDriverinFileeagle.def
CreatingYourOwn DeviceDriver
Output device drivers are defined in the eagle.def text file. Here you will
find all the information that is needed for the creation of your own de
-
vice driver. The best way is to copy the block for an output device of the
samegeneralcategory,andthenaltertheparameterswherenecessary.
Please use a text editor that does not introduce any control codes into
thefile.
Here is an example for a Gerber(auto) device that generates data in mm
units:
[GERBER_MM33]
Type = PhotoPlotter
Long = “Gerber photoplotter”
Init = “G01*\nX000000Y000000D02*\n”
Reset = “X000000Y000000D02*\nM02*\n”
ResX = 25400
ResY = 25400
Wheel = “”
Move = “X%06dY%06dD02*\n” ; (x, y)
Draw = “X%06dY%06dD01*\n” ; (x, y)
Flash = “X%06dY%06dD03*\n” ; (x, y)
Units = mm
Decimals = 4
Aperture = “%s*\n” ; (Aperture code)
Info = “Plotfile Info:\n”\
“\n”\
“ Coordinate Format : 3.3\n”\
“ Coordinate Units : 1/1000mm\n”\
“ Data Mode : Absolute\n”\
“ Zero Suppression : None\n”\
“ End Of Block : *\n”\
“\n”
[GERBERAUTO_MM33]
@GERBER_MM33
Long = “With automatic wheel file generation”
Wheel = “” ; avoids message!
AutoAperture = “D%d” ; (Aperture number)
FirstAperture = 10
194
EAGLEManual