Why does the following code truncate the paper width as though it was stored internally as a signed, 16-bit integer? If you call SetPaperWidth(50800), then GetPaperWidth() returns -14736, which is the equivalent signed value when '50800' is treated as a signed short.
Code: Select all
long dim_mm;
dim_mm = 50800; // 50800 = 0xC670 = 5080.0 mm = 200"
SetPaperWidth(m_AmyuniConverter, dim_mm);
dim_mm = GetPaperWidth(m_AmyuniConverter); // returns -14736, which is "0xC670" treated as signed 16-bit
Further, is the maximum Amyuni page width & height 256"?
Thanks.