纸张大小paper_size,默认返回的为单位为毫米。

This commit is contained in:
gb 2023-06-03 16:11:10 +08:00
parent ad5ab2d2a1
commit d404ae065c
1 changed files with 3 additions and 1 deletions

View File

@ -306,7 +306,9 @@ SIZE paper_size(int paper)
return g_paper_size[i].size; return g_paper_size[i].size;
} }
return SIZE{ 2338, 3307 }; //return SIZE{ 2338, 3307 };
return SIZE{ 297, 420 }; // A3
} }
int match_best_paper(std::string& val, bool* exact) int match_best_paper(std::string& val, bool* exact)
{ {