This example defines the pen-color assignments for 8 pens in an 8-pen color plotter.
(define-plot-transformation "Pen1"
:pen_number 1
)
(define-plot-transformation "Pen2"
:color "BLACK"
:pen_number 0
)
(define-plot-transformation "Pen3"
:color "RED"
:pen_number 2
)
(define-plot-transformation "Pen4"
:color "GREEN"
:pen_number 3
)
(define-plot-transformation "Pen5"
:color "YELLOW"
:pen_number 4
)
(define-plot-transformation "Pen6"
:color "BLUE"
:pen_number 5
)
(define-plot-transformation "Pen7"
:color "MAGENTA"
:pen_number 6
)
(define-plot-transformation "Pen8"
:color "CYAN"
:pen_number 7
)
笔号的意思,大致如上.
基本都是在这里设定,打印的东西,需要测试.好看你自己了.
呵呵.
如果,都是黑白打印,一般PNE-NUMBER 都为1
INSERT 是插入一种打印设定,比如这里有13种,插入一种,就多了一种设定.
DELETE,是删除一种打印设定.
通过上面图的左右箭头可以看到现在它做了那些设定.
比如上图中1,就是最笼统的定义,然后在后面的定义中,可能具体到某种颜色,或者原始PENSIZE,对应打印出来要多少PENSIZE.等,这个自己再好好测试. |