Commit 0eae3a71 by 李定达

1.设置最大打印行高

parent 95e4ee47
......@@ -2002,6 +2002,11 @@ int WinPrintlnTsc(int x, int y, int font_size, int rotate, int font_type, int hi
tmpi = 1;
}
if(y > atoi(m_printclass.tsc_high.c_str()) * 10 - font_size - 60)
y = atoi(m_printclass.tsc_high.c_str()) * 10 - font_size - 60;
VC_Log_WriteLog(0," %d", y);
Function_Argv argv = {0};
INIT_FUN_ARGV(x, y, font_size, font_type, line, font_name, tmp, font_ratio);
......@@ -2207,7 +2212,7 @@ int PrintCloseTsc(char *page, char *num)
VC_Log_WriteLog(0," %s","驱动名称 : ", name);
printf("驱动名称 : %s", name);
printf("TSC驱动名称 : %s", name);
int var=TSC_openport(name);
if(1 != var )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment