纸张大小paper_size,默认返回的为单位为毫米。
This commit is contained in:
parent
ad5ab2d2a1
commit
d404ae065c
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue