Hello! I love your Adobe products.
I was working with flash builder 4.6 on MacOS 10.8.5.
My problem is that printableArea of the PrintJob class in Web-version is different with Air-version.
My coding here...
>>> Air-version
myPrintJob.addPage(_page, PrintJob.printableArea);
>>> Web-version
myPrintJob.addPage(_page, new Rectangle(
(myPrintJob.paperWidth - myPrintJob.pageWidth) / 2,
(myPrintJob.paperHeight - myPrintJob.pageHeight) / 2,
myPrintJob.pageWidth,
myPrintJob.pageHeight
));
I debugged the value. The paper is "A4".
- Air-version
PrintJob.printableArea = (18, 18, 559, 783)
- Web-version
myPrintJob(paperWidth = 595, paperHeight = 842, pageWidth = 559, pageHeight = 783)
But… Printed result as PDF is a lot different.
WHAT HAVE I MISTAKE?
If you want, I can send the printed result as pdf.
I Hope your answer.
Thank you.