;图框图层及颜色
(setq mai_tukuang_layer (list "图框TK_外框" "11"))

;图纸编号及颜色，用于独立文字编号
(setq mai_tukuang_bianhao (list "图框TK_编号" "12"))

;图纸图名及颜色，用于独立文字图名
(setq mai_tukuang_tuming (list "图框TK_图名" "13"))

;通用图框块名，支持通配符
(setq mai_tukuang_block (strcase "*图框*,TK?-*,YQFRAME_A?-*"))

;通用图签块名，支持通配符
(setq mai_tukuang_tuqian (strcase "*LABEL*,*TITLE*,*图签*"))

;块名图别属性识别文本，支持通配符
(setq mai_tukuang_tubie_att "*图纸类别*,*图类*,*图别*,*专业*,*阶段*")

;图号属性识别文本，支持通配符
(setq mai_tukuang_tuhao_att "*编号*,*图号*,*图纸编号*")

;图名属性识别文本，支持通配符
(setq mai_tukuang_tuming_att "*图名*,*名称*,*图纸内容*")

;图幅属性识别文本，支持通配符
(setq mai_tukuang_tufu_att "*图幅*,*大小*")

;动态块图纸长度属性识别文本，支持通配符
(setq mai_tukuang_length_att "*长*")

;动态块图纸宽度属性识别文本，支持通配符
(setq mai_tukuang_width_att "*高*,*宽*")

;排序方法，二个选项 < "按获取的图号" 或 "按位置排序" >
(setq  mai_bp_sort_sty "按位置排序")

;排序方法，二个选项 < "先横排,后竖排" 或 "先竖排,后横排" >
(setq  mai_bp_sort_xy "先横排,后竖排")

;排序方法，二个选项 < "由左至右->" 或 "由右至左<-" >
(setq  mai_bp_sort_x "由左至右->")

;排序方法，二个选项 < "由上至下 V" "由下至上 A" >
(setq  mai_bp_sort_y "由上至下 V")

;纸张类型，二个选项 < "统一图纸大小" 或 "按图幅设置图纸" >
(setq  mai_bp_paper_sty "统一图纸大小")

;A0 (list (list 图框块名a 1：1插入比例a 图框长 图框宽)(list 图框块名b 1：1插入比例b 图框长 图框宽)....)
(setq mai_tukuang_block_list
		(list
			;(list 图幅 图块名 打印比例 图纸宽 图纸高)
			(list "A0"			"TK0-A"		1 1189 841)
			(list "A0＋1／2"	"TK0-A-E1"	1 1682 841)
			(list "A0＋1"		"TK0-A-E2"	1 2388 841)

			(list "A1"			"TK1-A"		1 841 594)
			(list "A1＋1／2"	"TK1-A-E1"	1 1189 594)
			(list "A1＋1"		"TK1-A-E2"	1 1682 594)

			(list "A2"			"TK1-A"		1 594 420)
			(list "A2＋1／2"	"TK2-A-E1"	1 841 420)
			(list "A2＋1"		"TK2-A-E2"	1 1189 420)

			(list "A3"			"TK3-A"		1 420 297)
			(list "A3＋1／2"	"TK3-A-E1"	1 597 297)
			(list "A3＋1"		"TK3-A-E1"	1 841 297)

			(list "A4"			"TK4-A"		1 297 210)

			(list "A0"			"YQFRAME_A0_0_????" 1 1189 841)
			(list "A0＋1／8"	"YQFRAME_A0_1_????" 1 1338 841)
			(list "A0＋1／4"	"YQFRAME_A0_2_????" 1 1487 841)
			(list "A0＋3／8"	"YQFRAME_A0_3_????" 1 1635 841)
			(list "A0＋1／2"	"YQFRAME_A0_4_????" 1 1784 841)
			(list "A0＋5／8"	"YQFRAME_A0_5_????" 1 1932 841)
			(list "A0＋3／4"	"YQFRAME_A0_6_????" 1 2081 841)
			(list "A0＋7／8"	"YQFRAME_A0_7_????" 1 2230 841)
			(list "A0＋1"		"YQFRAME_A0_8_????" 1 2378 841)

			(list "A1"			"YQFRAME_A1_0_????" 1 841 594)
			(list "A1＋1／4"	"YQFRAME_A1_1_????" 1 1051 594)
			(list "A1＋1／2"	"YQFRAME_A1_2_????" 1 1261 594)
			(list "A1＋3／4"	"YQFRAME_A1_3_????" 1 1472 594)
			(list "A1＋1"		"YQFRAME_A1_4_????" 1 1682 594)
			(list "A1＋5／4"	"YQFRAME_A1_5_????" 1 1892 594)
			(list "A1＋3／2"	"YQFRAME_A1_6_????" 1 2102 594)

			(list "A2"			"YQFRAME_A2_0_????" 1 594 420)
			(list "A2＋1／4"	"YQFRAME_A2_1_????" 1 743 420)
			(list "A2＋1／2"	"YQFRAME_A2_2_????" 1 892 420)
			(list "A2＋3／4"	"YQFRAME_A2_3_????" 1 1041 420)
			(list "A2＋1"		"YQFRAME_A2_4_????" 1 1189 420)
			(list "A2＋5／4"	"YQFRAME_A2_5_????" 1 1338 420)
			(list "A2＋3／2"	"YQFRAME_A2_6_????" 1 1487 420)
			(list "A2＋7／4"	"YQFRAME_A2_7_????" 1 1635 420)
			(list "A2＋2"		"YQFRAME_A2_8_????" 1 1784 420)
			(list "A2＋9／4"	"YQFRAME_A2_9_????" 1 1932 420)
			(list "A2＋5／2"	"YQFRAME_A2_10_????" 1 2081 420)

			(list "A3"			"YQFRAME_A3_0_????" 1 420 297)
			(list "A3＋1／2"	"YQFRAME_A3_1_????" 1 631 297)
			(list "A3＋1"		"YQFRAME_A3_2_????" 1 841 297)
			(list "A3＋3／2"	"YQFRAME_A3_3_????" 1 1051 297)
			(list "A3＋2"		"YQFRAME_A3_4_????" 1 1261 297)
			(list "A3＋5／2"	"YQFRAME_A3_5_????" 1 1472 297)
			(list "A3＋3"		"YQFRAME_A3_6_????" 1 1682 297)
			(list "A3＋7／2"	"YQFRAME_A3_7_????" 1 1892 297)

			(list "A4"			"YQFRAME_A4_0_????" 1 297 210)
			(list "A4＋1／2"	"YQFRAME_A4_1_????" 1 445 210)
			(list "A4＋1"		"YQFRAME_A4_2_????" 1 594 210)
		)
)

;打印的布局设置，四个选项 < "当前" "模型" "布局" "全部" >
(setq mai_bp_layout "当前")

;图框重叠设置，二个选项 < "不能重叠" "部分重叠" >
(setq mai_bp_tk_zone "部分重叠")

;比例选项，三个选项 < "布满图纸" "按比例" "按图框比例" >
(setq  mai_bp_scale_sty "布满图纸")

;打印比例
(setq mai_bp_scale 100)

;打印份数
(setq mai_bp_copyn 1)

;纸张反向打印(尾部先打) 二个选项 < "0" "1" >
(setq  mai_bp_rev "0")

;打印输出到文件 二个选项 < "0" "1" >
(setq mai_bp_out "0")

;打印输出到文件夹 < 空为文件所在文件夹 >
(setq mai_bp_path nil)

;导出文件名格式 < "图别＋图号＋图名" "前缀＋序号＋后缀" >
(setq  mai_bp_out_sty "图别＋图号＋图名")

;导出文件名前缀 < 空为文件名 >
(setq mai_bp_out_txt1 nil)

;导出文件名起始序号 < 1 2 3 . ....>
(setq mai_bp_out_num 1)

;导出文件名后缀 < 空为文件名 >
(setq mai_bp_out_txt2 "")

;序数递增方式 二个选项 < "递增" "递减" >
(setq  mai_bp_out_add "递增")

;是否合并PDF为一个文件三个 < "合并" "不合并" "合并且保留原文件">
(setq mai_bp_pdf_merge "合并且保留原文件")

;是否检测独立的、是动态块的图签块，打开较慢 < "0" "1">
(setq mai_tukuang_tuqian_dblk "0")

;图框每边扩边宽度（浙江规定2mm）
(setq mai_bp_tukuang_expand 0)

;降低公差精度 < 缺省0.000001 >
(setq mai_bp_tolerate 0)

