iam looking for experiance with large PDF-Documents. When iam try to create a
Width 14.750,0mm
Length 10.500,0mm
Document iam init with
[INIT and set Licence of Amyuni PDF Printer]
Code: Select all
double dScale = 1.0;
long lPaperWidth = 14750 * dScale * 10; // we want the tenth of mm
long lPaperLength = 10500 * dScale * 10;
SetPaperSize(cPrinter, 256);
if (0 == SetPaperWidth(cPrinter, lPaperWidth) )
{
SHOULD_BE_UNREACHABLE;
}
auto ActualPaperWidth = GetPaperWidth(cPrinter);
if (ActualPaperWidth != lPaperWidth)
{
SHOULD_BE_UNREACHABLE;
}
if (0 == SetPaperLength(cPrinter, lPaperLength))
{
SHOULD_BE_UNREACHABLE;
}
auto ActualPaperLength = GetPaperLength(cPrinter);
if (ActualPaperLength != lPaperLength)
{
SHOULD_BE_UNREACHABLE;
}
Here are the Values:
i put in -> Width 147500, length 105000 and got actually with GetPaperWidth returned: "+16428" + GetPaperLength returned: "-26072"
When i open the PDF i get a Page with size of: 1642,8mmx3946,4mm. Far away from what i set
What iam doing wrong here?
Amyuni Version from last Year. 5.0