Appendix B: ddocml.ini
ddocml.ini
Below is a printout of the ddocml.ini file. This file describes mailing label layouts. I encourage you to read through the file as it is self-documented. I simply don't have time to define all of the popular labels that people use. By following the embedded comments, you should be able to easily define your own mailing labels. If you wish to share your label definitions with other user's of ddoc, please e-mail them to me and I will post them on my web-site. Note that a new ddocml.ini file is now included with ddoc v1.9 and greater. It was largely created by Tom Dandrea. Many thanks to Tom for his donation!

;
;
; DDOCML.INI
;
; Labels definition file for ddoc Print and Preview
;
; Copyright 1995 - 2002
; Don Dickinson
; All Rights Reserved
;
; don@greatwebdivide.com
;
; http://dickinson.basicguru.com
;
;-------------------------------------------------------------------
; This is an optional section. I put it in because it makes
; reading the available definitions very easy. It is up
; to you to maintain this.
;
[Available Labels]
Count=2
Def1=Avery5260
Def2=Avery5162

;-------------------------------------------------------------------
; Description section layout.
; All measurements given in inches.
;
; If you want to create your own label templates, you need to
; provide each of the entries below (except desc) in order
; for the engine to function properly.
;-------------------------------------------------------------------
; [LabelName]
; desc         = optional entry for your use to describe the label
; pageheight   = height of page in inches
; pagewidth    = width of page in inches
; tm           = top margin
; bm           = bottom margin
; lm           = left margin
; rm           = right margin
; cols         = number of columns
; colspc       = space between columns
; rows         = number of rows of labels
; rowspc       = space between rows
; labtm        = top print margin on label
; labHeight    = bottom print margin of label
; lablm        = left print margin of label
; labWidth     = right print margin of label
; lines        = lines of text allowed on label
;                (used to calculate the text
;                 leading (vertical spacing))
;-------------------------------------------------------------------
[Avery5260]
desc=Avery 5260, 30 labels per page, 3 columns, 10 rows
pageheight=11
pagewidth=8.5
tm=.5
bm=.5
lm=.125
rm=.125
cols=3
rows=10
labtm=.14
labHeight=.8
lablm=.25
labWidth=2.25
lines=6

[Avery5162]
desc=Avery 5162, 14 labels per page, 2 columns, 7 rows
pageheight=11
pagewidth=8.5
tm=.8
bm=.8
lm=.25
rm=.25
cols=2
rows=7
labtm=.2
labHeight=1.13
lablm=.25
labWidth=4
lines=7